/* Hack The Cure home page. One file, no framework. Colours and fonts are the brand's own. */
:root {
  --bg: #f1ece2; --surface: #e5ddcd; --paper: #faf7f1;
  --ink: #2b1018; --muted: #5a3b44;
  --red: #e0463a; --red-hi: #ff6a5e; --on-red: #170609;
  --dark: #2b1018; --dark-2: #381d24; --dark-3: #1f0a10;
  --cream: #f1ece2; --cream-muted: #c4b3af;
  --line: rgba(43, 16, 24, .16); --line-d: rgba(241, 236, 226, .16);
  --s1: #edae49; --s2: #f08a4b; --s3: #ff6a5e; --s4: #e2435b; --s5: #b8336a; --s6: #8c2155;
  --display: "Young Serif", Georgia, serif;
  --text: "Figtree", system-ui, sans-serif;
  --wrap: 1400px; --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 14px; --navh: 92px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--navh); -webkit-text-size-adjust: 100%; scrollbar-color: var(--dark-2) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 clamp(1rem, .2vw + .96rem, 1.125rem)/1.6 var(--text); overflow-x: clip; caret-color: var(--red); accent-color: var(--red); -webkit-font-smoothing: antialiased; }
::selection { background: var(--red); color: var(--on-red); }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, min(5.2vw + .5rem, 10.5vh), 5.5rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.3vw + .4rem, 3.75rem); line-height: 1.08; }
h3 { font: 600 clamp(1.125rem, .4vw + 1rem, 1.375rem)/1.3 var(--text); letter-spacing: -.005em; }
p { text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.lead { font-size: clamp(1.125rem, .5vw + 1rem, 1.375rem); line-height: 1.5; max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.sec { padding-block: clamp(72px, 9vw, 148px); position: relative; }
.sec--surface { background: var(--surface); }
.sec--dark { background: var(--dark); color: var(--cream); }
.sec--dark .muted, .sec--dark .lead { color: var(--cream-muted); }
.head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 72px); max-width: 900px; }
.split { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.split__stick { position: sticky; top: calc(var(--navh) + 24px); display: grid; gap: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* links and buttons */
.link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; transition: text-underline-offset .25s var(--ease), color .2s; }
.link:hover { text-underline-offset: 8px; }
.sec--dark .link:hover, .foot .link:hover { color: var(--red-hi); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background-color .2s, box-shadow .35s var(--ease), border-color .2s; }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--red); color: var(--on-red); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7); }
.btn--primary:hover { background: var(--red-hi); transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .8); }
.btn--ghost { border-color: var(--line-d); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); transform: translateY(-2px); }
.btn--xl { min-height: 64px; padding: 0 36px; font-size: 1.125rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* nav */
.nav { position: fixed; inset: 16px 0 auto; z-index: 50; pointer-events: none; }
.nav__bar { pointer-events: auto; width: min(var(--wrap), 100% - 2 * 16px); margin-inline: auto; display: flex; align-items: center; gap: 28px; padding: 8px 8px 8px 22px; border-radius: 999px; background: rgba(31, 10, 16, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-d); color: var(--cream); box-shadow: 0 16px 40px -22px rgba(0, 0, 0, .7); }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-right: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--cream-muted); transition: color .2s, background-color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--cream); background: rgba(241, 236, 226, .09); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); background: none; color: var(--cream); place-items: center; cursor: pointer; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: radial-gradient(70% 55% at 50% 108%, rgba(224, 70, 58, .42), transparent 70%), linear-gradient(var(--dark-3), var(--dark) 70%); color: var(--cream); overflow: hidden; isolation: isolate; }
.hero__globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding-top: calc(var(--navh) + 24px); padding-bottom: 24px; }
.hero h1 { font-size: clamp(2.25rem, 10.5vw, 9rem); line-height: .95; letter-spacing: -.03em; white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--red-hi); }
.hero__tag { font: 400 clamp(1.125rem, 1vw + .85rem, 1.5rem)/1.35 var(--display); max-width: 34ch; }
.hero__date { color: var(--cream-muted); font: 500 clamp(.9375rem, .3vw + .85rem, 1.0625rem)/1.5 var(--text); }
.hero .btn-row { margin-top: 14px; }
.hero__foot { display: flex; justify-content: center; padding-bottom: clamp(24px, 4vh, 44px); }
.countdown { display: flex; align-items: center; gap: 18px; padding: 12px 22px; border-radius: var(--r); background: rgba(31, 10, 16, .78); border: 1px solid var(--line-d); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9); }
.countdown[hidden] { display: none; }
.countdown__title { font-size: .8125rem; color: var(--cream-muted); max-width: 5ch; line-height: 1.2; }
.countdown__unit { display: grid; justify-items: center; min-width: 3.2ch; }
.countdown__value { font: 400 clamp(1.5rem, 1.2vw + 1rem, 2rem)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.countdown__label { font-size: .75rem; color: var(--cream-muted); }
.countdown__caption { font-size: .8125rem; color: var(--cream-muted); max-width: 22ch; }
.countdown__caption:empty { display: none; }
.countdown[data-state] .countdown__unit { display: none; }
.countdown[data-state] .countdown__caption { max-width: none; color: var(--cream); }

/* hero entrance: one authored moment */
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
@keyframes fade { from { opacity: 0; } }
.js .hero__inner > *, .js .hero__foot > * { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
.js .hero__globe { animation: fade 1.8s ease both .2s; }

/* scroll reveal */
.js [data-r] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-r].is-in { opacity: 1; transform: none; }
.js [data-r="img"] { transform: scale(.96); }

/* about */
.about__grid { display: grid; gap: clamp(28px, 5vw, 80px); grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
.about__statement { font: 400 clamp(1.5rem, 2vw + .7rem, 2.75rem)/1.22 var(--display); letter-spacing: -.012em; }
.about__statement strong { font-weight: 400; color: var(--red); }
.about__statement .w { transition: opacity .35s linear; }
.js .about__statement .w { opacity: .22; }
.js .about__statement .w.on { opacity: 1; }
.about__lead { margin-top: 28px; }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 7vw, 104px); }
.reason { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.reason p { color: var(--muted); }

/* tracks: a deck that stacks as you scroll */
.tracks__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.deck { --tab: 68px; display: grid; gap: 16px; }
.track { --on: var(--on-red); background: var(--c); color: var(--on); border-radius: 22px; padding: 0 clamp(20px, 3vw, 44px) clamp(24px, 3vw, 40px); box-shadow: 0 -18px 40px -30px rgba(43, 16, 24, .55); scroll-margin-top: calc(var(--navh) + 12px); }
.track--light { --on: var(--cream); }
.track__tab { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 22px; align-items: center; min-height: var(--tab); }
.track__num { font: 400 1.375rem/1 var(--display); font-variant-numeric: tabular-nums; }
.track__meta { font-size: .9375rem; font-weight: 500; }
.track__body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(120px, 16vw, 220px); gap: clamp(20px, 4vw, 72px); align-items: center; border-top: 1px solid color-mix(in srgb, var(--on) 28%, transparent); padding-top: clamp(22px, 3vw, 40px); min-height: 250px; }
.track__blurb { font: 400 clamp(1.375rem, 1.5vw + .8rem, 2.25rem)/1.25 var(--display); letter-spacing: -.01em; max-width: 30ch; }
.track__body svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.track:hover .track__body svg { transform: rotate(-6deg) scale(1.05); }
@media (min-width: 900px) and (min-height: 800px) {
  .deck { gap: 0; padding-bottom: 8px; }
  .track { position: sticky; top: calc(var(--navh) + 8px + var(--i) * var(--tab)); margin-bottom: 40px; }
  .track:last-child { margin-bottom: 0; }
}

