@font-face {
  font-family: 'Vesta Pro';
  src: url('../assets/VestaPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vesta Pro';
  src: url('../assets/VestaPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vesta Pro';
  src: url('../assets/VestaPro-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --red: #c8102e;
  --grey: #898d8d;
  --line: #353535;
  --muted: #b5b5b5;
  --gutter: clamp(24px, 5vw, 80px);
  --countdown-font: 'overtime-lcd-pro';
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: 'Vesta Pro', sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  background: #000;
  color: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; border-radius: 0; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
[hidden] { display: none !important; }
[inert] { pointer-events: none; }
::selection { background: var(--red); color: #fff; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
h1:focus, h2:focus, h3:focus { outline: none; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 100; padding: 14px 20px; background: #fff; color: #000; }
.skip-link:not(:focus) { clip-path: inset(50%); pointer-events: none; }

/* Campaign shell and controls */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: calc(96px + var(--safe-top));
  padding: var(--safe-top) max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transform: translateZ(0);
}
.brand { display: inline-flex; align-items: center; width: clamp(190px, 20vw, 276px); max-width: calc(100vw - 155px); min-height: 44px; }
.brand img { display: block; width: 100%; height: auto; }

.exit-button { background: none; border: 0; color: #bcbcbc; min-width: 44px; min-height: 44px; flex-shrink: 0; white-space: nowrap; padding: 8px 0 8px 12px; font-size: 14px; }
.exit-button span { font-size: 24px; margin-left: 12px; }
.exit-button:hover { color: #fff; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 64px;
  padding: 18px 26px;
  border: 1px solid transparent;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  transition: background-color .18s, border-color .18s, transform .18s;
}
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover:not(:disabled) { background: #aa0e28; transform: translateY(-2px); }
.button-primary:active:not(:disabled) { transform: translateY(0) scale(.99); }
.button-primary:disabled { background: #351b22; border-color: #5f3c46; color: #b8a8ad; }
body[data-screen=start] #start-button:disabled { background: var(--red); color: #fff; border-color: transparent; }
.button-arrow { font-size: 28px; font-weight: 400; line-height: 1; }
.button-outline { color: #fff; background: transparent; border-color: #777; }
.button-outline:hover { background: #222; }

/* Opening composition: headline, photography and action. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(120px + var(--safe-top)) var(--gutter) calc(70px + var(--safe-bottom));
}
.hero-photo {
  position: absolute;
  z-index: -3;
  inset: 0 0 0 18%;
  background: url('../assets/people.jpg') 55% 43% / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 25%);
  transform-origin: 65% 40%;
  will-change: transform;
}
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, #000 2%, #000e 22%, #000a 40%, #0002 72%), linear-gradient(0deg, #000d, transparent 36%, #0003);
}
.hero-light { position: absolute; z-index: -1; inset: 0; opacity: .12; background: radial-gradient(ellipse at 8% 78%, var(--red), transparent 52%); pointer-events: none; }
.hero-content { position: relative; max-width: 1100px; }
.hero h1 { font-size: clamp(72px, 8.7vw, 140px); font-weight: 700; line-height: .98; letter-spacing: -.06em; }
.headline-line { display: block; overflow: clip; padding-block: .05em; margin-block: -.05em; }
.headline-reveal { display: block; }
.textured { color: #fff; background: url('../assets/pattern.png') 50% 40% / 680px; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-actions { display: flex; margin-top: clamp(30px, 4.5vh, 54px); }
.hero-actions .button { min-width: 290px; }
/* Gameplay: the timer persists while question content transitions. */
.play-screen {
  max-width: 1600px;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(140px + var(--safe-top)) var(--gutter) calc(64px + var(--safe-bottom));
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 112px);
}
.countdown-panel { position: sticky; top: calc(36px + var(--safe-top)); align-self: start; min-width: 0; transform: translateZ(0); }
/* The dock reserves layout; the same timer unit can travel through a fixed portal. */
.timer-dock { --clock-size: clamp(108px, 12.3vw, 182px); --clock-pad: 30px; position: relative; width: 100%; height: calc(1.15em + 2 * var(--clock-pad)); margin-top: 8px; font-size: var(--clock-size); }
.timer-stage { position: relative; isolation: isolate; width: 100%; height: 100%; padding: var(--clock-pad) 0; font-size: inherit; }
.timer-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 56%;
  width: 3.3em;
  height: 1.65em;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 50% 61%, #c8102ec2 0%, #c8102e70 26%, #c8102e29 48%, transparent 74%);
  filter: blur(14px);
  opacity: .8;
  pointer-events: none;
}
.timer-stage[data-timer-state=running] .timer-glow { animation: timer-breathe 8s ease-in-out infinite alternate; }
.timer-stage:is([data-timer-state=expired], [data-timer-state=finished], [data-timer-state=paused], [data-timer-state=not_started]) .timer-glow { animation: none; }
.timer-value { z-index: 1; }
.timer-scan { position: absolute; z-index: 2; inset: 24% 0; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent 38%, #ffffff80 50%, transparent 62%); }
.timer-value {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 1.15em;
  font-family: var(--countdown-font), 'Vesta Pro', sans-serif;
  font-size: inherit;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.035em;
}
/* Adobe Overtime LCD GSUB ss01 selects native one.alt01; other digits are unchanged. */
.timer-value, .timer-bonus, .feedback-bonus-copy, .activation-clock, .leaderboard-time {
  font-feature-settings: "ss01" 1;
}
.timer-value > #timer-text, #timer-animated-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.timer-value > #timer-text { opacity: 0; }
#timer-animated-text { display: none; }
.adobe-lcd-loaded .digital-segments { display: none; }
.adobe-lcd-loaded .timer-value > #timer-text { opacity: 1; }
.adobe-lcd-loaded .timer-value.is-counting-up > #timer-text { opacity: 0; }
.adobe-lcd-loaded .timer-value.is-counting-up > #timer-animated-text { display: flex; }
.timer-bonus { z-index: 3; position: absolute; right: 5%; top: 0; font-family: var(--countdown-font), 'Vesta Pro', sans-serif; font-weight: 300; font-size: clamp(28px, 3vw, 44px); color: #fff; opacity: 0; visibility: hidden; }
.timer-status { display: flex; align-items: center; justify-content: center; min-height: 1.5em; white-space: nowrap; gap: 10px; color: #c4c4c4; font-size: 14px; line-height: 1.5; }
.pause-symbol { color: var(--red); font-size: 12px; letter-spacing: -2px; }
.question-column { min-width: 0; }
.question-meta { color: #c1c1c1; min-height: 24px; font-size: 14px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.meta-divider { color: #777; margin: 0 9px; }
.info-pill { display: inline-block; border: 1px solid #555; padding: 3px 8px; font-size: 12px; letter-spacing: .025em; }
.question-rule { height: 1px; background: var(--line); margin: 16px 0 24px; }
.question-rule::before { content: ''; display: block; width: 42px; height: 2px; background: var(--red); }
.information-card .question-rule::before { background: var(--grey); }
.question-title { font-size: clamp(34px, 3.15vw, 50px); line-height: 1.12; font-weight: 400; letter-spacing: -.035em; text-wrap: pretty; overflow-wrap: anywhere; }
.answer-instruction { font-size: 16px; color: var(--muted); margin-top: 20px; line-height: 1.5; }
.answer-form { margin-top: 28px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.answer-option { position: relative; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 18px 18px; border: 1px solid #4b4b4b; background: #0a0a0a; cursor: pointer; min-width: 0; transition: background-color .15s, border-color .15s; }
.answer-option:hover:has(input:enabled) { background: #1a1a1a; border-color: #999; }
.answer-option:has(input:checked) { border-color: var(--red); background: #240a11; }
.answer-option:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 4px; }
.answer-option:has(input:disabled) { cursor: default; }
.answer-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-letter { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 30px; border: 1px solid #555; color: #bbb; font-size: 12px; }
.option-copy { padding-right: 5px; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.option-check { position: absolute; right: 10px; top: 10px; width: 11px; height: 11px; border: 1px solid #666; border-radius: 50%; }
.multiple-options .option-check { border-radius: 0; }
.answer-option:has(input:checked) .option-check { background: var(--red); border-color: var(--red); }
.answer-option:has(input:checked) .option-check::after { content: ''; position: absolute; inset: 2px; background: #fff; }
.option-feedback { display: none; }
.answer-option.is-correct, .answer-option.is-correct:has(input:checked) { border-color: #b7baba; background: #151917; padding-bottom: 30px; }
.answer-option.is-correct .option-letter { background: #fff; color: #000; border-color: #fff; }
.answer-option.is-correct .option-check, .answer-option.is-correct:has(input:checked) .option-check { border: 0; background: none; }
.answer-option.is-correct .option-check::after, .answer-option.is-correct:has(input:checked) .option-check::after { content: '✓'; position: absolute; inset: -4px; color: #fff; font-size: 16px; background: none; }
.answer-option.is-incorrect { border-color: var(--red); padding-bottom: 30px; }
.is-correct .option-feedback, .is-incorrect .option-feedback { display: block; position: absolute; bottom: 7px; left: 61px; color: #c8c8c8; font-size: 11px; }
.is-incorrect .option-feedback { color: #ff90a2; }
.answer-actions { margin-top: 24px; }
.submit-answer { min-width: 230px; }
.text-response { display: flex; flex-direction: column; gap: 12px; }
.text-response label { font-size: 14px; color: #c5c5c5; }
.text-response input { width: 100%; min-height: 72px; padding: 17px 20px; border: 1px solid #666; border-radius: 0; background: #0a0a0a; color: #fff; font-size: 28px; appearance: textfield; }
.text-response input::placeholder { color: #898d8d; }
.text-response input::-webkit-inner-spin-button, .text-response input::-webkit-outer-spin-button { appearance: none; }
.question-media { margin: 24px 0; }
.question-media :is(img, video) { display: block; max-width: 100%; height: auto; }
.question-media audio { width: 100%; }
.question-media p, .form-error { margin-top: 16px; font-size: 16px; line-height: 1.6; }
.form-error { color: #ff9daf; }

/* Feedback retains the reviewed explanation and explicit correct-answer labels. */
.answer-feedback { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 36px; }
.feedback-heading { display: flex; align-items: center; gap: 14px; }
.feedback-symbol { font-size: 28px; line-height: 1; }
.feedback-heading h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -.03em; }
.feedback-bonus-copy { margin-left: auto; font-family: var(--countdown-font), 'Vesta Pro', sans-serif; font-size: 30px; font-weight: 300; white-space: nowrap; }
.explanation { margin-top: 18px; font-size: 17px; line-height: 1.7; color: #c4c4c4; overflow-wrap: anywhere; }
.source-details, .source-reference { font-size: 13px; line-height: 1.6; color: #ababab; overflow-wrap: anywhere; }
.source-details { margin-top: 12px; }
summary { cursor: pointer; min-height: 44px; padding: 12px 0; }
.source-details p { padding: 4px 0 12px; }
.next-question { min-width: 210px; margin-top: 22px; }

/* Information explanations share the question column; the clock never changes dock. */
.confirmation { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 650px; }
.confirmation h2 { font-size: clamp(48px, 5.8vw, 80px); font-weight: 400; line-height: 1.03; letter-spacing: -.05em; }
.confirmation .explanation { margin: 0; }
.confirmation .next-question { margin: 4px 0 0; min-width: 270px; }
.play-screen.pre-start { grid-template-columns: minmax(0, 760px); justify-content: center; }
.pre-start .countdown-panel { display: none; }
.pre-start .question-column { width: 100%; }
.source-reference { margin-top: 16px; }

/* Participant results retain the actual clock, accuracy and existing actions. */
.results-screen { min-height: 100svh; min-height: 100dvh; max-width: 1500px; margin: auto; padding: calc(140px + var(--safe-top)) var(--gutter) calc(54px + var(--safe-bottom)); }
.results-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; gap: clamp(50px, 10vw, 140px); }
.result-main h1 { font-size: clamp(48px, 5vw, 76px); font-weight: 400; line-height: 1.1; letter-spacing: -.045em; }
.result-label { font-size: 16px; color: #bcbcbc; margin-top: 36px; }
.result-time { --clock-size: clamp(108px, 14.3vw, 210px); --clock-pad: 20px; margin-top: 8px; }
.result-score { display: flex; align-items: center; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 460px; margin-top: 20px; }
.result-score > span { font-size: 48px; letter-spacing: -.04em; }
.result-score-divider { color: var(--grey); font-size: 30px; margin-left: 8px; }
.result-score p { font-size: 17px; }
.replay-button { margin-top: 32px; min-width: 240px; }
.leaderboard-placeholder { border-top: 2px solid var(--red); padding: 28px 0; }
.leaderboard-placeholder h2 { font-size: 30px; font-weight: 400; letter-spacing: -.025em; }
.leaderboard-placeholder p { margin-top: 12px; font-size: 16px; color: #aaa; }
dialog { width: min(500px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 32px; border: 1px solid #666; background: #111; color: #fff; }
dialog::backdrop { background: #000d; }
dialog h2 { font-size: 34px; font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
dialog p { margin-top: 18px; color: #bcbcbc; font-size: 16px; line-height: 1.6; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dialog-actions .button { flex: 1; min-height: 54px; padding: 15px 18px; font-size: 16px; gap: 16px; }
.load-error { max-width: 440px; margin-top: 20px; font-size: 16px; line-height: 1.6; color: #ff9daf; }
.hero, .play-screen, .results-screen { padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
@keyframes timer-breathe { from { opacity: .76; } to { opacity: .9; } }

@media (min-width: 900px) and (max-width: 1150px) {
  .play-screen { gap: 44px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .timer-dock { --clock-size: 11.2vw; }
  .options { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .site-header { height: calc(88px + var(--safe-top)); }
  .hero h1 { font-size: clamp(64px, 9.4vw, 86px); }
  .play-screen { display: flex; flex-direction: column; gap: 28px; padding-top: calc(100px + var(--safe-top)); padding-bottom: calc(40px + var(--safe-bottom)); }
  .countdown-panel { width: 100%; position: sticky; top: var(--safe-top); z-index: 4; background: #000; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 10px 0 14px; border-bottom: 1px solid #292929; }
  .timer-dock { grid-row: 1; grid-column: 1; width: min(280px, 100%); margin: 0; --clock-pad: 10px; --clock-size: clamp(72px, 13vw, 110px); }
  .timer-value { font-size: inherit; }
  .timer-status { grid-row: 2; grid-column: 1; width: min(280px, 100%); font-size: 14px; }
  
  .timer-bonus { top: -5px; right: 0; font-size: 29px; }
  .question-title { font-size: clamp(32px, 4.8vw, 42px); }
  .question-column { width: 100%; }
  .question-rule { margin: 12px 0 20px; }
  .answer-option { min-height: 74px; }
  .answer-feedback { scroll-margin-top: 210px; }
  .results-layout { grid-template-columns: 1fr; gap: 48px; }
  .leaderboard-placeholder { max-width: 460px; }
  .result-time { width: 100%; --clock-size: clamp(108px, 23vw, 170px); }
}
@media (max-width: 519px) {
  .site-header { height: calc(82px + var(--safe-top)); gap: 12px; }
  .brand { width: 190px; }
  
  .exit-button { font-size: 12px; padding-left: 0; }
  .exit-button span { margin-left: 6px; font-size: 20px; }
  .hero { justify-content: flex-end; padding-top: max(290px, 43dvh); padding-bottom: calc(36px + var(--safe-bottom)); }
  .hero-photo { inset: 0 0 13%; background-position: 59% 18%; mask-image: linear-gradient(0deg, transparent, #000 20%); }
  .hero-shade { background: linear-gradient(0deg, #000 3%, #000e 15%, #0007 48%, #0001 78%, #0004); }
  .hero-light { background: radial-gradient(ellipse at 0 85%, var(--red), transparent 63%); }
  .hero h1 { font-size: clamp(49px, 9.45vw, 64px); line-height: 1.02; letter-spacing: -.055em; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .button { width: 100%; min-width: 0; }
  
  .button { min-height: 62px; padding: 17px 22px; font-size: 17px; }
  .play-screen { gap: 24px; padding-top: calc(94px + var(--safe-top)); }
  .timer-dock { width: min(205px, 100%); --clock-size: 72px; }
  .timer-value { font-size: inherit; }
  .timer-status { width: min(205px, 100%); font-size: 12px; gap: 7px; }
  .pause-symbol { font-size: 10px; }
  .question-meta { font-size: 13px; }
  .question-title { font-size: clamp(31px, 8.2vw, 36px); line-height: 1.13; }
  .options { grid-template-columns: 1fr; gap: 9px; }
  .answer-option { min-height: 68px; padding: 16px; gap: 13px; }
  .option-copy { font-size: 16px; }
  .option-letter { width: 26px; height: 29px; font-size: 12px; }
  .is-correct .option-feedback, .is-incorrect .option-feedback { left: 55px; }
  .answer-form { margin-top: 24px; }
  .submit-answer, .answer-feedback .next-question { width: 100%; min-width: 0; }
  .text-response input { min-height: 66px; font-size: 26px; }
  .feedback-heading { gap: 10px; }
  .feedback-heading h3 { font-size: 30px; }
  .feedback-bonus-copy { font-size: 28px; }
  .explanation { font-size: 16px; line-height: 1.65; }
  .answer-feedback { scroll-margin-top: 170px; }
  .confirmation h2 { font-size: clamp(55px, 15vw, 64px); }
  .confirmation .next-question { min-width: 0; width: 100%; }
  
  .results-screen { padding-top: calc(118px + var(--safe-top)); padding-bottom: calc(36px + var(--safe-bottom)); }
  .result-main h1 { font-size: 48px; }
  .result-label { margin-top: 26px; }
  .result-time { width: 100%; --clock-size: clamp(102px, 28vw, 128px); }
  .result-score { margin-top: 12px; padding-top: 16px; }
  .result-score > span { font-size: 42px; }
  .replay-button { width: 100%; margin-top: 26px; }
  .leaderboard-placeholder { padding: 20px 0 0; }
  .leaderboard-placeholder h2 { font-size: 25px; }
  .leaderboard-placeholder p { margin-top: 8px; font-size: 15px; }
  dialog { padding: 26px; }
  dialog h2 { font-size: 30px; }
}
@media (max-height: 600px) and (min-width: 520px) {
  .hero { padding-top: 110px; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(50px, 7.5vw, 78px); }
  .hero-actions { margin-top: 24px; }
  .confirmation h2 { font-size: 56px; }
}
@media (max-height: 600px) and (max-width: 519px) {
  .hero { padding-top: 240px; padding-bottom: calc(24px + var(--safe-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-photo { will-change: auto; }
  .button-primary:hover:not(:disabled) { transform: none; }
}
@media (forced-colors: active) {
  .button, .answer-option, .option-letter { border: 1px solid ButtonText; }
  .answer-option:has(input:checked) { outline: 2px solid Highlight; }
  .textured { -webkit-text-fill-color: CanvasText; background: none; }
  .timer-value > #timer-text { opacity: 1; }
  .digital-segments { display: none; }
}

/* Iteration 4: the full, live HTML headline carries the supplied texture. */
.hero-word {
  color: #fff;
  background: url('../assets/pattern.png') var(--pattern-x, 40%) 40% / 680px;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-light { inset: -30%; background: radial-gradient(ellipse at 30% 68%, #c8102e, transparent 58%); }
.hero-photo { inset: -10px -14px -10px calc(18% - 14px); }
.registration { position: relative; width: min(100%, 520px); }
.hero.is-registering { min-height: var(--registration-viewport, 100dvh); }
.registration > label { display: block; font-size: clamp(48px, 6vw, 80px); letter-spacing: -.05em; line-height: 1.1; }
.registration > input, .email-form > input {
  display: block; width: 100%; border: 0; border-bottom: 1px solid #898d8d;
  border-radius: 0; padding: 14px 0; color: #fff; background: #0008;
  outline-offset: 5px; min-height: 62px; font-size: 32px;
}
.registration > input { margin-top: 22px; }
.registration input[aria-invalid=true], .email-form input[aria-invalid=true] { border-bottom-color: #ff9daf; }
.registration .form-error { margin-top: 12px; }
.privacy-notice { font-size: 14px; color: #bcbcbc; line-height: 1.55; }
.privacy-notice a { text-decoration: underline; text-underline-offset: 3px; }
.registration .privacy-notice { margin-top: 24px; max-width: 430px; }
.registration .button { margin-top: 28px; min-width: 290px; }
.hero.is-registering .hero-shade { background: linear-gradient(90deg, #000e 8%, #000b 48%, #0009), linear-gradient(0deg, #000b, transparent); }
.participant-name { color: #bcbcbc; font-size: 24px; margin-top: 14px; overflow-wrap: anywhere; }
.result-secondary { min-width: 0; }
.results-layout { align-items: start; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(50px, 7vw, 100px); }
.leaderboard-placeholder table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 28px; }
.leaderboard-placeholder th { text-align: left; color: #bcbcbc; font-size: 13px; font-weight: 400; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.leaderboard-placeholder th:first-child { width: 22%; }
.leaderboard-placeholder th:last-child { width: 24%; text-align: right; }
.leaderboard-placeholder td { padding: 18px 6px 18px 0; font-size: 19px; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
.leaderboard-placeholder .leaderboard-time { font-family: var(--countdown-font), 'Vesta Pro', sans-serif; font-weight: 300; text-align: right; white-space: nowrap; }
.leaderboard-placeholder p { font-size: 14px; line-height: 1.55; }
.email-signup { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 30px; }
.email-signup h2 { font-size: 32px; font-weight: 400; line-height: 1.15; letter-spacing: -.03em; }
.email-signup > p, #email-status { margin-top: 14px; color: #bcbcbc; font-size: 14px; line-height: 1.55; }
.email-form { margin-top: 24px; }
.email-form > label { display: block; font-size: 16px; }
.email-form > input { font-size: 22px; margin-top: 6px; }
.email-form .button { width: 100%; margin-top: 24px; font-size: 17px; }
.email-form .email-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 14px; line-height: 1.5; }
.email-consent input { accent-color: var(--red); width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 899px) {
  .results-layout { grid-template-columns: 1fr; gap: 48px; }
  .result-secondary { width: min(100%, 620px); }
  .leaderboard-placeholder { max-width: none; }
}
@media (max-width: 519px) {
  .hero-photo { inset: -10px -14px calc(13% - 10px); }
  .hero.is-registering { justify-content: center; padding-top: calc(110px + var(--safe-top)); padding-bottom: calc(28px + var(--safe-bottom)); }
  .registration > label { font-size: 52px; }
  .registration > input { font-size: 28px; margin-top: 16px; }
  .registration .button { width: 100%; min-width: 0; }
  .registration .privacy-notice { margin-top: 20px; }
  .confirmation h2 { font-size: 50px; }
  .confirmation { gap: 24px; }
  .confirmation .next-question { width: 100%; min-width: 0; }
  .pre-start .question-column { padding-top: 22px; }
  .participant-name { font-size: 21px; }
}
@media (forced-colors: active) {
  .hero-word { -webkit-text-fill-color: CanvasText; background: none; }
}

/* Dedicated feedback/confirmation states. The clock keeps its existing dock. */
html.reading-mode { overflow: hidden; padding-right: var(--reading-scrollbar-gap, 0px); }
.reading-mode .site-header { right: var(--reading-scrollbar-gap, 0px); }
.reading-scrolled .site-header { position: fixed; transform: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; height: auto; padding-top: max(10px, var(--safe-top)); pointer-events: none; }
.reading-scrolled .brand { visibility: hidden; }
.reading-scrolled .exit-button { grid-column: 2; justify-self: end; pointer-events: auto; }
.button-icon { display: block; width: 24px; height: 24px; flex: 0 0 24px; }
.exit-button { display: inline-flex; align-items: center; gap: 12px; }
.reading-panel {
  position: fixed; z-index: 4; left: var(--reading-left); top: var(--reading-top);
  width: var(--reading-width); height: var(--reading-height); max-width: 650px;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 22px;
  margin: 0; padding: 0; border: 0; background: #000;
  overflow: visible;
}
.reading-panel .feedback-heading { align-items: center; gap: 12px; }
.reading-panel .feedback-heading h2 { font-size: clamp(44px, 4.7vw, 68px); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; }
.reading-panel .feedback-symbol { color: var(--red); font-size: 30px; }
.reading-panel .feedback-bonus-copy { font-size: clamp(28px, 3vw, 36px); }
.reading-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #666 #111; padding: 0 12px 4px 0; }
.reading-content:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.reading-panel .explanation { margin: 0; max-width: 610px; }
.reading-actions { padding-top: 10px; background: #000; border-top: 1px solid var(--line); }
.reading-actions .next-question { margin: 0; min-width: 270px; }
.reading-actions .button-primary:hover:not(:disabled) { transform: none; }
.confirmation.reading-panel { align-items: stretch; }
.confirmation.reading-panel h2 { font-size: clamp(48px, 5.5vw, 76px); }
@media (min-width: 900px) {
  .reading-panel { display: flex; flex-direction: column; height: auto; max-height: var(--reading-height); gap: 26px; }
  .reading-content { flex: 0 1 auto; }
  .reading-panel > :is(h2, .feedback-heading, .reading-actions) { flex-shrink: 0; }
}
@media (max-width: 899px) {
  .reading-panel { max-width: none; gap: 18px; }
  .reading-actions .button { width: 100%; }
  .reading-panel .feedback-heading h2 { font-size: 44px; }
  .confirmation.reading-panel h2 { font-size: 48px; }
}
@media (max-width: 519px) and (max-height: 620px) {
  .reading-panel { gap: 12px; }
  .reading-panel .feedback-heading h2 { font-size: 38px; }
  .confirmation.reading-panel h2 { font-size: 40px; }
  .reading-content .explanation { line-height: 1.55; }
  .reading-actions { padding-top: 8px; }
}

/* Campaign result hierarchy: the real final time remains the only LCD countdown. */
.result-main #results-title { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -.025em; }
.result-main .result-label { margin-top: 24px; }
.result-campaign { max-width: 560px; padding-top: 24px; margin-top: 12px; border-top: 1px solid var(--line); }
.result-campaign h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.18; font-weight: 400; letter-spacing: -.025em; }
.campaign-emphasis { color: var(--red); white-space: nowrap; }
.campaign-personalized { margin-top: 24px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.campaign-context { margin-top: 12px; color: #bcbcbc; font-size: 16px; line-height: 1.55; max-width: 470px; }
@media (max-width: 519px) {
  .result-main .participant-name { font-size: 18px; }
  .result-campaign { padding-top: 20px; }
  .result-campaign h2 { font-size: 28px; }
  .result-main .replay-button { width: 100%; }
}

/* Approved campaign photograph: retain both faces in the visible crop.
   Backend versions opt in by image hash; the original default stays available. */
.hero-photo[data-campaign-photo="reading"] {
  background-image: var(--start-photo-image, url('../assets/start-screen/stop-countdown-grandmother-child.png'));
  background-position: 18% 40%;
  inset-inline-start: calc(50% - 14px);
}
@media (max-width: 1199px) and (orientation: portrait) {
  .hero-photo[data-campaign-photo="reading"] {
    inset: -10px -14px auto;
    height: 55dvh;
    background-position: 22% 35%;
    mask-image: linear-gradient(0deg, transparent, #000 25%);
  }
  .hero:has(> .hero-photo[data-campaign-photo="reading"]):not(.is-registering) .hero-shade {
    background: linear-gradient(0deg, #000 8%, #000d 30%, #0001 72%, #0004);
  }
}
@media (max-height: 519px) and (orientation: landscape) {
  .hero-photo[data-campaign-photo="reading"] { background-position: 35% 35%; }
}
@media (max-width: 519px) and (orientation: portrait) {
  .hero-photo[data-campaign-photo="reading"] { height: 65dvh; }
}
@media (min-width: 900px) and (max-aspect-ratio: 7/5) and (orientation: landscape) {
  .hero-photo[data-campaign-photo="reading"] { background-position: 26% 40%; }
}
