:root {
  --paper: #f3efe7;
  --paper-deep: #e8e1d6;
  --ink: #161a1d;
  --muted: #62666a;
  --night: #08141d;
  --night-soft: #102531;
  --cyan: #82d6e4;
  --red: #b7352b;
  --coral: #e3614d;
  --line: rgba(22, 26, 29, 0.16);
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, video { font: inherit; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--red); color: white; }

.site-shell { min-height: 100vh; overflow: hidden; }
.topbar {
  width: min(1440px, calc(100% - 64px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; width: fit-content; }
.wordmark__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(183,53,43,.12); }
.topbar nav { display: flex; gap: 28px; }
.topbar nav a { color: var(--muted); transition: color .18s ease; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--red); }
.topbar__meta { justify-self: end; color: var(--muted); }

.hero {
  width: min(1440px, calc(100% - 64px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 104px) 0 72px;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(620px, 1.7fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}
.hero__intro { position: relative; z-index: 2; }
.eyebrow, .chapter__index {
  margin: 0 0 24px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(72px, 8.8vw, 138px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.08em;
}
.hero__english {
  margin: 22px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
}
.hero__lead { max-width: 430px; margin: 40px 0 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .film-player__timeline button:focus-visible, .topbar a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.button--primary { background: var(--ink); color: white; }
.button--primary:hover { background: var(--red); border-color: var(--red); }
.button--quiet { border-color: var(--line); }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 42px 0 0; }
.hero__facts div { padding-top: 14px; border-top: 1px solid var(--line); }
.hero__facts dt { color: var(--muted); font-size: 11px; }
.hero__facts dd { margin: 5px 0 0; font-weight: 700; font-size: 13px; }
.hero__film { min-width: 0; }

.film-player { background: var(--night); color: white; box-shadow: 0 36px 80px rgba(5,16,23,.23); }
.film-player__screen { position: relative; background: #000; aspect-ratio: 16/9; overflow: hidden; }
.film-player__screen video { width: 100%; height: 100%; object-fit: cover; }
.film-player__badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 10px; background: rgba(5,16,23,.68); backdrop-filter: blur(8px);
  font-size: 10px; letter-spacing: .15em; pointer-events: none;
}
.film-player__badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); }
.film-player__timeline { display: grid; grid-template-columns: repeat(4, 1fr); }
.film-player__timeline button {
  min-height: 132px;
  padding: 20px 18px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.12);
  background: var(--night);
  color: rgba(255,255,255,.58);
  text-align: left;
  cursor: pointer;
  transition: background .24s ease, color .24s ease;
}
.film-player__timeline button:last-child { border-right: 0; }
.film-player__timeline button:hover, .film-player__timeline button.is-active { background: var(--night-soft); color: white; }
.film-player__timeline button.is-active { box-shadow: inset 0 3px 0 var(--coral); }
.film-player__timeline span { display: block; color: var(--cyan); font-family: ui-monospace, monospace; font-size: 11px; }
.film-player__timeline strong { display: block; margin-top: 10px; font-size: 14px; }
.film-player__timeline small { display: block; margin-top: 7px; font-size: 11px; line-height: 1.55; color: inherit; }

