:root {
  --black: #070b16;
  --ink: #e8eefc;
  --quiet: #9fb0c6;
  --panel: #101610;
  --green: #1cb614;
  --line: #1e3a24;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
::selection { background: var(--green); color: #041204; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.led-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.led-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, #000 0px, #0c5a0e 420px, #000 840px, #1cb614 1260px, #000 1680px);
  background-size: 1680px 100%;
  animation: led-pass 6s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 1.7px, transparent 2.05px);
  mask-image: radial-gradient(circle, #000 1.7px, transparent 2.05px);
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}
@keyframes led-pass {
  from { background-position: 0 0; }
  to { background-position: 1680px 0; }
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  padding: 12px clamp(1rem, 3vw, 2.5rem);
  background: rgba(7, 11, 22, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(20px);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { height: clamp(2.25rem, 3.2vw, 3rem); width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-left: auto; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.nav a.langs { gap: 8px; color: var(--quiet); }
.nav a.langs b { color: var(--green); font-weight: 700; }
.menu-btn, .menu-check { display: none; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.program { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; padding: 80px 40px 40px; }
.bill h1 { max-width: 16ch; margin: 0; font-size: clamp(2.75rem, 6vw, 3.5rem); line-height: 1.02; font-weight: 500; }
.bill p, .plate figcaption, .spread p, .act p, .terms { max-width: 42rem; color: var(--quiet); font-size: 1.125rem; }
.tickets { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ticket {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.ticket.solid, .ticket:hover { background: var(--green); border-color: var(--green); color: #041204; }
.plate, .spread, .synopsis, .boxoffice { margin-top: 64px; }
.plate img, .spread img { width: 100%; height: auto; border: 1px solid var(--line); }
.spread { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.spread h2, .act h3, .boxoffice h2 { margin: 0 0 12px; }
.synopsis { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.synopsis h2 { grid-column: 1 / -1; margin: 0; }
.face { margin: 12px 0 0; font-size: 1.75rem; }
.spec { margin: 28px 0 0; }
.spec div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--quiet); }
.spec dd { margin: 0; }

.footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 40px max(40px, calc((100% - 1100px) / 2));
  background: var(--black);
  border-top: 1px solid var(--line);
  color: var(--quiet);
}
.footer p { margin: 0; line-height: 1.35; }
.footer .dev, .footer .social { display: flex; align-items: center; gap: 16px; }
.footer .dev { justify-self: start; }
.footer .copy { text-align: center; }
.footer .social { justify-self: end; gap: 12px; }
.footer .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.footer .icon:hover { background: var(--ink); color: var(--black); }
.footer .ueno { display: inline-flex; align-items: center; min-height: 44px; }
.footer img { height: 32px; width: auto; }
.footer a { color: var(--ink); text-decoration: none; }

@media (max-width: 800px) {
  .spread, .synopsis { grid-template-columns: 1fr; }
  .synopsis h2 { grid-column: auto; }
  .program, .footer, .top { padding-left: 20px; padding-right: 20px; }
  .program { padding-top: 48px; }
  .footer { grid-template-columns: 1fr; justify-items: center; }
  .footer .dev, .footer .social { justify-self: center; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .top:has(.menu-btn) { flex-wrap: nowrap; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-check {
    display: block;
    position: absolute;
    top: 12px;
    right: 20px;
    width: 44px;
    height: 44px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }
  .menu-close { display: none; }
  .menu-check:checked + .menu-btn .menu-open { display: none; }
  .menu-check:checked + .menu-btn .menu-close { display: block; }
  .top:has(.menu-btn) .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 12px;
    background: #070b16;
    border-bottom: 1px solid var(--line);
  }
  .menu-check:checked ~ .nav { display: flex; }
  .top:has(.menu-btn) .nav a { min-height: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .led-field::before { animation: none; }
}
