@font-face {
  font-family: "Fat Kat";
  src: url("/assets/fonts/fat-kat.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Morally Serif";
  src: url("/assets/fonts/morally-serif.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono.woff2") format("woff2");
  font-display: swap;
}

:root {
  --orange: #f96335;
  --gold: #eea60b;
  --lavender: #ebdefc;
  --cream: #fff9eb;
  --ink: #111111;
  --line: rgba(17, 17, 17, 0.14);
  --sans: "IBM Plex Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --display: "Morally Serif", Georgia, serif;
  --novelty: "Fat Kat", Impact, sans-serif;
  --shell: 1156px;
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  font-family: var(--mono);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem clamp(1rem, 3vw, 3rem);
}

.brand {
  width: 66px;
  transition: transform 160ms ease;
}

.brand:hover { transform: rotate(-4deg) scale(1.04); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:not(.nav-button):hover { text-decoration: underline; text-underline-offset: 5px; }

.nav-button {
  padding: 0.72rem 1rem;
  border: 1px solid var(--gold);
  background: var(--cream);
  color: var(--orange);
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.menu-button { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: min(1000px, 100svh);
  place-items: center;
  overflow: hidden;
  padding: 8rem 1rem 5rem;
  background: var(--lavender);
}

.hero-ribbon {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

[data-parallax-depth] {
  --parallax-x: 0px;
  --parallax-y: 0px;
  --parallax-rotate: 0deg;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(var(--parallax-rotate));
  will-change: transform;
}

.hero-ribbon--top {
  top: -8%;
  left: -17%;
  width: min(1050px, 80vw);
}

.hero-ribbon--bottom {
  right: -15%;
  bottom: -18%;
  width: min(850px, 66vw);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(800px, 70vw);
  text-align: center;
  transform: translateY(2rem);
}

.eyebrow,
.hero-location,
.kicker {
  margin: 0;
  font-family: var(--mono);
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.2rem;
  font-size: clamp(0.78rem, 1.45vw, 1.25rem);
  letter-spacing: 0.035em;
}

.hero-wordmark {
  display: block;
  width: min(420px, 55vw);
}

.hero-wordmark img {
  width: 100%;
}

.hero-location {
  margin: 1.4rem 0 2rem;
  font-size: clamp(0.78rem, 1.25vw, 1.08rem);
  letter-spacing: 0.06em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.1rem;
  border: 0;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--gold);
}

.button--primary { background: var(--orange); color: white; }

.edition-badge,
.presenter-badge,
.championship-badge,
.promoter-badge {
  position: absolute;
  z-index: 4;
}

.edition-badge {
  top: 12%;
  left: 5.5%;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--orange);
  font-family: var(--novelty);
  line-height: 0.8;
  text-transform: uppercase;
  --parallax-rotate: -5deg;
}

.edition-number {
  position: relative;
  padding-right: 0.26em;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
}

.edition-number small {
  position: absolute;
  top: -0.12em;
  right: -0.45em;
  font-size: 0.38em;
}

.edition-label {
  margin-top: 0.42em;
  font-size: clamp(1.25rem, 2.4vw, 2.25rem);
}

.presenter-badge {
  top: 15%;
  right: 5.5%;
  width: clamp(90px, 11vw, 150px);
}

.championship-badge {
  bottom: 5%;
  left: 3.5%;
  width: clamp(130px, 17vw, 245px);
  --parallax-rotate: -7deg;
}

.promoter-badge {
  right: 4.8%;
  bottom: 12%;
  width: clamp(90px, 11vw, 135px);
}

.section { padding: var(--section-space) clamp(1rem, 4vw, 3rem); }

.section-shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
}

.section-shell--narrow { max-width: 820px; }
.section-shell--faq { max-width: 1060px; }

.intro { padding-top: 3rem; }

.tagline {
  margin: 0 0 3.5rem;
  padding: 0.65rem 1rem;
  border-block: 3px solid var(--gold);
  color: var(--orange);
  font-family: var(--novelty);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
}

.kicker {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.kicker span[aria-hidden] { color: var(--orange); }

.intro .kicker { margin-bottom: 1.8rem; text-align: center; }

.prose { font-size: 1.02rem; line-height: 1.75; }
.prose p { margin: 0 0 1.2rem; }
.prose a { color: var(--orange); text-underline-offset: 3px; }
.prose--center { text-align: center; }

.section-title {
  margin: 0 0 2.2rem;
  color: var(--orange);
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.section-title--left { text-align: left; }

.filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  margin-bottom: 2.5rem;
}

.filter-button {
  min-height: 42px;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: rgba(17, 17, 17, 0.48);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }

.schedule-list { display: grid; gap: 1rem; }

.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 88px;
  padding: 0.55rem 1rem 0.55rem 1.4rem;
  border-left: 7px solid var(--gold);
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.schedule-item:hover,
.schedule-item:focus-visible { background: rgba(238, 166, 11, 0.08); transform: translateX(3px); }
.schedule-item[hidden] { display: none; }

.schedule-name {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.schedule-time {
  display: inline-flex;
  margin-top: 0.45rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--gold);
  color: white;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
}

.schedule-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.schedule-meta::before { content: "◉"; color: var(--gold); font-size: 0.7rem; }

.schedule-fee { min-width: 120px; text-align: right; }
.schedule-fee strong { display: block; font-family: var(--mono); font-size: 0.84rem; color: var(--gold); }
.schedule-fee span { display: block; font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; }

.sponsors { padding-top: 4rem; }

.sponsor-grid,
.supporter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 2.4rem 3.5rem;
}

.sponsor-grid img,
.supporter-grid img {
  width: 100%;
  max-width: 220px;
  max-height: 90px;
  margin: auto;
  object-fit: contain;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.course .section-title,
.history .section-title { margin-bottom: clamp(3rem, 6vw, 5rem); }

.split-grid--history { align-items: start; }

.map-frame {
  height: 620px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.25);
  background: #f2eee3 url("/assets/images/course-map-fallback.webp") center / cover no-repeat;
}

.map-frame iframe { width: 100%; height: 100%; border: 0; }

.history-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 58%;
}

