/* ============================================================
   guantlet.com — Gauntlet brand system
   Tokens extracted verbatim from live gauntletai.com CSS.
   Frozen: never invent colors, fonts, or radii. Dark-only.
   ============================================================ */

/* ---- Fonts (self-hosted, OFL) ---- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
}

/* ---- Tokens ---- */
:root {
  --bg: #080808;
  --surface: #121212;
  --surface-2: #171717;
  --surface-3: #0a0a0a;
  --gold: #c09e5a;
  --gold-hover: #b8914f;
  --gold-light: #d4b575;
  --gold-btn-hover: #d4a855;
  --bone: #e6e3d5;
  --white: #ffffff;
  --heading: #ffffffeb;
  --muted: #83817c;
  --muted-2: rgba(255, 255, 255, 0.5);
  --border: #2b2b2b;
  --border-gold: rgba(192, 158, 90, 0.4);
  --hairline: hsla(43, 30%, 25%, 0.4);
  --danger: #d4756b;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;

  --radius-btn: 4px;
  --radius-card: 8px;
  --radius-card-lg: 10px;
  --radius-pill: 9999px;

  --pad-x: 24px;
  --section-y: 96px;
  --content: 1200px;
  --prose: 42rem;
}
@media (min-width: 768px) {
  :root { --pad-x: 56px; }
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
}
p { margin: 0 0 16px; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold-light); }
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

::selection { background: rgba(192, 158, 90, 0.35); color: var(--white); }

/* ---- Type helpers ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.gold-gradient {
  background: linear-gradient(135deg, #dbbd70, #c6a553, #a18745);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.divider-gold {
  width: 64px;
  height: 1px;
  background: #b7945d99;
  border: 0;
  margin: 0 auto 26px;
}
.muted { color: var(--muted-2); }
.small { font-size: 13px; }
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 32px;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover { background: var(--gold-btn-hover); color: var(--bg); transform: translateY(-2px); }
.btn-primary:active { background: var(--gold-hover); transform: none; }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-secondary:hover { border-color: var(--white); color: var(--white); }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--border-gold);
  outline-offset: 2px;
}

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card-lg);
  padding: 24px;
}

/* ---- Forms ---- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
input[type='text'], input[type='email'], input[type='url'], input[type='password'], textarea, select {
  width: 100%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px; /* prevents iOS focus zoom */
  padding: 12px 14px;
  transition: border-color 0.2s ease;
}
input:focus, textarea:focus { border-color: var(--border-gold); outline: none; }
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.hint { font-size: 13px; color: var(--muted-2); margin-top: 6px; }
.error-text { font-size: 13px; color: var(--danger); margin-top: 6px; }
.form-error {
  background: rgba(212, 117, 107, 0.08);
  border: 1px solid rgba(212, 117, 107, 0.4);
  border-radius: var(--radius-btn);
  color: var(--danger);
  font-size: 14px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

/* ---- Verified badge ---- */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-btn);
  padding: 6px 10px;
}

/* ---- Avatar ---- */
.avatar, .monogram {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
}
.avatar { object-fit: cover; }
.monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
}

/* ---- Layout ---- */
.container {
  max-width: var(--content);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
/* Tighter vertical rhythm on mobile (96px stacked between every section reads as
   dead space on a phone); full 96px rhythm returns on desktop. */
.section { padding-top: 60px; padding-bottom: 60px; }
@media (min-width: 768px) {
  .section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
}
.narrow { max-width: 480px; margin-left: auto; margin-right: auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--pad-x);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-nav .wordmark { height: 24px; width: auto; }
.site-nav .btn { padding: 10px 24px; font-size: 13px; }

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 48px var(--pad-x);
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
}
.site-footer .wordmark { height: 20px; width: auto; margin: 0 auto 16px; opacity: 0.8; }
.site-footer a { color: var(--muted-2); }
.site-footer a:hover { color: var(--gold); }
.site-footer .mono-label { display: inline-block; margin-top: 16px; }

/* ---- Sticky apply bar (referral pages) ---- */
/* Always visible — a persistent bottom CTA. (It used to reveal on scroll, which
   left it hidden on mobile when the page didn't scroll past the identity block.) */
.apply-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--hairline);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.apply-bar .ref-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 0 0 8px;
  /* The referrer's name is the payload — wrap, never clip. */
  white-space: normal;
  overflow-wrap: break-word;
}

