@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('vendor/ksnn/inter-var-latin.woff2') format('woff2');
}

:root {
  --paper: #fff;
  --paper-soft: #f3f1ec;
  --ink: #0d0e10;
  --red: #db3330;
  --red-hover: #bc2826;
  --muted: #636469;
  --line: #dedee1;
  --display: 'Inter', Arial, sans-serif;
  --body: 'Inter', Arial, sans-serif;
  --page: 1200px;
  --header-height: 80px;
  --gutter: clamp(20px, 4.5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
svg, img { max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
::selection { background: var(--red); color: #fff; }
main:focus { outline: none; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: white; color: var(--ink); }
.skip:focus { top: 12px; }
.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; }

/* One readable type scale, shared across the experience. */
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .13em; }
.brand-slash { display: inline-block; width: 26px; height: 8px; background: var(--red); transform: skew(-15deg); flex: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center; transition: background .18s, border-color .18s; }
.button-red { background: var(--red); color: #fff; }
.button-red:hover:not(:disabled) { background: var(--red-hover); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover:not(:disabled) { background: #303136; }
.button-outline { background: transparent; color: var(--ink); border-color: #a4a5aa; }
.button-outline:hover:not(:disabled) { background: #f5f5f6; border-color: var(--ink); }
.button:disabled { background: #ececee; color: #85858b; border-color: transparent; }
.text-button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border: 0; background: none; color: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

/* KSNN masthead. */
.site-header { display: flex; align-items: center; gap: 24px; min-height: var(--header-height); padding: 12px max(var(--gutter), calc((100% - var(--page)) / 2)); background: var(--ink); color: #f6f5f2; border-bottom: 1px solid #ffffff1f; }
.brand { display: flex; flex: none; align-items: center; }
.brand-logo { display: block; width: 148px; height: auto; }
.header-divider { flex: none; width: 1px; height: 32px; background: #ffffff30; }
.header-product { font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .055em; }
.header-product span { display: block; margin-top: 6px; color: #a9a9af; font-size: 9px; font-weight: 500; letter-spacing: .08em; }
.site-header nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 13px; font-weight: 500; }
.site-header nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.site-header nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }

/* Landing: a single clear invitation, with room for the characters. */
.hero-band { background: var(--ink); color: #fff; }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 48px; width: min(var(--page), calc(100% - var(--gutter) * 2)); margin: auto; padding: 58px 0 52px; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: #d5d5d9; }
.hero h1 { margin: 0 0 24px; font-size: clamp(40px, 4.15vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.055em; text-wrap: initial; }
.hero h1 span { color: #ee4541; }
.hero-desc { max-width: 420px; margin-bottom: 12px; font-size: 18px; line-height: 1.65; color: #f1f1f3; }
.hero-support { max-width: 420px; margin-bottom: 28px; color: #aaaab1; font-size: 14px; line-height: 1.7; }
.hero .button { min-width: 220px; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; font-size: 12px; color: #b1b1b7; }
.hero-meta span + span::before { content: '·'; margin-right: 14px; color: #74747b; }
.resume-row { margin-top: 8px; color: #d0d0d5; }
.hero-visual { min-width: 0; }
.hero-art { height: 405px; position: relative; isolation: isolate; }
.stadium { position: absolute; inset: 26px 0 0; border-radius: 180px 180px 4px 4px; background: var(--paper-soft); overflow: hidden; }
.stadium::before { content: ''; position: absolute; inset: 18px; border: 1px solid #c6c5be; border-radius: 170px 170px 0 0; }
.field-lines { position: absolute; inset: 65% 0 0; background: repeating-linear-gradient(0deg, transparent 0 28px, #b6b5ab55 29px 30px); }
.hero-character { position: absolute; bottom: 0; }
.hero-character svg { width: 100%; height: 100%; display: block; }
.hero-character.left { left: -1%; width: 40%; height: 82%; z-index: 2; }
.hero-character.middle { left: 28%; width: 46%; height: 100%; z-index: 3; }
.hero-character.right { right: -1%; width: 39%; height: 81%; z-index: 1; }
.art-caption { margin: 18px 0 0; text-align: center; font-size: 12px; color: #a8a8af; }

/* Every personality is visible: no nested or horizontal scrolling. */
.personalities { width: min(var(--page), calc(100% - var(--gutter) * 2)); margin: auto; padding: 64px 0; }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.section-top > div { min-width: 0; }
.section-top .eyebrow { color: var(--red-hover); margin-bottom: 10px; }
.section-top h2 { margin: 0; font-size: clamp(26px, 2.65vw, 36px); font-weight: 700; line-height: 1.18; letter-spacing: -.04em; text-wrap: initial; }
.section-note { max-width: 245px; flex: 0 1 245px; margin: 0 0 2px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.roster { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 20px; }
.personality-tile { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); text-align: left; transition: border-color .18s, box-shadow .18s; }
.personality-tile:hover { border-color: #96969e; box-shadow: 0 6px 20px #0d0e100a; }
.tile-art { display: block; flex: none; position: relative; width: 100%; aspect-ratio: 1.12; background: var(--tile-bg); border-radius: 4px 4px 0 0; overflow: hidden; }
.tile-art svg { display: block; position: absolute; width: 100%; height: auto; top: -3%; }
.tile-num { position: absolute; z-index: 1; top: 12px; left: 14px; font-size: 11px; font-weight: 600; color: #0d0e10b3; }
.tile-info { display: flex; flex-direction: column; flex: 1; width: 100%; gap: 8px; padding: 18px 16px 16px; }
.tile-name { display: block; min-block-size: 2.6em; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.tile-description { display: block; min-block-size: 4.65em; margin-bottom: 8px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.tile-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; font-size: 12px; font-weight: 600; }
.tile-link > span { color: var(--red); font-size: 18px; line-height: 1; }
.bottom-callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: min(var(--page), calc(100% - var(--gutter) * 2)); margin: 0 auto 64px; padding: 36px 0 0; border-top: 1px solid var(--line); }
.bottom-callout .eyebrow { color: var(--red-hover); font-size: 10px; margin-bottom: 14px; }
.bottom-callout h2 { font-size: 32px; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 14px; }
.bottom-callout p:last-child { font-size: 14px; color: var(--muted); margin: 0; }
.bottom-callout .button { flex: none; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px max(var(--gutter), calc((100% - var(--page)) / 2)); background: #15161a; color: #b6b6be; font-size: 12px; line-height: 1.6; }
.site-footer > div { display: flex; align-items: center; gap: 24px; max-width: 460px; }
.footer-logo { display: block; width: 112px; height: auto; flex: none; }
.site-footer p { max-width: 190px; margin: 0; }
.site-footer .text-button { flex: none; font-size: 12px; }

/* Quiz: comfortable answer targets and a stable selection border. */
.quiz-shell, .result-shell { width: min(1080px, calc(100% - var(--gutter) * 2)); margin: auto; padding: 36px 0 60px; }
.quiz-shell { min-height: calc(100svh - 206px); }
.quiz-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-bottom: 12px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.quiz-topbar strong { color: var(--red-hover); margin-left: 6px; }
.quiz-topbar .text-button { color: var(--muted); font-size: 13px; font-weight: 400; flex: none; }
.progress-track { height: 4px; background: #e8e8eb; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--red); transition: width .25s; }
.quiz-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; margin-top: 40px; }
.quiz-scene { align-self: start; position: sticky; top: 28px; }
.scene-art { height: 310px; position: relative; overflow: hidden; border-radius: 140px 140px 4px 4px; background: var(--paper-soft); }
.scene-art svg { position: absolute; width: 100%; height: 340px; bottom: -38px; }
.scene-location { position: static; display: block; width: fit-content; max-width: 100%; margin: 0 auto 12px; padding: 0; color: var(--red-hover); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-align: center; }
.scene-bubble { max-width: 250px; margin: 22px auto 10px; text-align: center; font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; }
.scene-sub { text-align: center; font-size: 12px; color: var(--muted); margin: 0; }
.question-eyebrow { margin-bottom: 12px; color: var(--red-hover); }
.question-heading { font-size: clamp(28px, 2.7vw, 36px); font-weight: 700; line-height: 1.18; letter-spacing: -.04em; margin-bottom: 14px; text-wrap: initial; }
.question-help { margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.answers { display: grid; gap: 12px; }
.answer { display: flex; align-items: center; gap: 14px; min-height: 72px; width: 100%; padding: 16px; border: 1px solid #bcbcc3; border-radius: 4px; background: #fff; color: var(--ink); text-align: left; font-size: 15px; line-height: 1.55; transition: background .16s, border-color .16s; }
.answer:hover { background: #fafafa; border-color: #71717b; }
.answer-letter { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1px solid #c6c6cc; border-radius: 3px; font-size: 12px; font-weight: 600; color: #5b5b64; }
.answer.selected { border-color: var(--red); background: #fff3f2; box-shadow: inset 0 0 0 1px var(--red); }
.answer.selected .answer-letter { background: var(--red); border-color: var(--red); color: #fff; }
.answer-check { display: block; flex: none; width: 18px; margin-left: auto; color: var(--red-hover); font-size: 18px; }
.question-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.back-button { min-height: 48px; padding: 10px 0; background: none; border: 0; color: var(--muted); font-size: 14px; }
.back-button:disabled { color: #aaaab1; }
.keyboard-tip { margin: 12px 0 0; text-align: right; color: var(--muted); font-size: 12px; }
.question-panel { animation: enter .22s ease both; }
.picked .scene-art svg { animation: nod .4s ease; }
.checkpoint { max-width: 620px; margin: 36px auto 0; text-align: center; }
.checkpoint .eyebrow { justify-content: center; color: var(--red-hover); }
.checkpoint-art { width: 220px; height: 220px; overflow: hidden; border-radius: 50%; background: var(--paper-soft); margin: 20px auto; }
.checkpoint-art svg { width: 100%; height: 290px; }
.checkpoint h1 { margin: 24px 0 16px; font-size: 46px; line-height: 1.1; letter-spacing: -.045em; }
.checkpoint > p { max-width: 440px; margin: 0 auto 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.checkpoint .text-button { display: flex; width: max-content; max-width: 100%; margin: 12px auto 0; }
.reveal { min-height: calc(100svh - var(--header-height)); padding: 40px var(--gutter); display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.reveal h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.15; margin: 16px 0; }
.reveal p { font-size: 14px; color: var(--muted); }
.reveal-ball { width: 64px; height: 64px; font-size: 56px; color: var(--red); line-height: 1; margin-bottom: 24px; animation: spin 1.4s linear infinite; }
.reveal-progress { width: 200px; height: 3px; background: #ececee; margin-top: 20px; overflow: hidden; }
.reveal-progress::after { content: ''; display: block; width: 100%; height: 100%; background: var(--red); animation: load 1.1s ease both; }

/* Results: the share card and advice have equal clarity. */
.result-shell { padding-top: 48px; }
.result-intro { margin-bottom: 40px; text-align: center; }
.result-intro .eyebrow { justify-content: center; color: var(--red-hover); margin-bottom: 12px; }
.result-intro h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -.045em; margin: 0 0 14px; }
.result-intro p { margin: 0; font-size: 15px; color: var(--muted); }
.result-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 56px; align-items: start; }
.result-card { position: relative; isolation: isolate; padding: 26px; border-radius: 6px; background: var(--ink); color: #fff; overflow: hidden; }
.result-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 9px; line-height: 1.6; font-weight: 600; letter-spacing: .1em; }
.result-card-top > span { text-align: right; }
.result-card-logo { display: block; width: 112px; height: auto; }
.result-card-art { position: relative; height: 280px; margin-top: 24px; }
.result-card-art::before { content: ''; position: absolute; inset: 0 16px; border-radius: 150px 150px 0 0; background: var(--result-bg); }
.result-card-art > svg { position: absolute; width: 100%; height: 320px; bottom: -20px; left: 0; }
.score-stamp { position: absolute; right: 0; top: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; height: 86px; border: 3px solid var(--ink); border-radius: 50%; background: var(--red); }
.score-stamp b { font-size: 34px; line-height: 1.1; letter-spacing: -.04em; }
.score-stamp small { font-size: 10px; line-height: 1.4; font-weight: 700; }
.result-card-name { position: relative; padding-top: 22px; background: var(--ink); }
.result-card-name > p { font-size: 10px; letter-spacing: .1em; color: #b6b6be; margin-bottom: 10px; }
.result-card-name h2 { text-transform: uppercase; font-size: 34px; line-height: 1.08; font-weight: 800; letter-spacing: -.04em; margin: 0 0 18px; text-wrap: initial; }
.result-card-name .quote { margin: 0; font-size: 13px; line-height: 1.7; letter-spacing: 0; color: #d4d4da; }
.card-baseline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-top: 16px; margin-top: 24px; border-top: 1px solid #ffffff29; font-size: 10px; color: #b6b6be; }
.card-baseline strong { color: #fff; font-weight: 600; }
.share-actions { display: flex; gap: 12px; margin: 20px 0 12px; }
.share-actions .button { flex: 1; gap: 8px; padding: 13px; font-size: 13px; min-width: 0; }
.share-note { font-size: 12px; text-align: center; color: var(--muted); margin: 0; line-height: 1.7; }
.result-details > .eyebrow { margin-top: 4px; color: var(--red-hover); }
.result-details h2 { font-size: 29px; line-height: 1.2; font-weight: 700; letter-spacing: -.035em; margin-bottom: 18px; text-wrap: initial; }
.result-description { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 26px; }
.feedback-block { border-top: 1px solid var(--line); padding: 22px 0; }
.feedback-heading { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.feedback-heading span { color: var(--red-hover); font-size: 18px; line-height: 1; }
.feedback-block p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.next-play { padding: 20px; border-left: 3px solid var(--red); background: var(--paper-soft); }
.next-play .eyebrow { font-size: 10px; color: var(--red-hover); letter-spacing: .09em; margin-bottom: 10px; }
.next-play p { margin: 0; font-size: 14px; line-height: 1.8; }
.second-type { margin: 24px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.second-type b { color: var(--ink); }
.result-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 36px; }
.result-bottom h3 { margin-bottom: 14px; font-size: 24px; line-height: 1.25; letter-spacing: -.035em; text-wrap: initial; }
.result-bottom p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.email-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.email-form input { flex: 1 1 160px; min-width: 0; max-width: 100%; padding: 12px 14px; border: 1px solid #a4a5aa; border-radius: 3px; background: #fff; font-size: 14px; }
.email-form .button { flex: 1 1 auto; padding: 12px 16px; min-height: 48px; font-size: 13px; }
.result-bottom .demo-note { margin-top: 12px; font-size: 12px; line-height: 1.6; }
.content-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.content-link span { font-size: 21px; color: var(--red); }
.content-link:hover { color: var(--red-hover); }
.result-retry { text-align: center; margin-top: 32px; }

/* Dialogs retain native focus trapping and Escape support. */
dialog { width: min(520px, calc(100% - 40px)); max-height: calc(100svh - 48px); padding: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 24px 100px #0003; }
dialog::backdrop { background: #0d0e10b3; backdrop-filter: blur(4px); }
dialog h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.035em; margin: 0 0 18px; }
dialog p { font-size: 14px; color: var(--muted); line-height: 1.8; }
dialog .eyebrow { font-size: 10px; color: var(--red-hover); padding-right: 16px; }
.dialog-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); font-size: 28px; line-height: 1; border-radius: 3px; }
.dialog-close:hover { background: #f2f2f4; }
.persona-dialog { text-align: center; }
.persona-dialog .eyebrow { justify-content: center; margin-top: 6px; }
.dialog-character { width: 210px; height: 210px; max-width: 100%; overflow: hidden; border-radius: 50%; margin: 24px auto; }
.dialog-character svg { width: 100%; height: auto; }
.persona-dialog h2 { font-size: 32px; }
.persona-dialog .roster-note { font-size: 13px; }
.persona-dialog .button { margin-top: 8px; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 100; max-width: calc(100% - 40px); width: max-content; padding: 14px 20px; border-radius: 4px; background: var(--ink); color: #fff; box-shadow: 0 8px 30px #0003; font-size: 13px; line-height: 1.6; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.noscript, .error-panel { padding: 64px var(--gutter); text-align: center; }
.error-panel h1 { font-size: 36px; }
.error-panel p { font-size: 16px; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(0); } }

@media (max-width: 1199px) {
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { gap: 28px; }
  .hero-art { height: 345px; }
  .hero h1 { font-size: clamp(37px, 4.1vw, 49px); }
  .site-footer > p { display: none; }
  .quiz-layout { gap: 36px; grid-template-columns: 220px minmax(0, 1fr); }
  .scene-art { height: 275px; }
  .scene-art svg { height: 300px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 42px 0; gap: 36px; }
  .hero h1 { font-size: clamp(38px, 7vw, 62px); }
  .hero-desc, .hero-support { max-width: 490px; }
  .hero-visual { width: min(480px, 100%); margin: 0 auto; }
  .hero-art { height: 360px; }
  .hero-character.left { left: 0; }
  .hero-character.right { right: 0; }
  .section-top { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-note { flex-basis: auto; max-width: 440px; }
  .result-layout { grid-template-columns: minmax(0, 350px) minmax(0, 1fr); gap: 28px; }
  .result-card { padding: 22px; }
  .result-card-name h2 { font-size: 30px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 80px; padding-top: 14px; padding-bottom: 14px; gap: 16px; }
  .brand-logo { width: 112px; }
  .header-divider { height: 28px; }
  .header-product { font-size: 10px; letter-spacing: .01em; }
  .header-product span { font-size: 8px; letter-spacing: .01em; }
  .site-header nav { gap: 0; }
  .nav-types { display: none !important; }
  .site-header .network-link { font-size: 12px; gap: 0; justify-content: center; }
  .hero h1 { font-size: clamp(34px, 8.7vw, 58px); }
  .hero-desc { font-size: 17px; }
  .hero-support { font-size: 14px; max-width: 320px; }
  .hero-art { height: clamp(250px, 77vw, 350px); }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero-meta { font-size: 12px; gap: 8px 12px; }
  .hero-meta span + span::before { margin-right: 12px; }
  .art-caption { margin-top: 14px; }
  .personalities { padding: 40px 0; }
  .section-top { margin-bottom: 24px; gap: 12px; }
  .section-top h2 { font-size: 28px; }
  .section-note { font-size: 14px; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile-info { padding: 14px 12px; gap: 8px; }
  .tile-name { font-size: 16px; }
  .tile-description { font-size: 12px; }
  .tile-link { font-size: 12px; }
  .tile-num { left: 10px; top: 8px; }
  .bottom-callout { flex-direction: column; align-items: flex-start; padding-top: 28px; gap: 24px; margin-bottom: 40px; }
  .bottom-callout h2 { font-size: 28px; }
  .site-footer { align-items: flex-start; gap: 20px; padding-top: 26px; padding-bottom: 26px; }
  .site-footer > div { flex-direction: column; align-items: flex-start; gap: 16px; max-width: 210px; }
  .site-footer .text-button { text-align: right; line-height: 1.6; max-width: 120px; min-height: 44px; }
  .quiz-shell, .result-shell { padding-top: 24px; padding-bottom: 40px; }
  .quiz-layout { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .quiz-scene { display: none; }
  .quiz-topbar { font-size: 11px; gap: 12px; }
  .quiz-topbar .text-button { font-size: 12px; }
  .question-heading { font-size: 29px; }
  .question-help { font-size: 14px; margin-bottom: 22px; }
  .question-eyebrow { font-size: 10px; }
  .answer { min-height: 76px; padding: 14px 12px; gap: 12px; font-size: 14px; }
  .answer-letter { width: 28px; height: 28px; }
  .answer-check { width: 14px; font-size: 16px; }
  .question-actions { gap: 16px; margin-top: 22px; }
  .question-actions .button { padding: 14px 18px; font-size: 14px; gap: 12px; }
  .keyboard-tip { display: none; }
  .checkpoint { margin-top: 28px; }
  .checkpoint h1 { font-size: 36px; }
  .checkpoint > p { font-size: 14px; }
  .checkpoint-art { width: 190px; height: 190px; }
  .checkpoint-art svg { height: 250px; }
  .result-intro { margin-bottom: 28px; }
  .result-intro h1 { font-size: 32px; }
  .result-intro p { font-size: 14px; }
  .result-layout { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: auto; gap: 36px; }
  .result-card-name h2 { font-size: 34px; }
  .result-card-art { height: 280px; }
  .result-details h2 { font-size: 28px; }
  .result-description { font-size: 15px; }
  .result-bottom { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 36px; padding-top: 28px; }
  .result-bottom > div + div { padding-top: 28px; border-top: 1px solid var(--line); }
  .result-bottom h3 { font-size: 23px; }
  dialog { padding: 36px 24px 28px; }
  dialog h2, .persona-dialog h2 { font-size: 28px; }
  .dialog-character { width: 190px; height: 190px; }
}
@media (max-width: 370px) {
  .site-header { gap: 12px; }
  .brand-logo { width: 94px; }
  .header-product { font-size: 9px; }
  .header-product span { display: none; }
  .hero h1 { font-size: 31px; }
  .tile-name { font-size: 15px; }
  .tile-info { padding: 12px 10px; }
  .tile-description { font-size: 12px; }
  .tile-link { font-size: 12px; }
  .question-heading { font-size: 27px; }
  .question-actions .button { font-size: 13px; padding: 14px; }
  .result-card { padding: 20px; }
  .result-card-logo { width: 100px; }
  .result-card-art { height: 245px; }
  .result-card-name h2 { font-size: 29px; }
  .share-actions { flex-direction: column; }
  .site-footer { gap: 14px; }
}

/* Match each desktop section to the viewport without clipping its content. */
@media (min-width: 901px) {
  :root { --header-height: 96px; }
  .site-header { padding-inline: clamp(32px, 4vw, 76px); gap: 28px; }
  .brand-logo { width: 190px; }
  .site-header nav { font-size: 14px; }
  .hero-band { position: relative; }
  .hero { grid-template-columns: minmax(0, 640px) minmax(0, 1fr); }
  .hero .eyebrow { font-size: 14px; letter-spacing: .14em; margin-bottom: 24px; color: #ee4541; }
  .hero .brand-slash { width: 36px; height: 14px; }
  .hero h1 { font-size: clamp(48px, 6vw, 82px); line-height: .95; letter-spacing: -.045em; margin-bottom: 28px; }
  .hero h1 span { display: block; margin-top: .14em; font-size: .78em; color: var(--red); }
  .hero-desc { max-width: 490px; font-size: 18px; line-height: 1.6; margin-bottom: 10px; }
  .hero-support { max-width: 490px; font-size: 15px; line-height: 1.6; margin-bottom: 30px; }
  .hero .button { min-width: 228px; padding-inline: 28px; text-transform: uppercase; font-size: 14px; letter-spacing: .05em; }
  .hero-visual { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(44vw, 840px); margin: 0; }
  .hero-art { height: min(65svh, 610px); }
  .hero { min-height: calc(100svh - var(--header-height)); padding-top: 32px; padding-bottom: 32px; }
  .personalities { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
  .section-top { margin-bottom: 24px; }
  .roster { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .tile-art { height: clamp(100px, 17svh, 165px); aspect-ratio: auto; }
  .tile-art svg { height: calc(100% + 56px); width: 100%; top: auto; bottom: -40px; }
  .tile-info { padding: 12px; gap: 6px; }
  .tile-name { font-size: 16px; }
  .tile-description { margin: 0; }
  .bottom-callout { min-height: 100svh; margin-bottom: 0; padding: 40px 0; }
  .quiz-shell { min-height: calc(100svh - var(--header-height)); padding: 16px 0; display: flex; flex-direction: column; justify-content: center; }
  .checkpoint { margin-top: 16px; }
  .checkpoint-art { width: 170px; height: 170px; margin: 14px auto; }
  .checkpoint-art svg { height: 225px; }
  .checkpoint h1 { font-size: 36px; margin: 18px 0 12px; }
  .checkpoint > p { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
  .checkpoint .text-button { min-height: 36px; margin-top: 8px; }
  .quiz-topbar { min-height: 36px; margin-bottom: 8px; }
  .quiz-layout { margin-top: 20px; }
  .question-heading { font-size: 30px; margin-bottom: 12px; }
  .question-help { margin-bottom: 16px; }
  .answer { min-height: 60px; padding: 12px 14px; font-size: 14px; }
  .answers { gap: 10px; }
  .question-actions { margin-top: 18px; }
  .question-actions .button { min-height: 48px; padding: 12px 22px; }
  .keyboard-tip { margin-top: 8px; }
  .result-shell { padding: 0; }
  .result-overview { min-height: calc(100svh - var(--header-height)); display: flex; flex-direction: column; justify-content: center; padding: 18px 0; }
  .result-intro { margin-bottom: 22px; }
  .result-intro .eyebrow { margin-bottom: 8px; }
  .result-intro h1 { font-size: 36px; margin-bottom: 8px; }
  .result-intro p { font-size: 14px; }
  .result-layout { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px; }
  .result-card { padding: 20px; }
  .result-card-logo { width: 100px; }
  .result-card-art { height: clamp(140px, 21svh, 210px); margin-top: 14px; }
  .result-card-art > svg { height: calc(100% + 45px); }
  .result-card-name { padding-top: 16px; }
  .result-card-name h2 { font-size: 27px; margin-bottom: 10px; }
  .result-card-name .quote { font-size: 12px; }
  .card-baseline { display: none; }
  .score-stamp { width: 72px; height: 72px; top: 0; }
  .score-stamp b { font-size: 29px; }
  .score-stamp small { font-size: 9px; }
  .share-actions { margin-top: 14px; margin-bottom: 8px; gap: 10px; }
  .share-actions .button { min-height: 44px; padding: 11px; font-size: 12px; }
  .share-note { font-size: 11px; line-height: 1.6; }
  .result-details > .eyebrow { margin-bottom: 10px; }
  .result-details h2 { font-size: 27px; margin-bottom: 12px; }
  .result-description { font-size: 14px; line-height: 1.75; margin-bottom: 16px; }
  .feedback-block { padding: 14px 0; }
  .feedback-heading { margin-bottom: 8px; }
  .feedback-block p { line-height: 1.7; }
  .next-play { padding: 16px; }
  .next-play p { line-height: 1.7; }
  .second-type { margin-top: 14px; }
  .result-followup { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
  .result-bottom { margin-top: 0; }
}
@media (min-width: 901px) and (max-height: 740px) {
  .hero-art { height: min(62svh, 460px); }
  .hero h1 { font-size: clamp(48px, 5.1vw, 66px); }
  .hero-support { margin-bottom: 20px; }
  .keyboard-tip { display: none; }
  .question-heading { font-size: 28px; }
  .question-eyebrow { margin-bottom: 10px; }
  .answer { min-height: 56px; padding: 10px 12px; }
  .result-overview { padding: 14px 0; }
  .result-intro { margin-bottom: 16px; }
  .result-intro h1 { font-size: 32px; }
  .result-card-art { height: 140px; }
  .result-details h2 { font-size: 25px; }
  .result-description { margin-bottom: 12px; }
  .feedback-block { padding: 12px 0; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .brand-logo { width: 160px; }
  .hero { grid-template-columns: minmax(0, 52%) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(44px, 5.7vw, 65px); }
  .hero .eyebrow { font-size: 11px; }
  .hero-desc { font-size: 16px; max-width: 390px; }
  .hero-support { max-width: 360px; font-size: 14px; }
  .hero-visual { width: 42vw; }
}
/* Keep the illustration in the first phone screen, including Safari's bars. */
@media (max-width: 900px) {
  :root { --header-height: 64px; }
  .site-header { min-height: var(--header-height); padding-top: 9px; padding-bottom: 9px; }
  .hero { min-height: calc(100svh - var(--header-height)); padding: 20px 0 16px; gap: 14px; align-content: center; }
  .hero .eyebrow { font-size: 10px; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(28px, 7.7vw, 38px); line-height: 1.04; margin-bottom: 14px; }
  .hero-desc { font-size: 15px; line-height: 1.5; margin-bottom: 16px; max-width: 440px; }
  .hero-support { display: none; }
  .hero .button { min-height: 44px; padding: 11px 18px; font-size: 13px; }
  .hero-meta { margin-top: 10px; font-size: 11px; }
  .hero-visual { width: min(350px, 100%); }
  .hero-art { height: clamp(140px, 28svh, 230px); }
  .stadium { inset: 10px 0 0; }
  .stadium::before { inset: 12px; }
  .art-caption { margin-top: 8px; font-size: 11px; }
  .resume-row { margin-top: 4px; }
  .resume-row .text-button { min-height: 32px; padding: 4px 0; font-size: 12px; }
}
@media (max-width: 370px) {
  .site-header { gap: 10px; }
  .site-header .network-link { font-size: 11px; }
  .hero h1 { font-size: 27px; }
  .hero-desc { font-size: 14px; }
}

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