/* ==========================================================================
   PANTHEON RS — Postmodern Pentathlon
   Editorial luxury event site. Square corners, big condensed type, warm paper.
   ========================================================================== */

:root {
  --paper:        #F4E4D1; /* primary background / text on dark */
  --cream:        #EEDAC0; /* ticker strip, schedule card fill */
  --card-alt:     #E4CDB0; /* image placeholder bg */
  --ink:          #2A1D24; /* primary text on cream */
  --dusk:         #241826; /* dark sections, hero bg */
  --accent:       #E8613C; /* primary CTA / links / accent */
  --accent-hover: #F2913D; /* CTA hover, discipline tag */
  --orange-bright:#FF6B4A; /* "Cars" stat */
  --gold:         #A67A22; /* wordmark, secondary headings, poker */
  --gold-light:   #F2C14E; /* highlights on dark, hero seam */
  --red:          #B93D42; /* apply gradient mid-stop */
  --sun:          #F5D24E; /* apply radial sun */
  --purple:       #8C6BE6; /* fencing tag */
  --teal:         #2C7A73; /* golf tag */

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --hair-ink:  rgba(42, 29, 36, .14);
  --hair-cream:rgba(244, 228, 209, .20);

  --cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%23E8613C' stroke-width='1.6'%3E%3Ccircle cx='14' cy='14' r='6'/%3E%3Cpath d='M14 1v6M14 21v6M1 14h6M21 14h6'/%3E%3C/g%3E%3C/svg%3E") 14 14, crosshair;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  cursor: var(--cursor);
  overflow-x: hidden;
}

a { cursor: inherit; color: inherit; }
img { display: block; }
::selection { background: var(--accent); color: var(--paper); }

/* --- shared type helpers ------------------------------------------------- */
.eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.serif-italic { font-family: var(--font-serif); font-style: italic; }

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 3px;
  text-decoration: none;
  border: none;
  cursor: inherit;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--accent { background: var(--accent); color: var(--paper); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--outline-gold { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn--outline-gold:hover { background: var(--gold); color: var(--paper); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 64px);
  background: rgba(244, 228, 209, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 29, 36, .14);
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 38px);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav__links a { color: var(--ink); text-decoration: none; opacity: .78; }
.nav__links a:hover { opacity: 1; }
.nav__apply {
  color: var(--accent) !important;
  opacity: 1 !important;
  border: 1px solid var(--accent);
  padding: 9px 18px;
  letter-spacing: 2px;
  transition: background .25s ease, color .25s ease;
}
.nav__apply:hover { background: var(--accent); color: var(--paper) !important; }

/* ==========================================================================
   HERO — diagonal split
   ========================================================================== */
.hero { position: relative; }
.hero__stage {
  position: relative;
  height: min(88vh, 860px);
  min-height: 480px;
  overflow: hidden;
  background: var(--dusk);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__img--left  { clip-path: polygon(0 0, 60% 0, 40% 100%, 0 100%); }
.hero__img--right { clip-path: polygon(60.4% 0, 100% 0, 100% 100%, 40.4% 100%); }
.hero__seam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__seam line { filter: drop-shadow(0 0 6px rgba(232, 97, 60, .7)); }
.hero__seam-h {
  display: none; /* mobile only */
  position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  transform: translateY(-1px); background: var(--gold-light);
  box-shadow: 0 0 9px rgba(232, 97, 60, .75); pointer-events: none;
}
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(36,24,38,.34), rgba(36,24,38,0) 42%, rgba(36,24,38,0) 58%, rgba(36,24,38,.34));
}
.hero__corner { position: absolute; pointer-events: none; }
.hero__corner--tl { top: clamp(74px, 10vh, 110px); left: clamp(18px, 3vw, 40px); }
.hero__corner--br { bottom: clamp(22px, 4vh, 48px); right: clamp(18px, 3vw, 40px); text-align: right; }
.hero__corner-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--paper); opacity: .9; }
.hero__corner-place { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 44px); letter-spacing: 1px; color: var(--paper); line-height: .95; }
/* Both corner labels (Day 1 · Innsbruck and Day 09 · Donostia) in gold with a
   shadow, so they hold up over both the bright alpine and dusk sunset backdrops. */