.registration { background: var(--lavender); }

.registration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 7vw, 7rem);
}

.registration-column { display: grid; align-content: start; gap: 1.1rem; }
.registration-column p { margin: 0; }
.registration-column .button { justify-self: start; margin-top: 0.5rem; }

.registration-subtitle {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
}

.registration-subtitle::before { content: "✦✦ "; color: var(--orange); }

.join {
  position: relative;
  display: grid;
  min-height: 700px;
  place-items: center;
  overflow: hidden;
  padding: 5rem 1rem;
  background: url("/assets/images/join-us.webp") center 48% / cover no-repeat;
}

.join-card {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(360px, calc(100vw - 2rem));
  aspect-ratio: 1;
  place-content: center;
  padding: 2.5rem;
  border-radius: 50%;
  background: var(--lavender);
  text-align: center;
}

.join-card p { margin: 0; }
.join-card > p:last-child { margin-top: 1.15rem; line-height: 1.8; }
.join-card a { color: var(--orange); text-underline-offset: 3px; }

.join-stars { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.join-stars img { position: absolute; width: 42px; }
.join-stars img:nth-child(1) { top: 13%; left: 16%; }
.join-stars img:nth-child(2) { top: 22%; right: 18%; }
.join-stars img:nth-child(3) { bottom: 15%; left: 22%; }
.join-stars img:nth-child(4) { right: 13%; bottom: 18%; }

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 58px;
  padding: 0.85rem 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; font-family: var(--sans); font-weight: 400; }
.faq-item[open] summary::after { content: "×"; }
.faq-answer { max-width: 900px; padding: 0 2.5rem 1.5rem 0; }
.faq-answer p { margin: 0; }

.site-footer {
  display: grid;
  min-height: 300px;
  place-content: center;
  padding: 3rem 1rem;
  background: var(--gold);
  text-align: center;
}

.footer-title {
  margin: 0 0 1rem;
  color: var(--orange);
  font-family: var(--novelty);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.82;
}

.site-footer > p:last-child {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.65;
}