/* ---- 6-digit code cells ---- */
.code-wrap { position: relative; margin: 24px 0; }
.code-input {
  position: absolute;
  inset: 0;
  opacity: 0.01;
  font-size: 32px;
  letter-spacing: 2.2em;
  border: none;
  background: transparent;
  color: transparent;
  caret-color: transparent;
}
.code-cells { display: flex; gap: 8px; justify-content: center; pointer-events: none; }
.code-cell {
  width: 44px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--white);
}
.code-cell.active { border-color: var(--border-gold); }
.code-wrap.shake .code-cells { animation: shake 0.35s ease; }
.code-wrap.shake .code-cell { border-color: var(--danger); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ---- Countdown ---- */
.countdown { margin-top: 32px; }
.countdown .digits {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 22px;
  color: var(--white);
}
.countdown .digits .sep { color: var(--gold); }
.countdown .date-line { font-size: 13px; color: var(--muted-2); margin-top: 4px; }

/* ---- Stats ---- */
/* Homepage stats: four outcomes, 2x2 on mobile (tight — no airy single column),
   4-across on desktop. */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); max-width: 900px; gap: 32px; }
}
/* Pull the stats up toward the countdown — the gap Jon flagged. */
.stats-section { position: relative; padding-top: 40px; }
/* Homepage stats: back to 4 tiles (200+ restored when the challenge-frame sub
   dropped the duplicate proof) — 2x2 mobile, one row of 4 on desktop. Scoped
   to .stats-section so the champion dashboard's bare .stats-grid is untouched. */
@media (max-width: 767px) {
  .stats-section .stats-grid { gap: 18px 10px; max-width: 372px; }
  .stats-section .stat .num { font-size: 24px; }
  .stats-section .ticks { padding: 14px 6px 12px; }
}
@media (min-width: 768px) {
  .stats-section .stats-grid { grid-template-columns: repeat(4, 1fr); max-width: 900px; gap: 32px; }
}
/* Radial gold fade behind the stats — exact .radial-fade gradient from live gauntletai.com. */
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(183, 148, 93, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.stats-section .container { position: relative; }

/* Corner ticks — the archived logo-card corner brackets, as pure CSS. */
.ticks {
  padding: 18px 10px 16px;
  background-image:
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 8px 1px, 1px 8px, 8px 1px, 1px 8px, 8px 1px, 1px 8px, 8px 1px, 1px 8px;
  background-position:
    left top, left top, right top, right top,
    left bottom, left bottom, right bottom, right bottom;
}

/* Social-proof partner wall — logo-strip tournament winner (lg-optical +
   reductions). Optically equalized marks: each height derives from aspect x
   measured ink coverage so THESIS/PEAK6 stop shouting and Alpha School stops
   whispering. Locked 12-module grid (terra-firma spans 2, placed interior) so
   every breakpoint ends on a full row. White assets dimmed by opacity only. */
.logo-strip {
  /* Pull the strip up into the hero's empty bottom padding (dead-space cut:
     ~90px date-line -> label becomes ~40px). position:relative lifts it over
     the hero art's fade tail. */
  position: relative;
  margin-top: -40px;
  padding: 0 var(--pad-x) 8px;
  text-align: center; /* fallback wordmark path */
}
/* Centered quiet label — the deployed layout Jon picked over the dash rail. */
.logo-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 18px;
}
.logo-strip-row {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 16px 6px;
  justify-content: center;
  justify-items: center;
  align-items: center;
}
/* Fallback when a variant supplies names instead of logo files. */
.partner-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #ffffff;
  opacity: 0.62;
  white-space: nowrap;
}
.logo-strip-row .partner-logo {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
.logo-strip-row .partner-logo:hover { opacity: 1; }
.logo-strip-row img[src*='terra-firma'] { grid-column: span 2; }
/* Equal perceived area, not equal cap height (per-mark derivation in the
   tournament record). Alpha School: judged size exception + opacity lift —
   its eagle lockup is at its legibility floor pending a horizontal wordmark. */
.logo-strip-row img[src*='gofundme'] { height: 23px; }
.logo-strip-row img[src*='zapier'] { height: 28px; }
.logo-strip-row img[src*='function-health'] { height: 20px; }
.logo-strip-row img[src*='alpha-school'] { height: 30px; opacity: 0.8; }
.logo-strip-row img[src*='future'] { height: 20px; }
.logo-strip-row img[src*='thesis'] { height: 18px; opacity: 0.65; }
.logo-strip-row img[src*='peak6'] { height: 18px; }
.logo-strip-row img[src*='othram'] { height: 20px; }
.logo-strip-row img[src*='nerdy'] { height: 25px; }
.logo-strip-row img[src*='leap'] { height: 24px; }
.logo-strip-row img[src*='terra-firma'] { height: 15px; }
/* Tablet: same 12 modules resolve as 4 tracks x 3 full rows. */
@media (min-width: 768px) {
  .logo-strip { padding: 0 var(--pad-x) 10px; }
  .logo-strip-label { margin-bottom: 22px; }
  .logo-strip-row { grid-template-columns: repeat(4, 150px); gap: 22px 16px; }
  .partner-word { font-size: 20px; }
  .logo-strip-row img[src*='gofundme'] { height: 27px; }
  .logo-strip-row img[src*='zapier'] { height: 33px; }
  .logo-strip-row img[src*='function-health'] { height: 23px; }
  .logo-strip-row img[src*='alpha-school'] { height: 36px; }
  .logo-strip-row img[src*='future'] { height: 26px; }
  .logo-strip-row img[src*='thesis'] { height: 22px; }
  .logo-strip-row img[src*='peak6'] { height: 22px; }
  .logo-strip-row img[src*='othram'] { height: 24px; }
  .logo-strip-row img[src*='nerdy'] { height: 30px; }
  .logo-strip-row img[src*='leap'] { height: 29px; }
  .logo-strip-row img[src*='terra-firma'] { height: 18px; }
}
/* Desktop: the owner-picked layout — all 11 marks in ONE quiet line spread
   across the content width (the deployed wordmark-row look, with images).
   Optical ratios kept, scaled ~0.72 so the line fits inside 1280 content;
   the gap clamp lets it breathe wider on big screens. */
@media (min-width: 1100px) {
  .logo-strip-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(16px, 2.6vw, 44px);
  }
  .logo-strip-row img[src*='gofundme'] { height: 19px; }
  .logo-strip-row img[src*='zapier'] { height: 24px; }
  .logo-strip-row img[src*='function-health'] { height: 17px; }
  .logo-strip-row img[src*='alpha-school'] { height: 26px; }
  .logo-strip-row img[src*='future'] { height: 19px; }
  .logo-strip-row img[src*='thesis'] { height: 16px; }
  .logo-strip-row img[src*='peak6'] { height: 16px; }
  .logo-strip-row img[src*='othram'] { height: 17px; }
  .logo-strip-row img[src*='nerdy'] { height: 22px; }
  .logo-strip-row img[src*='leap'] { height: 21px; }
  .logo-strip-row img[src*='terra-firma'] { height: 13px; }
}