.hero__corner--tl .hero__corner-label,
.hero__corner--tl .hero__corner-place,
.hero__corner--br .hero__corner-label,
.hero__corner--br .hero__corner-place {
  color: var(--gold-light);
  opacity: 1;
  text-shadow: 0 1px 12px rgba(36, 24, 38, .7);
}
/* Soft dark scrim behind each label — fades to transparent so the text stays
   legible over any backdrop without a hard box overlapping the artwork. */
.hero__corner--tl,
.hero__corner--br {
  padding: 16px 30px;
  background: radial-gradient(ellipse at center, rgba(36,24,38,.72) 0%, rgba(36,24,38,.34) 50%, rgba(36,24,38,0) 82%);
}

.hero__center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.hero__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 62% 68% at 50% 52%, rgba(36,24,38,.6), rgba(36,24,38,0) 72%);
}
.hero__content { position: relative; }
.hero__tagline {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(10px, 1.6vw, 20px);
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(20px, 3.4vw, 40px);
  color: var(--gold-light);
  margin: 0 0 14px;
  text-shadow: 0 1px 14px rgba(36,24,38,.75);
}
.hero__tagline span.rule { height: 1px; width: clamp(24px, 5vw, 64px); background: var(--gold-light); opacity: .8; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(64px, 13vw, 190px);
  line-height: .82; letter-spacing: 2px; margin: 0;
  color: var(--paper);
  text-shadow: 0 2px 34px rgba(36,24,38,.6);
}
.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.6vw, 34px);
  letter-spacing: clamp(2px, .6vw, 6px);
  color: var(--paper);
  margin: 14px 0 0;
  text-shadow: 0 1px 16px rgba(36,24,38,.7);
}
.hero__capture { display: flex; flex-direction: column; gap: 16px; align-items: center; margin-top: 26px; }
.hero__capture-label {
  margin: 0 0 4px; font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 20px); letter-spacing: 3px;
  color: var(--gold-light); text-shadow: 0 1px 12px rgba(36,24,38,.7);
}
.hero__form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.hero__form input {
  width: min(280px, 72vw);
  background: rgba(244,228,209,.12);
  border: 1px solid rgba(244,228,209,.42);
  color: var(--paper);
  font-family: var(--font-body); font-size: 15px; letter-spacing: .5px;
  padding: 15px 18px; outline: none;
}
.hero__form input::placeholder { color: rgba(244,228,209,.62); }
.hero__form input:focus { border-color: var(--gold-light); }
.hero__form button { font-size: 22px; padding: 15px 28px; }
.hero__confirm {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 22px; letter-spacing: 2px;
  color: var(--gold-light); text-shadow: 0 1px 12px rgba(36,24,38,.7);
}
.hero__confirm span.rule { width: 26px; height: 1px; background: var(--gold-light); }
.hero__caption {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--paper); opacity: .9; text-shadow: 0 1px 10px rgba(36,24,38,.7);
}
[hidden] { display: none !important; }

/* discreet dossier link, top-right over the hero */
.hero__dossier {
  position: absolute;
  top: clamp(20px, 3vh, 34px);
  right: clamp(18px, 4vw, 40px);
  z-index: 20;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(36, 24, 38, .85);
  transition: color .2s ease;
}
.hero__dossier:hover { color: var(--paper); }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  border-bottom: 1px solid rgba(42,29,36,.14);
  background: var(--cream);
  overflow: hidden;
  padding: 13px 0;
}
.ticker__track {
  display: flex; width: max-content;
  animation: penta-ticker 42s linear infinite;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ink); opacity: .62;
}
.ticker__track span { padding-right: 28px; }
@keyframes penta-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   THE CHALLENGE
   ========================================================================== */