@media (max-width: 1020px) {
  .site-nav { gap: 0.85rem; font-size: 0.78rem; }
  .nav-button { padding-inline: 0.75rem; font-size: 0.95rem; }
  .hero { min-height: 820px; }
  .hero-ribbon--top { left: -28%; width: 1000px; }
  .hero-ribbon--bottom { right: -28%; width: 760px; }
  .sponsor-grid,
  .supporter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 4rem; }

  .site-header { position: absolute; align-items: center; padding: 0.85rem 1rem; }
  .brand { width: 46px; }

  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 160ms ease, opacity 160ms ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.4rem;
    padding: 6rem 2rem 3rem;
    background: var(--lavender);
    font-size: 1.05rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav[data-open="true"] { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-button { font-size: 1.2rem; }

  .hero { min-height: 720px; padding-top: 6rem; }
  .hero-content { width: calc(100% - 2rem); }
  .hero-content { transform: translateY(1.25rem); }
  .hero-wordmark { width: min(300px, 82vw); }
  .eyebrow { margin-bottom: 0.9rem; }
  .hero-location { margin: 0.85rem 0 1.35rem; }
  .hero-ribbon--top { top: -3%; left: -30%; width: 700px; }
  .hero-ribbon--bottom { right: -73%; bottom: -2%; width: 700px; }

  .edition-badge { top: 12%; left: 4%; }
  .edition-number { font-size: 2.6rem; }
  .edition-label { font-size: 1rem; }
  .presenter-badge { top: 11%; right: 4%; width: 84px; }
  .championship-badge { bottom: 7%; left: 2%; width: 106px; }
  .promoter-badge { right: 3%; bottom: 10%; width: 85px; }

  .section { padding: 4.5rem 1rem; }
  .intro { padding-top: 2rem; }
  .tagline { margin-bottom: 3rem; font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .prose { font-size: 0.98rem; }

  .filters { display: grid; grid-template-columns: repeat(2, auto); gap: 0 1.2rem; margin-bottom: 2rem; }
  .filter-button { min-height: 46px; }

  .schedule-list { gap: 0.65rem; }
  .schedule-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 0.8rem;
    min-height: 86px;
    padding: 0.65rem 0.5rem 0.65rem 1rem;
    border-left-width: 5px;
  }
  .schedule-name { font-size: 0.88rem; }
  .schedule-time { font-size: 0.62rem; }
  .schedule-meta { grid-column: 2; grid-row: 1; align-self: end; min-width: 0; font-size: 0.68rem; }
  .schedule-fee { grid-column: 2; grid-row: 2; align-self: start; min-width: 0; }
  .schedule-fee strong { font-size: 0.72rem; }
  .schedule-fee span { font-size: 0.58rem; }

  .sponsor-grid,
  .supporter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.2rem; }
  .sponsor-grid img,
  .supporter-grid img { max-height: 62px; }

  .split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .map-frame { height: min(90svh, 580px); }
  .section-title--left { text-align: center; }

  .split-grid--history { gap: 2rem; }
  .history-image { height: 240px; aspect-ratio: auto; object-position: center 65%; }

  .registration-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .join { min-height: 520px; }
  .join-card { width: 260px; padding: 1.8rem; }
  .join-stars img { width: 32px; }
  .faq-item summary { min-height: 62px; font-size: 0.72rem; }
  .site-footer { min-height: 330px; }
  .footer-title { font-size: clamp(4rem, 20vw, 5.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-parallax-depth] { transform: rotate(var(--parallax-rotate)); will-change: auto; }
}

/* 2026 race-day program refresh */
:root {
  --orange: #f76135;
  --orange-ink: #f76135;
  --gold: #f5a800;
  --lavender: #ebdefc;
  --cream: #fff8e8;
  --ink: #171316;
  --line: rgba(23, 19, 22, 0.2);
  --shell: 1240px;
  --section-space: clamp(5rem, 8vw, 8rem);
}

body {
  font-size: 17px;
  line-height: 1.62;
  overflow-x: clip;
}

.site-header {
  align-items: center;
  max-width: 1440px;
  margin-inline: auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 4rem);
}

.brand { width: 76px; }
.brand img { width: 100%; height: auto; }

.site-nav {
  gap: clamp(1rem, 2.4vw, 2.35rem);
  font-size: 0.8rem;
  letter-spacing: 0.035em;
}