/* schedule */
.week { margin-bottom: clamp(40px, 6vw, 80px); }
.week__days { display: grid; grid-template-columns: repeat(var(--days, 8), minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.week__day { padding: 14px 0 18px 12px; border-left: 1px solid var(--line); display: grid; }
.week__day:first-child { border-left: 0; padding-left: 0; }
.week__dow { font-size: .8125rem; color: var(--muted); }
.week__num { font: 400 clamp(1.5rem, 2vw + .6rem, 2.75rem)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.week__bars { display: grid; grid-template-columns: repeat(var(--days, 8), minmax(0, 1fr)); gap: 6px; }
.week__bar { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; font-size: .875rem; font-weight: 600; white-space: nowrap; overflow: hidden; transform-origin: left; }
.week__bar--open { background: var(--red); color: var(--on-red); }
.week__bar--build { grid-column: 2 / -2; background: var(--s1); color: var(--on-red); }
.week__bar--close { background: var(--ink); color: var(--cream); }
.js .week__bar { clip-path: inset(0 100% 0 0 round 10px); transition: clip-path 1.1s var(--ease); }
.js .week.is-in .week__bar { clip-path: inset(0 0 0 0 round 10px); }
.js .week.is-in .week__bar--build { transition-delay: .18s; }
.js .week.is-in .week__bar--close { transition-delay: .5s; }
.week figcaption { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: .9375rem; color: var(--muted); }
.week__cal { display: flex; gap: 24px; color: var(--ink); }
.steps { display: grid; }
.step { display: grid; grid-template-columns: minmax(90px, 2fr) minmax(0, 4fr) minmax(0, 5fr); gap: 16px clamp(20px, 4vw, 64px); padding-block: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); align-items: start; }
.step__marker { font: 400 clamp(2.5rem, 4vw + .5rem, 4.5rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.step--final .step__marker { color: var(--red); }
.step__date { font-size: .9375rem; color: var(--muted); margin-bottom: 6px; }
.step__text { color: var(--muted); display: grid; gap: 10px; }
.day__note { font-size: .9375rem; }

/* judging */
.rubric__bar { display: flex; gap: 4px; margin-bottom: 12px; }
.rubric__bar span { flex: var(--w) 1 0; min-height: 56px; display: grid; place-items: center; border-radius: 8px; color: var(--on-red); font: 600 1rem/1 var(--text); font-variant-numeric: tabular-nums; background: var(--c); }
.js .rubric__bar span { clip-path: inset(0 100% 0 0 round 8px); transition: clip-path .9s var(--ease); transition-delay: calc(var(--n) * 90ms); }
.js .rubric.is-in .rubric__bar span { clip-path: inset(0 0 0 0 round 8px); }
.criterion { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line-d); }
.criterion__weight { font: 400 clamp(2rem, 2vw + 1rem, 3rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.criterion__weight span { font-size: .45em; color: var(--cream-muted); margin-left: 2px; }
.criterion h3 { margin-bottom: 6px; }
.criterion p:not(.criterion__weight) { color: var(--cream-muted); }

/* people */
.people { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 28px); }
.ptile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-content: start; }
.ptile__img { grid-column: 1 / -1; position: relative; aspect-ratio: var(--ar, 1); border-radius: var(--r); overflow: hidden; background: var(--surface); margin-bottom: 12px; box-shadow: 0 22px 40px -30px rgba(43, 16, 24, .7); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ptile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); transition: transform .9s var(--ease); }
.ptile:hover .ptile__img { transform: translateY(-4px); box-shadow: 0 30px 46px -28px rgba(43, 16, 24, .8); }
.ptile:hover .ptile__img img { transform: scale(calc(var(--zoom, 1) + .05)); }
.ptile__co { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); background: var(--ink); color: var(--cream); font-size: .8125rem; font-weight: 600; letter-spacing: .01em; padding: 6px 12px; border-radius: 999px; }
.ptile h3 { font-size: 1.0625rem; }
.ptile p { grid-column: 1; font-size: .9375rem; color: var(--muted); }
.ptile__in { grid-column: 2; grid-row: 2 / span 2; align-self: start; width: 44px; height: 44px; margin: -8px -8px 0 0; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s, transform .35s var(--ease); }
.ptile__in:hover { background: var(--surface); transform: translateY(-2px); }
.ptile__in img { width: 22px; height: 22px; }
.team .ptile__img { --ar: 4 / 5; }
.partners { margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 9fr); gap: 20px clamp(24px, 4vw, 64px); align-items: start; }
.partners + .partners { margin-top: 36px; }
.partners__label { font: 400 1.5rem/1.2 var(--display); }
.partners__list { display: grid; gap: 28px; }
.partner { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; text-decoration: none; padding: 20px; margin: -20px; border-radius: var(--r); transition: background-color .25s; }
.partner:hover { background: var(--surface); }
.partner__logo { grid-row: 1 / span 2; width: 148px; height: 88px; border-radius: 12px; object-fit: contain; background: #fff; padding: 10px; box-shadow: 0 0 0 1px var(--line); }
.partner__name { font: 600 1.25rem/1.3 var(--text); align-self: end; }
.partner__about { grid-column: 2; color: var(--muted); max-width: 60ch; align-self: start; }
.partner .link { grid-column: 3; grid-row: 1 / span 2; }

/* world */
.world { background: var(--dark-3); color: var(--cream); padding-block: clamp(72px, 9vw, 148px); }
.world__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.world__copy { display: grid; gap: 20px; }
.world__copy .lead { color: var(--cream-muted); }
.world__now { display: none; }
.world__map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, .5fr); gap: clamp(20px, 3vw, 40px) clamp(16px, 2.4vw, 36px); }
.country { display: grid; gap: 10px; justify-items: center; align-content: end; }
.country svg { width: 100%; height: clamp(84px, 17vh, 170px); overflow: visible; }
.country path { fill: rgba(255, 106, 94, .16); stroke: var(--red-hi); stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .7s var(--ease), stroke .7s var(--ease); }
.country__name { font-size: .9375rem; font-weight: 500; transition: color .5s; }
.country--tall { grid-column: 5; grid-row: 1 / span 2; }
.country--tall svg { height: 100%; min-height: clamp(200px, 40vh, 400px); }
.world.is-pinned { height: 260vh; padding-block: 0; }
.world.is-pinned .world__stage { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding-top: var(--navh); }
.world.is-pinned .world__now { display: grid; gap: 2px; margin-top: 12px; border-top: 1px solid var(--line-d); padding-top: 20px; }
.world__count { font-size: .9375rem; color: var(--cream-muted); font-variant-numeric: tabular-nums; }
.world__name { font: 400 clamp(2.25rem, 3vw + 1rem, 4rem)/1.1 var(--display); color: var(--red-hi); }
.world.is-pinned .country:not(.is-on) path { fill: transparent; stroke: rgba(241, 236, 226, .22); }
.world.is-pinned .country:not(.is-on) .country__name { color: rgba(241, 236, 226, .4); }
.world.is-pinned .country svg { transition: transform .8s var(--ease); }
.world.is-pinned .country:not(.is-on) svg { transform: scale(.94); }