.challenge {
  position: relative; overflow: hidden;
  padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 64px) 0;
  text-align: center; background: var(--paper); color: var(--ink);
}
.challenge__halftone {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(42,29,36,.05) 1px, transparent 1.4px);
  background-size: 5px 5px;
}
.challenge__flash { position: absolute; inset: 0; pointer-events: none; background: #fff; opacity: 0; z-index: 1; }
.challenge__inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.challenge__watermark {
  position: absolute; top: clamp(-30px, -2vw, -6px); left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: clamp(220px, 38vw, 440px); line-height: 1;
  color: var(--ink); opacity: .05; pointer-events: none; letter-spacing: -.02em; z-index: 0;
}
.challenge__headline {
  position: relative; z-index: 1; margin: 0;
  font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: .06em;
  font-size: clamp(2.1rem, 5.4vw, 3.7rem);
}
.challenge__line { display: block; }
.challenge__line + .challenge__line { margin-top: 0; }
.challenge__line--gold { margin-top: 6px; }
.challenge__inner-text { display: inline-block; opacity: 0; color: var(--ink); will-change: transform, filter; }
.challenge__inner-text--gold { color: var(--gold); font-size: clamp(3rem, 7.8vw, 5.3rem); line-height: .98; }
.challenge__divider {
  width: min(340px, 60%); height: 2px; background: var(--gold);
  margin: clamp(28px, 4vw, 44px) auto; transform: scaleX(0); transform-origin: center;
}
.challenge__subtitle {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(15px, 1.8vw, 19px); line-height: 1.6;
  opacity: 0; color: var(--ink); max-width: 620px; margin: 0 auto;
}
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(2rem, 8vw, 7rem); margin-top: clamp(48px, 7vw, 88px); }
.stats__num { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 4.5rem); line-height: .9; }
.stats__num--cars { color: var(--orange-bright); }
.stats__num--disc { color: var(--gold); }
.stats__num--days { color: var(--accent-hover); }
.stats__label { font-family: var(--font-body); font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(42,29,36,.5); margin-top: 10px; }

.format {
  position: relative; z-index: 2; max-width: 980px;
  margin: clamp(56px, 8vw, 100px) auto 0;
  padding-bottom: clamp(72px, 10vw, 130px);
}
.format__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 5vw, 66px); line-height: .94; letter-spacing: 1px;
  margin: 0 0 22px; color: var(--ink);
}
.format__body { font-size: clamp(15px, 1.8vw, 19px); line-height: 1.68; max-width: 700px; margin: 0 auto; color: var(--ink); }

/* ==========================================================================
   SCHEDULE
   ========================================================================== */
.schedule { padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.schedule__inner { max-width: 1180px; margin: 0 auto; }
.schedule__head { margin-bottom: clamp(30px, 4vw, 52px); }
.schedule__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 7vw, 104px); line-height: .94; letter-spacing: 1px;
  margin: 0; color: var(--ink);
}
.days { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); margin-top: clamp(10px, 2vw, 22px); }

.day {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  align-items: stretch;
  background: var(--cream); border: 1px solid rgba(42,29,36,.16); overflow: hidden;
}
.day--finale { border-left: 4px solid var(--gold); }
.day__media { position: relative; min-height: clamp(260px, 40vw, 420px); background: var(--card-alt); }
.day__media img { width: 100%; height: 100%; min-height: clamp(260px, 40vw, 420px); object-fit: cover; }
.day--rev .day__media { order: 2; }
.day--rev .day__body  { order: 1; }
.day__badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(36,24,38,.82); color: var(--paper);
  font-family: var(--font-display); font-size: 18px; letter-spacing: 2px; padding: 6px 12px;
}
.day__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(28px, 3.6vw, 52px); }
.day__meta { display: flex; align-items: center; gap: 16px; }
.day__num { font-family: var(--font-display); line-height: .75; letter-spacing: 1px; font-size: clamp(40px, 5vw, 66px); color: var(--accent); }
.day--finale .day__num { color: var(--gold); }
.day__eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.day__date { font-size: 12px; letter-spacing: 1px; opacity: .55; margin-top: 4px; }
.day__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 44px); line-height: .94; letter-spacing: 1px; margin: 6px 0 0; color: var(--ink); }
.day__narrative { font-size: clamp(14px, 1.5vw, 16px); line-height: 1.62; opacity: .72; margin: 0; max-width: 560px; }
.day__facts { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 32px); border-top: 1px solid rgba(42,29,36,.14); padding-top: 16px; margin-top: 4px; }
.day__fact { min-width: 110px; }
.day__fact-k { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: .5; }
.day__fact-v { font-size: 13px; font-weight: 600; margin-top: 5px; }

