:root {
  --ink: #000413;
  --navy: #1b2b4f;
  --cyan: #02aef6;
  --sprint: #03ddfc;
  --ice: #edeef1;
  --silver: #9a9ea9;
  --muted: #8b96ac;
  --line: rgba(237, 238, 241, 0.14);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ice);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--sprint);
  color: var(--ink);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 3px;
  background: rgba(2, 174, 246, 0.12);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--sprint));
  box-shadow: 0 0 18px rgba(3, 221, 252, 0.8);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid rgba(237, 238, 241, 0.18);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 62px;
  height: 3px;
  background: var(--sprint);
}

.brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ice);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
}

.brand-link i {
  color: var(--cyan);
  font-size: 0.76rem;
  font-style: normal;
  letter-spacing: 0.2em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 42px);
}

.main-nav a {
  position: relative;
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--sprint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 900px;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, var(--ink), transparent);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(0, 4, 19, 0.98) 0%, rgba(0, 4, 19, 0.76) 38%, rgba(0, 4, 19, 0.16) 72%, rgba(0, 4, 19, 0.28) 100%),
    linear-gradient(0deg, rgba(0, 4, 19, 0.48), transparent 48%),
    url("assets/hero-farmer-carry.webp") center center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-push 12s ease-out both;
}

.hero-grid {
  position: absolute;
  inset: 48% 0 0;
  z-index: -3;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(3, 221, 252, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 221, 252, 0.11) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(transparent, #000 55%, transparent);
  transform: perspective(420px) rotateX(54deg) scale(1.35);
  transform-origin: center top;
  animation: grid-drift 8s linear infinite;
}

.speed-lines {
  position: absolute;
  top: 18%;
  right: -4%;
  z-index: -2;
  width: 42%;
  height: 55%;
  opacity: 0.42;
  transform: skewY(-10deg);
  pointer-events: none;
}

.speed-lines i {
  position: absolute;
  right: 0;
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sprint));
  box-shadow: 0 0 16px var(--cyan);
  animation: line-sprint 2.8s ease-in-out infinite;
}

.speed-lines i:nth-child(1) { top: 22%; animation-delay: -0.6s; }
.speed-lines i:nth-child(2) { top: 47%; width: 94%; animation-delay: -1.8s; }
.speed-lines i:nth-child(3) { top: 71%; width: 58%; animation-delay: -1.2s; }

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1440px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  padding-top: 110px;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: rise-in 650ms 150ms ease-out forwards;
}

.hero-kicker span {
  width: 32px;
  height: 3px;
  background: var(--sprint);
  box-shadow: 0 0 12px rgba(3, 221, 252, 0.55);
}

.hero-logo {
  width: clamp(235px, 21vw, 340px);
  margin: 16px 0 -16px;
  filter: drop-shadow(0 18px 30px rgba(0, 4, 19, 0.65));
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  animation: logo-strike 820ms 260ms cubic-bezier(0.2, 0.9, 0.25, 1.2) forwards;
  will-change: transform;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.85;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.6rem, 6.3vw, 7.2rem);
  opacity: 0;
  animation: rise-in 760ms 480ms ease-out forwards;
}

.hero h1 em,
.section h2 em {
  color: var(--sprint);
  font-style: italic;
  text-shadow: 0 0 36px rgba(3, 221, 252, 0.18);
}