/* Section-title rhythm set by the Fellowship tournament: title, 14px, gold
   rule, content. (.program-block h2 on champion pages overrides later.) */
.section h2 { font-size: clamp(1.6rem, 5.4vw, 2.1rem); margin-bottom: 14px; }
.final-cta h2 { margin-bottom: 22px; }

/* Section sub-line under a title/divider */
.section-sub {
  text-align: center;
  color: var(--muted-2);
  font-size: 15px;
  margin: -8px 0 32px;
}

/* Why-it's-free flow diagram */
.flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 320px;
  margin: 0 auto;
}
.flow-node {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  text-align: center;
}
.flow-k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.flow-v { font-size: 15px; margin: 0; color: var(--bone); }
.flow-arrow {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  text-align: center;
  padding: 10px 0;
  transform: rotate(90deg); /* points down when stacked */
}
@media (min-width: 820px) {
  .flow { flex-direction: row; align-items: center; max-width: 980px; gap: 0; }
  .flow-node { flex: 1; }
  .flow-arrow { transform: none; padding: 0 18px; }
}

/* Who-finishes list */
.who-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 560px;
}
.who-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--bone);
}
.who-list li:last-child { border-bottom: none; }
.who-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 22px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--white);
}
.stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

/* ---- Steps ---- */
.steps { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.step h3 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }

/* ---- Video frame ---- */
.video-frame {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.video-frame video, .video-frame iframe { width: 100%; display: block; border: 0; }
.video-frame.vertical video { max-height: 70vh; margin: 0 auto; background: var(--surface-3); }
.video-frame .embed-16x9 { position: relative; padding-top: 56.25%; }
.video-frame .embed-16x9 iframe { position: absolute; inset: 0; height: 100%; }

/* ---- Snap-scroll video row (homepage graduates) ---- */
.video-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.video-row::-webkit-scrollbar { display: none; }
.video-row .video-card { flex: 0 0 72vw; scroll-snap-align: center; }
@media (min-width: 768px) {
  .video-row .video-card { flex: 0 0 280px; }
}
.video-card .caption-name { font-weight: 600; font-size: 15px; color: var(--white); margin-top: 10px; }
.video-card .caption-delta { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.video-card .caption-delta .arrow { color: var(--gold); }

/* ---- Toast / banners ---- */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
}
.toast.shown { opacity: 1; transform: translateX(-50%) translateY(0); }

.dev-banner {
  background: rgba(212, 168, 85, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-btn);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.info-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--bone);
  font-size: 14px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .apply-bar { transform: none; transition: none; }
  * { animation: none !important; }
}