.tag {
  display: inline-block; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 13px; white-space: nowrap;
}
.tag--car     { background: var(--accent); color: var(--paper); }
.tag--fence   { background: var(--purple); color: var(--dusk); }
.tag--golf    { background: var(--teal); color: var(--paper); }
.tag--shoot   { background: var(--accent-hover); color: var(--dusk); }
.tag--poker   { background: var(--gold); color: var(--dusk); }
.tag--start   { border: 1px solid var(--gold); color: var(--gold); }
.tag--transit { border: 1px solid rgba(42,29,36,.35); color: rgba(42,29,36,.6); }
/* discipline tag overlaid on the card image (mobile only; cloned in via JS) */
.day__media-tag { position: absolute; bottom: 14px; right: 14px; display: none; }
/* on the dark image, give the outlined start/transit tags a solid dusk chip */
.day__media-tag.tag--start, .day__media-tag.tag--transit { background: rgba(36,24,38,.72); color: var(--paper); border: none; }

/* ==========================================================================
   PRIZES
   ========================================================================== */
.prizes { padding: clamp(70px, 10vw, 140px) clamp(20px, 5vw, 64px); text-align: center; background: var(--dusk); color: var(--paper); }
.prizes__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 7vw, 104px); line-height: .92; letter-spacing: 1px;
  margin: 0 0 clamp(48px, 7vw, 88px);
}
.prizes__title .gold { color: var(--gold-light); }
.podium { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(20px, 3vw, 40px); max-width: 1300px; margin: 0 auto; }
.prize img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border: 1px solid rgba(244,228,209,.2); }
.prize__pos { margin-top: 16px; font-size: 12px; letter-spacing: 3px; color: var(--gold-light); }
.prize__name { font-family: var(--font-display); letter-spacing: 1px; margin-top: 2px; }
.prize--2 { flex: 1 1 300px; max-width: 440px; }
.prize--2 .prize__name { font-size: clamp(26px, 3.4vw, 40px); }
.prize--1 { flex: 1 1 360px; max-width: 540px; }
.prize--1 img { border: 1px solid var(--gold-light); }
.prize--1 .prize__name { font-size: clamp(30px, 4.2vw, 54px); color: var(--gold-light); }
.prize--3 { flex: 1 1 240px; max-width: 360px; }
.prize--3 .prize__name { font-size: clamp(24px, 3vw, 34px); }

.prizes__divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); max-width: 520px; margin: clamp(56px, 8vw, 88px) auto clamp(28px, 4vw, 44px); }
.prizes__last { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 72px); letter-spacing: 1px; margin: 0; }
.prizes__last-sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(14px, 1.8vw, 19px); opacity: .75; margin: 14px 0 0; }

/* ==========================================================================
   THE NUMBERS / spec table
   ========================================================================== */