.nav-button {
  min-height: 42px;
  padding: 0.68rem 1rem;
  border: 2px solid var(--orange-ink);
  background: transparent;
  color: var(--orange-ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-button:last-child {
  background: var(--orange-ink);
  color: white;
}

.hero {
  min-height: min(960px, 100svh);
  padding: 8.5rem 1rem 6rem;
}

.hero-content {
  width: min(860px, 72vw);
  transform: translateY(1.25rem);
}

.hero-wordmark { width: min(520px, 50vw); }

.eyebrow {
  margin-bottom: 1.55rem;
  font-size: clamp(0.9rem, 1.25vw, 1.18rem);
  letter-spacing: 0.08em;
}

.hero-location {
  margin: 1.75rem 0 2.15rem;
  font-size: clamp(0.9rem, 1.15vw, 1.08rem);
  letter-spacing: 0.095em;
}

.button {
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  font-family: var(--mono);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.button--primary { background: var(--orange-ink); }

.button:hover { box-shadow: 5px 5px 0 var(--gold); }

.edition-badge { top: 11%; left: 4%; }
.presenter-badge { top: 14%; right: 5%; }
.championship-badge { bottom: 5%; left: 3%; }
.promoter-badge { right: 5%; bottom: 10%; }

.section-shell--narrow { max-width: 1080px; }
.section-shell--faq { max-width: 1180px; }

.intro {
  padding-top: clamp(4.5rem, 7vw, 7rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.tagline {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 3.75rem;
  padding: 0;
  border: 0;
  font-size: clamp(3rem, 4.5vw, 4.6rem);
  line-height: 0.92;
  text-align: left;
  color: var(--orange-ink);
}

.tagline::after {
  content: "";
  min-width: 5rem;
  flex: 1;
  border-top: 2px solid var(--orange);
}

.intro .kicker {
  margin: 0 0 1.25rem;
  text-align: left;
}

.prose {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.72;
}

.prose--center {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem clamp(2.5rem, 6vw, 6rem);
  text-align: left;
}

.prose--center p { margin-bottom: 1.5rem; }
.prose a { color: var(--orange-ink); }

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 3rem;
  font-family: var(--novelty);
  font-size: clamp(3.25rem, 5.4vw, 5.35rem);
  line-height: 0.9;
  text-align: left;
  color: var(--orange-ink);
}

.section-title::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 3px solid var(--orange);
  border-radius: 50%;
}

.section-title::after {
  content: "";
  min-width: 4rem;
  flex: 1;
  border-top: 2px solid var(--orange);
}

.filters {
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 0 0 2.25rem 2rem;
  border-bottom: 1px solid var(--gold);
}

.filter-button {
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px solid transparent;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--orange-ink);
  background: var(--orange-ink);
  color: white;
}

.schedule-list {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 2.1rem;
}

.schedule-list::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: 0.65rem;
  border-left: 2px solid var(--orange);
}

.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 130px 104px;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(247, 97, 53, 0.35);
  border-left: 0;
}

.schedule-item::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  width: 14px;
  height: 14px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  background: var(--cream);
}

.schedule-item:hover,
.schedule-item:focus-visible {
  background: rgba(245, 168, 0, 0.08);
  transform: none;
}

.schedule-time {
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.schedule-name {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 400;
  text-decoration: none;
}

.schedule-status {
  display: block;
  margin-top: 0.2rem;
  color: var(--orange-ink);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.schedule-meta {
  min-width: 0;
  font-size: 0.74rem;
}

.schedule-meta::before { color: var(--orange); }

.schedule-fee {
  min-width: 0;
  text-align: left;
}

.schedule-fee strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.schedule-fee span { color: rgba(23, 19, 22, 0.62); }

.sponsors,
.supporters {
  padding-block: clamp(4rem, 6vw, 6rem);
  background: var(--lavender);
}

.supporters { background: var(--cream); }

.sponsors .section-title,
.supporters .section-title { margin-bottom: 3.5rem; }

.sponsor-grid,
.supporter-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2rem;
}

.sponsor-grid img,
.supporter-grid img {
  max-width: 150px;
  max-height: 78px;
  /* Brand logos come in mixed source colors; a solid black overlay keeps both rows visually consistent. */
  filter: brightness(0);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.sponsor-grid img.brand-color,
.supporter-grid img.brand-color {
  filter: none;
}

.sponsor-grid a:hover img,
.sponsor-grid a:focus-visible img,
.supporter-grid a:hover img,
.supporter-grid a:focus-visible img {
  opacity: 1;
}

.course,
.history { background: var(--cream); }

.course .section-title,
.history .section-title { margin-bottom: 3.5rem; }

.course .split-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: stretch;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.map-frame {
  position: relative;
  display: block;
  height: auto;
  aspect-ratio: 900 / 1350;
  overflow: hidden;
  border: 3px solid var(--orange);
  background: var(--ink);
  text-decoration: none;
}

.map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transition: transform 260ms ease;
}

.map-frame > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--orange-ink);
  color: white;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.map-frame:hover img { transform: scale(1.025); }

