:root {
  --bg: #0d0c0a;
  --panel: #161310;
  --raise: #1e1a15;
  --ink: #ebe4d6;
  --mute: #9c9384;
  --line: #3a3228;
  --amber: #d4a054;
  --gold: #c4a46a;
  --focus: #f0c97a;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0.045;
  background-image: radial-gradient(circle, #fff 0.6px, transparent 0.7px);
  background-size: 3px 3px;
  animation: grain 1.6s steps(2) infinite;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--focus);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 0.3rem 0 0.8rem;
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin: 0 0 0.7rem;
}

h3 {
  font-size: 1.12rem;
  margin: 0.2rem 0 0.45rem;
}

p {
  margin: 0 0 0.9rem;
  color: var(--mute);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 90;
  padding: 0.4rem 0.8rem;
  background: var(--amber);
  color: #1a140c;
  text-decoration: none;
  font-size: 0.8rem;
}

.skip:focus {
  top: 1rem;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.letterbox {
  background: #080706;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.letterbox-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 12, 10, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.site-head.is-stuck {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand span {
  display: flex;
  flex-direction: column;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand small {
  color: var(--mute);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

.lane ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lane a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}

.lane a:hover,
.lane a[aria-current="page"] {
  color: var(--amber);
}

.lane .cta {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.85rem;
  background: var(--amber);
  color: #1a140c;
  font-weight: 600;
}

.lane .cta:hover,
.lane .cta[aria-current="page"] {
  background: var(--focus);
  color: #1a140c;
}

.hero {
  padding: 2.4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}

.film-frame {
  position: relative;
  background: #090807;
  padding: 1.1rem 1.45rem;
  border: 1px solid var(--line);
}

.film-frame::before,
.film-frame::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 0.7rem;
  background:
    radial-gradient(circle at 50% 10px, #0d0c0a 5px, transparent 5.5px) 0 0 / 100% 22px repeat-y;
}

.film-frame::before {
  left: 0.28rem;
}

.film-frame::after {
  right: 0.28rem;
}

.film-frame img {
  width: 100%;
  aspect-ratio: 880 / 700;
  object-fit: cover;
  border: 1px solid #2a241c;
}

.film-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  color: var(--mute);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.tag {
  border: 1px solid var(--line);
  padding: 0.22rem 0.6rem;
  color: var(--mute);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.tag-on {
  border-color: var(--amber);
  color: var(--amber);
}

.lead {
  font-size: 1.05rem;
  max-width: 42rem;
}

.acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 1.4rem;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.45rem 1.05rem;
  text-decoration: none;
  font-weight: 600;
}

.btn {
  background: var(--amber);
  color: #1a140c;
}

.btn:hover {
  background: var(--focus);
  color: #1a140c;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.metric {
  padding: 0.8rem 0.7rem;
  background: var(--panel);
  border-top: 2px solid var(--amber);
}

.metric strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.metric span {
  display: block;
  color: var(--mute);
  font-size: 0.82rem;
  line-height: 1.45;
}

section {
  padding: 2.6rem 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--amber);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.head {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.head p {
  max-width: 28rem;
  margin: 0;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 0.9rem;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.entry,
.card,
.plat {
  display: block;
  padding: 1.05rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

a.entry:hover,
a.card:hover {
  border-color: var(--amber);
}

.entry h3,
.card h3,
.plat h3 {
  color: var(--ink);
}

.idx {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--amber);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.spread {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.spread.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.2rem;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.5rem;
  height: 1px;
  background: var(--amber);
}

.checks h3 {
  margin-bottom: 0.2rem;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 1.15rem;
  height: 1px;
  background: var(--line);
}

.reel {
  position: relative;
  padding: 0.2rem 0.2rem 0.8rem;
  color: inherit;
  text-decoration: none;
}

.reel .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.7rem;
  border: 1px solid var(--amber);
  background: var(--bg);
  color: var(--amber);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.reel .t {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.reel .h {
  display: block;
  color: var(--mute);
  font-size: 0.86rem;
}

.reel.is-here .n,
.reel[aria-current="step"] .n {
  background: var(--amber);
  color: #1a140c;
}

.note {
  padding: 1.1rem 1.15rem;
  border: 1px dashed var(--line);
  background: var(--raise);
}

.note h3 {
  color: var(--ink);
}

.page-hero {
  padding-top: 2.2rem;
}

.crumbs {
  margin-bottom: 0.7rem;
  color: var(--mute);
  font-size: 0.86rem;
}

.crumbs a {
  color: var(--gold);
}

details {
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.05rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--amber);
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0;
  padding: 0 1.05rem 1.05rem;
}

.cite {
  margin-top: 1.2rem;
  color: var(--mute);
  font-size: 0.9rem;
}

footer {
  padding: 2.4rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: #0a0908;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 1.4rem;
}

.foot-grid h3 {
  font-size: 0.92rem;
  color: var(--ink);
}

.foot-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-grid li {
  margin-bottom: 0.4rem;
}

.foot-grid a {
  color: var(--mute);
  text-decoration: none;
}

.foot-grid a:hover {
  color: var(--amber);
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.8rem;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-1px, 1px); }
  100% { transform: translate(0, 0); }
}

@media (max-width: 980px) {
  .hero-grid,
  .spread,
  .spread.reverse,
  .grid-4,
  .timeline,
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metrics,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .head {
    flex-direction: column;
    align-items: start;
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .lane {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #12100d;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
  }

  .lane.is-open {
    display: block;
  }

  .lane ul {
    flex-direction: column;
    align-items: stretch;
  }

  .lane a,
  .lane .cta {
    display: block;
    padding: 0.7rem 0.4rem;
  }

  .hero-grid,
  .spread,
  .spread.reverse,
  .grid-4,
  .grid-2,
  .timeline,
  .foot-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .letterbox-row,
  .legal {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before,
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