.numbers { padding: clamp(70px, 10vw, 140px) clamp(20px, 5vw, 64px); border-top: 1px solid rgba(42,29,36,.14); }
.numbers__inner { max-width: 820px; margin: 0 auto; }
.numbers__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 40px); letter-spacing: 2px;
  border-bottom: 1px solid rgba(42,29,36,.18); padding-bottom: 18px; margin-bottom: 8px; color: var(--ink);
}
.numbers__head .gold { color: var(--gold); }
.numbers__list { margin: 0; font-size: 15px; letter-spacing: .5px; color: var(--ink); }
.numbers__row { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid rgba(42,29,36,.1); }
.numbers__row dt { opacity: .55; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; margin: 0; }
.numbers__row dd { margin: 0; }
.numbers__row--entry dd { color: var(--gold); }
.numbers__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.numbers__cta .btn { flex: 1 1 220px; text-align: center; font-size: 20px; padding: 16px 24px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(36px, 5vw, 56px); background: var(--dusk); color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; max-width: 1300px; margin: 0 auto; }
.footer__brand { font-family: var(--font-display); font-size: 30px; letter-spacing: 3px; color: var(--gold-light); }
.footer__tagline { font-family: var(--font-serif); font-style: italic; font-size: 15px; opacity: .75; margin: 8px 0 0; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.footer__nav a { color: var(--paper); text-decoration: none; opacity: .82; }
.footer__nav a:hover { opacity: 1; }
.footer__nav a.gold { color: var(--gold-light); opacity: 1; }
.footer__contact { font-size: 13px; letter-spacing: 1px; opacity: .85; }
.footer__contact a { color: var(--paper); text-decoration: none; }
.footer__contact a.ig { display: inline-block; margin-bottom: 12px; letter-spacing: 2px; text-transform: uppercase; }
.footer__contact a.mail { color: var(--gold-light); }
.footer__copy { text-align: center; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .5; margin: clamp(40px, 6vw, 64px) 0 0; }

/* ==========================================================================
   REVEAL (scroll animation base state)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.day.reveal { transition: opacity .7s ease, transform .7s ease; }
.prize { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.prize.is-in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   APPLY PAGE
   ========================================================================== */
.apply { min-height: 100vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.apply input, .apply select, .apply textarea { font-family: var(--font-body); }
.apply input::placeholder, .apply textarea::placeholder { color: var(--ink); opacity: .38; }
.apply input:focus, .apply select:focus, .apply textarea:focus { outline: none; border-color: var(--accent) !important; }

.apply__brand {
  position: relative;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(320px, 50vh, 100vh);
  background: linear-gradient(150deg, var(--accent), var(--red) 55%, var(--dusk));
  color: var(--paper); overflow: hidden;
}
.apply__sun {
  position: absolute; top: -14%; left: 50%; transform: translateX(-50%);
  width: min(58%, 320px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--sun), var(--accent-hover) 55%, rgba(242,145,62,0) 72%);
  opacity: .85;
}
.apply__wordmark { position: relative; font-family: var(--font-display); font-size: 26px; letter-spacing: 3px; color: var(--paper); text-decoration: none; }
.apply__brand-mid { position: relative; }
.apply__brand-tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(16px, 2vw, 22px); color: var(--sun); margin: 0 0 18px; }
.apply__brand-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 7vw, 104px); line-height: .9; letter-spacing: 1px; margin: 0; }
.apply__brand-body { font-size: 15px; line-height: 1.8; opacity: .9; max-width: 400px; margin: 24px 0 0; }
.apply__brand-foot { position: relative; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .8; }

.apply__form-wrap { padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 72px); display: flex; align-items: center; }
.apply__form-inner { width: 100%; max-width: 520px; margin: 0 auto; }
.apply__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: .94; letter-spacing: 1px; margin: 0 0 clamp(28px, 4vw, 44px); color: var(--ink); }
.form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field > span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .6; }
.field input, .field textarea, .field select {
  background: transparent; border: none; border-bottom: 1px solid rgba(42,29,36,.28);
  color: var(--ink); font-size: 16px; padding: 10px 0; transition: border-color .2s ease;
}
.field textarea { resize: vertical; }
.field select { cursor: inherit; }
.form button { margin-top: 8px; font-size: 22px; padding: 17px 24px; }
.form__fine { font-size: 12px; line-height: 1.6; opacity: .5; margin: 0; }
.apply__success { border: 1px solid var(--accent); padding: 40px 32px; text-align: center; }
.apply__success-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); letter-spacing: 1px; color: var(--accent); }
.apply__success p { font-size: 15px; line-height: 1.7; opacity: .82; margin: 14px 0 24px; }
.apply__success a { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }

/* ==========================================================================
   MOBILE — portrait composition (per handoff mobile spec)
   Keeps desktop animations; only the layout reflows below 700px.
   ========================================================================== */