/* Wide monitors: the design is set at ~1440. Above that, scale the whole page
   so a 2050px window lays out like a 1700px one (owner: proportions must
   hold on big screens, not shrink into a wider frame). */
@media (min-width: 1600px) { body { zoom: 1.1; } }
@media (min-width: 1900px) { body { zoom: 1.2; } }
@media (min-width: 2300px) { body { zoom: 1.35; } }

/* ---- Homepage ---- */
/* Hero art comes from the brand's own archived homepage (gauntletai.com,
   Dec 2025 capture): halftone-textured black, mountain silhouettes, and a
   pennant-shaped photo of climbers. Imagery/texture only — that era's trial-
   licensed fonts (FK Grotesk Neue, Suisse Intl) were NOT carried over.
   Mobile gets a dedicated crop with no pennant, so text sits on clean texture. */
.hero {
  position: relative;
  /* No horizontal padding of its own — .container already carries the page's
     single 24px gutter (double gutter was what wrapped the H1 to 4 lines). */
  padding: 56px 0 72px;
  background: var(--bg) url('/static/img/hero-bg-m.webp') no-repeat center bottom / cover;
}
.hero::after {
  /* melt the art into the page background before the next section */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0), var(--bg));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 720px; }
/* Feathered engineer photo (true alpha) floating over the halftone — the
   wrapper stays transparent so the soft edges show the texture (owner spec).
   Hidden on mobile to protect the fold; the mobile art is texture-only. */
.hero-art {
  display: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  aspect-ratio: 8 / 7;
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-h1 {
  font-size: clamp(2.05rem, 9vw, 4rem);
  line-height: 1.04;
  margin-bottom: 16px;
}
@media (max-width: 359px) {
  .hero-h1 { font-size: 1.85rem; }
}
/* Kicker line inside the H1 — the ask ("Complete the …") in the site's label
   grammar (mono caps + gold dash, same rail as "— NEXT COHORT"): bold display
   type clots at small sizes, so the small line borrows the label voice and
   leaves Space Grotesk 700 to the payoff. One line at 375. */
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; /* one line down to 360px viewports */
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--gold);
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .hero-kicker { font-size: 14px; letter-spacing: 0.16em; margin-bottom: 18px; }
  /* The gold dash rides only where the line has room — same rail as
     "— NEXT COHORT". */
  .hero-kicker::before {
    content: '';
    flex: none;
    width: 22px;
    height: 1px;
    background: var(--gold);
    opacity: 0.75;
  }
}
.hero-sub {
  font-size: 16px;
  max-width: 30ch;
  margin-bottom: 22px;
}

/* Fellowship nameplate — the label system. Mobile: gold hairline dash + mono
   caps, shared with the countdown label so the name reads as the page's own
   labeling language, not decoration. (Tournament winner fw-frame.) */
.hero .container > .eyebrow,
.countdown .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
}
/* The program name gets a step more presence than the labels (owner call). */
.hero .container > .eyebrow { font-size: 13px; }
.hero .container > .eyebrow::before,
.countdown .eyebrow::before {
  content: '';
  flex: none;
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
}
.hero .container > .eyebrow { margin: 0 0 18px; }

