@layer tokens, base, components, screens, motion, responsive, print;

@layer tokens {
  @font-face { font-family: "Art Serif SC"; src: url("/art_vendor/fonts/noto-serif-sc-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: "Art Serif SC"; src: url("/art_vendor/fonts/noto-serif-sc-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
  @font-face { font-family: "Art Sans SC"; src: url("/art_vendor/fonts/noto-sans-sc-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: "Art Sans SC"; src: url("/art_vendor/fonts/noto-sans-sc-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
  :root {
    --forest-950: #071009; --forest-900: #0d1a10; --forest-800: #152817; --forest-700: #203a23;
    --paper: #f3e7c8; --paper-light: #fff8e7; --ink: #162019; --vermilion: #e6532d; --vermilion-hot: #ff7140;
    --gold: #b68b45; --signal: #9dddc8; --line-dark: rgb(16 31 19 / .18); --line-light: rgb(243 231 200 / .18);
    --serif: "Art Serif SC", "Noto Serif SC", "Songti SC", SimSun, serif;
    --sans: "Art Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --ease-out: cubic-bezier(.16, 1, .3, 1); --shell: min(1440px, calc(100vw - clamp(32px, 7vw, 112px)));
  }
}

@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { background: var(--forest-950); color: var(--paper); font-family: var(--sans); scroll-behavior: smooth; }
  body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden; background: var(--forest-950); }
  button, textarea { font: inherit; }
  button { cursor: pointer; }
  button:disabled { cursor: not-allowed; opacity: .42; }
  button:focus-visible, textarea:focus-visible, [tabindex="-1"]:focus-visible { outline: 2px solid var(--vermilion-hot); outline-offset: 4px; }
  [tabindex="-1"]:focus { outline: 0; }
  h1, h2, p, blockquote { margin: 0; }
  img, canvas { display: block; max-width: 100%; }
  .art-app { min-height: 100vh; }
  .screen { min-height: 100vh; }
  .grid-shell { width: var(--shell); margin-inline: auto; }
  .sr-only { position: fixed; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}

@layer components {
  .topbar { position: relative; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 24px; width: var(--shell); margin: 0 auto; padding: 26px 0; color: rgb(243 231 200 / .68); font-size: 12px; letter-spacing: .12em; }
  .brand { color: inherit; text-decoration: none; font-weight: 700; }
  .brand-button { border: 0; background: transparent; padding: 0; }
  .topbar-facts { display: flex; gap: 22px; }
  .topbar-facts span + span::before { content: "·"; margin-right: 22px; color: var(--vermilion); }
  .eyebrow { color: var(--vermilion-hot); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
  .button, .text-button, .skip-button { border: 0; font-weight: 700; transition: transform .24s var(--ease-out), color .24s ease, background .24s ease, border-color .24s ease; }
  .button { min-height: 52px; padding: 0 24px; border-radius: 999px; letter-spacing: .05em; }
  .button-primary { color: var(--paper-light); background: linear-gradient(135deg, #c93d20, var(--vermilion-hot)); box-shadow: 0 18px 55px rgb(230 83 45 / .24); }
  .button-secondary { color: var(--paper); background: transparent; border: 1px solid rgb(243 231 200 / .28); }
  .text-button { color: inherit; background: transparent; padding: 12px 4px; border-bottom: 1px solid currentColor; }
  .button:hover, .text-button:hover, .skip-button:hover { transform: translateY(-2px); }
}

@layer screens {
  .intro-screen { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 79% 44%, rgb(58 105 69 / .72) 0, rgb(27 58 35 / .36) 25%, transparent 47%), radial-gradient(ellipse at 15% 84%, rgb(190 55 29 / .18), transparent 42%), linear-gradient(125deg, #050d07 0%, #0b1b0f 48%, #172c19 78%, #080d08 100%); }
  .intro-screen::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(106deg, transparent 0 51%, rgb(255 230 172 / .08) 51.2% 51.35%, transparent 51.6%), linear-gradient(90deg, rgb(243 231 200 / .05) 1px, transparent 1px), linear-gradient(rgb(243 231 200 / .035) 1px, transparent 1px); background-size: auto, 72px 72px, 72px 72px; mask-image: linear-gradient(90deg, transparent, #000 24% 94%, transparent); }
  .intro-screen::after { content: ""; position: absolute; z-index: -1; inset: -20% -8% -28% 42%; pointer-events: none; background: conic-gradient(from 214deg at 52% 48%, transparent 0 16%, rgb(255 113 64 / .16) 20%, transparent 25% 47%, rgb(157 221 200 / .11) 51%, transparent 57%); filter: blur(22px); animation: coverBreath 8s ease-in-out infinite alternate; }
  .intro-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(440px, .92fr) minmax(480px, 1fr); align-items: center; gap: clamp(48px, 7vw, 120px); min-height: calc(100vh - 90px); padding-bottom: 42px; }
  .intro-copy h1 { margin: 22px 0 28px; font-family: var(--serif); font-size: 112px; font-weight: 700; line-height: .92; letter-spacing: 0; }
  .intro-copy h1 span, .intro-copy h1 em { display: block; }
  .intro-copy h1 span { width: max-content; max-width: 100%; color: #fff3d4; text-shadow: 0 12px 44px rgb(0 0 0 / .36); }
  .intro-copy h1 span:last-child { font-size: .72em; color: #ead6a8; white-space: normal; }
  .intro-copy h1 em { width: max-content; font-style: normal; background: linear-gradient(112deg, #fff1ca 0%, #ff8a4e 39%, #e84d2a 64%, #d8ad62 100%); background-clip: text; -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 16px 30px rgb(230 83 45 / .26)); }
  .intro-lead { max-width: 680px; padding-left: 20px; border-left: 3px solid var(--vermilion); color: rgb(243 231 200 / .76); font-family: var(--serif); font-size: clamp(19px, 1.75vw, 26px); line-height: 1.72; }
  .respondent-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; max-width: 650px; margin-top: 28px; }
  .respondent-fields label { display: grid; gap: 8px; color: rgb(243 231 200 / .64); font-size: 12px; }
  .respondent-fields input { width: 100%; min-width: 0; height: 50px; padding: 0 15px; border: 1px solid rgb(243 231 200 / .2); border-radius: 0; outline: 0; color: var(--paper-light); background: rgb(7 16 9 / .38); font: 15px var(--sans); transition: border-color .2s ease, background .2s ease; }
  .respondent-fields input::placeholder { color: rgb(243 231 200 / .3); }
  .respondent-fields input:focus { border-color: var(--vermilion-hot); background: rgb(7 16 9 / .58); }
  .intro-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
  .intro-proof { display: flex; align-items: center; gap: 14px; margin-top: 42px; color: rgb(243 231 200 / .52); font-size: 12px; line-height: 1.6; }
  .intro-proof b { color: var(--paper); font-family: var(--serif); font-size: 42px; line-height: 1; }
  .reveal-object { position: relative; isolation: isolate; min-height: min(700px, 78vh); overflow: hidden; border: 1px solid rgb(243 231 200 / .24); background: radial-gradient(circle at 50% 46%, rgb(255 113 64 / .24) 0, transparent 19%), radial-gradient(circle at 50% 48%, rgb(157 221 200 / .13) 0, transparent 42%), linear-gradient(145deg, rgb(243 231 200 / .095), rgb(243 231 200 / .018) 54%, rgb(0 0 0 / .12)); box-shadow: 0 55px 150px rgb(0 0 0 / .38), inset 0 0 90px rgb(157 221 200 / .035); clip-path: polygon(0 0, 100% 0, 100% 93%, 93% 100%, 0 100%); }
  .reveal-object::before { content: ""; position: absolute; z-index: 5; inset: 20px; border: 1px solid rgb(243 231 200 / .1); pointer-events: none; }
  .reveal-object::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 47%; width: 48%; height: 72%; border-radius: 48% 48% 16% 16%; background: radial-gradient(ellipse at 50% 20%, rgb(255 219 155 / .15), transparent 27%), linear-gradient(180deg, rgb(157 221 200 / .06), rgb(230 83 45 / .05) 58%, transparent); transform: translate(-50%, -50%); filter: blur(8px); box-shadow: 0 0 110px rgb(255 113 64 / .12); }
  .reveal-object canvas { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 7px rgb(255 205 128 / .42)); }
  .object-atmosphere { position: absolute; z-index: 0; inset: 0; opacity: .75; background: radial-gradient(circle at 20% 18%, rgb(157 221 200 / .14) 0 1px, transparent 2px), radial-gradient(circle at 78% 72%, rgb(255 113 64 / .2) 0 1px, transparent 2px); background-size: 29px 29px, 41px 41px; animation: atmosphereDrift 18s linear infinite; }
  .object-scan { position: absolute; z-index: 4; left: 9%; right: 9%; top: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgb(157 221 200 / .85), rgb(255 243 212 / .95), rgb(255 113 64 / .86), transparent); box-shadow: 0 0 24px rgb(157 221 200 / .48); animation: objectScan 5.8s var(--ease-out) infinite; }
  .object-rings i { position: absolute; z-index: 2; left: 50%; top: 47%; width: 69%; aspect-ratio: 1; border: 1px solid rgb(243 231 200 / .18); border-radius: 50%; transform: translate(-50%, -50%); }
  .object-rings i:nth-child(2) { width: 49%; border-color: rgb(157 221 200 / .24); }
  .object-rings i:nth-child(3) { width: 29%; border-color: rgb(255 113 64 / .4); box-shadow: 0 0 44px rgb(255 113 64 / .1); }
  .portrait-axis i { position: absolute; z-index: 2; left: 50%; top: 13%; bottom: 14%; width: 1px; background: linear-gradient(transparent, rgb(243 231 200 / .22), transparent); }
  .portrait-axis i:nth-child(2) { left: 18%; right: 18%; top: 50%; bottom: auto; width: auto; height: 1px; }
  .object-caption { position: absolute; z-index: 6; left: 34px; right: 34px; bottom: 30px; display: flex; justify-content: space-between; align-items: end; gap: 20px; color: rgb(243 231 200 / .78); }
  .object-caption span { color: var(--vermilion-hot); font-family: var(--serif); font-size: 23px; }
  .object-caption b { max-width: 220px; font-size: 11px; font-weight: 400; line-height: 1.55; letter-spacing: .12em; text-align: right; }

  .question-screen { background: radial-gradient(circle at 18% 42%, rgb(230 83 45 / .1), transparent 28%), linear-gradient(135deg, var(--forest-950), var(--forest-800)); }
  .question-grid { display: grid; grid-template-columns: minmax(280px, 32%) minmax(0, 68%); gap: clamp(28px, 5vw, 78px); padding: clamp(22px, 5vh, 58px) 0 64px; }
  .question-counter { font-variant-numeric: tabular-nums; }
  .sampling-panel { position: relative; min-height: 640px; padding: clamp(26px, 3vw, 40px); overflow: hidden; border: 1px solid var(--line-light); background: linear-gradient(180deg, rgb(243 231 200 / .08), rgb(243 231 200 / .022)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
  .sampling-number { color: var(--paper); font-family: var(--serif); font-size: clamp(94px, 10vw, 154px); line-height: .8; letter-spacing: -.1em; }
  .progress-orbit { position: relative; display: grid; place-items: center; width: 138px; aspect-ratio: 1; margin: 30px 0; border-radius: 50%; background: conic-gradient(var(--vermilion-hot) 0 var(--progress), rgb(243 231 200 / .14) var(--progress) 100%); box-shadow: 0 0 44px rgb(230 83 45 / .1); }
  .progress-orbit::before { content: ""; position: absolute; inset: 11px; border-radius: inherit; background: var(--forest-900); border: 1px solid rgb(243 231 200 / .1); }
  .progress-orbit b, .progress-orbit span { position: relative; z-index: 1; }
  .progress-orbit b { font-family: var(--serif); font-size: 36px; }
  .progress-orbit span { position: absolute; left: calc(50% + 28px); top: calc(50% + 12px); color: rgb(243 231 200 / .55); font-size: 12px; }
  .sampling-copy { max-width: 290px; }
  .sampling-copy p { margin-top: 14px; color: rgb(243 231 200 / .65); line-height: 1.72; }
  .signal-field { position: absolute; left: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px); bottom: 34px; height: 160px; border-top: 1px solid rgb(243 231 200 / .12); border-bottom: 1px solid rgb(243 231 200 / .12); }
  .signal-field::before, .signal-field::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgb(157 221 200 / .12); border-radius: 50%; transform: rotate(-18deg); }
  .signal-field::after { inset: 34% 18%; transform: rotate(22deg); }
  .signal-field i { position: absolute; left: var(--x); top: var(--y); width: 5px; height: 5px; border-radius: 50%; background: rgb(243 231 200 / .17); }
  .signal-field i.active { background: var(--vermilion-hot); box-shadow: 0 0 16px rgb(255 113 64 / .55); animation: signalIn .5s var(--ease-out) both; animation-delay: var(--delay); }
  .question-sheet { position: relative; min-height: 640px; padding: clamp(32px, 5vw, 68px); color: var(--ink); background: linear-gradient(135deg, var(--paper), var(--paper-light)); box-shadow: 0 36px 120px rgb(0 0 0 / .3); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
  .question-sheet::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgb(22 32 25 / .08); pointer-events: none; }
  .question-meta { display: flex; justify-content: space-between; color: rgb(22 32 25 / .52); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
  .question-sheet h1 { max-width: 860px; margin: 26px 0 32px; font-family: var(--serif); font-size: clamp(30px, 3.7vw, 56px); line-height: 1.18; letter-spacing: -.045em; }
  .choices { display: grid; gap: 11px; }
  .choice { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; width: 100%; overflow: hidden; padding: 15px 16px; border: 1px solid rgb(22 32 25 / .16); color: var(--ink); background: rgb(255 255 255 / .36); text-align: left; transition: transform .24s var(--ease-out), border-color .24s ease, background .24s ease, box-shadow .24s ease; }
  .choice::after { content: ""; position: absolute; top: 0; left: -28%; width: 22%; height: 100%; background: linear-gradient(90deg, transparent, rgb(230 83 45 / .16), transparent); transform: skewX(-18deg); transition: left .4s ease; }
  .choice:hover::after, .choice.selected::after { left: 112%; }
  .choice:hover, .choice.selected { border-color: var(--vermilion); background: var(--paper-light); }
  .choice.selected { box-shadow: inset 5px 0 0 var(--vermilion); }
  .choice b { display: grid; place-items: center; width: 32px; aspect-ratio: 1; border-radius: 50%; color: var(--vermilion); background: rgb(22 32 25 / .07); }
  .choice span { line-height: 1.62; }
  .question-hint, .freeform-prompt, .privacy-note { position: relative; max-width: 760px; color: rgb(22 32 25 / .68); line-height: 1.7; }
  .question-hint { margin: -18px 0 24px; }
  .freeform-prompt { margin: -18px 0 20px; font-size: 17px; }
  .privacy-note { margin: 12px 0 0; font-size: 13px; }
  .pair-choices .choice { grid-template-columns: 42px 1fr auto; }
  .choice-role { min-width: 38px; padding: 4px 7px; color: transparent; font-family: var(--sans); font-size: 11px; text-align: center; }
  .choice.primary .choice-role { color: var(--paper-light); background: var(--vermilion); }
  .choice.secondary { border-color: rgb(153 118 44 / .72); box-shadow: inset 5px 0 0 rgb(153 118 44 / .72); }
  .choice.secondary .choice-role { color: var(--ink); background: rgb(153 118 44 / .22); }
  .question-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 28px; }
  .question-actions .text-button { color: var(--ink); }
  textarea { width: 100%; min-height: 240px; padding: 20px; border: 1px solid rgb(22 32 25 / .2); color: var(--ink); background: rgb(255 255 255 / .42); font-family: var(--serif); font-size: 18px; line-height: 1.75; resize: vertical; }

  .reveal-screen { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 48%, rgb(230 83 45 / .28), transparent 24%), linear-gradient(135deg, #030604, var(--forest-900) 62%, #050705); }
  .reveal-screen > canvas, .reveal-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
  .reveal-grid { background: linear-gradient(90deg, rgb(243 231 200 / .035) 1px, transparent 1px), linear-gradient(rgb(243 231 200 / .025) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 48%, #000 0 48%, transparent 80%); }
  .skip-button { position: absolute; z-index: 4; top: 24px; right: 28px; padding: 12px 0; color: rgb(243 231 200 / .62); background: transparent; border-bottom: 1px solid currentColor; }
  .reveal-stage { position: relative; z-index: 3; display: grid; grid-template-rows: 1fr auto 1fr; align-items: center; width: min(1140px, calc(100vw - 40px)); min-height: min(650px, calc(100vh - 90px)); padding: clamp(40px, 6vw, 82px); border: 1px solid rgb(243 231 200 / .14); background: rgb(7 16 9 / .16); text-align: center; }
  .reveal-label { position: relative; z-index: 2; align-self: end; color: var(--vermilion-hot); font-size: 13px; font-weight: 700; letter-spacing: .18em; }
  .reveal-main { position: relative; z-index: 2; align-self: center; max-width: 1020px; margin: 32px auto; font-family: var(--serif); font-size: clamp(68px, 10vw, 154px); font-weight: 700; line-height: .98; letter-spacing: -.09em; }
  .reveal-main.long { font-size: clamp(36px, 5.4vw, 82px); line-height: 1.18; letter-spacing: -.05em; }
  .reveal-main span { display: inline-block; }
  .reveal-sub { position: relative; z-index: 2; align-self: start; max-width: 720px; margin-inline: auto; color: rgb(243 231 200 / .63); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.7; }
  .reveal-impact { position: absolute; z-index: 1; left: 50%; top: 50%; width: min(420px, 45vw); aspect-ratio: 1; border: 2px solid var(--vermilion-hot); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }

  .result-screen { color: var(--ink); background: var(--paper); }
  .result-hero { position: relative; min-height: max(760px, 96vh); overflow: hidden; color: var(--paper); background: var(--forest-900); }
  .hero-art { position: absolute; inset: 0; overflow: hidden; background: var(--forest-900); }
  .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--art-position, 58% 50%); transform: scale(var(--art-scale, 1)); filter: saturate(.96) contrast(1.04) brightness(.94); }
  .hero-art.missing-art img { display: none; }
  .hero-art.missing-art, .abstract-art { background: radial-gradient(circle at 76% 40%, rgb(230 83 45 / .18), transparent 18%), linear-gradient(135deg, var(--forest-950), var(--forest-700)); }
  .abstract-art i { position: absolute; border: 1px solid rgb(243 231 200 / .12); border-radius: 50%; }
  .abstract-art i:nth-child(1) { width: 42vw; aspect-ratio: 1; right: 4vw; top: 8vh; } .abstract-art i:nth-child(2) { width: 24vw; aspect-ratio: 1; right: 13vw; top: 24vh; } .abstract-art i:nth-child(3) { width: 8vw; aspect-ratio: 1; right: 21vw; top: 40vh; border-color: var(--vermilion); }
  .result-hero > canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; mix-blend-mode: screen; }
  .hero-vignette { position: absolute; z-index: 3; inset: 0; background: linear-gradient(90deg, rgb(7 16 9 / .96) 0%, rgb(7 16 9 / .82) 32%, rgb(7 16 9 / .26) 57%, rgb(7 16 9 / .04) 82%), linear-gradient(180deg, rgb(7 16 9 / .12), transparent 58%, rgb(7 16 9 / .66)); }
  .hero-copy { position: relative; z-index: 4; display: flex; flex-direction: column; justify-content: center; min-height: max(760px, 96vh); padding: clamp(80px, 11vh, 140px) 0 110px; }
  .hero-copy h1 { width: var(--title-width, 58%); margin: 18px 0 24px; font-family: var(--serif); line-height: .94; letter-spacing: 0; text-wrap: balance; }
  .result-hero.name-short .hero-copy h1 { font-size: clamp(88px, 12vw, 176px); }
  .result-hero.name-medium .hero-copy h1 { font-size: clamp(76px, 10.5vw, 150px); }
  .result-hero.name-long .hero-copy h1 { font-size: clamp(62px, 8.2vw, 118px); }
  .hero-copy blockquote { position: relative; max-width: min(760px, 60vw); padding-left: 24px; color: var(--vermilion-hot); font-family: var(--serif); font-size: clamp(28px, 3.2vw, 50px); line-height: 1.24; letter-spacing: -.035em; }
  .hero-copy blockquote::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; background: var(--vermilion); }
  .result-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
  .result-facts span { padding: 8px 12px; border: 1px solid rgb(243 231 200 / .22); border-radius: 999px; color: rgb(243 231 200 / .68); background: rgb(7 16 9 / .2); font-size: 12px; }
  .hero-scroll { position: absolute; z-index: 4; left: max(calc((100vw - 1440px) / 2), clamp(16px, 3.5vw, 56px)); bottom: 36px; color: rgb(243 231 200 / .62); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
  .hero-scroll::before { content: ""; display: inline-block; width: 44px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--vermilion); }
  .life-intro { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 46px; align-items: end; padding: clamp(74px, 10vw, 140px) 0 62px; border-bottom: 1px solid var(--line-dark); }
  .life-intro h2 { grid-column: 1; max-width: 900px; margin-top: 14px; font-family: var(--serif); font-size: clamp(46px, 6.6vw, 96px); line-height: 1.06; letter-spacing: -.06em; }
  .life-intro p { grid-column: 2; grid-row: 1 / 3; color: rgb(22 32 25 / .62); line-height: 1.75; }
  .life-scroll { position: relative; padding: 20px 0 90px; }
  .life-row { position: relative; display: grid; grid-template-columns: clamp(96px, 12vw, 170px) 28px minmax(0, 840px); column-gap: clamp(18px, 3.4vw, 52px); align-items: start; padding: clamp(42px, 6vw, 80px) 0; }
  .life-row::before { content: ""; grid-column: 2; grid-row: 1; justify-self: center; width: 13px; aspect-ratio: 1; margin-top: 20px; border: 2px solid var(--vermilion); border-radius: 50%; background: var(--paper); z-index: 1; }
  .life-row::after { content: ""; position: absolute; left: calc(clamp(96px, 12vw, 170px) + clamp(18px, 3.4vw, 52px) + 14px); top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--vermilion), var(--gold)); }
  .life-mark { color: var(--gold); font-family: var(--serif); font-size: clamp(46px, 6vw, 82px); line-height: 1; letter-spacing: -.07em; }
  .life-mark.tick::before { content: ""; display: block; width: 36px; height: 2px; margin-top: 24px; background: var(--vermilion); }
  .life-row p { grid-column: 3; max-width: 840px; font-family: var(--serif); font-size: clamp(21px, 2vw, 29px); line-height: 1.86; letter-spacing: 0; }
  .final-silence { position: relative; height: 165vh; color: var(--paper-light); background: var(--forest-950); }
  .silence-sticky { position: sticky; top: 0; display: grid; place-items: center; isolation: isolate; min-height: 100vh; width: 100%; overflow: hidden; padding: 12vh clamp(24px, 8vw, 130px); text-align: center; }
  .final-art { position: absolute; z-index: 0; inset: -4%; overflow: hidden; opacity: .18; background: var(--forest-950); transform: scale(1.055); will-change: opacity, transform; }
  .final-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--art-position, 58% 50%); filter: saturate(.9) contrast(1.08) brightness(.9); }
  .final-art.missing-art img { display: none; }
  .abstract-final { background: radial-gradient(circle at 68% 42%, rgb(230 83 45 / .25), transparent 22%), radial-gradient(circle at 48% 52%, rgb(157 221 200 / .11), transparent 42%), linear-gradient(135deg, #071009, #203a23); }
  .abstract-final i { position: absolute; left: 62%; top: 48%; width: 34vw; aspect-ratio: 1; border: 1px solid rgb(243 231 200 / .16); border-radius: 50%; transform: translate(-50%, -50%); }
  .abstract-final i:nth-child(2) { width: 20vw; border-color: rgb(230 83 45 / .35); }
  .abstract-final i:nth-child(3) { width: 7vw; border-color: rgb(243 231 200 / .42); }
  .silence-scrim { position: absolute; z-index: 1; inset: 0; opacity: 1; background: linear-gradient(180deg, rgb(7 16 9 / .93), rgb(7 16 9 / .48) 34%, rgb(7 16 9 / .58) 68%, rgb(7 16 9 / .92)), linear-gradient(90deg, rgb(7 16 9 / .76), transparent 28% 72%, rgb(7 16 9 / .7)); will-change: opacity; }
  .silence-frame { position: absolute; z-index: 2; inset: clamp(22px, 4vw, 62px); border: 1px solid rgb(243 231 200 / .18); box-shadow: inset 0 0 0 1px rgb(230 83 45 / .08); pointer-events: none; }
  .silence-frame::before, .silence-frame::after { content: ""; position: absolute; width: 18%; height: 3px; background: var(--vermilion); }
  .silence-frame::before { left: 0; top: -1px; } .silence-frame::after { right: 0; bottom: -1px; }
  .silence-copy { position: relative; z-index: 4; grid-area: 1 / 1; max-width: 980px; margin: 0 auto; opacity: 0; color: rgb(255 248 229 / .86); font-family: var(--serif); font-size: 44px; line-height: 1.58; letter-spacing: 0; text-wrap: balance; text-shadow: 0 8px 40px rgb(0 0 0 / .75); transform: translateY(32px); will-change: opacity, transform; }
  .silence-copy.is-last { max-width: 1040px; color: #fff3d4; font-size: 84px; font-weight: 700; line-height: 1.24; text-shadow: 0 5px 24px rgb(0 0 0 / .92), 0 0 1px rgb(255 248 229 / .72); }
  .silence-copy.is-return { max-width: 1080px; color: #fff3d4; font-size: 52px; font-weight: 700; line-height: 1.48; }
  .silence-particles { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; pointer-events: none; }
  .silence-dot { position: absolute; z-index: 6; left: 50%; bottom: 12vh; display: block; width: 12px; aspect-ratio: 1; border-radius: 50%; background: var(--vermilion-hot); box-shadow: 0 0 28px rgb(255 113 64 / .75); transform: translateX(-50%); }
  .final-silence.motion-fallback .final-art { opacity: .82; transform: scale(1); }
  .final-silence.motion-fallback .silence-scrim { opacity: .48; }
  .final-silence.motion-fallback .silence-copy { opacity: 1; transform: none; }
  .after-silence { height: 28vh; background: linear-gradient(180deg, var(--forest-950), #0b180e); }
  .course-section { position: relative; overflow: hidden; padding: clamp(86px, 11vw, 160px) 0 clamp(110px, 14vw, 190px); color: var(--paper); background: radial-gradient(circle at 16% 24%, rgb(230 83 45 / .14), transparent 25%), linear-gradient(145deg, #071009, #122618 62%, #1b3520); }
  .course-section::before { content: "AI"; position: absolute; right: -0.04em; bottom: -.22em; color: rgb(243 231 200 / .035); font-family: var(--serif); font-size: clamp(240px, 38vw, 580px); font-weight: 700; line-height: 1; pointer-events: none; }
  .course-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(170px, 260px) minmax(0, 900px); gap: clamp(54px, 8vw, 120px); align-items: start; }
  .course-index { position: sticky; top: 80px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 13px 14px; padding: 8px 0; border-top: 1px solid rgb(243 231 200 / .2); border-bottom: 1px solid rgb(243 231 200 / .12); }
  .course-index small { grid-column: 1 / -1; margin-bottom: 8px; color: var(--vermilion-hot); font-size: 10px; font-weight: 700; letter-spacing: .22em; }
  .course-index span { color: rgb(243 231 200 / .72); font-family: var(--serif); font-size: 24px; line-height: 1; }
  .course-index i { display: block; height: 1px; background: linear-gradient(90deg, var(--vermilion), transparent); }
  .epilogue-copy h2 { max-width: 850px; margin: 18px 0 30px; font-family: var(--serif); font-size: clamp(48px, 7.2vw, 104px); line-height: 1.02; letter-spacing: -.055em; }
  .epilogue-copy h2 em { display: block; color: var(--vermilion-hot); font-style: normal; }
  .epilogue-lead { max-width: 820px; color: rgb(243 231 200 / .77); font-family: var(--serif); font-size: clamp(21px, 2.1vw, 30px); line-height: 1.75; }
  .learning-thread { display: grid; grid-template-columns: 150px 1fr; gap: 12px 30px; max-width: 820px; margin-top: 52px; padding-top: 30px; border-top: 1px solid rgb(243 231 200 / .18); }
  .learning-thread span { grid-row: 1 / 3; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
  .learning-thread strong { color: #fff3d4; font-family: var(--serif); font-size: clamp(28px, 3.5vw, 48px); }
  .learning-thread p { color: rgb(243 231 200 / .66); font-size: 17px; line-height: 1.72; }
  .learning-promise { max-width: 820px; margin-top: 34px; padding: 24px 28px; border-left: 3px solid var(--vermilion); color: #fff3d4; background: rgb(243 231 200 / .045); font-family: var(--serif); font-size: clamp(19px, 1.8vw, 25px); line-height: 1.7; }
  .epilogue-note { margin-top: 46px; color: rgb(243 231 200 / .42); font-size: 13px; letter-spacing: .1em; }
  .result-footer { display: flex; justify-content: center; padding: 26px 20px 44px; color: var(--paper); background: #071009; }
  .result-footer .text-button { color: rgb(243 231 200 / .56); }
}

@layer motion {
  @keyframes signalIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
  @keyframes coverBreath { from { opacity: .64; transform: rotate(-1deg) scale(.98); } to { opacity: 1; transform: rotate(1deg) scale(1.03); } }
  @keyframes atmosphereDrift { to { background-position: 232px 174px, -205px 246px; } }
  @keyframes objectScan { 0%, 12% { top: 18%; opacity: 0; } 26% { opacity: 1; } 78% { opacity: .72; } 100% { top: 82%; opacity: 0; } }
  .canvas-fallback { opacity: .24; background: radial-gradient(circle at 50% 50%, rgb(230 83 45 / .2) 0 2px, transparent 3px); background-size: 28px 28px; }
}

@layer responsive {
  @media (max-width: 900px) {
    :root { --shell: calc(100vw - 36px); }
    .topbar-facts { display: none; }
    canvas[data-particles] { display: block; }
    .intro-grid, .question-grid, .life-intro, .course-inner { grid-template-columns: 1fr; }
    .intro-grid { gap: 30px; padding-top: 38px; }
    .intro-copy h1 { font-size: 76px; }
    .reveal-object { min-height: 480px; }
    .question-grid { padding-top: 18px; }
    .sampling-panel { min-height: auto; padding: 22px; }
    .sampling-number { font-size: 74px; }
    .progress-orbit { position: absolute; right: 22px; top: 14px; width: 92px; margin: 0; }
    .progress-orbit b { font-size: 25px; }
    .progress-orbit span { left: calc(50% + 20px); top: calc(50% + 8px); }
    .sampling-copy { max-width: calc(100% - 118px); margin-top: 22px; }
    .signal-field { position: relative; left: auto; right: auto; bottom: auto; height: 84px; margin-top: 22px; }
    .question-sheet { min-height: auto; padding: 30px 24px 38px; }
    .question-sheet h1 { font-size: clamp(29px, 8vw, 42px); }
    .reveal-stage { min-height: calc(100vh - 40px); }
    .reveal-main { font-size: clamp(58px, 18vw, 112px); }
    .reveal-main.long { font-size: clamp(31px, 8.5vw, 52px); }
    .result-hero { min-height: min(760px, 100dvh); }
    .hero-art img { object-position: var(--art-mobile-position, 68% 50%); }
    .hero-vignette { background: linear-gradient(180deg, rgb(7 16 9 / .38), rgb(7 16 9 / .76) 48%, rgb(7 16 9 / .98) 78%); }
    .hero-copy { justify-content: flex-end; min-height: min(760px, 100dvh); padding: 72px 0 78px; }
    .hero-copy h1 { width: 100%; }
    .result-hero.name-short .hero-copy h1 { font-size: clamp(76px, 21vw, 118px); }
    .result-hero.name-medium .hero-copy h1 { font-size: clamp(64px, 17vw, 98px); }
    .result-hero.name-long .hero-copy h1 { font-size: clamp(52px, 13vw, 76px); }
    .hero-copy blockquote { max-width: 100%; font-size: clamp(26px, 7.3vw, 38px); }
    .life-intro { gap: 18px; }
    .life-intro p { grid-column: 1; grid-row: auto; }
    .life-row::before, .life-row::after { display: none; }
    .life-row { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
    .life-mark { font-size: 44px; }
    .life-row p { grid-column: 1; padding-left: 18px; border-left: 2px solid rgb(230 83 45 / .17); font-size: clamp(20px, 5.4vw, 25px); }
    .final-silence { height: 150vh; }
    .silence-sticky { padding-inline: 28px; }
    .final-art img { object-position: var(--art-mobile-position, 68% 50%); }
    .silence-frame { inset: 18px; }
    .silence-copy { font-size: 32px; }
    .silence-copy.is-last { font-size: 54px; }
    .silence-copy.is-return { font-size: 34px; }
    .after-silence { height: 30vh; }
    .course-index { position: relative; top: auto; grid-template-columns: auto 1fr; }
    .course-index span { font-size: 21px; }
    .learning-thread { grid-template-columns: 1fr; }
    .learning-thread span { grid-row: auto; }
  }
  @media (max-width: 560px) {
    :root { --shell: calc(100vw - 28px); }
    .topbar { padding: 18px 0; letter-spacing: .06em; }
    .intro-screen { overflow-x: clip; overflow-y: visible; }
    .intro-grid { min-height: auto; gap: 24px; padding-top: 20px; padding-bottom: 30px; }
    .intro-copy h1 { margin: 18px 0 22px; font-size: clamp(48px, 15vw, 56px); line-height: .96; }
    .intro-copy h1 span:last-child { width: 100%; font-size: .66em; line-height: 1.08; }
    .intro-lead { padding-left: 16px; font-size: 18px; line-height: 1.65; }
    .respondent-fields { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
    .intro-actions { display: flex; gap: 10px; margin-top: 26px; }
    .intro-actions .button { width: auto; min-width: 132px; padding-inline: 22px; white-space: nowrap; }
    .intro-proof { margin-top: 28px; }
    .reveal-object { min-height: 400px; }
    .reveal-object::before { inset: 12px; }
    .object-caption { left: 20px; right: 20px; bottom: 18px; }
    .object-caption span { font-size: 18px; }
    .object-caption b { display: none; }
    .question-grid { gap: 18px; padding-top: 8px; }
    .sampling-panel { padding: 18px; }
    .sampling-number { font-size: 62px; }
    .progress-orbit { right: 18px; top: 12px; width: 78px; }
    .progress-orbit::before { inset: 9px; }
    .sampling-copy { max-width: calc(100% - 96px); margin-top: 18px; }
    .sampling-copy p { margin-top: 9px; font-size: 14px; line-height: 1.55; }
    .signal-field { height: 68px; margin-top: 16px; }
    .question-sheet { padding: 26px 18px 30px; }
    .question-sheet::before { inset: 10px; }
    .question-sheet h1 { margin: 22px 0 26px; font-size: clamp(28px, 8vw, 34px); line-height: 1.22; letter-spacing: 0; }
    .choice { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px 12px; }
    .choice b { width: 28px; }
    .choice span { min-width: 0; font-size: 15px; line-height: 1.55; }
    .pair-choices .choice { grid-template-columns: 34px minmax(0, 1fr); }
    .pair-choices .choice-role { grid-column: 2; justify-self: start; min-width: 0; margin-top: 2px; }
    .question-actions { margin-top: 22px; }
    .question-actions .button { padding-inline: 20px; }
    .reveal-stage { width: 100vw; min-height: 100dvh; padding: 58px 26px 38px; border: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .reveal-stage::before { content: ""; position: absolute; inset: 14px; z-index: 0; border: 1px solid rgb(243 231 200 / .12); pointer-events: none; }
    .skip-button { top: 18px; right: 20px; }
    .reveal-main { font-size: clamp(48px, 15vw, 72px); line-height: 1.05; letter-spacing: 0; }
    .reveal-main.long { font-size: clamp(27px, 7.4vw, 36px); line-height: 1.28; letter-spacing: 0; }
    .reveal-sub { font-size: 15px; line-height: 1.6; }
    .hero-copy { padding: 58px 0 70px; }
    .result-hero.name-short .hero-copy h1 { font-size: clamp(70px, 20vw, 92px); }
    .result-hero.name-medium .hero-copy h1 { font-size: clamp(58px, 17vw, 76px); }
    .result-hero.name-long .hero-copy h1 { font-size: clamp(46px, 13vw, 60px); }
    .hero-copy blockquote { padding-left: 16px; font-size: clamp(23px, 7vw, 29px); line-height: 1.32; }
    .result-facts { gap: 7px; margin-top: 22px; }
    .result-facts span { padding: 7px 9px; font-size: 11px; }
    .hero-scroll { bottom: 24px; }
    .life-intro { padding: 64px 0 42px; }
    .life-intro h2 { font-size: clamp(38px, 11vw, 48px); letter-spacing: 0; }
    .life-row { padding: 30px 0; }
    .life-mark { font-size: 38px; letter-spacing: 0; }
    .life-row p { font-size: 20px; line-height: 1.78; }
    .final-silence { height: 145svh; }
    .silence-sticky { min-height: 100dvh; padding-inline: 20px; }
    .silence-copy { font-size: 26px; }
    .silence-copy.is-last { font-size: clamp(34px, 10vw, 42px); }
    .silence-copy.is-return { font-size: 25px; line-height: 1.56; }
    .course-section { padding: 76px 0 96px; }
    .course-index { display: none; }
    .epilogue-copy h2 { font-size: clamp(42px, 12vw, 54px); letter-spacing: 0; }
    .epilogue-lead { font-size: 20px; }
    .learning-thread strong { font-size: 30px; }
    .learning-promise { padding: 20px 18px; font-size: 18px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    canvas { display: none !important; }
    .final-silence { height: auto; }
    .silence-sticky { position: relative; min-height: 100vh; }
    .final-art { opacity: .5 !important; transform: none !important; }
    .silence-copy { opacity: 1 !important; transform: none !important; filter: none !important; }
  }
}

@layer print {
  @media print {
    .result-hero > canvas, .hero-scroll, .result-footer, .skip-button { display: none !important; }
    .result-hero { min-height: 600px; }
    .final-silence { height: auto; break-inside: avoid; }
    .silence-sticky { position: relative; min-height: auto; padding: 80px 0; }
    .after-silence { display: none; }
  }
}
