:root {
  --ink: #f7f7fb;
  --muted: #aaaebd;
  --panel: #15161d;
  --panel-2: #1c1e28;
  --line: #303342;
  --accent: #ffcf4a;
  --accent-2: #8bc5ff;
  --ok: #7ee2a8;
  --warn: #ffb86b;
  --bg: #0b0c10;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-underline-offset: .2em; }
a:hover { color: #c7e4ff; }
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: .7rem 1rem;
  background: var(--accent);
  color: #111;
  z-index: 20;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  max-width: var(--max);
  min-height: 64px;
  margin: 0 auto;
  padding: .7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #111;
  font-size: .78rem;
  font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 1.1rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.menu-toggle { display: none; }

main { min-height: 68vh; }
.wrap { width: min(calc(100% - 2.4rem), var(--max)); margin: 0 auto; }
.section { padding: clamp(2.4rem, 5vw, 5rem) 0; }
.section-sm { padding: 2rem 0; }
.eyebrow {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: .35rem 0 1rem; font-size: clamp(2.35rem, 7vw, 5.5rem); max-width: 16ch; }
h2 { margin: 0 0 1rem; font-size: clamp(1.75rem, 3.3vw, 2.8rem); }
h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.lede { max-width: 70ch; color: #d6d8e0; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.muted { color: var(--muted); }
.tiny { font-size: .82rem; }
.kicker { font-weight: 750; color: #e8e9ef; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8.5rem) 0 4rem;
  background:
    radial-gradient(circle at 82% 10%, rgba(139,197,255,.14), transparent 28rem),
    radial-gradient(circle at 12% 0%, rgba(255,207,74,.14), transparent 24rem);
}
.hero::after {
  content: "2027";
  position: absolute;
  right: -2vw;
  bottom: -9vw;
  color: rgba(255,255,255,.025);
  font-size: clamp(10rem, 35vw, 34rem);
  font-weight: 950;
  line-height: .8;
  pointer-events: none;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}
.button.primary { border-color: var(--accent); background: var(--accent); color: #111; }
.button:hover { transform: translateY(-1px); color: var(--ink); }
.button.primary:hover { color: #111; background: #ffe18b; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  max-width: 720px;
  margin-top: 2rem;
}
.stat { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(21,22,29,.75); }
.stat strong { display: block; font-size: 1.45rem; color: var(--ink); }
.stat span { color: var(--muted); font-size: .86rem; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 1.15rem;
}
.card:hover { border-color: #474b60; }
.card a.title-link { color: var(--ink); text-decoration: none; }
.card a.title-link:hover { color: var(--accent-2); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.date-box {
  min-width: 58px;
  padding: .45rem .55rem;
  border-radius: 9px;
  background: var(--panel-2);
  text-align: center;
  line-height: 1.05;
}
.date-box strong { display: block; color: var(--accent); font-size: 1.15rem; }
.date-box span { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.meta { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .75rem; }
.tag, .status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: .15rem .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .76rem;
  text-decoration: none;
}
.status.official { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.status.reported { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); }

.month-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .65rem; }
.month-link {
  display: block;
  padding: .9rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  background: var(--panel);
}
.month-link span { display: block; color: var(--muted); font-size: .8rem; }
.month-link:hover { border-color: var(--accent-2); color: var(--ink); }

.crumbs { padding-top: 1rem; color: var(--muted); font-size: .84rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: #616577; }
.crumbs a { color: var(--muted); text-decoration: none; }
.page-head { padding: 2.8rem 0 1.5rem; }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 4.3rem); max-width: 20ch; }

.notice {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: #171821;
  color: #d9dbe3;
}
.notice strong { color: var(--ink); }

.filters {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: .7rem;
  padding: 1rem;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.filters input, .filters select {
  width: 100%;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0e0f14;
  color: var(--ink);
}
.results-count { margin-bottom: .8rem; color: var(--muted); }

.schedule { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td { padding: .85rem .65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.schedule th { color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.schedule td:first-child { white-space: nowrap; color: var(--accent); font-weight: 750; }
.schedule a { color: var(--ink); font-weight: 700; text-decoration: none; }
.schedule a:hover { color: var(--accent-2); }

.movie-hero { padding: 3.2rem 0 2.2rem; }
.movie-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr); gap: 2.4rem; align-items: start; }
.movie-title-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,207,74,.16), transparent 40%),
    linear-gradient(325deg, rgba(139,197,255,.14), transparent 45%),
    var(--panel);
}
.movie-title-card .year { color: var(--accent); font-size: 4rem; font-weight: 900; line-height: 1; }
.movie-title-card strong { display: block; font-size: clamp(1.6rem, 4vw, 2.5rem); line-height: 1.08; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.7rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.source-list { padding-left: 1.2rem; }
.source-list li { margin-bottom: .55rem; }

.site-footer { border-top: 1px solid var(--line); background: #090a0d; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; padding: 3rem 0 2rem; }
.footer-grid h2, .footer-grid h3 { font-size: 1rem; letter-spacing: 0; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin: .35rem 0; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { padding: 1.1rem 0 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.empty { display: none !important; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .month-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .movie-layout { grid-template-columns: 1fr; }
  .movie-title-card { min-height: 280px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--panel);
    color: var(--ink);
  }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: .5rem 0 .8rem; }
  .nav-links.open { display: flex; }
  .stats, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .month-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr; }
  .schedule { display: block; overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.2rem, 13vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .filters, .hero-actions { display: none; }
  body { background: #fff; color: #111; }
  a { color: #111; }
  .card, .notice { border-color: #bbb; background: #fff; }
}