@media (min-width: 768px) {
  .hero {
    padding: 72px var(--pad-x) 80px;
    text-align: left;
    background-image: url('/static/img/hero-bg-texture.webp');
    background-position: center top;
    min-height: 620px;
    display: flex;
    align-items: center;
  }
  .hero::before {
    /* two-layer scrim: gentle top fade + left-to-right legibility ramp where
       the text column meets the pennant's misty edge */
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.5), rgba(8, 8, 8, 0) 20%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.6) 36%, rgba(8, 8, 8, 0.2) 60%, rgba(8, 8, 8, 0) 80%);
    pointer-events: none;
  }
  .hero .container { max-width: var(--content); width: 100%; }
  /* The photo occupies the footprint the archived pennant had: right side of
     the hero, under the top hairline, ~35% of the viewport wide, 8/7 tall.
     Positioned against the hero (not the 1200px container) so it fills the
     same region at every width; feathered alpha melts it into the texture. */
  .hero-art {
    display: block;
    position: absolute;
    top: 48px;
    right: 6%;
    width: clamp(440px, 40%, 760px);
    z-index: 1;
    pointer-events: none;
  }
  .hero { min-height: 640px; }
  .hero-text { max-width: 680px; }
  /* Two-line outcome H1 gets extra presence on desktop. */
  .hero-h1 { max-width: 680px; font-size: 4.4rem; }
  .hero-sub { font-size: 17px; max-width: 60ch; margin-bottom: 26px; }
  /* Desktop nameplate: corner-tick plaque (the stat-tile tick motif) hugging
     the text, locked above the H1. The countdown label keeps the dash —
     plaque = program name, dash = labels. (Ported from fw-mark per judges.) */
  .hero .container > .eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    padding: 10px 16px 9px;
    margin: 0 0 24px;
    background-image:
      linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
      linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
      linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
      linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold));
    background-repeat: no-repeat;
    background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px;
    background-position:
      left top, left top, right top, right top,
      left bottom, left bottom, right bottom, right bottom;
  }
  .hero .container > .eyebrow::before { content: none; }
  .countdown { margin-top: 40px; }
}
.hero-cta { min-width: 220px; }
.hero-cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 479px) {
  .hero-cta-row { display: block; }
  .hero-cta { display: block; width: 100%; }
  .hero-cta2 { display: block; width: 100%; margin-top: 10px; }
}
.stats-grid.three { grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; max-width: none; }
.stats-grid.three .num { font-size: 24px; }
/* A single-stat program row centers rather than sitting in a lone grid cell. */
.champ-page .stats-grid.three:has(.stat:only-child) { display: flex; justify-content: center; }
.eligibility-line {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 20px var(--pad-x);
  text-align: center;
}
.eligibility-line .mono-label { color: rgba(255, 255, 255, 0.7); }
/* Final CTA over the archived 'golden hall' image (lone figure at a lit
   doorway). Heavy top/bottom fades melt it into the page; the mid scrim keeps
   white-on-image contrast. */
.final-cta {
  position: relative;
  text-align: center;
  background: var(--bg) url('/static/img/cta-hall.webp') no-repeat left center / cover;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg), rgba(8, 8, 8, 0.55) 35%, rgba(8, 8, 8, 0.55) 65%, var(--bg));
  pointer-events: none;
}
.final-cta .container { position: relative; }
@media (min-width: 768px) {
  .final-cta { padding-top: 128px; padding-bottom: 128px; }
}
.companies-row {
  border-top: 1px solid var(--hairline);
  padding: 28px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.companies-row .company-link { color: var(--bone); font-size: 15px; }
.companies-row .company-link .arrow { color: var(--gold); }
.companies-row .company-link:hover { color: var(--gold-light); }
@media (min-width: 640px) {
  .companies-row { flex-direction: row; justify-content: center; gap: 28px; }
}

/* "What is Gauntlet AI": left-aligned editorial statement in the site's own
   grammar — calm regular-weight lede (not bold display), three statements as a
   gold-dash ledger (same as Who finishes), one gold emphasis. Owner text
   verbatim. */
.about { padding-top: 64px; padding-bottom: 16px; }
.about-inner { max-width: 62ch; }
.about h2 { font-size: clamp(1.55rem, 5vw, 1.9rem); letter-spacing: -0.03em; line-height: 28px; margin-bottom: 16px; }
.about-lede {
  font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 28px;
  max-width: 34ch;
}
.about-points { list-style: none; margin: 0; padding: 0; }
.about-points li {
  position: relative;
  padding: 16px 0 16px 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--bone);
  border-top: 1px solid var(--hairline);
}
.about-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 29px;
  width: 14px;
  height: 1px;
  background: var(--gold);
}
.about strong { color: var(--gold); font-weight: 400; }
@media (min-width: 900px) {
  .about { padding-top: 96px; padding-bottom: 24px; }
  .about h2 { font-size: 2rem; line-height: 36px; margin-bottom: 18px; }
  .divider-gold.left { margin-bottom: 30px; }
  .about-lede { margin-bottom: 34px; }
  .about-points li { padding: 18px 0 18px 32px; }
  .about-points li::before { top: 31px; }
}

/* ---- Owner long-form sections (Sep 2026) — expansion tournament winner
   ex-editorial + reduction round (ex-final), integrated. Owner adjustments vs
   the judged variant: no desktop column-stretch (it left voids in the rail),
   the desktop WEEK-label column is kept (ledger rhythm), and the golden-hall
   final CTA stays (owner-approved art). ---- */

