:root {
  --navy: #0b1b2b;
  --navy-2: #12283d;
  --ice: #eaf3f8;
  --ice-2: #d5e7f1;
  --glacier: #7fd1ff;
  --red: #d7263d;
  --red-2: #bd1f34;
  --green: #1f9d6b;
  --ink: #0b1b2b;
  --body: #2b3b4b;
  --muted: #5b6b7b;
  --line: #dbe6ee;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.display { font-family: "Barlow Condensed", Impact, sans-serif; text-transform: uppercase; letter-spacing: .01em; line-height: .95; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
section { padding: 100px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(40px, 5.5vw, 66px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.dark { background: var(--navy); color: #fff; }
.dark .section-head p { color: rgba(255,255,255,.72); }
.dark .eyebrow { color: var(--glacier); }
.ice { background: var(--ice); }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* Nav */
header.nav { position: absolute; inset: 0 0 auto 0; z-index: 20; }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 40px; height: 40px; border: 2px solid #fff; border-radius: 6px; display: grid; place-items: center; font-family: "Barlow Condensed"; font-weight: 800; font-size: 17px; }
.brand-name { font-family: "Barlow Condensed"; font-weight: 700; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 14px; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }
.nav-links .nav-cta { background: var(--red); color: #fff; padding: 9px 14px; border-radius: 6px; border: 0; }
.menu-btn { display: none; background: none; border: 1.5px solid rgba(255,255,255,.4); color: #fff; border-radius: 6px; padding: 8px 12px; font: 600 14px Inter, sans-serif; cursor: pointer; }

/* Heroes */
.hero, .page-hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero { padding: 176px 0 120px; }
.page-hero { padding: 150px 0 72px; }
.hero-bg { position: absolute; inset: 0; background: url("img/mountains.jpg") center 30% / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,27,43,.96) 0%, rgba(11,27,43,.86) 42%, rgba(11,27,43,.35) 100%), linear-gradient(0deg, rgba(11,27,43,.9) 0%, transparent 40%); }
.page-hero .hero-bg::after { background: linear-gradient(100deg, rgba(11,27,43,.97) 0%, rgba(11,27,43,.88) 55%, rgba(11,27,43,.55) 100%); }
.hero .wrap, .page-hero .wrap { position: relative; }
.hero h1 { font-size: clamp(58px, 9vw, 118px); max-width: 11ch; }
.page-hero h1 { font-size: clamp(48px, 7vw, 92px); max-width: 14ch; }
.hero h1 span, .page-hero h1 span { color: var(--glacier); }
.hero p.lead, .page-hero p.lead { font-size: 19px; color: rgba(255,255,255,.82); max-width: 600px; margin: 24px 0 32px; }
.page-hero p.lead { margin-bottom: 0; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--glacier); }
.next-race { margin-top: 52px; display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 14px 18px; text-decoration: none; }
.next-race .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(215,38,61,.25); flex: none; }
.next-race b { font-family: "Barlow Condensed"; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.next-race span { color: rgba(255,255,255,.75); font-size: 14px; }

/* Athlete */
.athlete-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.athlete-photo { position: relative; border-radius: 14px; overflow: hidden; background: var(--navy); min-height: 520px; }
.athlete-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.athlete-photo .badge { position: absolute; left: 20px; bottom: 20px; right: 20px; color: #fff; z-index: 1; isolation: isolate; }
.athlete-photo .badge::before { content: ""; position: absolute; inset: -120px -20px -20px; background: linear-gradient(0deg, rgba(11,27,43,.95) 35%, transparent); z-index: -1; }
.athlete-photo .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--red); padding: 6px 10px; border-radius: 4px; }
.athlete-photo h3 { font-size: 64px; margin: 12px 0 4px; }
.athlete-photo p { margin: 0; color: var(--glacier); font-weight: 600; }
.athlete-info h2, .athlete-info h3 { font-size: 44px; margin-bottom: 18px; }
.athlete-info > p { font-size: 17px; color: var(--body); margin: 0 0 24px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.stat b { display: block; font-family: "Barlow Condensed"; font-size: 34px; line-height: 1; font-weight: 700; color: var(--navy); }
.stat span { font-size: 13px; color: var(--muted); }
.reach { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.reach div { background: var(--navy); color: #fff; padding: 16px 12px; text-align: center; }
.reach b { display: block; font-family: "Barlow Condensed"; font-size: 30px; line-height: 1; color: var(--glacier); }
.reach span { font-size: 12px; color: rgba(255,255,255,.75); }
.athlete-info .ctas { margin-top: 28px; }

/* Story */
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--ice-2); }
.timeline li { position: relative; padding: 0 0 30px 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.timeline li.big::before { background: var(--red); border-color: var(--red); }
.timeline .when { font-family: "Barlow Condensed"; font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.timeline h4 { margin: 2px 0 6px; font-size: 19px; }
.timeline p { margin: 0; color: var(--body); font-size: 15.5px; }
.story-side { position: sticky; top: 24px; display: grid; gap: 16px; }
.story-side .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story-side .photos img { border-radius: 10px; width: 100%; height: 260px; object-fit: cover; }
.pull { background: var(--navy); color: #fff; border-radius: 12px; padding: 28px; }
.pull q { display: block; font-family: "Barlow Condensed"; font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.pull cite { display: block; margin-top: 12px; font-style: normal; color: var(--glacier); font-size: 14px; }

/* Budget */
.budget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.budget-grid h2 { font-size: clamp(40px, 5.5vw, 66px); }
.budget-note { color: rgba(255,255,255,.72); font-size: 18px; margin: 20px 0 0; }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.total { background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 22px; }
.total b { display: block; font-family: "Barlow Condensed"; font-size: 52px; line-height: 1; }
.total span { color: rgba(255,255,255,.7); font-size: 14px; }
.total.hl { border-color: var(--glacier); box-shadow: 0 0 0 1px var(--glacier) inset; }
.total.hl b { color: var(--glacier); }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 80px; gap: 14px; align-items: center; font-size: 15px; }
.bar-row .track { height: 12px; background: rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; }
.bar-row .fill { height: 100%; background: var(--glacier); border-radius: 6px; }
.bar-row .amt { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-row .label { color: rgba(255,255,255,.85); }

/* Registry */
.reg-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.progress { flex: 1; min-width: 280px; max-width: 520px; }
.progress .meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.progress .meta b { color: var(--ink); }
.progress .track { height: 14px; background: var(--ice-2); border-radius: 7px; overflow: hidden; }
.progress .fill { height: 100%; background: linear-gradient(90deg, var(--green), #3cc48d); border-radius: 7px; transition: width .8s ease; }
.reg-filter { display: flex; gap: 8px; }
.reg-filter button { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.reg-filter button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.reg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reg-group { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.reg-group h4 { font-family: "Barlow Condensed"; text-transform: uppercase; font-size: 22px; margin: 0; line-height: 1.05; }
.reg-group .when { font-size: 13px; color: var(--muted); margin: 2px 0 12px; }
.item { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.item .check { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--line); margin-top: 1px; display: grid; place-items: center; }
.item.done .check { background: var(--green); border-color: var(--green); }
.item.done .check::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.item .name { font-size: 15px; font-weight: 500; }
.item .by { display: block; font-size: 13px; color: var(--green); font-weight: 600; }
.item .price { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 15px; text-align: right; }
.item .sponsor-btn { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--red); text-decoration: none; }
.item .sponsor-btn:hover { text-decoration: underline; }
.item.done .name { color: var(--muted); }
.reg-group.hidden, .item.hidden { display: none; }
.reg-cta { margin-top: 28px; background: var(--ice); border-radius: 12px; padding: 24px 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.reg-cta p { margin: 0; color: var(--body); max-width: 640px; }

/* Sponsor logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 144px; display: grid; place-items: center; padding: 18px 22px; text-decoration: none; position: relative; transition: border-color .15s, transform .15s; }
a.logo-tile:hover { border-color: var(--navy); transform: translateY(-2px); }
.logo-tile img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; }
.logo-tile .wordmark { font-family: "Barlow Condensed"; font-weight: 700; font-size: 24px; line-height: 1.05; text-transform: uppercase; text-align: center; color: var(--navy); letter-spacing: .02em; }
.logo-tile .wordmark small { display: block; font-family: Inter, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); margin-top: 6px; }
.logo-tile .gave { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); }
.logo-tile.has-gave img { margin-bottom: 22px; max-height: 66px; }
.logo-tile.has-gave .wordmark { margin-bottom: 16px; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 34px 44px; }
.logo-strip img { height: 52px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-strip img:hover { filter: none; opacity: 1; }
.logo-strip .wordmark { font-family: "Barlow Condensed"; font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--muted); }

/* Schedule */
.schedule { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.race { background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 20px; position: relative; }
.race.next { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.race.past { opacity: .5; }
.race .wc { font-family: "Barlow Condensed"; font-weight: 700; color: var(--glacier); letter-spacing: .08em; font-size: 15px; }
.race .date { font-family: "Barlow Condensed"; font-size: 30px; line-height: 1; text-transform: uppercase; margin: 6px 0 4px; }
.race .venue { font-size: 15px; color: rgba(255,255,255,.85); }
.race .events { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; }
.race .need { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--glacier); text-decoration: none; }
.race .need:hover { text-decoration: underline; }
.race .pill { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--red); padding: 4px 8px; border-radius: 4px; }
.sched-note { color: rgba(255,255,255,.6); font-size: 14px; margin-top: 22px; }
.extra-events { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }

/* Services / partner */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { border: 1px solid var(--line); border-radius: 12px; padding: 28px; background: #fff; }
.service .num { font-family: "Barlow Condensed"; font-weight: 700; color: var(--red); font-size: 18px; }
.service h4 { font-family: "Barlow Condensed"; text-transform: uppercase; font-size: 26px; margin: 10px 0 10px; line-height: 1; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy) inset; }
.tier h4 { font-family: "Barlow Condensed"; text-transform: uppercase; font-size: 30px; margin: 0 0 6px; line-height: 1; }
.tier .for { color: var(--red); font-size: 14px; font-weight: 600; margin: 0 0 18px; }
.tier ul { margin: 0; padding: 0; list-style: none; flex: 1; }
.tier li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--body); }
.speaking { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--navy); color: #fff; border-radius: 14px; padding: 36px; }
.speaking h3 { font-size: 42px; }
.speaking p { color: rgba(255,255,255,.78); margin: 14px 0 0; }
.speaking ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.speaking li { padding-left: 26px; position: relative; color: rgba(255,255,255,.88); }
.speaking li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--glacier); }

/* Teaser cards (home) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; background: #fff; transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: var(--navy); }
.card .pic { height: 200px; background: var(--navy) center / cover no-repeat; }
.card .body { padding: 24px; }
.card h3 { font-family: "Barlow Condensed"; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .go { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--red); font-size: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; text-decoration: none; display: block; transition: border-color .15s; }
a.contact-item:hover { border-color: var(--navy); }
.contact-item h4 { margin: 0 0 4px; font-family: "Barlow Condensed"; text-transform: uppercase; font-size: 24px; }
.contact-item p { margin: 0; color: var(--muted); font-size: 15px; }
.big-email { font-family: "Barlow Condensed"; font-size: clamp(24px, 3.4vw, 38px); font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 3px solid var(--red); word-break: break-all; }

/* CTA band + footer */
.cta-band { background: var(--red); color: #fff; padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(34px, 4.5vw, 52px); max-width: 18ch; }
.cta-band .btn { background: #fff; color: var(--red); }
footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 48px 0 32px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h5 { margin: 0 0 12px; color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: rgba(255,255,255,.8); text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-logo { width: 170px; margin-top: 16px; background: #fff; border-radius: 10px; padding: 10px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .athlete-grid, .story-grid, .budget-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-side { position: static; }
  .reg-grid, .schedule, .services-grid, .cards { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .tiers, .speaking { grid-template-columns: 1fr; }
  .menu-btn { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 72px; right: 16px; left: 16px; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-bottom: 0; border-radius: 8px; font-size: 16px; }
  .nav-links a[aria-current="page"] { background: rgba(255,255,255,.08); }
  .nav-links .nav-cta { margin-top: 6px; text-align: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 132px 0 80px; }
  .page-hero { padding: 124px 0 56px; }
  section { padding: 68px 0; }
  .reg-grid, .schedule, .services-grid, .cards, .extra-events { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .logo-tile { height: 128px; padding: 14px; }
  .logo-tile .wordmark { font-size: 19px; }
  .reach { grid-template-columns: 1fr 1fr; }
  .athlete-photo { min-height: 440px; }
  .athlete-photo h3 { font-size: 52px; }
  .bar-row { grid-template-columns: 110px 1fr 70px; font-size: 14px; }
  .total b { font-size: 40px; }
  .brand-name { font-size: 16px; }
  .speaking { padding: 26px; }
  .story-side .photos img { height: 200px; }
  .foot-grid { grid-template-columns: 1fr; }
}