.course .prose {
  align-self: center;
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 2px solid var(--orange);
}

.history { padding-top: 2rem; }

.split-grid--history {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.split-grid--history .prose {
  grid-column: 2;
  align-self: center;
}

.history-image {
  grid-column: 1;
  grid-row: 1;
  height: clamp(540px, 48vw, 660px);
  min-height: 540px;
  aspect-ratio: auto;
  border: 3px solid var(--orange);
  object-position: center 58%;
}

.registration {
  position: relative;
  overflow: hidden;
  background: var(--lavender);
}

.registration::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -3rem;
  width: 260px;
  height: 80px;
  border-block: 16px solid var(--gold);
  transform: rotate(-8deg);
  opacity: 0.9;
}

.registration-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-left: 2rem;
  border-left: 2px solid var(--orange);
}

.registration-column { gap: 2rem; }

.registration-column > div {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(247, 97, 53, 0.45);
}

.registration-subtitle {
  margin-bottom: 0.7rem;
  color: var(--orange-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.registration-subtitle::before { content: ""; }

.join {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 42%) 1fr;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 7rem);
  background: var(--cream);
}

.join::before {
  content: "";
  position: absolute;
  inset: 0 0 0 42%;
  background: url("/assets/images/join-us.webp") center 48% / cover no-repeat;
}

.join-card {
  z-index: 2;
  justify-self: start;
  width: min(420px, 100%);
  aspect-ratio: auto;
  place-content: start;
  padding: 1.5rem 2.5rem 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  border-radius: 0;
  background: var(--cream);
  text-align: left;
}

.join-card .kicker {
  color: var(--orange);
  font-family: var(--novelty);
  font-size: clamp(3.25rem, 5vw, 5rem);
  line-height: 0.9;
}

.join-card .kicker span { display: none; }

.join-card > p:last-child {
  margin-top: 1.75rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 2.1;
}

.join-stars { display: none; }

