:root {
  --night: #021334;
  --night-2: #0a2350;
  --sun: #f2a21e;
  --sun-hi: #ffc24d;
  --cream: #fbf4e6;
  --cream-2: #f4e8d0;
  --ink: #0b1b33;
  --slate: #4c5a70;
  --line: rgba(11, 27, 51, .14);
  --line-light: rgba(255, 255, 255, .16);
  --text-light: rgba(255, 255, 255, .8);
  --display: 'Bricolage Grotesque', 'Segoe UI', Arial, sans-serif;
  --body: 'Figtree', 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(20px, 5vw, 72px);
  /* How long the hero waits for the dawn intro. 0 when the intro doesn't play. */
  --intro: 0s;
}
.has-intro { --intro: 2.25s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
main, footer { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; border: 0; }
ul, ol { list-style: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
::selection { background: var(--sun-hi); color: var(--ink); }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 200; left: 8px; top: 8px; padding: 10px 16px; background: #fff; color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.022em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(36px, 5vw, 66px); }
.eyebrow { margin-bottom: 14px; font-weight: 700; font-size: 16px; color: #b0680a; }
.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; }
.fine { font-size: 15.5px; color: var(--slate); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 100px; font-weight: 700; font-size: 18px; transition: transform .3s var(--ease), box-shadow .4s ease, background .3s, color .3s; }
.btn svg { transition: transform .3s var(--ease); }
.btn-sun { background: var(--sun); color: var(--night); box-shadow: 0 8px 30px rgba(242, 162, 30, .32); }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.btn-night { background: var(--night); color: #fff; }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 16px; box-shadow: none; }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .btn-sun:hover { background: var(--sun-hi); box-shadow: 0 10px 40px rgba(255, 194, 77, .5); }
  .btn:hover svg { transform: translateX(3px); }
  .btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
  .btn-line:hover svg { transform: none; }
}

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: var(--gutter); color: #fff; transition: height .4s var(--ease); }
/* Blur on ::before: a filter on the header itself would capture the fixed menu. */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(2, 19, 52, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s ease; }
.site-header.is-stuck { height: 64px; }
.site-header.is-stuck::before { opacity: 1; }
.brand { justify-self: start; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.05; letter-spacing: -.01em; }
.brand-mark { width: 44px; height: 33px; stroke: none; color: #fff; }
.brand small { display: block; font: 500 12.5px var(--body); letter-spacing: 0; color: var(--text-light); margin-top: 2px; }
.nav-links { display: flex; gap: 28px; font-size: 16px; font-weight: 500; }
.nav-links a { position: relative; padding-block: 6px; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
@media (hover: hover) { .nav-links a:hover::after { transform: scaleX(1); } }
.header-end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded='true'] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 90px var(--gutter) 40px; background: var(--night); color: #fff; clip-path: circle(0 at 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s; }
.menu.is-open { clip-path: circle(150% at 100% 0); visibility: visible; transition: clip-path .7s var(--ease); }
.menu a { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1.3; letter-spacing: -.02em; }
.menu-apply { color: var(--sun); margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { --art: max(100vw, 660px); --horizon: 42svh; position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; color: #fff; background: linear-gradient(180deg, #01060f 0%, #020b20 28%, #0b1e45 calc(var(--horizon) + 2%), var(--night) calc(var(--horizon) + 3%)); }
.stars { position: absolute; inset: 0 0 50%; opacity: .75; background-image: radial-gradient(1.2px 1.2px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 24% 58%, #fff, transparent), radial-gradient(1.4px 1.4px at 38% 14%, #fff, transparent), radial-gradient(1px 1px at 8% 70%, #cfe0ff, transparent), radial-gradient(1.2px 1.2px at 88% 26%, #fff, transparent), radial-gradient(1px 1px at 72% 12%, #cfe0ff, transparent), radial-gradient(1.3px 1.3px at 94% 62%, #fff, transparent), radial-gradient(1px 1px at 62% 34%, #fff, transparent); }
.js .stars { animation: stars-out 3s ease calc(var(--intro) + 1s) forwards; }
@keyframes stars-out { to { opacity: .22; } }

/* The stage keeps the sun and hood in the supplied art's proportions at every width. */
.dawn { position: absolute; left: 50%; top: calc(var(--horizon) - var(--art) * .326); width: var(--art); height: calc(var(--art) * 1.2); margin-left: calc(var(--art) / -2); pointer-events: none; }
.dawn-glow { position: absolute; left: 50%; top: 2%; width: 74%; aspect-ratio: 1.3; margin-left: -37%; background: radial-gradient(closest-side, rgba(255, 170, 40, .5), rgba(255, 150, 30, .16) 55%, transparent); }
.dawn-sun { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; transform-origin: 50% 100%; }
.dawn-hood { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; fill: revert; stroke: none; }
.dawn-sun { transform: scale(.8); }
.js .dawn-sun { transform: translateY(46%) scale(.8); animation: sunrise 2.6s cubic-bezier(.16, .84, .3, 1) calc(var(--intro) + .15s) forwards; }
.js .dawn-glow { opacity: 0; animation: glow-in 2.6s ease calc(var(--intro) + .3s) forwards; }
.js .dawn-rim { opacity: 0; animation: glow-in 1.8s ease calc(var(--intro) + 1s) forwards; }
@keyframes sunrise { to { transform: scale(.8); } }
@keyframes glow-in { to { opacity: 1; } }

.hero-body { position: relative; z-index: 2; margin-top: calc(var(--horizon) + var(--art) * .058); padding: 0 var(--gutter) clamp(30px, 6vh, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-kicker { font-weight: 600; font-size: 16px; color: var(--sun-hi); }
h1 { max-width: 15em; margin-top: 10px; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
h1 .ln > span { display: block; }
h1 b { font-weight: 800; color: var(--sun-hi); }
.hero-copy { max-width: 34em; margin-top: 16px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--text-light); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* Text waits for the sun: it should feel like the light uncovers it. */
.js .hero h1 .ln > span { transform: translateY(108%); animation: rise-in 1.1s var(--ease) calc(var(--intro) + 1.1s) forwards; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: calc(var(--intro) + 1.25s); }
.js .hero-kicker, .js .hero-copy, .js .hero-actions { opacity: 0; animation: fade-in .9s ease calc(var(--intro) + 1.6s) forwards; }
@keyframes rise-in { to { transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- Intro: the mark builds itself, gets buffed, hands off to the sunrise ----------
   Only exists while the head script's .intro-play is on <html>. app.js removes it on a timer,
   because a frozen animation clock (background tab, embedded preview) must never strand it. */
.intro { display: none; }
.intro-play body { overflow: hidden; }
.intro-play .intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; cursor: pointer; color: #fff; text-align: center;
  background: radial-gradient(60% 45% at 50% 62%, rgba(242, 162, 30, .16), transparent 70%), linear-gradient(180deg, #01060f, #020b20 55%, var(--night));
  animation: intro-out .65s ease 2.3s both; }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.intro-stage { display: grid; justify-items: center; animation: intro-stage-out .65s var(--ease) 2.3s both; }
@keyframes intro-stage-out { to { transform: translateY(-18px) scale(1.04); } }
.intro-mark { width: clamp(150px, 22vw, 240px); height: auto; aspect-ratio: 64 / 48; overflow: visible; fill: none; stroke: none; }
/* the hood pinstripe draws itself first */
.intro-hood { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw .85s cubic-bezier(.55, 0, .3, 1) .15s forwards; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
/* sun climbs out from behind it */
.intro-sun { fill: var(--sun); transform: translateY(17px); animation: intro-rise 1s cubic-bezier(.2, .8, .2, 1) .6s forwards; }
@keyframes intro-rise { to { transform: none; } }
.intro-rays path { stroke: var(--sun); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw .45s var(--ease) calc(1.05s + var(--i) * .07s) forwards; }
/* buffing pass: a short bright glint runs the length of the hood */
.intro-glint { stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: .1 1.4; stroke-dashoffset: .12; opacity: 0; filter: drop-shadow(0 0 2px #ffc24d) drop-shadow(0 0 5px rgba(255, 194, 77, .8)); animation: intro-buff .8s cubic-bezier(.45, 0, .3, 1) 1.15s forwards; }
@keyframes intro-buff { 0% { opacity: 1; } 85% { opacity: 1; } to { stroke-dashoffset: -1; opacity: 0; } }
.intro-word { display: flex; justify-content: center; overflow: hidden; margin-top: clamp(14px, 2.4vh, 24px); padding-bottom: .08em; font-family: var(--display); font-weight: 800; font-size: clamp(50px, 9.5vw, 112px); line-height: 1; letter-spacing: -.03em; }
.intro-word span { display: block; transform: translateY(110%);
  /* each letter carries the same polish band, offset by its index, so the shine reads as one sweep */
  background: linear-gradient(100deg, #fff 0 42%, #ffe3a6 47%, #fff8e8 50%, #ffc24d 53%, #fff 58%) 100% 0 / 340% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: intro-letter .7s var(--ease) calc(.95s + var(--i) * .045s) forwards, intro-polish .9s ease-in-out calc(1.6s + var(--i) * .05s) forwards; }
.intro-word .intro-gap { width: .26em; transform: none; animation: none; }
@keyframes intro-letter { to { transform: none; } }
@keyframes intro-polish { from { background-position: 100% 0; } to { background-position: 0 0; } }
.intro-sub { margin-top: 14px; font-weight: 600; font-size: clamp(15px, 1.4vw, 18px); color: var(--sun-hi); opacity: 0; animation: fade-in .7s ease 1.55s forwards; }

/* ---------- Reveal: hidden states exist only once JS can undo them ---------- */
.js [data-rv] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform 1s var(--ease); }
.js [data-rv].in { opacity: 1; transform: none; }
.js [data-rv='wipe'] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
.js [data-rv='wipe'].in { clip-path: inset(0); }

/* ---------- Deal ---------- */
.deal { background: var(--night); color: #fff; padding-block: clamp(20px, 3vw, 40px) clamp(64px, 8vw, 110px); }
.deal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); }
.deal-item { padding: 26px 24px 4px 0; }
.deal-item + .deal-item { padding-left: 24px; border-left: 1px solid var(--line-light); }
.deal-item:nth-child(2) { transition-delay: .08s; } .deal-item:nth-child(3) { transition-delay: .16s; } .deal-item:nth-child(4) { transition-delay: .24s; }
.deal-item b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.4vw, 72px); line-height: 1; letter-spacing: -.03em; color: var(--sun-hi); font-variant-numeric: tabular-nums; }
.deal-item span { display: block; margin-top: 10px; color: var(--text-light); font-size: 17px; line-height: 1.35; }

/* ---------- Fair chance ---------- */
.fair { background: var(--night); color: #fff; padding-block: clamp(40px, 6vw, 80px) clamp(90px, 11vw, 150px); }
.fair .eyebrow { color: var(--sun-hi); }
.fair-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 90px); align-items: end; }
.fair h2 { font-size: clamp(42px, 6.4vw, 88px); }
.fair-copy p + p { margin-top: 18px; color: var(--text-light); }

/* ---------- Scroll sunrise ---------- */
.path { position: relative; height: 420vh; background: var(--cream); }
.path-pin { --sky-top: #03102c; --sky-low: #0f2a63; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--sky-top), var(--sky-low) 74%); }
.path-sun { --size: clamp(300px, 34vw, 520px); position: absolute; left: 50%; top: 0; width: var(--size); height: var(--size); margin-left: calc(var(--size) / -2); will-change: transform; }
.path-sun i { position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1; margin: -130% 0 0 -130%; background: radial-gradient(closest-side, rgba(255, 196, 96, .5), rgba(255, 180, 70, .14) 56%, transparent); }
.path-disc { position: relative; display: block; width: 100%; height: 100%; fill: revert; stroke: none; overflow: visible; }
.path-disc circle { fill: #ffc24d; }
.path-rays { fill: #f2a21e; transform-origin: 50% 50%; transform-box: fill-box; animation: rays-turn 90s linear infinite; }
@keyframes rays-turn { to { transform: rotate(360deg); } }
.path-land { position: absolute; left: 0; bottom: 0; width: 100%; height: 36vh; min-height: 250px; fill: none; stroke: none; }
.path-land path { fill: var(--land, #021334); }
.path-readout { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: 96px; display: flex; justify-content: space-between; gap: 20px; }
.path-readout span { display: block; font-weight: 600; font-size: 16px; }
.path-readout b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.path-readout div { padding: 12px 18px 14px; border-radius: 16px; color: #fff; background: rgba(2, 19, 52, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.path-readout div:last-child { text-align: right; }
.path-cards { position: absolute; z-index: 2; left: 50%; bottom: clamp(20px, 4vh, 44px); width: min(100% - var(--gutter) * 2, 720px); transform: translateX(-50%); display: grid; }
.phase { grid-area: 1 / 1; padding: clamp(20px, 2.6vw, 30px); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 18px 50px rgba(2, 19, 52, .3); opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .5s ease, transform .6s var(--ease), visibility 0s .5s; }
.phase.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease .1s, transform .6s var(--ease) .1s; }
.phase-weeks { font-weight: 700; font-size: 16px; color: #b0680a; }
.phase h3 { margin-top: 4px; font-size: clamp(25px, 3vw, 36px); }
.phase > p:last-child { margin-top: 8px; color: var(--slate); font-size: 17px; line-height: 1.45; }
.path-note { position: absolute; left: 0; right: 0; bottom: 16px; padding-inline: var(--gutter); text-align: center; font-size: 15px; color: var(--slate); }
.path { padding-bottom: 54px; }

/* ---------- Pay ---------- */
.pay { padding-block: clamp(70px, 9vw, 120px); }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.pay .lede { margin-top: 16px; color: var(--slate); }
.week-facts { margin-top: 28px; }
.week-facts div { display: flex; justify-content: space-between; gap: 20px; padding-block: 13px; border-top: 1px solid var(--line); }
.week-facts dt { color: var(--slate); }
.week-facts dd { font-weight: 600; text-align: right; }
.promises { display: grid; gap: 12px; }
.promises li { display: flex; gap: 14px; padding: 20px 22px; border-radius: 16px; background: #fff; }
.promises svg { margin-top: 3px; color: #b0680a; stroke-width: 2.6; }
.promises li:nth-child(2) { transition-delay: .06s; } .promises li:nth-child(3) { transition-delay: .12s; } .promises li:nth-child(4) { transition-delay: .18s; } .promises li:nth-child(5) { transition-delay: .24s; }
.promises b { font-weight: 700; }

/* ---------- Shop ---------- */
.shop { padding-block: clamp(40px, 5vw, 70px) clamp(70px, 9vw, 120px); }
.shop-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px 40px; align-items: end; margin-bottom: 30px; }
.shop-head > p { color: var(--slate); }
.shop-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 12px; height: clamp(320px, 42vw, 560px); }
.shop-grid figure { overflow: hidden; border-radius: 16px; }
.shop-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.shop-a img { object-position: 50% 60%; }
.shop-b img { object-position: 42% 62%; }
@media (hover: hover) { .shop-grid figure:hover img { transform: scale(1.04); } }

/* ---------- Credentials ---------- */
.creds { padding-block: clamp(60px, 8vw, 100px); background: var(--cream-2); }
.creds-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 80px); }
.cred-list { counter-reset: cred; }
.cred-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 12px; padding-block: 18px; border-top: 1px solid var(--line); counter-increment: cred; }
.cred-list li::before { content: counter(cred, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; color: #b0680a; }
.cred-list b { font-weight: 700; font-size: 20px; line-height: 1.3; }
.cred-list span { color: var(--slate); }
.creds .fine { margin-top: 14px; }

/* ---------- FAQ ---------- */
.answers { padding-block: clamp(70px, 9vw, 120px); }
.answers-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 80px); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { position: relative; list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-weight: 600; font-size: 20px; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary i { position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
summary i::before, summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: #b0680a; transition: transform .4s var(--ease); }
summary i::after { transform: rotate(90deg); }
details.is-open summary i::after { transform: rotate(0); }
.faq-body { overflow: hidden; }
.faq-body p { padding-bottom: 20px; max-width: 38em; color: var(--slate); }

/* ---------- Apply ---------- */
.apply { padding-block: clamp(70px, 9vw, 120px); background: linear-gradient(180deg, #ffd27a, var(--sun)); }
.apply .eyebrow { color: var(--night); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.apply .lede { margin-top: 16px; }
.count { margin-top: 26px; }
.count > p { font-weight: 600; }
.count-cells { display: flex; gap: 10px; margin-top: 8px; }
.count-cells div { flex: 0 1 92px; min-width: 0; padding: 10px 14px; border-radius: 12px; background: var(--night); color: #fff; text-align: center; }
.count-cells b { display: block; font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.count-cells span { font-size: 14px; color: var(--text-light); }
.count.is-closed .count-cells { display: none; }
.dates { margin-top: 22px; }
.dates li { display: flex; justify-content: space-between; gap: 20px; padding-block: 10px; border-top: 1px solid rgba(2, 19, 52, .22); }
.dates b { font-weight: 700; text-align: right; }

.stepper, .application-fallback { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(120, 66, 0, .28); }
.application-fallback p + p { margin-top: 16px; }
.application-fallback a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.step-bar { height: 5px; border-radius: 5px; background: var(--cream-2); overflow: hidden; }
.step-bar i { display: block; height: 100%; width: 33.34%; border-radius: 5px; background: var(--sun); transition: width .6s var(--ease); }
.step-count { margin-top: 14px; font-weight: 600; font-size: 15.5px; color: var(--slate); }
.stepper legend { margin-bottom: 14px; padding: 0; font-family: var(--display); font-weight: 800; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.02em; line-height: 1.08; }
.step { display: none; margin-top: 6px; }
.step.is-on { display: block; animation: step-in .55s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(22px); } }
.stepper.go-back .step.is-on { animation-name: step-back; }
@keyframes step-back { from { opacity: 0; transform: translateX(-22px); } }
.step input:not([type='checkbox']), .step textarea { display: block; width: 100%; min-height: 58px; padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-size: 19px; transition: border-color .25s, box-shadow .25s; }
.step textarea { font-size: 17px; resize: vertical; }
.step input:focus, .step textarea:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(242, 162, 30, .2); }
.step ::placeholder { color: #7a8596; }
.tick { display: flex; gap: 12px; align-items: flex-start; padding: 15px 16px; border: 2px solid var(--line); border-radius: 12px; font-weight: 600; cursor: pointer; }
.tick input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--night); flex-shrink: 0; }
.note-label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: 16.5px; }
.note-label small { font-weight: 400; font-size: 15px; color: var(--slate); }
.step-error { min-height: 1.6em; margin-top: 8px; font-weight: 600; font-size: 16px; color: #a3280f; }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.step-actions .btn { margin-left: auto; }
.step-back { padding: 10px 4px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.step-alt { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--slate); }
.step-alt a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Sponsor ---------- */
.sponsor { padding-block: clamp(80px, 10vw, 130px); background: var(--night); color: #fff; }
.sponsor .eyebrow { color: var(--sun-hi); }
.sponsor-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 80px); align-items: end; }
.sponsor .lede { color: var(--text-light); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 40px 24px; background: var(--night); color: #fff; border-top: 1px solid var(--line-light); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.footer-brand small { display: block; font: 400 14.5px var(--body); color: var(--text-light); }
.footer-top ul { display: grid; gap: 6px; color: var(--text-light); font-size: 16px; }
.footer-top li { display: flex; align-items: center; gap: 8px; }
.footer-top li svg { width: 18px; height: 18px; color: var(--sun); }
.legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-light); font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .66); }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 16px; font-size: 14.5px; color: rgba(255, 255, 255, .66); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

.apply-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 860px) {
  .fair-grid, .pay-grid, .creds-grid, .answers-grid, .apply-grid, .sponsor-grid, .shop-head { grid-template-columns: minmax(0, 1fr); }
  .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .deal-item:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 18px; }
  .shop-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 60vw 44vw; height: auto; }
  .shop-a { grid-column: 1 / -1; }
  .js [data-rv='wipe'] { clip-path: none; opacity: 0; transition: opacity 1s ease; }
  .js [data-rv='wipe'].in { opacity: 1; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .hero { --horizon: 27svh; }
  .brand { font-size: 18px; }
  .btn { min-height: 56px; }
  .site-header .btn { display: none; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .path-readout { top: 80px; }
  /* Clears the fixed apply bar, which would otherwise cover the end of the phase text. */
  .path-cards { bottom: calc(82px + env(safe-area-inset-bottom)); }
  .path-land { height: 30vh; }
  .phase > p:last-child { font-size: 16px; }
  .apply-bar { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: block; padding: 15px; border-radius: 100px; background: var(--sun); color: var(--night); text-align: center; font-weight: 700; box-shadow: 0 10px 30px rgba(2, 19, 52, .4); transform: translateY(170%); transition: transform .5s var(--ease); }
  .apply-bar.is-up { transform: none; }
  .site-footer { padding-bottom: 92px; }
}
/* Keep every training phase and a contact route available without JavaScript. */
html:not(.js) .path { height: auto; padding-block: clamp(60px, 8vw, 100px) 32px; }
html:not(.js) .path-pin { position: static; height: auto; overflow: visible; background: none; color: var(--ink); }
html:not(.js) .path-sun, html:not(.js) .path-land, html:not(.js) .path-readout > div { display: none; }
html:not(.js) .path-readout { position: static; display: block; width: min(100% - var(--gutter) * 2, 720px); margin: 0 auto 24px; }
html:not(.js) .path-readout .sr-only { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; }
html:not(.js) .path-cards { position: static; margin-inline: auto; transform: none; gap: 16px; }
html:not(.js) .phase { grid-area: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
html:not(.js) .path-note { position: static; margin-top: 20px; }
html:not(.js) .stepper { display: none; }

@media print {
  .js [data-rv] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .site-header, .apply-bar { display: none; }
  .path { height: auto; padding-block: 24px; }
  .path-pin { position: static; height: auto; overflow: visible; background: none; color: #000; }
  .path-sun, .path-land, .path-readout > div { display: none; }
  .path-readout { position: static; display: block; width: min(100% - var(--gutter) * 2, 720px); margin: 0 auto 16px; }
  .path-readout .sr-only { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal; font-size: 28px; }
  .path-cards { position: static; margin-inline: auto; transform: none; gap: 16px; }
  .phase { grid-area: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .path-note { position: static; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