/* Four-level type scale */
.col-block h2, .band h2, .program h2 { font-size: clamp(1.55rem, 5vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.col-block h2 { line-height: 28px; } /* integer line box: the 1px rule below lands on a whole pixel */
.divider-gold.left { margin-left: 0; margin-bottom: 24px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--bone); margin: 0 0 18px; max-width: 60ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--white); font-weight: 600; }
.prose em { color: var(--white); font-style: italic; }

/* Alternating spread rows: text | structure, structure | text. Stack on mobile. */
.split-section { padding-top: 56px; padding-bottom: 56px; }
.split { display: grid; grid-template-columns: 1fr; gap: 56px; }
.split-section + .split-section { padding-top: 0; }
.split-section + .split-section .split { border-top: 1px solid var(--hairline); padding-top: 56px; }

/* Why-free as a quiet vertical rail (no boxes, no arrow glyphs) */
.flow-stack { position: relative; max-width: none; padding-left: 22px; flex-direction: column; align-items: stretch; }
.flow-stack::before { content: ''; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 1px; background: var(--border-gold); }
.flow-stack .flow-node { position: relative; width: 100%; text-align: left; background: none; border: 0; border-radius: 0; padding: 0 0 26px; }
.flow-stack .flow-node:last-child { padding-bottom: 0; }
.flow-stack .flow-node::before { content: ''; position: absolute; left: -22px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.flow-stack .flow-arrow { display: none; }
.flow-stack .flow-k { margin-bottom: 6px; }
.flow-stack .flow-v { font-size: 17px; line-height: 1.6; max-width: 40ch; }

/* Who finishes: ruled rows, gold dash */
.split .who-list { max-width: none; }
.split .who-list li { padding: 14px 0 14px 28px; font-size: 17px; line-height: 1.5; border-bottom: 1px solid var(--hairline); }
.split .who-list li:first-child { padding-top: 0; }
.split .who-list li:last-child { border-bottom: 0; }
.split .who-list li::before { left: 0; top: 27px; width: 14px; height: 1px; border-radius: 0; background: var(--gold); }
.split .who-list li:first-child::before { top: 13px; }

/* Experience: breathing lines, one composed CTA line */
.prose-lines p { margin-bottom: 12px; }
.prose-lines p:first-child { color: var(--white); margin-bottom: 18px; }
.cta-note { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; margin-top: 32px; }
.cta-note .mono-label { white-space: nowrap; color: var(--gold); font-size: 10px; }

@media (min-width: 900px) {
  .split-section { padding-top: 88px; padding-bottom: 88px; }
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 96px; align-items: start; }
  .split-section + .split-section .split { padding-top: 88px; }
  .col-block h2 { font-size: 2rem; line-height: 36px; margin-bottom: 18px; }
  .divider-gold.left { margin-bottom: 30px; }
}

/* Roadmap band: ruled ledger, both doors */
.band {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 64px 0;
}
.band h2 { margin-bottom: 8px; }
.band-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.band-text p { font-size: 17px; line-height: 1.5; color: var(--bone); margin: 0; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.band-text p:first-of-type { border-top: 1px solid var(--hairline); }
.band-text .start-line strong { color: var(--white); font-weight: 600; }
.band-text .start-link { color: var(--gold); font-weight: 600; margin-left: 6px; }
.band-text .start-link .arrow { color: var(--gold); }
.band-text .promise {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  border: 0; padding: 0; margin-top: 32px;
  font-size: clamp(1.5rem, 6vw, 2.15rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 24ch;
}
.band-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-top: 8px; }
.band-cta .hero-cta-row { gap: 12px; }
.band-micro { color: var(--gold); font-size: 10px; margin: 0; }
@media (max-width: 479px) {
  /* thumb-sized doors, stacked */
  .band-cta { align-items: stretch; }
  .band-cta .hero-cta-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .band-cta .btn { display: block; width: 100%; text-align: center; }
  .band-micro { text-align: center; }
}
@media (min-width: 900px) {
  .band { padding: 96px 0; }
  .band-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 96px; align-items: end; }
  .band h2 { margin-bottom: 12px; }
  .band-text .promise { margin-top: 40px; }
  .band-cta { margin-top: 0; align-items: flex-start; }
}

/* Life in the program: ruled week ledger; expandable weeks use native
   <details> (no JS, CSP-safe). Static rows (no detail in the source) are a
   shade quieter so the three that open read as the ones to touch. */
