:root {
  --ink: #0b0b0c;
  --ink-soft: #151517;
  --paper: #ebe7de;
  --paper-soft: #d4cfc5;
  --muted: #96928c;
  --line: rgba(235, 231, 222, 0.18);
  --red: #8d2630;
  --bronze: #a17c52;
  --wrap: 1180px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header-h);
  padding: 0 max(24px, calc((100vw - var(--wrap)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease;
}
.site-header.scrolled {
  background: rgba(11, 11, 12, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.brand i { color: var(--red); font-style: normal; }
.site-nav { display: flex; gap: 30px; align-items: center; }
.site-nav a {
  position: relative;
  color: var(--paper-soft);
  font-size: 13px;
  transition: color 160ms ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--red);
  transition: right 180ms ease;
}
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media {
  background: url("assets/hero-keyart.png") center 45% / cover no-repeat;
  transform: scale(1.01);
  animation: hero-settle 2.2s ease-out both;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.9) 0%, rgba(5, 5, 6, 0.58) 42%, rgba(5, 5, 6, 0.12) 72%),
    linear-gradient(0deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.12) 48%, rgba(5, 5, 6, 0.48) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 9vh; }
.eyebrow, .kicker {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hero h1, .section-heading h2, .outcome-copy h2 {
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-weight: 600;
}
.hero h1 {
  margin-top: 16px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 1.05;
}
.hero-en { margin-top: 4px; color: #c7c1b5; font-size: 15px; letter-spacing: 0.28em; }
.hero-logline { max-width: 560px; margin-top: 28px; font-size: 19px; color: #f1eee7; }
.hero-role { margin-top: 10px; color: #aaa59d; font-size: 13px; }
.hero .text-link { margin-top: 34px; }
.hero-index {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--wrap)) / 2));
  bottom: 9vh;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.54);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--paper);
  font-size: 13px;
}
.text-link span { color: var(--red); }
.text-link.light span { color: #d45b67; }

.section { padding: 112px 0; }
.section-heading { max-width: 820px; margin-bottom: 60px; }
.section-heading h2, .outcome-copy h2 {
  margin-top: 15px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.28;
}
.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  align-items: end;
  gap: 80px;
}
.section-heading.split > p { color: var(--paper-soft); font-size: 15px; }

