:root {
  color-scheme: dark;
  --ink: #11100f;
  --ink-raised: #171412;
  --ink-soft: #1d1917;
  --paper: #f1ece4;
  --paper-soft: #c7beb5;
  --muted: #91877f;
  --faint: #897e76;
  --rule: rgba(209, 195, 183, .18);
  --rule-strong: rgba(209, 195, 183, .34);
  --wine: #a91f28;
  --wine-bright: #ef493c;
  --ember: #f28b46;
  --ice: #2d6674;
  --focus: #f0a063;
  --page-pad: clamp(20px, 6vw, 48px);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "STSong", "Songti SC", "SimSun", serif;
  font-family: var(--font);
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { margin: 0; min-height: 100%; scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; min-height: 100%; background: var(--ink); overflow-x: hidden; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 75% 10%, rgba(169, 31, 40, .16), transparent 34%), linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: auto, 100% 4px;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, blockquote { margin-top: 0; }

#app { width: min(100%, 720px); margin: 0 auto; min-height: 100dvh; outline: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--paper); color: var(--ink); transition: top .2s; }
.skip-link:focus-visible { top: 12px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.page-enter { animation: page-enter .48s var(--ease) both; }
@keyframes page-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.kicker, .section-eyebrow, .masthead, .question-meta {
  font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: .1em; color: var(--muted);
}
.masthead { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.button {
  display: inline-flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 20px; border: 1px solid transparent; border-radius: 0; font-weight: 600; text-align: left;
  transition: transform .16s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.button:active { transform: translateY(1px) scale(.995); }
.button-primary { border-color: rgba(255,216,191,.44); background: linear-gradient(110deg, #f0e3d7, #fff8ee 48%, #eacfc0); color: var(--ink); box-shadow: 0 14px 40px rgba(0,0,0,.3), 0 0 28px rgba(239,73,60,.13); }
.button-primary:hover { background: linear-gradient(110deg, #fff5ea, #fff 48%, #f3dace); box-shadow: 0 18px 48px rgba(0,0,0,.36), 0 0 34px rgba(239,73,60,.2); }
.button-primary span { color: var(--wine); font-size: 22px; line-height: 1; }
.button-secondary { border-color: var(--rule-strong); background: transparent; color: var(--paper); justify-content: center; }
.button-secondary:hover { background: rgba(255,255,255,.04); border-color: var(--paper-soft); }
.text-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 6px; padding: 8px 0; border: 0; background: transparent; color: var(--paper-soft); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 5px; }
.text-button:hover { color: var(--paper); }
.text-button:disabled { opacity: .28; cursor: default; }

/* Access */
.view-access { min-height: 100dvh; }
.access-view {
  isolation: isolate; position: relative; display: flex; min-height: 100dvh; flex-direction: column;
  padding: max(24px, env(safe-area-inset-top)) var(--page-pad) max(24px, env(safe-area-inset-bottom));
  overflow: hidden; background: #070505;
}
.access-view::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(180deg, rgba(4,2,3,.34), #070505 84%), url("./assets/cover-portal.jpg") 67% center / cover no-repeat;
  filter: saturate(.72) contrast(1.16); transform: scale(1.03);
}
.access-view::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 72% 34%, rgba(239,73,60,.14), transparent 28%), repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
}
.access-portal { position: absolute; right: 9%; top: 10%; z-index: -2; width: 64px; height: 43%; background: linear-gradient(#ffaf5e, #d72d29); box-shadow: 0 0 24px rgba(239,73,60,.75), 0 0 80px rgba(239,73,60,.32); opacity: .62; clip-path: polygon(16% 0, 86% 2%, 100% 100%, 0 100%); }
.access-copy { margin: auto 0 32px; padding-top: 72px; }
.access-copy h1 { margin: 18px 0 24px; font-family: var(--display); font-size: clamp(43px, 13vw, 72px); line-height: 1.06; letter-spacing: -.065em; }
.access-copy h1 em { color: #ffe9d3; font-style: normal; text-shadow: 0 0 28px rgba(239,73,60,.42); }
.access-copy > p:last-child { max-width: 430px; margin: 0; color: var(--paper-soft); font-size: 15px; line-height: 1.75; }
.access-form { border-top: 1px solid rgba(255,216,191,.28); padding-top: 20px; }
.access-form label { display: block; margin-bottom: 9px; color: var(--paper-soft); font-size: 13px; font-weight: 600; }
.access-form input {
  width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid var(--rule-strong); border-radius: 0;
  background: rgba(5,3,3,.74); color: var(--paper); font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
}
.access-form input::placeholder { color: #766d67; letter-spacing: 0; text-transform: none; }
.access-form input[aria-invalid="true"] { border-color: var(--wine-bright); }
.access-form input:disabled { opacity: .62; }
.access-help, .access-error { min-height: 19px; margin: 8px 0 0; font-size: 12px; line-height: 1.55; }
.access-help { color: var(--faint); }
.access-error { margin-bottom: 10px; color: #ff9c87; }
.access-form .button:disabled { cursor: wait; opacity: .66; }
.access-form .access-submit-label { color: var(--ink); font-size: inherit; line-height: inherit; }
.access-footer { margin-top: 20px; color: var(--faint); font-size: 11px; text-align: center; }
.access-loading { display: grid; min-height: 100dvh; place-items: center; padding: var(--page-pad); color: var(--paper-soft); }

/* Landing */
.view-landing { min-height: 100dvh; }
.landing { isolation: isolate; position: relative; display: flex; min-height: 100dvh; flex-direction: column; padding: max(24px, env(safe-area-inset-top)) var(--page-pad) max(20px, env(safe-area-inset-bottom)); overflow: hidden; background: #070505; }
.landing::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, rgba(4,2,3,.1), rgba(4,2,3,.42) 50%, #070505 88%), url("./assets/cover-portal.jpg") 67% center / cover no-repeat; filter: saturate(.85) contrast(1.18); transform: scale(1.03); }
.landing::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(4,2,3,.85), transparent 58%), radial-gradient(ellipse at 72% 47%, transparent 0 12%, rgba(4,2,3,.28) 38%, rgba(4,2,3,.78) 80%), repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px); }
.landing-portal { position: absolute; left: 64%; top: 5%; z-index: -2; width: clamp(82px, 23vw, 154px); height: 70%; background: linear-gradient(90deg, #b82a26, #ffad57 45%, #ffe0a1 53%, #d42a25); box-shadow: 0 0 18px #f03c2f, 0 0 70px rgba(240,60,47,.62), -35px 25px 90px rgba(230,50,38,.22); clip-path: polygon(15% 0, 88% 1%, 100% 100%, 0 100%); opacity: .78; }
.landing-portal::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 22px; height: 60px; background: #090505; border-radius: 50% 50% 15% 15%; transform: translateX(-50%); box-shadow: 0 18px 18px rgba(0,0,0,.8); }
.landing-portal span { position: absolute; left: 50%; bottom: 0; width: 2px; height: 72px; background: rgba(255,222,172,.7); transform: translateX(-50%); filter: blur(1px); }
.landing-copy { margin: auto 0 28px; padding-top: 92px; }
.landing .kicker { max-width: 210px; line-height: 1.75; }
.landing h1 { margin: 18px 0 30px; font-family: var(--display); font-size: clamp(49px, 15vw, 84px); line-height: .98; letter-spacing: -.075em; font-weight: 700; text-shadow: 0 4px 28px rgba(0,0,0,.86); }
.landing h1 em { color: var(--paper); font-style: normal; position: relative; }
.landing h1 em { color: #ffe9d3; text-shadow: 0 0 8px rgba(239,73,60,.7), 0 0 36px rgba(239,73,60,.45); }
.landing h1 em::after { content: ""; position: absolute; left: -3px; right: -8px; bottom: 1px; height: 2px; z-index: -1; background: #ef493c; box-shadow: 0 0 8px #ef493c, 0 0 22px rgba(239,73,60,.7); }
.landing .lead { margin: 0; color: var(--paper-soft); font-size: 17px; line-height: 1.85; }
.landing-action { position: relative; border-top: 1px solid rgba(255,216,191,.28); padding-top: 20px; }
.test-meta { display: flex; justify-content: space-between; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.test-meta b { color: var(--paper); font-size: 18px; font-weight: 600; }
.privacy-note { margin: 12px 0 0; color: var(--faint); font-size: 12px; text-align: center; }
.landing-footer { margin-top: 20px; color: rgba(199,190,181,.62); font-size: 11px; line-height: 1.6; }

/* Questions */
.question-view { position: relative; isolation: isolate; display: flex; min-height: 100dvh; flex-direction: column; padding: max(24px, env(safe-area-inset-top)) var(--page-pad) max(16px, env(safe-area-inset-bottom)); background: radial-gradient(circle at 90% 18%, rgba(181,35,38,.13), transparent 29%), radial-gradient(circle at 5% 86%, rgba(45,102,116,.11), transparent 34%), #0c0909; }
.question-view::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .13; pointer-events: none; background: url("./assets/question-atmosphere.png") center bottom / cover no-repeat; mix-blend-mode: screen; mask-image: linear-gradient(to bottom, transparent 8%, #000 55%, transparent 100%); }
.question-header { flex: 0 0 auto; }
.question-meta { display: flex; justify-content: space-between; margin-bottom: 14px; }
.question-meta strong { color: var(--paper-soft); font-variant-numeric: tabular-nums; }
.progress-track { position: relative; height: 8px; padding: 2px; border: 1px solid rgba(255,220,201,.16); border-radius: 999px; background: rgba(255,255,255,.035); overflow: hidden; box-shadow: inset 0 1px 4px rgba(0,0,0,.8); }
.progress-track::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(4.166% - 1px), rgba(7,4,4,.75) calc(4.166% - 1px) 4.166%); pointer-events: none; }
.progress-track span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #771520, #ef493c 65%, #ffac57); box-shadow: 0 0 8px rgba(239,73,60,.78), 0 0 20px rgba(239,73,60,.34); transform-origin: left center; transition: transform .45s var(--ease); }
.question-body { margin: auto 0; padding: 48px 0 32px; }
.question-body h1 { max-width: 620px; margin: 15px 0 18px; font-size: clamp(25px, 7vw, 38px); line-height: 1.38; letter-spacing: -.025em; font-weight: 600; }
.context-text { margin: -4px 0 24px; padding-left: 14px; border-left: 2px solid var(--wine); color: var(--paper-soft); font-size: 14px; }
.answers { display: grid; gap: 10px; margin-top: 32px; }
.answer {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; width: 100%; min-height: 58px; align-items: center;
  padding: 15px 15px; border: 1px solid var(--rule); border-radius: 0; background: rgba(255,255,255,.018); color: var(--paper-soft);
  font-size: 15px; line-height: 1.6; text-align: left; transition: transform .16s var(--ease), border-color .2s, background-color .2s, color .2s;
}
.answer:hover { border-color: var(--rule-strong); color: var(--paper); }
.answer:active { transform: translateX(3px); }
.answer.is-selected { border-color: var(--wine-bright); background: rgba(124,38,48,.15); color: var(--paper); transform: translateX(4px); }
.answer-code { width: 9px; height: 9px; border: 1px solid rgba(241,236,228,.35); border-radius: 50%; box-shadow: inset 0 0 0 2px #0c0909; }
.answer.is-selected .answer-code { color: #d58b92; }
.answer.is-selected .answer-code { border-color: #ff9a68; background: #ef493c; box-shadow: 0 0 11px rgba(239,73,60,.9); }
.question-footer { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; border-top: 1px solid var(--rule); padding-top: 10px; color: var(--faint); font-size: 11px; }

/* Signals and reveal */
.signal-view { position: relative; display: flex; min-height: 100dvh; flex-direction: column; justify-content: center; padding: 72px var(--page-pad); overflow: hidden; }
.signal-index { position: absolute; right: var(--page-pad); top: 7%; color: rgba(241,236,228,.035); font-size: 190px; font-weight: 800; line-height: 1; }
.signal-rule { width: 42px; height: 4px; margin-bottom: 24px; background: var(--wine); }
.signal-intro { max-width: 410px; margin: 28px 0 34px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.signal-view h1 { max-width: 580px; margin-bottom: 52px; font-size: clamp(29px, 8.4vw, 47px); line-height: 1.42; letter-spacing: -.035em; font-weight: 600; }
.signal-view .button { max-width: 420px; }
.signal-footnote { margin: 16px 0 0; color: var(--faint); font-size: 11px; }
.reveal-view { position: relative; display: grid; min-height: 100dvh; place-items: center; padding: var(--page-pad); text-align: center; overflow: hidden; }
.reveal-view > .kicker { position: absolute; top: max(32px, env(safe-area-inset-top)); }
.reveal-copy { position: relative; z-index: 2; }
.reveal-copy p { max-width: 430px; margin: 0; font-size: clamp(22px, 6vw, 34px); line-height: 1.5; }
.reveal-copy p.is-changing { animation: reveal-line .6s var(--ease) both; }
.reveal-copy h1 { margin: 20px 0 0; color: #fff7ed; font-size: 58px; }
@keyframes reveal-line { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.reveal-orbit { position: absolute; width: min(90vw, 580px); aspect-ratio: 1; opacity: .35; }
.reveal-orbit span { position: absolute; inset: 0; border: 1px solid var(--rule); border-radius: 50%; animation: orbit 8s ease-in-out infinite alternate; }
.reveal-orbit span:nth-child(2) { inset: 16%; animation-delay: -2s; }
.reveal-orbit span:nth-child(3) { inset: 32%; animation-delay: -4s; }
@keyframes orbit { to { transform: scale(.94); border-color: rgba(124,38,48,.5); } }
.reveal-skip { position: absolute; bottom: max(32px, env(safe-area-inset-bottom)); opacity: 0; pointer-events: none; transition: opacity .4s; }
.reveal-skip.is-visible { opacity: 1; pointer-events: auto; }

/* Result */
.result { overflow: hidden; }
.result-hero { isolation: isolate; position: relative; display: flex; min-height: 100dvh; flex-direction: column; padding: max(24px, env(safe-area-inset-top)) var(--page-pad) max(32px, env(safe-area-inset-bottom)); overflow: hidden; background: #090606; }
.result-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(4,2,3,.18), rgba(4,2,3,.9) 82%), url("./assets/result-portal.jpg") 68% center / cover no-repeat; filter: saturate(.72) contrast(1.2); opacity: .72; }
.result-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 70% 42%, transparent, rgba(4,2,3,.55) 60%), repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px); }
.persona-art { display: block; overflow: hidden; }
.hero-persona-art { position: absolute; right: -10%; top: 7%; z-index: 0; width: min(83vw, 500px); height: auto; opacity: .76; filter: saturate(.86) contrast(1.12); mix-blend-mode: screen; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 0 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0 72%, transparent 100%); }
.result-hero .masthead, .result-hero .kicker, .result-hero h1, .result-hero .persona-tagline, .result-hero .match-score, .result-hero .scroll-hint { position: relative; z-index: 2; }
.result-hero .kicker { margin-top: auto; margin-bottom: 14px; color: #aa7075; }
.hero-file-code { position: absolute; right: -18px; top: 17%; z-index: 1; color: transparent; font-size: clamp(150px, 50vw, 300px); font-weight: 900; line-height: .8; -webkit-text-stroke: 1px rgba(208,193,181,.09); }
.result-hero h1 { position: relative; margin: 0 0 26px; font-family: var(--display); color: #fff0df; font-size: clamp(64px, 22vw, 124px); line-height: .95; letter-spacing: -.08em; font-weight: 750; text-shadow: 0 0 9px rgba(239,73,60,.75), 0 0 42px rgba(239,73,60,.35); }
.result-hero h1.is-long-name { font-size: clamp(48px, 15vw, 84px); letter-spacing: -.07em; white-space: nowrap; }
.result-hero h1.is-extra-long-name { font-size: clamp(42px, 12vw, 68px); letter-spacing: -.06em; white-space: nowrap; }
.persona-en { margin: 13px 0 30px; color: var(--muted); font-size: 16px; letter-spacing: .13em; text-transform: uppercase; }
.persona-tagline { max-width: 520px; margin: 0 0 30px; font-size: clamp(19px, 5.2vw, 28px); line-height: 1.6; }
.match-score { display: flex; width: 152px; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--rule-strong); padding-top: 8px; }
.match-score span { padding-bottom: 8px; color: var(--muted); font-size: 11px; }
.match-score strong { color: var(--wine-bright); font-size: 47px; line-height: 1; font-variant-numeric: tabular-nums; }
.match-score small { font-size: 16px; }
.scroll-hint { display: flex; justify-content: space-between; margin-top: auto; padding-top: 40px; color: var(--muted); font-size: 12px; text-decoration: none; }
.scroll-hint span { color: var(--paper); }
.result-section, .identity-hook, .combination-section, .share-section { padding: 88px var(--page-pad); border-top: 1px solid var(--rule); }
.result-section h2, .share-section h2 { max-width: 540px; margin: 14px 0 32px; font-size: clamp(31px, 8.2vw, 48px); line-height: 1.22; letter-spacing: -.04em; }
.section-eyebrow { color: #aa7075; }
.body-copy, .section-intro, .combination-intro { max-width: 590px; color: var(--paper-soft); font-size: 17px; line-height: 2; }
.section-intro { margin-bottom: 32px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.identity-hook { position: relative; min-height: 70dvh; display: flex; flex-direction: column; justify-content: center; background: var(--paper); color: var(--ink); }
.identity-hook .section-eyebrow { color: var(--wine); }
.identity-hook blockquote { max-width: 600px; margin: 30px 0 0; font-size: clamp(28px, 8vw, 49px); line-height: 1.55; letter-spacing: -.035em; font-weight: 600; }
.indices { margin-top: 56px; }
.index-row { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--rule); }
.index-row:last-child { border-bottom: 1px solid var(--rule); }
.index-row > strong { color: var(--paper); font-size: 55px; line-height: 1; font-variant-numeric: tabular-nums; }
.index-row h3 { margin: 0 0 7px; font-size: 15px; }
.index-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.dimensions-section { position: relative; isolation: isolate; background: radial-gradient(circle at 50% 45%, rgba(169,31,40,.19), transparent 34%), linear-gradient(155deg, #181111, #090707 70%); }
.dimensions-section::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background: repeating-radial-gradient(circle at 50% 28%, transparent 0 58px, rgba(239,73,60,.045) 59px 60px, transparent 61px 88px), linear-gradient(115deg, transparent 38%, rgba(255,255,255,.018) 50%, transparent 62%); mask-image: linear-gradient(to bottom, #000, transparent 86%); }
.radar-frame { position: relative; width: min(100%, 470px); margin: 18px auto 46px; background: radial-gradient(circle, rgba(133,37,43,.14) 0 35%, rgba(3,2,2,.48) 66%, transparent 67%); }
.radar-frame::before { content: ""; position: absolute; inset: 8.8%; border: 1px solid rgba(218,164,139,.2); border-radius: 50%; box-shadow: inset 0 0 42px rgba(0,0,0,.65), 0 20px 48px rgba(0,0,0,.24); pointer-events: none; }
.radar { display: block; width: 100%; overflow: visible; }
.radar-plate { fill: rgba(8,5,5,.55); stroke: rgba(226,183,160,.22); stroke-width: 1; }
.radar-grid { fill: none; stroke: rgba(213,194,181,.18); stroke-width: .75; }
.radar-ring { stroke-dasharray: 2 4; }
.radar-ring-5 { stroke: rgba(226,183,160,.34); stroke-dasharray: none; }
.radar-axis { stroke-dasharray: 1.5 4; }
.radar-sector { fill: url(#radarSectorFill); fill-opacity: .68; stroke: rgba(224,130,105,.6); stroke-width: .65; transform-box: fill-box; transform-origin: center; animation: radar-sector-open .72s var(--ease) both; animation-delay: calc(var(--sector-index) * 55ms); }
.radar-sector:nth-child(even) { fill-opacity: .54; }
.radar-outline { fill: rgba(117,23,34,.12); stroke: #e0a184; stroke-width: 1.35; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; animation: radar-outline-open .82s var(--ease) both; }
.radar-node { fill: #f1d1bd; stroke: #9d343c; stroke-width: 1.7; }
.radar-center-disc { fill: #130b0c; stroke: rgba(224,161,132,.72); stroke-width: 1; }
.radar-center-mark { fill: #d8b7a4; font-family: var(--font); font-size: 9px; font-weight: 700; }
@keyframes radar-sector-open { from { opacity: 0; transform: scale(.22); } to { opacity: 1; transform: scale(1); } }
@keyframes radar-outline-open { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: scale(1); } }
.radar-labels { font-family: var(--font); }
.radar-label-title { fill: #ded2c9; font-size: 11px; font-weight: 650; letter-spacing: .06em; }
.radar-label-value { fill: #c56a5e; font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; }
.dimension-bars { display: grid; gap: 20px; margin-top: 24px; padding: 24px; border: 1px solid rgba(241,236,228,.1); background: rgba(5,3,3,.42); box-shadow: inset 0 1px rgba(255,255,255,.03), 0 18px 44px rgba(0,0,0,.2); }
.dimension-label { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--paper-soft); font-size: 13px; }
.dimension-label strong { color: var(--paper); font-variant-numeric: tabular-nums; }
.dimension-track { position: relative; height: 12px; padding: 3px; border: 1px solid rgba(255,255,255,.08); border-radius: 2px; background: linear-gradient(180deg, #080606, #211818); overflow: hidden; box-shadow: inset 0 2px 5px rgba(0,0,0,.85); }
.dimension-track::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(2,1,1,.58) calc(10% - 1px) 10%); }
.dimension-track span { display: block; width: 100%; height: 100%; border-radius: 1px; background: linear-gradient(90deg, #76131d, #ef493c 68%, #ffb167); box-shadow: 0 0 9px rgba(239,73,60,.76); transform-origin: left center; transition: transform .7s var(--ease); }
.editorial-section { min-height: 64dvh; display: flex; flex-direction: column; justify-content: center; }
.editorial-section.is-highlight { position: relative; background: radial-gradient(circle at 85% 14%, rgba(169,31,40,.16), transparent 32%), #151010; }
.has-pullquote .body-copy::first-letter { float: left; margin: 11px 9px 0 0; color: var(--wine-bright); font-size: 64px; line-height: .7; font-weight: 700; }
.triggers-section ol, .advice-section ol { margin: 42px 0 0; padding: 0; list-style: none; counter-reset: item; }
.triggers-section li, .advice-section li { counter-increment: item; display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--rule); color: var(--paper-soft); font-size: 16px; line-height: 1.75; }
.triggers-section li::before, .advice-section li::before { content: "0" counter(item); padding-top: 3px; color: var(--wine-bright); font-size: 11px; letter-spacing: .1em; }
.triggers-section li:last-child, .advice-section li:last-child { border-bottom: 1px solid var(--rule); }
.combination-section { background: var(--paper); color: var(--ink); }
.combination-section h2 { margin: 20px 0 18px; font-size: clamp(37px, 10vw, 64px); line-height: 1.2; letter-spacing: -.055em; }
.combination-section h2 i { color: var(--wine); font-style: normal; font-weight: 400; }
.combination-intro { color: #6f655f; font-size: 14px; }
.combination-section blockquote { margin: 48px 0 28px; padding: 26px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid rgba(17,16,15,.25); font-size: clamp(23px, 6.5vw, 34px); line-height: 1.55; font-weight: 600; }
.combination-section .body-copy { color: #403a36; }
.secondary-persona { display: grid; grid-template-columns: minmax(112px, 35%) 1fr; max-width: 500px; min-height: 168px; margin-top: 46px; border: 1px solid rgba(17,16,15,.22); background: #130f0e; color: var(--paper); overflow: hidden; box-shadow: 0 20px 46px rgba(26,12,11,.18); }
.secondary-persona-art { width: 100%; height: 100%; min-height: 168px; background: #090707; }
.secondary-persona-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 20px; }
.secondary-persona span { color: #9f8e84; font-size: 10px; letter-spacing: .12em; }
.secondary-persona strong { margin: 10px 0 8px; font-family: var(--display); color: #fff0df; font-size: clamp(25px, 7vw, 36px); line-height: 1; letter-spacing: -.05em; }
.secondary-persona small { color: #d36d65; }
.mirror-line { margin: 52px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.share-section { text-align: center; }
.share-section > p:not(.section-eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.7; }
.share-section canvas { display: block; width: min(100%, 430px); height: auto; margin: 40px auto; border: 1px solid var(--rule); box-shadow: 0 22px 60px rgba(0,0,0,.32); }
.share-actions { display: grid; width: min(100%, 430px); gap: 12px; margin: 0 auto; }
.share-actions .text-button { margin-top: 6px; }
.result-footer { padding: 60px var(--page-pad) max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); color: var(--faint); font-size: 11px; line-height: 1.7; text-align: center; }
.result-footer .danger-link { display: flex; margin: 28px auto 18px; color: #aa7075; }
.result-footer > span { letter-spacing: .1em; }
.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 50; width: max-content; max-width: calc(100% - 40px); padding: 12px 18px; background: var(--paper); color: var(--ink); font-size: 13px; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.error-view { display: flex; min-height: 100dvh; flex-direction: column; justify-content: center; padding: var(--page-pad); }
.error-view h1 { font-size: 38px; }
.error-view p:not(.kicker) { color: var(--muted); line-height: 1.8; }
.error-view .button { max-width: 300px; margin-top: 20px; }

@media (min-width: 640px) {
  .answer { padding: 17px 20px; font-size: 16px; }
  .result-section, .identity-hook, .combination-section, .share-section { padding-top: 120px; padding-bottom: 120px; }
}

@media (max-height: 700px) {
  .landing-copy { padding-top: 34px; }
  .landing h1 { margin-bottom: 20px; }
  .question-body { padding-top: 30px; padding-bottom: 20px; }
  .answers { margin-top: 22px; gap: 8px; }
  .answer { min-height: 52px; padding-top: 11px; padding-bottom: 11px; }
}

@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-on-scroll { opacity: 1; transform: none; }
  .reveal-orbit span { animation: none; }
}