.hero-intro {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(237, 238, 241, 0.82);
  font-size: 1rem;
  opacity: 0;
  animation: rise-in 760ms 620ms ease-out forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  opacity: 0;
  animation: rise-in 760ms 760ms ease-out forwards;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  overflow: hidden;
  border: 1px solid rgba(237, 238, 241, 0.28);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button span,
.button b {
  position: relative;
  z-index: 2;
}

.button b {
  margin-left: 36px;
  font-size: 1.35rem;
}

.button-primary {
  border-color: var(--sprint);
  background: var(--sprint);
  color: var(--ink);
}

.button-primary::before {
  content: "";
  position: absolute;
  top: -90%;
  left: -30%;
  width: 24px;
  height: 280%;
  background: rgba(255, 255, 255, 0.58);
  transform: rotate(22deg) translateX(-100px);
  transition: transform 620ms ease;
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
  transform: rotate(22deg) translateX(430px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--sprint);
  background: rgba(3, 221, 252, 0.09);
}

.hero-date {
  position: absolute;
  right: max(32px, calc((100vw - 1440px) / 2));
  bottom: 66px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 18px 13px 0;
  border-right: 3px solid var(--sprint);
  font-family: var(--display);
}

.date-day {
  color: transparent;
  font-size: clamp(4.5rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(237, 238, 241, 0.5);
}

.hero-date div {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
}

.hero-date b {
  color: var(--sprint);
  font-size: 2.2rem;
}

.hero-date small {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-scroll {
  position: absolute;
  bottom: 50px;
  left: max(32px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(237, 238, 241, 0.52);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-scroll span {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(237, 238, 241, 0.25);
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--sprint);
  animation: scroll-drop 1.7s ease-in-out infinite;
}

.countdown-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.countdown-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-index {
  color: var(--sprint);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.countdown {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 28px);
}

.countdown div {
  display: grid;
  min-width: 76px;
  text-align: center;
}

.countdown strong {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.8;
}

.countdown span {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.countdown i {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 2.5rem;
  font-style: normal;
  line-height: 0.7;
}

.kinetic-ticker {
  position: relative;
  z-index: 3;
  width: 110%;
  margin: 28px 0 0 -5%;
  overflow: hidden;
  background: var(--sprint);
  color: var(--ink);
  transform: rotate(-2deg);
}

.kinetic-ticker div {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 10px 0;
  animation: ticker-run 22s linear infinite;
}

.kinetic-ticker span {
  padding: 0 24px;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
}

.kinetic-ticker b {
  font-size: 1rem;
}

.section {
  position: relative;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(100px, 10vw, 170px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.section-head > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-head > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.challenge-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 10vw, 160px);
  align-items: start;
  padding-top: 68px;
}

.challenge-copy {
  position: sticky;
  top: 48px;
}

.challenge h2,
.tests-intro h2 {
  font-size: clamp(5rem, 9vw, 10.5rem);
}

.challenge-detail {
  padding-top: 18px;
}

.challenge-detail > p {
  max-width: 680px;
  color: var(--muted);
}

.challenge-detail .lead {
  margin-top: 0;
  color: var(--ice);
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principles article {
  min-height: 180px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, transform 220ms ease;
}

.principles article:hover {
  z-index: 2;
  background: rgba(2, 174, 246, 0.08);
  transform: translateY(-4px);
}

.principles span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
}

.principles h3 {
  margin: 30px 0 5px;
  font-family: var(--display);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.tests {
  width: 100%;
  padding-right: max(32px, calc((100vw - 1440px) / 2));
  padding-left: max(32px, calc((100vw - 1440px) / 2));
  background:
    linear-gradient(135deg, rgba(27, 43, 79, 0.5), transparent 42%),
    #02091c;
}

.tests::before {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  width: 180px;
  height: 5px;
  background: var(--sprint);
  transform: skewX(-48deg);
}

.tests-intro {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: end;
  padding: 72px 0 60px;
}

.tests-intro p {
  margin: 0 0 12px;
  color: var(--muted);
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.test-card {
  position: relative;
  min-height: 390px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(237, 238, 241, 0.16);
  background:
    linear-gradient(160deg, rgba(27, 43, 79, 0.46), rgba(0, 4, 19, 0.82)),
    repeating-linear-gradient(-12deg, transparent 0 20px, rgba(2, 174, 246, 0.035) 20px 21px);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  transition: border-color 240ms ease, transform 240ms ease, background 240ms ease;
}

.test-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: 30px;
  width: 150px;
  height: 4px;
  background: var(--cyan);
  transform: rotate(-48deg);
  box-shadow: 0 15px 0 rgba(2, 174, 246, 0.34), 0 30px 0 rgba(2, 174, 246, 0.18);
}

.test-card:hover {
  border-color: rgba(3, 221, 252, 0.7);
  background:
    linear-gradient(160deg, rgba(2, 174, 246, 0.18), rgba(0, 4, 19, 0.86)),
    repeating-linear-gradient(-12deg, transparent 0 20px, rgba(2, 174, 246, 0.055) 20px 21px);
  transform: translateY(-10px);
}

.test-card > span {
  color: var(--sprint);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.test-lock {
  margin-top: 50px;
  color: transparent;
  font-family: var(--display);
  font-size: 7rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(237, 238, 241, 0.18);
}

.test-card h3 {
  margin: 72px 0 6px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.test-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.announcement-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.announcement-note span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sprint);
  box-shadow: 0 0 14px var(--sprint);
  animation: pulse 1.8s ease-in-out infinite;
}

.event {
  min-height: 820px;
  overflow: hidden;
}

.event-glow {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(3, 221, 252, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(2, 174, 246, 0.06);
  transform: translateX(-50%);
  pointer-events: none;
}

.event-glow::before,
.event-glow::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(3, 221, 252, 0.09);
  border-radius: inherit;
}

.event-glow::before { inset: 12%; }
.event-glow::after { inset: 27%; }

.event-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  padding-top: 70px;
}

.event-date-block {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: 24px;
}

.event-date-block > p {
  grid-column: 1 / -1;
  margin: 0 0 -6px 8px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.event-date-block > strong {
  color: transparent;
  font-family: var(--display);
  font-size: clamp(11rem, 22vw, 23rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.7;
  -webkit-text-stroke: 2px var(--ice);
  filter: drop-shadow(16px 14px 0 rgba(2, 174, 246, 0.24));
}

.event-date-block h2 {
  padding-bottom: 8px;
  font-size: clamp(3.3rem, 6vw, 7rem);
}

.venue-card {
  position: relative;
  padding: clamp(36px, 5vw, 70px);
  border: 1px solid rgba(3, 221, 252, 0.3);
  background: rgba(27, 43, 79, 0.36);
  backdrop-filter: blur(14px);
  clip-path: polygon(34px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%, 0 34px);
}

.venue-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 5px;
  background: var(--sprint);
}

.venue-label {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.venue-card h3 {
  margin: 28px 0 24px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.86;
}

.venue-card p {
  margin: 0;
  color: var(--muted);
}

.venue-card a {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sprint);
  color: var(--sprint);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.registration {
  width: 100%;
  min-height: 760px;
  padding-right: max(32px, calc((100vw - 1440px) / 2));
  padding-left: max(32px, calc((100vw - 1440px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(2, 174, 246, 0.24), transparent 35%),
    linear-gradient(135deg, #07142f, var(--ink) 64%);
}

.registration::before,
.registration::after {
  content: "";
  position: absolute;
  width: 54%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sprint), transparent);
  transform: rotate(-11deg);
  animation: line-sprint 4s ease-in-out infinite;
}

.registration::before { top: 20%; right: -8%; }
.registration::after { right: -18%; bottom: 20%; animation-delay: -2s; }

.registration-mark {
  position: absolute;
  top: 50%;
  right: -4vw;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(19rem, 44vw, 46rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.6;
  opacity: 0.12;
  transform: translateY(-50%);
  -webkit-text-stroke: 1px var(--sprint);
}

.registration-inner {
  position: relative;
  z-index: 2;
  max-width: 930px;
}

.registration h2 {
  margin-top: 26px;
  font-size: clamp(4.5rem, 10vw, 10rem);
}

.registration-inner > p:not(.eyebrow):not(.registration-status) {
  max-width: 600px;
  margin: 34px 0;
  color: rgba(237, 238, 241, 0.72);
}

.button-large {
  min-width: 300px;
  min-height: 68px;
  font-size: 1.18rem;
}

.registration-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.registration-status.active {
  color: var(--sprint);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 70px 0 40px;
}

.footer-organizer span {
  display: block;
  margin-bottom: 15px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.footer-organizer img {
  width: min(310px, 65vw);
  height: auto;
}

.footer-meta {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: var(--sprint);
  text-decoration: none;
}

.mobile-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.72, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-push {
  from { transform: scale(1.11); }
  to { transform: scale(1.04); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logo-strike {
  from { opacity: 0; transform: translateY(28px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes grid-drift {
  to { background-position: 0 54px, 54px 0; }
}

@keyframes line-sprint {
  0%, 100% { opacity: 0.18; transform: translateX(80px); }
  45% { opacity: 0.95; }
  55% { opacity: 0.6; transform: translateX(-80px); }
}

@keyframes scroll-drop {
  from { transform: translateY(0); }
  to { transform: translateY(300%); }
}

@keyframes ticker-run {
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.65; }
  50% { transform: scale(1.15); opacity: 1; }
}

@media (max-width: 1100px) {
  .hero { min-height: 820px; }
  .hero-photo {
    background:
      linear-gradient(90deg, rgba(0, 4, 19, 0.98) 0%, rgba(0, 4, 19, 0.72) 48%, rgba(0, 4, 19, 0.22) 100%),
      linear-gradient(0deg, rgba(0, 4, 19, 0.7), transparent 50%),
      url("assets/hero-farmer-carry.webp") 62% center / cover no-repeat;
  }
  .test-grid { grid-template-columns: 1fr 1fr; }
  .test-card { min-height: 330px; }
  .test-card h3 { margin-top: 48px; }
  .event-layout { grid-template-columns: 1fr; }
  .venue-card { max-width: 660px; margin-left: auto; }
  .event-glow { width: 90vw; height: 90vw; }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    width: calc(100% - 36px);
    padding: 18px 0;
  }

  .menu-toggle {
    position: relative;
    z-index: 31;
    display: grid;
    gap: 7px;
    width: 48px;
    height: 48px;
    place-content: center;
    border: 1px solid rgba(237, 238, 241, 0.25);
    background: rgba(0, 4, 19, 0.58);
    color: var(--ice);
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 200ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 80px 32px;
    background: rgba(0, 4, 19, 0.98);
    transform: translateX(100%);
    transition: transform 300ms ease;
  }

  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 2.1rem; }
  .main-nav .nav-cta { margin-top: 18px; padding: 16px 28px; font-size: 1.15rem; }

  .hero {
    height: auto;
    min-height: 820px;
  }

  .hero-photo {
    background:
      linear-gradient(180deg, rgba(0, 4, 19, 0.2) 0%, rgba(0, 4, 19, 0.22) 32%, rgba(0, 4, 19, 0.98) 82%),
      linear-gradient(90deg, rgba(0, 4, 19, 0.74), rgba(0, 4, 19, 0.1)),
      url("assets/hero-farmer-carry.webp") 66% top / auto 66% no-repeat;
  }

  .hero-content {
    width: calc(100% - 36px);
    min-height: 820px;
    justify-content: flex-end;
    padding: 150px 0 120px;
  }

  .hero-logo { width: 210px; margin-bottom: -6px; }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 5.7rem); }
  .hero-intro { max-width: 520px; margin-top: 20px; }
  .hero-date { display: none; }
  .hero-scroll { display: none; }

  .countdown-band {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    gap: 36px;
    padding: 36px 0;
  }

  .countdown { justify-content: space-between; gap: 8px; }
  .countdown div { min-width: 54px; }
  .countdown i { font-size: 1.6rem; }

  .section { width: calc(100% - 36px); }
  .section-head { grid-template-columns: 1fr; }
  .section-head > p { max-width: 100%; text-align: left; }
  .challenge-layout { grid-template-columns: 1fr; gap: 48px; }
  .challenge-copy { position: relative; top: auto; }
  .challenge h2, .tests-intro h2 { font-size: clamp(4.3rem, 19vw, 7.5rem); }
  .challenge-detail { padding-top: 0; }

  .tests {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .tests-intro { grid-template-columns: 1fr; gap: 28px; }
  .event-date-block > strong { font-size: clamp(11rem, 42vw, 17rem); }
  .event-date-block h2 { font-size: clamp(3rem, 11vw, 5rem); }

  .registration {
    width: 100%;
    min-height: 700px;
    padding-right: 18px;
    padding-left: 18px;
  }

  footer {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
  }

  .footer-meta { justify-content: space-between; }
}

@media (max-width: 560px) {
  body { padding-bottom: 64px; }
  .brand-link { font-size: 1.3rem; }
  .brand-link i { font-size: 0.65rem; }
  .hero { min-height: 780px; }
  .hero-content { min-height: 780px; padding-bottom: 86px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-intro { font-size: 0.9rem; }
  .countdown-heading .section-index { display: none; }
  .countdown strong { font-size: clamp(2rem, 11vw, 3.3rem); }
  .countdown span { font-size: 0.58rem; }
  .countdown i { display: none; }
  .kinetic-ticker { margin-top: 18px; }
  .section { padding-top: 90px; padding-bottom: 90px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 150px; }
  .test-grid { grid-template-columns: 1fr; }
  .test-card { min-height: 270px; }
  .test-lock { margin-top: 34px; font-size: 5rem; }
  .test-card h3 { margin-top: 38px; }
  .event { min-height: auto; }
  .event-layout { gap: 52px; }
  .event-date-block { grid-template-columns: auto 1fr; gap: 12px; }
  .event-date-block > strong { font-size: 42vw; -webkit-text-stroke-width: 1px; }
  .event-date-block h2 { font-size: 10vw; }
  .venue-card { padding: 36px 26px; }
  .venue-card a { gap: 28px; }
  .registration h2 { font-size: clamp(4rem, 18vw, 6.2rem); }
  .button-large { min-width: 0; }
  .footer-meta { flex-direction: column; gap: 12px; }
  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 22px;
    background: var(--sprint);
    color: var(--ink);
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