.statement {
  min-height: 55vh;
  padding: 120px 32px;
  background: var(--night);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.statement::before {
  content: ""; position: absolute; width: min(60vw, 760px); aspect-ratio: 1;
  border: 1px solid rgba(130,214,228,.18); border-radius: 50%;
  box-shadow: 0 0 120px rgba(48,153,175,.08) inset;
}
.statement p, .statement strong { position: relative; margin: 0; }
.statement p { color: rgba(255,255,255,.56); font-size: clamp(19px, 2vw, 28px); }
.statement strong { margin-top: 14px; font-family: var(--serif); font-size: clamp(36px, 5vw, 76px); line-height: 1.2; }

.chapter { width: min(1280px, calc(100% - 64px)); margin: 0 auto; padding: clamp(100px, 11vw, 176px) 0; }
.chapter__header { display: grid; grid-template-columns: minmax(280px, .82fr) 1.3fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.chapter__header h2 { margin: 0; font-family: var(--serif); font-size: clamp(46px, 6vw, 84px); line-height: 1.13; letter-spacing: -.055em; }
.chapter__header--wide { grid-template-columns: 1fr minmax(280px, .52fr); }
.chapter__summary { margin: 44px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.chapter__body { margin-top: 72px; }
.concept-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(56px, 10vw, 140px); }
.prose { max-width: 690px; }
.prose p { margin: 0 0 26px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 31px); line-height: 1.7; }
.brief-card { padding: 34px; background: white; border-top: 4px solid var(--red); box-shadow: 0 14px 34px rgba(29,29,25,.06); }
.brief-card > span { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.brief-card > p { margin: 20px 0 28px; font-size: 16px; line-height: 1.8; }
.brief-card dl { margin: 0; }
.brief-card dl div { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.brief-card dt { color: var(--muted); font-size: 12px; }
.brief-card dd { margin: 0; font-size: 13px; font-weight: 700; }

.chapter--frame { width: min(1440px, calc(100% - 64px)); }
.keyframe { margin: 72px 0 0; background: var(--night); }
.keyframe img { width: 100%; height: auto; }
.keyframe figcaption { display: flex; justify-content: space-between; padding: 16px 20px; color: rgba(255,255,255,.62); font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; }
.shot-notes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.shot-notes article { padding: 32px 32px 0 0; }
.shot-notes article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.shot-notes span { color: var(--red); font-family: ui-monospace, monospace; font-size: 12px; }
.shot-notes h3 { margin: 18px 0 10px; font-family: var(--serif); font-size: 26px; }
.shot-notes p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.chapter--process { width: min(1280px, calc(100% - 64px)); }
.process-list { margin-top: 76px; border-top: 1px solid var(--ink); }
.process-list article { display: grid; grid-template-columns: 72px minmax(210px, .58fr) 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.process-list__no { color: var(--red); font-family: ui-monospace, monospace; font-size: 13px; }
.process-list article div p { margin: 0 0 7px; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.process-list h3 { margin: 0; font-family: var(--serif); font-size: 26px; }
.process-list__text { margin: 0; max-width: 650px; color: var(--muted); line-height: 1.85; }
.evidence-panel { margin-top: 88px; padding: clamp(36px, 6vw, 72px); background: var(--night); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.evidence-panel h3 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 58px); line-height: 1.25; }
.evidence-panel dl { margin: 0; }
.evidence-panel dl div { display: grid; grid-template-columns: 116px 1fr; gap: 20px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.15); }
.evidence-panel dt { color: rgba(255,255,255,.48); font-size: 12px; }
.evidence-panel dd { margin: 0; font-family: ui-monospace, monospace; font-size: 13px; }

.chapter--reflection { padding-bottom: 120px; }
.reflection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 76px; }
.reflection-grid article { min-height: 340px; padding: 36px; background: white; display: flex; flex-direction: column; }
.reflection-grid span { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.reflection-grid h3 { margin: 30px 0 0; font-family: var(--serif); font-size: 29px; line-height: 1.35; }
.reflection-grid p { margin: auto 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.mentor-prompt { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.mentor-prompt > p { margin: 0; color: var(--red); font-weight: 700; }
.mentor-prompt ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.mentor-prompt li { padding-left: 18px; position: relative; line-height: 1.65; }
.mentor-prompt li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }

footer { padding: 48px max(32px, calc((100vw - 1280px)/2)); background: var(--ink); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
footer div { display: flex; flex-direction: column; gap: 7px; }
footer strong { font-family: var(--serif); font-size: 28px; }
footer span, footer p { color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.75; }
footer p { margin: 0; max-width: 620px; justify-self: end; }

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero__intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .hero__intro .eyebrow, .hero__intro h1, .hero__english { grid-column: 1; }
  .hero__lead, .hero__actions, .hero__facts { grid-column: 2; }
  .hero__lead { grid-row: 1 / span 2; margin-top: 0; align-self: end; }
  .hero__actions { align-self: start; }
  .hero__facts { margin-top: 20px; }
  .chapter__header, .chapter__header--wide { grid-template-columns: 1fr; gap: 30px; }
  .chapter__summary { margin-top: 0; max-width: 650px; }
}

@media (max-width: 760px) {
  .topbar, .hero, .chapter, .chapter--frame, .chapter--process { width: min(100% - 40px, 680px); }
  .topbar { min-height: 64px; }
  .topbar__meta { font-size: 10px; }
  .hero { min-height: auto; padding: 60px 0 72px; gap: 42px; }
  .hero__intro { display: block; }
  .hero h1 { font-size: clamp(70px, 25vw, 104px); }
  .hero__lead { margin-top: 30px; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .film-player__timeline { grid-template-columns: 1fr 1fr; }
  .film-player__timeline button { min-height: 116px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .statement { min-height: 50vh; padding: 92px 24px; }
  .chapter { padding: 96px 0; }
  .chapter__header h2 { font-size: clamp(42px, 13vw, 64px); }
  .concept-grid, .evidence-panel, .reflection-grid, footer { grid-template-columns: 1fr; }
  .concept-grid { gap: 46px; }
  .keyframe { margin-top: 50px; }
  .keyframe figcaption { align-items: flex-start; flex-direction: column; gap: 6px; }
  .shot-notes { grid-template-columns: 1fr; }
  .shot-notes article, .shot-notes article + article { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .process-list article { grid-template-columns: 46px 1fr; gap: 18px; }
  .process-list__text { grid-column: 2; }
  .evidence-panel { gap: 44px; }
  .reflection-grid article { min-height: 290px; }
  .mentor-prompt { grid-template-columns: 1fr; gap: 24px; }
  .mentor-prompt ul { grid-template-columns: 1fr; }
  footer { padding: 42px 20px; gap: 28px; }
  footer p { justify-self: start; }
}

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