.overview { background: #111113; }
.overview-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 100px; align-items: start; }
.overview-copy { color: var(--paper-soft); }
.overview-copy p + p { margin-top: 22px; }
.lead { color: var(--paper); font-size: 20px; line-height: 1.75; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stats div { min-height: 132px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats dt { font-family: Georgia, serif; font-size: 38px; line-height: 1.15; color: #fff; }
.stats dd { margin-top: 9px; color: var(--muted); font-size: 12px; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 84px; border-top: 1px solid var(--line); }
.role { padding: 28px 24px 0 0; }
.role + .role { padding-left: 24px; border-left: 1px solid var(--line); }
.role span, .challenge > span { color: var(--red); font-family: Georgia, serif; font-size: 13px; }
.role h3 { margin-top: 32px; font-size: 17px; }
.role p { margin-top: 12px; color: var(--muted); font-size: 13px; }

.story-section { background: var(--paper); color: var(--ink); }
.story-section .kicker { color: var(--red); }
.story-section .section-heading.split > p { color: #5e5a54; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.story-card { position: relative; min-width: 0; overflow: hidden; background: #171718; color: var(--paper); border-radius: 4px; }
.story-card img { aspect-ratio: 2 / 1; object-fit: cover; filter: saturate(.86) contrast(1.04); transition: transform 450ms ease, filter 450ms ease; }
.story-card:hover img { transform: scale(1.035); filter: saturate(1) contrast(1.04); }
.story-card div { padding: 18px 18px 20px; }
.story-card span { color: var(--bronze); font-size: 10px; letter-spacing: .16em; }
.story-card h3 { margin-top: 6px; font-size: 17px; }
.story-card p { margin-top: 3px; color: #99948b; font-size: 12px; }

.challenge-section { background: #101012; }
.challenge-list { border-top: 1px solid var(--line); }
.challenge {
  display: grid;
  grid-template-columns: 80px minmax(220px, .7fr) 1.25fr;
  gap: 32px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.challenge h3 { font-size: 21px; font-weight: 600; }
.challenge p { color: var(--paper-soft); }

.process-section { background: #171719; }
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0;
  margin: 0 0 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-steps li { min-height: 136px; padding: 20px 14px; border-right: 1px solid var(--line); }
.process-steps li:first-child { border-left: 1px solid var(--line); }
.process-steps span { display: block; color: var(--red); font-size: 11px; }
.process-steps strong { display: block; margin-top: 22px; font-size: 14px; }
.process-steps small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.process-figure { margin: 0; overflow: hidden; background: #0b0b0c; border-radius: 4px; }
.process-figure img { background: #111; object-fit: cover; }
.process-figure.wide img { max-height: 650px; object-fit: contain; }
.process-figure figcaption { display: flex; justify-content: space-between; gap: 28px; padding: 18px 20px; border-top: 1px solid var(--line); }
.process-figure figcaption strong { font-size: 13px; }
.process-figure figcaption span { max-width: 620px; color: var(--muted); font-size: 12px; text-align: right; }
.process-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 18px 0; }
.process-pair img { aspect-ratio: 16 / 9; object-fit: cover; }

.decisions-section { background: var(--paper); color: var(--ink); }
.decisions-section .kicker { color: var(--red); }
.decision-list { border-top: 1px solid rgba(11,11,12,.2); }
.decision {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(11,11,12,.2);
}
.decision > span { color: var(--red); font-family: Georgia, serif; font-size: 28px; }
.decision h3 { font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: 28px; }
.decision p { max-width: 680px; margin-top: 10px; color: #58544e; }

.spec-section { padding: 55px 0; background: var(--red); color: #fff; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec-grid div { padding: 3px 30px; border-right: 1px solid rgba(255,255,255,.25); }
.spec-grid div:first-child { padding-left: 0; }
.spec-grid div:last-child { border-right: 0; }
.spec-grid span { display: block; font-size: 10px; letter-spacing: .16em; color: rgba(255,255,255,.7); }
.spec-grid strong { display: block; margin-top: 10px; font-family: Georgia, serif; font-size: 22px; }

.outcome-section { background: #0d0d0e; }
.outcome-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.outcome-copy h2 { margin-bottom: 35px; }
.outcome-copy > p:not(.kicker) { color: var(--paper-soft); }
.outcome-copy > p + p { margin-top: 20px; }
.outcome-copy .lead { color: var(--paper); font-size: 18px; }
.outcome-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 18px; background: var(--paper); color: var(--ink); font-size: 13px; border-radius: 3px; }
.button:hover { background: #fff; }
.cover-figure { box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.cover-figure img { aspect-ratio: 2 / 1; object-fit: cover; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: #09090a; color: var(--muted); font-size: 11px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; }
.site-footer p:last-child { letter-spacing: .14em; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@keyframes hero-settle {
  from { opacity: .4; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1.01); }
}

@media (max-width: 940px) {
  .section { padding: 84px 0; }
  .section-heading.split { grid-template-columns: 1fr; gap: 24px; }
  .overview-grid, .outcome-grid { grid-template-columns: 1fr; gap: 56px; }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .role:nth-child(3) { border-left: 0; padding-left: 0; }
  .role:nth-child(n+3) { margin-top: 42px; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps li:nth-child(3) { border-right: 1px solid var(--line); }
  .process-steps li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .spec-grid div:nth-child(2) { border-right: 0; }
  .spec-grid div:nth-child(3) { padding-left: 0; }
}

@media (max-width: 680px) {
  :root { --header-h: 58px; }
  .wrap { width: min(calc(100% - 32px), var(--wrap)); }
  .site-header { padding-inline: 16px; }
  .nav-toggle { display: grid; gap: 6px; }
  .nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 16px 24px;
    background: rgba(11,11,12,.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 10px 0; }
  .site-nav a::after { display: none; }
  .hero { min-height: 86vh; }
  .hero-media { background-position: 59% 45%; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,5,6,.94) 0%, rgba(5,5,6,.3) 58%, rgba(5,5,6,.58) 100%); }
  .hero-content { padding-bottom: 54px; }
  .hero h1 { font-size: 49px; }
  .hero-en { font-size: 11px; }
  .hero-logline { margin-top: 23px; font-size: 16px; }
  .hero-index { display: none; }
  .section { padding: 70px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .outcome-copy h2 { font-size: 34px; }
  .lead { font-size: 17px; }
  .overview-grid { gap: 46px; }
  .stats div { min-height: 116px; padding: 18px; }
  .stats dt { font-size: 31px; }
  .roles { grid-template-columns: 1fr; }
  .role, .role + .role, .role:nth-child(3) { margin-top: 0; padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .role h3 { margin-top: 18px; }
  .story-grid {
    grid-template-columns: repeat(8, minmax(245px, 76vw));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    margin-right: -16px;
  }
  .story-card { scroll-snap-align: start; }
  .challenge { grid-template-columns: 44px 1fr; gap: 16px; }
  .challenge p { grid-column: 2; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps li:nth-child(n) { border-top: 1px solid var(--line); }
  .process-steps li:nth-child(-n+2) { border-top: 0; }
  .process-steps li:nth-child(even) { border-right: 1px solid var(--line); }
  .process-pair { grid-template-columns: 1fr; }
  .process-figure figcaption { flex-direction: column; gap: 5px; }
  .process-figure figcaption span { text-align: left; }
  .decision { grid-template-columns: 48px 1fr; gap: 16px; }
  .decision > span { font-size: 20px; }
  .decision h3 { font-size: 22px; }
  .spec-grid strong { font-size: 18px; }
  .spec-grid div { padding-inline: 14px; }
  .outcome-grid { gap: 50px; }
  .outcome-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .site-footer .wrap { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