.program .phase { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border-gold); }
.program .phase:first-of-type { margin-top: 16px; }
.phase-name { font-size: clamp(1.3rem, 4.4vw, 1.5rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.phase-intro { margin-bottom: 8px; }
.phase-intro p { margin-bottom: 8px; }
.weeks { display: flex; flex-direction: column; gap: 0; }
.week { border-bottom: 1px solid var(--hairline); }
.weeks .week:last-child { border-bottom: 0; }
.week.week-static, .week summary { padding: 16px 0; }
.week summary { list-style: none; cursor: pointer; position: relative; padding-right: 32px; }
.week summary::-webkit-details-marker { display: none; }
.week summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.week[open] summary::after { transform: rotate(-135deg); top: 26px; }
.week-n {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.week-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; color: var(--white); }
.week-sub { display: block; font-size: 15px; color: var(--muted-2); font-style: italic; margin-top: 4px; }
.week-body { padding: 4px 0 24px; display: flex; flex-direction: column; gap: 14px; }
.week-k { font-weight: 600; color: var(--white); font-size: 15px; margin: 0 0 2px; }
.week-v { font-size: 16px; line-height: 1.6; color: var(--bone); margin: 0; max-width: 64ch; }
.week-static .week-title { color: rgba(255, 255, 255, 0.85); }
.week-static .week-n { color: var(--gold-hover); }
@media (min-width: 768px) {
  .week.week-static, .week summary { padding: 20px 0; }
  .week summary { padding-right: 40px; }
  .week summary::after { top: 28px; }
  .week[open] summary::after { top: 32px; }
  .week-title { font-size: 20px; }
  .week-body { padding: 4px 0 28px; }
  /* Ledger: WEEK label column, content column */
  .week.week-static, .week summary { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: baseline; }
  .week-n { grid-row: 1 / span 2; margin: 0; padding-top: 4px; }
  .week-title { grid-column: 2; }
  .week-sub { grid-column: 2; }
  .week-body { padding-left: 128px; }
  /* Phase spine: dashed for remote Phase 1, solid for Austin (desktop only) */
  .program .phase { position: relative; padding-left: 28px; border-top: 0; padding-top: 0; margin-top: 64px; }
  .program .phase:first-of-type { margin-top: 24px; }
  .program .phase::before { content: ''; position: absolute; left: 0; top: 14px; bottom: -64px; width: 0; border-left: 1px solid var(--border-gold); }
  .program .phase:first-of-type::before { border-left-style: dashed; }
  .program .phase:last-of-type::before { bottom: 0; }
  .program .phase::after { content: ''; position: absolute; left: -3.5px; top: 10px; width: 8px; height: 8px; background: var(--gold); }
}

/* Final door: eligibility facts ride under the button as a mono micro line */
.final-cta h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 26px; }
.final-cta .small.muted {
  margin-top: 18px !important;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
}

/* ---- Entry path-chooser modal (homepage) ---- */
.path-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; }
.path-modal[hidden] { display: none; }
.path-backdrop { position: absolute; inset: 0; background: rgba(8, 8, 8, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.path-panel {
  outline: none;
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--bg);
  border: 1px solid var(--border-gold);
  padding: 28px 22px 22px;
  animation: path-in 0.25s ease-out;
}
@keyframes path-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.path-eyebrow { display: flex; align-items: center; gap: 10px; letter-spacing: 0.16em; margin-bottom: 14px; }
.path-eyebrow::before { content: ''; flex: none; width: 22px; height: 1px; background: var(--gold); opacity: 0.75; }
.path-title { font-size: clamp(1.7rem, 7vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 8px; }
.path-sub { color: var(--muted-2); font-size: 15px; margin: 0 0 22px; }
.path-list { display: flex; flex-direction: column; gap: 10px; }
.path-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 16px 14px;
  color: var(--bone);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.path-row:hover, .path-row:focus-visible { border-color: var(--border-gold); background: var(--surface-2); color: var(--bone); }
.path-n { font-family: var(--font-mono); font-size: 12px; color: var(--gold); letter-spacing: 0.1em; align-self: start; padding-top: 4px; }
.path-text { display: block; min-width: 0; }
.path-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--white); margin-bottom: 4px; }
.path-body { display: block; font-size: 14px; line-height: 1.5; color: var(--bone); }
.path-cta { grid-column: 2; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.path-cta .arrow { color: var(--gold); }
.path-dismiss {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: none;
  border: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  cursor: pointer;
}
.path-dismiss:hover { color: var(--bone); }
body.path-open { overflow: hidden; }
@media (min-width: 640px) {
  .path-panel { padding: 44px 48px 36px; }
  .path-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 24px; padding: 22px 26px; }
  .path-cta { grid-column: 3; margin-top: 0; }
  .path-name { font-size: 22px; }
  .path-body { font-size: 15px; }
  .path-sub { font-size: 17px; margin-bottom: 30px; }
  .path-list { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .path-panel { animation: none; } }

/* ---- Embed facade (click-to-load player) ---- */
.embed-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--surface-3);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.embed-facade.tall { aspect-ratio: 9 / 16; }
.embed-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.play-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
}
.play-disc::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-left: 16px solid var(--gold);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* ---- Champion public page ---- */
.champ-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px var(--pad-x) 40px;
}
body.has-apply-bar { padding-bottom: 110px; }
.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 28px;
}
.identity h1 { font-size: 28px; margin: 0; }
.identity .mono-label { margin: 0; }
.pitch { margin: 28px 0; }
.pitch-text { font-size: 16px; line-height: 1.65; }
.socials-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 24px 0;
}
.socials-row a { color: rgba(230, 227, 213, 0.7); }
.socials-row a:hover { color: var(--gold); }
.champ-page .divider-gold { margin: 32px auto; }
.deal-card { margin-bottom: 32px; }
.deal-card p:last-child { margin: 0; }
.program-block h2 { font-size: 24px; }
.program-block .honesty { font-size: 14px; color: rgba(230, 227, 213, 0.75); }
.program-block .mono-label { display: block; margin: 16px 0 12px; }
.site-footer.mini { padding: 28px var(--pad-x); }
.preview-ribbon {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
}
.preview-ribbon a { color: var(--bg); text-decoration: underline; }