/* ways in */
.ways { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); }
.way { display: grid; gap: 14px; align-content: start; justify-items: start; }
.way--lead { background: var(--dark); color: var(--cream); border-radius: 22px; padding: clamp(28px, 4vw, 56px); align-content: space-between; min-height: 340px; background-image: radial-gradient(80% 90% at 100% 110%, rgba(224, 70, 58, .5), transparent 70%); }
.way--lead h3 { font: 400 clamp(2rem, 2.4vw + 1rem, 3.25rem)/1.1 var(--display); letter-spacing: -.02em; }
.way--lead p { color: var(--cream-muted); font-size: 1.125rem; max-width: 44ch; }
.ways__side { display: grid; gap: 0; align-content: start; }
.ways__side .way { padding-block: 28px; border-top: 1px solid var(--line); }
.ways__side .way:last-child { border-bottom: 1px solid var(--line); }
.ways__side p { color: var(--muted); }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding-block: 22px; cursor: pointer; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary::after { content: ""; width: 14px; height: 14px; justify-self: end; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 62ch; }
.contact { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }

/* sign-up */
.signup { background: var(--dark); color: var(--cream); background-image: radial-gradient(60% 70% at 0% 100%, rgba(224, 70, 58, .28), transparent 70%); }
.mentor-cta { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line-d); display: grid; gap: 8px; justify-items: start; }
.mentor-cta p { color: var(--cream-muted); }
.form { background: var(--bg); color: var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.form > * { grid-column: 1 / -1; }
.form > .field:not(.field--full) { grid-column: auto; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 600; font-size: .9375rem; }
.field label .muted { font-weight: 400; }
.field input:not([type="checkbox"]), .field select { width: 100%; height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(43, 16, 24, .32); background: var(--paper); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%232b1018' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(224, 70, 58, .28); }
.field [aria-invalid="true"] { border-color: #a3271d; }
.field__error { color: #a3271d; font-size: .875rem; font-weight: 500; }
.field--check { grid-template-columns: 22px minmax(0, 1fr); gap: 6px 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; }
.field--check label { font-weight: 400; font-size: 1rem; }
.field--check .field__error { grid-column: 2; }
.form__status { font-weight: 600; }
.form__status:empty { display: none; }
.form__status a { color: inherit; }

/* footer */
.foot { background: var(--dark-3); color: var(--cream); padding-block: clamp(72px, 9vw, 140px) 32px; }
.foot__cta { display: grid; gap: 28px; justify-items: start; padding-bottom: clamp(56px, 7vw, 104px); }
.foot__cta h2 { font-size: clamp(2.75rem, 7vw + .5rem, 6rem); line-height: 1; }
.foot__cta p { color: var(--cream-muted); font-size: 1.25rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px clamp(24px, 4vw, 64px); padding-block: 40px; border-top: 1px solid var(--line-d); }
.foot__logo img { height: 46px; width: auto; margin-bottom: 16px; }
.foot__lede { color: var(--cream-muted); max-width: 40ch; }
.foot h3 { font-size: .9375rem; color: var(--cream-muted); font-weight: 500; margin-bottom: 12px; }
.foot li a, .foot__legal a { text-decoration: none; display: inline-block; padding-block: 5px; transition: color .2s; overflow-wrap: anywhere; }
.foot li a:hover, .foot__legal a:hover { color: var(--red-hi); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: .875rem; color: var(--cream-muted); }
.foot__legal nav { display: flex; gap: 20px; }

.actionbar { display: none; }

/* tablet */
@media (max-width: 1100px) {
  .nav__links a { padding-inline: 10px; }
  .people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --navh: 80px; }
  .nav__bar { padding-left: 18px; gap: 12px; }
  .nav__logo { margin-right: auto; }
  .nav__toggle { display: grid; }
  .nav__links { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); flex-direction: column; gap: 0; padding: 12px; border-radius: 22px; background: var(--dark-3); border: 1px solid var(--line-d); box-shadow: 0 30px 60px -30px #000; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 16px; font-size: 1.0625rem; color: var(--cream); }
  .split, .about__grid, .tracks__head, .world__inner, .ways { grid-template-columns: minmax(0, 1fr); }
  .split__stick { position: static; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { grid-template-columns: 90px minmax(0, 1fr); }
  .step__text { grid-column: 2; }
  .partners { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid > :first-child { grid-column: 1 / -1; }
}
/* phone */
@media (max-width: 640px) {
  .nav .btn { display: none; }
  .countdown { width: 100%; justify-content: space-between; gap: 10px; padding-inline: 16px; }
  .countdown__caption { display: none; }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .track__tab { grid-template-columns: auto minmax(0, 1fr); padding-block: 16px; }
  .track__meta { grid-column: 1 / -1; }
  .track__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .track__body svg { width: 96px; }
  .week__day { padding-left: 6px; }
  .week__dow { font-size: .75rem; }
  .week__bars { grid-template-columns: auto minmax(0, 1fr) auto; }
  .week__bar { padding: 0 10px; font-size: .8125rem; }
  .week__bar--build { grid-column: auto; }
  .week__more { display: none; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step__text { grid-column: 1; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world__map { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .6fr); }
  .country--tall { grid-column: 3; grid-row: 1 / span 4; }
  .country svg { height: 84px; }
  .partner { grid-template-columns: 104px minmax(0, 1fr); }
  .partner__logo { width: 104px; height: 64px; padding: 8px; }
  .partner .link { grid-column: 2; grid-row: auto; justify-self: start; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .foot { padding-bottom: 104px; }
  .actionbar { display: block; position: fixed; inset: auto 12px 12px; z-index: 40; transition: transform .45s var(--ease), opacity .3s; }
  .actionbar .btn { width: 100%; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7); }
  .actionbar.is-off { transform: translateY(140%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-r], .js .about__statement .w { opacity: 1; transform: none; }
  .js .week__bar, .js .rubric__bar span { clip-path: none; }
}

/* tracks: each card flips up onto the deck as it arrives */
@media (min-width: 900px) and (min-height: 800px) {
  .js .track { transform-origin: 50% 0; will-change: transform; }
}

/* judges: two columns of rows, round photo, company above the name */
.judges .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); border-top: 1px solid var(--ink); }
.judges .ptile { grid-template-columns: 96px minmax(0, 1fr) 44px; gap: 2px 20px; align-items: center; align-content: center; padding-block: 18px; border-bottom: 1px solid var(--line); }
.judges .ptile__img { grid-column: 1; grid-row: 1 / span 3; width: 96px; border-radius: 50%; margin: 0; box-shadow: 0 0 0 1px var(--ink); }
.judges .ptile:hover .ptile__img { transform: none; box-shadow: 0 0 0 1px var(--ink); }
.judges .ptile__co { position: static; grid-column: 2; background: none; color: #a3271d; padding: 0; border-radius: 0; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; align-self: end; }
.judges .ptile h3 { grid-column: 2; font: 400 clamp(1.25rem, 1vw + 1rem, 1.75rem)/1.15 var(--display); letter-spacing: -.01em; }
.judges .ptile p { grid-column: 2; align-self: start; }
.judges .ptile__in { grid-column: 3; grid-row: 1 / span 3; align-self: center; margin: 0; border: 1px solid var(--ink); border-radius: 8px; }
@media (max-width: 900px) { .judges .people { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .judges .ptile { grid-template-columns: 72px minmax(0, 1fr) 44px; gap: 2px 14px; } .judges .ptile__img { width: 72px; } }

/* ---- flow: one light page between the hero and the footer; no bands, no fades, no hairlines ---- */
.sec { padding-block: clamp(56px, 7vw, 120px); }
.sec--surface { background: transparent; }
.hero { border-radius: 0 0 clamp(28px, 5vw, 72px) clamp(28px, 5vw, 72px); }
/* former dark bands, now on the page tone */
.sec--dark, .world, .signup { background: transparent; color: var(--ink); }
.sec--dark .muted, .sec--dark .lead, .criterion p:not(.criterion__weight), .criterion__weight span,
.world__copy .lead, .world__count, .mentor-cta p { color: var(--muted); }
.sec--dark .link:hover { color: var(--red); }
.world__name { color: var(--red); }
.world.is-pinned .country:not(.is-on) path { stroke: rgba(43, 16, 24, .22); }
.world.is-pinned .country:not(.is-on) .country__name { color: rgba(43, 16, 24, .45); }
.signup .btn--ghost { border-color: var(--line); color: var(--ink); }
.form { background: var(--paper); box-shadow: 0 30px 70px -40px rgba(43, 16, 24, .35); }
.foot { border-radius: clamp(28px, 5vw, 72px) clamp(28px, 5vw, 72px) 0 0; }
/* hairlines out, spacing in */
.reason, .track__body, .week__days, .step, .criterion, .partners, .world.is-pinned .world__now, .ways__side .way, .ways__side .way:last-child,
.faq details, .faq details:last-child, .contact, .mentor-cta, .foot__grid, .foot__legal, .judges .people, .judges .ptile { border: 0; }
.faq details { padding-block: 4px; }
.step { padding-block: clamp(16px, 2vw, 28px); }