.section-shell--faq {
  display: grid;
  grid-template-columns: minmax(230px, 0.35fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.section-shell--faq .section-title {
  position: sticky;
  top: 2rem;
  flex-direction: column;
  align-items: flex-start;
}

.section-shell--faq .section-title::before {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.section-shell--faq .section-title::after {
  min-width: 0;
  width: 2px;
  height: 180px;
  flex: none;
  margin-left: 8px;
  border-top: 0;
  border-left: 2px solid var(--gold);
}

.faq-list { border-top-color: var(--gold); }
.faq-item { border-bottom-color: rgba(245, 168, 0, 0.55); }

.faq-item summary {
  min-height: 64px;
  padding: 1rem 0;
  font-size: 0.78rem;
  font-weight: 700;
}

.faq-answer {
  max-width: 760px;
  padding-bottom: 2rem;
  font-size: 1rem;
}

.site-footer {
  min-height: 360px;
  padding: 4rem 1.5rem;
}

.footer-title {
  max-width: 1200px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 0.9;
  color: var(--ink);
}

@media (max-width: 1020px) {
  body { font-size: 16px; }
  .site-nav { gap: 0.8rem; font-size: 0.7rem; }
  .nav-button { padding-inline: 0.7rem; font-size: 0.67rem; }
  .hero { min-height: 820px; }
  .prose--center { gap: 0.5rem 2.5rem; }
  .schedule-item { grid-template-columns: 102px minmax(0, 1fr) 110px 88px; gap: 0.7rem; }
  .sponsor-grid,
  .supporter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .course .split-grid { grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr); gap: 2.5rem; }
  .history-image { min-height: 430px; }
}

@media (max-width: 767px) {
  .site-header { padding: 0.9rem 1rem; }
  .brand { width: 52px; }
  .site-nav { font-size: 1rem; }
  .nav-button { font-size: 0.78rem; }

  .hero { min-height: 760px; padding-top: 6rem; }
  .hero-content { width: calc(100% - 1.5rem); transform: translateY(1rem); }
  .hero-wordmark { width: min(330px, 80vw); }

  .section { padding: 5rem 1rem; }
  .intro { padding-top: 4rem; }

  .tagline {
    display: block;
    margin-bottom: 2.75rem;
    font-size: clamp(2.75rem, 11vw, 4rem);
  }
  .tagline::after { display: block; width: 100%; margin-top: 1rem; }

  .prose--center { grid-template-columns: 1fr; gap: 0; }

  .section-title {
    gap: 0.7rem;
    margin-bottom: 2.5rem;
    min-width: 0;
    font-size: clamp(2.7rem, 11vw, 4.25rem);
  }
  .registration .section-title { font-size: clamp(2.2rem, 8vw, 3.25rem); }
  .section-title::before { width: 12px; height: 12px; flex-basis: 12px; border-width: 2px; }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 2rem;
  }
  .filter-button { padding-inline: 0.4rem; font-size: 0.68rem; }

  .schedule-list { padding-left: 1.45rem; }
  .schedule-list::before { left: 0.4rem; }
  .schedule-item {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    grid-template-areas:
      "time primary fee"
      ". meta meta";
    gap: 0.35rem 0.65rem;
    min-height: 92px;
    padding: 0.85rem 0;
  }
  .schedule-item::before { left: -1.32rem; width: 11px; height: 11px; border-width: 2px; }
  .schedule-time { grid-area: time; font-size: 0.78rem; }
  .schedule-primary { grid-area: primary; }
  .schedule-name { font-size: 1rem; }
  .schedule-status { font-size: 0.56rem; }
  .schedule-meta { grid-area: meta; font-size: 0.64rem; }
  .schedule-fee { grid-area: fee; text-align: right; }
  .schedule-fee strong { font-size: 0.76rem; }
  .schedule-fee span { font-size: 0.52rem; }

  .sponsor-grid,
  .supporter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1rem; }

  .course .split-grid,
  .split-grid--history { grid-template-columns: 1fr; gap: 2.5rem; }
  .course .prose { padding: 1.5rem 0 0; border-top: 2px solid var(--orange); border-left: 0; }
  .map-frame { height: auto; aspect-ratio: 900 / 1350; }
  .map-frame > span { right: 0.65rem; bottom: 0.65rem; min-height: 44px; font-size: 0.68rem; }
  .split-grid--history .prose { grid-column: 1; grid-row: 2; }
  .history-image { grid-column: 1; grid-row: 1; min-height: 0; height: auto; aspect-ratio: 4 / 3; }

  .registration-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-left: 1.25rem; }

  .join {
    grid-template-columns: 1fr;
    min-height: 760px;
    align-items: start;
    padding: 4.5rem 1rem 24rem;
  }
  .join::before { inset: auto 0 0; height: 360px; }
  .join-card { justify-self: stretch; width: 100%; padding: 1.5rem 1.5rem 1.5rem 1.25rem; }

  .section-shell--faq { grid-template-columns: 1fr; gap: 1rem; }
  .section-shell--faq .section-title { position: static; flex-direction: row; align-items: center; }
  .section-shell--faq .section-title::after {
    width: auto;
    height: auto;
    min-width: 3rem;
    flex: 1;
    margin-left: 0;
    border-top: 2px solid var(--orange);
    border-left: 0;
  }
  .faq-item summary { min-height: 66px; font-size: 0.7rem; }

  .site-footer { min-height: 360px; }
  .footer-title {
    font-size: clamp(4.5rem, 20vw, 6.5rem);
    line-height: 0.82;
    white-space: normal;
  }
}
