:root {
  --paper: #f6f0e6;
  --paper-soft: #fbf8f2;
  --ink: #22231f;
  --muted: #69675f;
  --line: rgba(34, 35, 31, 0.14);
  --coral-display: #a13f2b;
  --coral: #8f3726;
  --coral-deep: #8f3726;
  --shadow: 0 28px 80px rgba(54, 43, 31, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.shell { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 240, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon { width: 46px; height: 46px; object-fit: cover; border-radius: 14px; }
.brand span { display: grid; gap: 2px; }
.brand strong { font-size: 19px; letter-spacing: 0.14em; }
.brand small { font-family: system-ui, sans-serif; font-size: 10px; letter-spacing: 0.12em; opacity: 0.76; }

.main-nav { display: flex; gap: 36px; }
.main-nav a { color: var(--muted); font-family: system-ui, sans-serif; font-size: 13px; text-decoration: none; letter-spacing: 0.08em; }
.main-nav a:hover { color: var(--coral); }
.mobile-nav { position: relative; display: none; margin-left: auto; font-family: system-ui, sans-serif; }
.mobile-nav summary { list-style: none; padding: 9px 15px; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; top: calc(100% + 10px); right: 0; min-width: 150px; display: grid; padding: 8px; background: var(--paper-soft); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.mobile-nav nav a { padding: 10px 12px; font-size: 12px; text-decoration: none; white-space: nowrap; }

.hero {
  position: relative;
  min-height: min(850px, calc(100svh - 86px));
  display: grid;
  align-items: center;
  isolation: isolate;
  color: var(--ink);
  background: var(--paper-soft);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  z-index: -1;
  background: var(--paper-soft);
}

.hero-stage { position: absolute; inset: 0 0 0 34%; z-index: -2; width: 66%; height: 100%; object-fit: cover; object-position: center 49%; }
.hero-inner { padding-block: 90px 110px; }
.hero-copy { width: min(620px, 48%); }

.eyebrow {
  margin: 0 0 28px;
  color: var(--coral);
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.hero .eyebrow { color: var(--coral); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: -0.04em; }
h1 { margin-bottom: 30px; font-size: clamp(56px, 7vw, 98px); line-height: 1.08; }
.hero-emphasis { color: var(--coral-display); }
.hero-lede { max-width: 510px; margin-bottom: 26px; color: var(--muted); font-size: 19px; line-height: 1.9; }

.text-link { display: inline-flex; gap: 12px; color: var(--ink); font-family: system-ui, sans-serif; font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 7px; }

.listening-note { margin: 48px 0 0; color: var(--coral); font-family: system-ui, sans-serif; font-size: 12px; letter-spacing: 0.14em; }

.choices { padding: 160px 0 150px; background: var(--paper); }
.choices-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr); gap: 100px; align-items: center; }
h2 { margin-bottom: 32px; font-size: clamp(43px, 5vw, 70px); line-height: 1.16; }
.section-lede { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.9; }

.choice-list { margin-top: 64px; border-top: 1px solid var(--line); }
.choice-list article { display: grid; grid-template-columns: 84px 1fr; column-gap: 24px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.choice-list span { grid-row: 1 / 3; padding-top: 3px; color: var(--coral); font-family: system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; }
.choice-list h3 { margin-bottom: 8px; font-size: 21px; font-weight: 600; line-height: 1.4; }
.choice-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.character-figure { margin: 0; }
.character-halo { overflow: hidden; padding: 58px 12% 0; background: #eadfd0; border-radius: 220px 220px 30px 30px; box-shadow: var(--shadow); }
.character-halo img { width: 100%; max-height: 650px; object-fit: contain; object-position: center bottom; }
.character-figure figcaption { margin-top: 18px; color: var(--muted); font-family: system-ui, sans-serif; font-size: 11px; letter-spacing: 0.15em; text-align: center; }

.atmospheres { padding: 150px 0 0; background: var(--paper-soft); }
.atmospheres-heading { max-width: 780px; margin-bottom: 70px; }
.atmospheres-heading h2 { margin-bottom: 0; }
.scene-browser { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 34px; }
.scene-main { position: relative; overflow: hidden; min-height: 720px; margin: 0; border-radius: 8px; background: #d8cabb; box-shadow: var(--shadow); }
.scene-main > img { width: 100%; height: 720px; object-fit: cover; object-position: center 55%; }
.scene-main figcaption { position: absolute; inset: auto 0 0; display: flex; gap: 24px; align-items: flex-start; padding: 64px 42px 34px; color: white; background: linear-gradient(transparent, rgba(19, 21, 19, 0.72)); }
.scene-main figcaption > span { padding-top: 5px; font-family: system-ui, sans-serif; font-size: 11px; letter-spacing: 0.12em; opacity: 0.72; }
.scene-main strong { font-size: 25px; font-weight: 600; }
.scene-main p { margin: 8px 0 0; font-size: 14px; line-height: 1.65; opacity: 0.82; }

.scene-list { display: grid; grid-template-rows: repeat(5, 1fr); gap: 10px; }
.scene-option { width: 100%; display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; padding: 10px; color: var(--ink); text-align: left; background: transparent; border: 1px solid transparent; border-radius: 7px; cursor: pointer; transition: background 180ms ease, border-color 180ms ease; }
.scene-option:hover { background: rgba(255, 255, 255, 0.72); }
.scene-option.active { background: white; border-color: var(--line); }
.scene-option img { width: 92px; height: 100px; object-fit: cover; border-radius: 4px; }
.scene-option span { display: grid; gap: 8px; }
.scene-option strong { font-size: 16px; font-weight: 600; }
.scene-option small { color: var(--muted); font-family: system-ui, sans-serif; font-size: 11px; letter-spacing: 0.08em; }

.noscript-note { color: var(--muted); font-size: 13px; }
.closing { display: grid; justify-items: center; padding: 180px 0 150px; text-align: center; }
.closing img { width: 66px; height: 66px; object-fit: cover; margin-bottom: 34px; border-radius: 20px; }
.closing p { margin-bottom: 30px; font-size: clamp(40px, 5vw, 70px); line-height: 1.35; letter-spacing: -0.04em; }
.closing a { color: var(--coral); font-family: system-ui, sans-serif; font-size: 13px; text-underline-offset: 6px; }

.site-footer { padding: 28px 0 34px; color: rgba(255, 255, 255, 0.72); background: var(--ink); }
.footer-inner { display: flex; gap: 28px; align-items: center; justify-content: space-between; font-family: system-ui, sans-serif; font-size: 11px; }
.footer-inner p { margin: 0; }
.footer-inner a { text-underline-offset: 4px; }

@media (max-width: 800px) {
  .shell { width: min(100% - 38px, 560px); }
  .header-inner { min-height: 72px; }
  .brand-icon { width: 40px; height: 40px; border-radius: 12px; }
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { min-height: 920px; display: block; }
  .hero::after { display: none; }
  .hero-stage { inset: auto 0 0; width: 100%; height: 410px; object-position: center 50%; }
  .hero-inner { padding-top: 66px; padding-bottom: 440px; }
  .hero-copy { width: 100%; }
  h1 { margin-bottom: 22px; font-size: clamp(49px, 14vw, 67px); }
  .hero-lede { margin-bottom: 20px; font-size: 16px; line-height: 1.75; }
  .listening-note { margin-top: 34px; }

  .choices { padding: 104px 0 108px; }
  .choices-grid { grid-template-columns: 1fr; gap: 72px; }
  h2 { font-size: 45px; }
  .choice-list { margin-top: 46px; }
  .choice-list article { grid-template-columns: 68px 1fr; column-gap: 14px; padding: 22px 0; }
  .choice-list h3 { font-size: 18px; }
  .character-figure { width: min(86%, 390px); justify-self: center; }
  .character-halo { padding-top: 40px; }

  .atmospheres { padding-top: 104px; }
  .atmospheres-heading { margin-bottom: 48px; }
  .scene-browser { grid-template-columns: 1fr; gap: 18px; }
  .scene-main { min-height: 560px; }
  .scene-main > img { height: 560px; }
  .scene-main figcaption { padding: 70px 22px 24px; }
  .scene-list { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x mandatory; }
  .scene-option { flex: 0 0 128px; display: block; padding: 7px; scroll-snap-align: start; }
  .scene-option img { width: 100%; height: 126px; margin-bottom: 10px; }
  .scene-option span { gap: 3px; }
  .scene-option strong { font-size: 13px; }
  .scene-option small { font-size: 9px; }
  .closing { padding: 120px 0 104px; }
  .closing p { font-size: 42px; }
  .footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .footer-inner > :nth-child(even) { text-align: right; }
}

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