/* ---- Editor ---- */
.editor-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.editor-links { display: flex; gap: 16px; font-size: 14px; }
.editor-card { margin-bottom: 20px; }
.photo-row { display: flex; align-items: center; gap: 20px; }
.avatar.small, .monogram.small { width: 64px; height: 64px; font-size: 22px; flex-shrink: 0; }
.file-btn { position: relative; overflow: hidden; display: inline-block; }
.link-btn {
  background: none;
  border: none;
  color: var(--muted-2);
  font-size: 13px;
  padding: 4px 0;
  text-decoration: underline;
  cursor: pointer;
}
.link-btn:hover { color: var(--gold); }
.link-paste summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--muted-2);
  margin-top: 12px;
}
.video-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.video-actions .btn { margin: 0; }
.recorder {
  margin-top: 16px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 14px;
  background: var(--surface-3);
}
.rec-video {
  width: 100%;
  max-height: 320px;
  background: #000;
  border-radius: var(--radius-btn);
  transform: scaleX(-1); /* mirror the live self-view like a selfie camera */
}
.rec-video[controls] { transform: none; } /* un-mirror during playback */
.rec-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.rec-timer {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--bone);
  min-width: 44px;
}
.rec-review { margin-top: 12px; }
.publish-bar { margin-top: 32px; }

/* ---- Dashboard ---- */
.share-link {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--white);
  word-break: break-all;
  margin: 8px 0 16px;
}
.share-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-actions .btn { padding: 10px 18px; font-size: 12px; }
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger td { padding: 8px 4px; border-bottom: 1px solid var(--border); }
.ledger tr:last-child td { border-bottom: none; }
#qr-holder svg { background: #fff; border-radius: 8px; }
.dash-links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ---- Admin ---- */
.admin { max-width: 1000px; }
.admin-table td { vertical-align: top; padding: 10px 6px; }
.admin-actions { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.admin-actions form { margin: 0; }
.ledger-add {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .ledger-add { grid-template-columns: 1fr 1fr 1fr 1fr auto; }
}
.admin select {
  width: auto;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: 13px;
  padding: 6px 8px;
}
.admin input[type='datetime-local'] {
  width: 100%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: 16px;
  padding: 12px 14px;
  color-scheme: dark;
}

/* ---- Signup handle row + how-list ---- */
.handle-row {
  display: flex;
  align-items: center;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  transition: border-color 0.2s ease;
}
.handle-row:focus-within { border-color: var(--border-gold); }
.handle-row .handle-prefix {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted-2);
  padding: 0 0 0 14px;
  white-space: nowrap;
}
.handle-row input {
  border: none;
  background: transparent;
  padding-left: 2px;
  font-family: var(--font-mono);
  font-size: 16px;
}
.handle-row input:focus { border: none; outline: none; }

.how-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.how-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.how-list li:last-child { border-bottom: none; }

/* ---- Progress bar (upload) ---- */
.progress {
  height: 6px;
  background: var(--surface-3);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 10px;
}
.progress .bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #dbbd70, #c09e5a);
  transition: width 0.15s ease;
}