@media (max-width: 700px) {
  /* NAV → transparent top bar floating over the full-screen hero */
  .nav {
    position: absolute; top: 0; left: 0; right: 0;
    background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: none; padding: 18px; z-index: 30;
  }
  .nav__brand { font-size: 20px; letter-spacing: 2px; color: var(--gold-light); }
  .nav__links { gap: 0; }
  .nav__links a:not(.nav__apply) { display: none; }
  .nav__apply {
    color: var(--paper) !important; opacity: 1 !important;
    border-color: rgba(244,228,209,.6);
    font-family: var(--font-display); font-size: 15px; letter-spacing: 2px; padding: 6px 14px;
  }
  .nav__apply:hover { background: transparent; color: var(--paper) !important; }

  /* HERO → fills the first screen; ticker pinned to its bottom */
  .hero { display: flex; flex-direction: column; height: 100vh; height: 100svh; }
  .hero__stage { flex: 1 1 auto; height: auto; min-height: 0; }
  .ticker { flex: 0 0 auto; border-top: 1px solid rgba(42,29,36,.14); border-bottom: none; }
  .ticker__track { animation-duration: 34s; font-size: 11px; letter-spacing: 2px; }

  /* clean vertical 50/50 split + horizontal gold seam.
     Each image gets its OWN half-height band (object-fit:cover centered within
     that band) — matches the mock's framing. NOT a full-height image clipped
     to halves, which would over-zoom each scene. */
  .hero__img--left  { clip-path: none; top: 0;   bottom: auto; height: 50%; }
  .hero__img--right { clip-path: none; top: 50%; bottom: auto; height: 50%; }
  .hero__seam { display: none; }
  .hero__seam-h { display: block; }
  .hero__scrim { display: none; }
  .hero__vignette { background: radial-gradient(ellipse 82% 58% at 50% 50%, rgba(36,24,38,.66), rgba(36,24,38,.14) 78%); }

  .hero__tagline { font-size: 16px; gap: 10px; margin-bottom: 10px; }
  .hero__tagline span.rule { width: 22px; }
  .hero__title { font-size: clamp(56px, 19vw, 84px); line-height: .8; letter-spacing: 1px; }
  .hero__subtitle { font-size: 15px; letter-spacing: 2px; margin-top: 12px; }
  .hero__capture { margin-top: 22px; width: 100%; }
  .hero__capture-label { font-size: 14px; letter-spacing: 2px; }
  .hero__form { flex-direction: column; gap: 9px; width: 100%; max-width: 280px; }
  .hero__form input { width: 100%; font-size: 15px; padding: 13px 16px; }
  .hero__form button { width: 100%; font-size: 20px; padding: 13px; }
  .hero__confirm { font-size: 19px; }
  .hero__caption { font-size: 10px; }
  .hero__corner--tl { top: 88px; left: 18px; }
  .hero__corner--br { bottom: 56px; right: 18px; }
  .hero__corner-label { font-size: 9px; letter-spacing: 2px; }
  .hero__corner-place { font-size: 24px; }

  /* SCHEDULE → single column, tag on the image, no oversized number */
  .day__num { display: none; }
  .day__media { min-height: 0; height: 190px; }
  .day__media img { min-height: 0; height: 190px; }
  .day__media-tag { display: inline-block; }
  .day__body { padding: 20px; gap: 8px; }
  .day__body > div:last-child { display: none; } /* hide in-body tag (moved to image) */

  /* PRIZES → P1 featured full width, P2 + P3 as a two-up row beneath */
  .podium { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; align-items: start; }
  .prize { max-width: none; }
  .prize--1 { grid-column: 1 / -1; order: -1; }
  .prize--1 .prize__name { font-size: 38px; }
  .prize--2 .prize__name, .prize--3 .prize__name { font-size: 22px; }

  /* NUMBERS → keep values right-aligned when they wrap */
  .numbers__row dd { text-align: right; }
}

/* ==========================================================================
   REDUCED MOTION — show final states, kill entrance motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .reveal, .prize { opacity: 1 !important; transform: none !important; transition: none !important; }
  .challenge__inner-text { opacity: 1 !important; transform: none !important; filter: none !important; }
  .challenge__divider { transform: scaleX(1) !important; }
  .challenge__subtitle { opacity: 1 !important; }
}
