:root {
  --green: #F01941;
  --green-light: #f15d78;
  --green-dark: #a1132d;
  --ink: #1d1d1d;
  --black: #151315;
  --muted: #6c6c6c;
  --off-white: #fafafa;
  --line: #dedede;
  --section-x: clamp(24px, 8.333vw, 120px);
  --section-y: clamp(48px, 4.445vw, 64px);
  --content: 1200px;
  --radius: 16px;
  --heading: "Arial Narrow", "Avenir Next Condensed", Impact, sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--body); font-size: 16px; line-height: 1.2; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; font-family: var(--heading); font-weight: 900; text-transform: uppercase; line-height: 1.15; }
h2 { margin-bottom: 24px; color: var(--green); font-size: clamp(2rem, 2.5vw, 2.25rem); letter-spacing: .01em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.center-heading { width: 100%; text-align: center; }

.site-header { position: relative; z-index: 50; height: 98px; background: var(--black); }
.nav-shell { width: min(100%, 1440px); height: 100%; margin: auto; padding: 24px var(--section-x); display: flex; align-items: center; justify-content: space-between; }
.brand { width: 206px; flex: 0 0 auto; }
.brand img { width: 100%; height: 50px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav > a:not(.button) { padding: 8px 16px; color: var(--off-white); font-family: var(--heading); font-weight: 900; text-transform: uppercase; transition: color .2s ease; }
.main-nav > a:not(.button):hover, .main-nav > a:not(.button):focus-visible { color: var(--green-light); }
.button { min-height: 48px; padding: 13px 32px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--heading); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(0,0,0,.2); }
.button--green { background: var(--green); }
.button--green:hover { background: #f04969; }
.button--dark { background: var(--black); }
.button--dark:hover { background: #292629; }
.button--large {
  min-width: clamp(170px, 13.611vw, 196px);
  min-height: clamp(64px, 5.556vw, 80px);
  padding: 14px clamp(24px, 3.333vw, 48px);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; }

.hero { position: relative; height: auto; overflow: hidden; background: #777; }
.hero-image { width: 100%; height: auto; display: block; }
.hero-ribbon { min-height: 174px; display: grid; grid-template-columns: 1fr 1fr; }
.hero-join, .hero-countdown { display: flex; align-items: center; gap: 20px; padding: 24px; }
.hero-join { justify-content: center; background: rgba(21,19,21,.78); }
.hero-countdown { background: #F01941; }
.hero-join .button { flex: 0 0 auto; white-space: nowrap; }
.mobile-join { display: none; }
.hero-stacked { display: grid; color: #fff; font-family: var(--heading); font-weight: 900; text-transform: uppercase; text-shadow: 0 4px 4px rgba(0,0,0,.15); }
.hero-stacked small { grid-area: 1/1; align-self: start; font-size: clamp(1.3rem, 2.3vw, 2.1rem); }
.hero-stacked strong { grid-area: 1/1; align-self: end; padding-top: 30px; font-size: clamp(2.7rem, 4.4vw, 4rem); line-height: 1; }
.countdown { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: 8px; color: #fff; background: rgba(255,255,255,.22); box-shadow: 0 4px 2px rgba(0,0,0,.15); }
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 54px; }
.countdown strong, .countdown b { font-family: var(--heading); font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1; }
.countdown span { margin-top: 5px; font-size: .76rem; font-weight: 800; text-transform: uppercase; }

.section, .section-inner { width: min(100%, 1440px); margin: auto; }
.section { padding: var(--section-y) var(--section-x); }
.section-inner { padding: var(--section-y) var(--section-x); }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: center; }
.section-photo { width: 100%; aspect-ratio: 3 / 3; border-radius: var(--radius); object-fit: cover; }
.video-card { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--black); }
.purpose-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.purpose-grid article { display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; align-content: start; }
.purpose-grid i { width: 32px; height: 32px; display: grid; place-items: center; color: var(--green-dark); font-style: normal; font-size: 1.5rem; }
.purpose-grid h3 { align-self: center; font-size: 1rem; }
.purpose-grid p { grid-column: 1 / -1; margin: 8px 0 0; color: var(--muted); }

.wave { position: relative; z-index: 2; width: 100%; height: 78px; overflow: hidden; background: var(--green); }
.wave--top { margin-bottom: -1px; background: transparent; }
.wave img { width: 100%; height: 100%; object-fit: fill; }
.wave--bottom { margin-top: -1px; background: transparent; }
.wave--bottom img { transform: rotate(180deg); }
.green-section { width: 100%; color: var(--off-white); background: var(--green); }
.green-section h2 { color: var(--off-white); }
.categories .section-inner { padding-top: 16px; }
.category-grid { margin-top: 64px; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.race-card { width: 100%; max-width: 400px; min-height: 731px; overflow: hidden; border-radius: var(--radius); display: flex; flex-direction: column; color: var(--ink); background: var(--off-white); }
.race-card > img { width: 100%; aspect-ratio: 3 / 3; object-fit: cover; }
.race-card__body { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.race-card h3 { font-size: clamp(3rem, 4.45vw, 4rem); line-height: 1; text-align: center; }
.race-card h4 { font-size: 1.5rem; text-align: center; }
.race-card p { min-height: 20px; margin: 0; color: var(--muted); text-align: center; }
.race-card ul { flex: 1; margin: 0; padding-left: 24px; }
.race-card li { margin: 4px 0; }
.race-card strong { text-align: center; }
.race-card .button { width: 100%; }

.run-details .section-inner { padding-top: 64px; }
.run-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.run-details h2 { margin-bottom: 24px; }
.run-details h3 { margin: 24px 0; font-size: 1rem; }
.event-meta { margin: 0; }
.event-meta div { margin-bottom: 24px; }
.event-meta dt { margin-bottom: 10px; font-family: var(--heading); font-weight: 900; text-transform: uppercase; }
.event-meta dd { margin: 0; }
.schedule { display: grid; gap: 16px; }
.schedule > div { min-height: 30px; border: 1px solid var(--green-dark); display: grid; grid-template-columns: 150px 1fr; background: rgba(255,255,255,.06); }
.schedule b { padding: 7px 8px; display: grid; place-items: center; font-family: var(--heading); text-transform: uppercase; }
.schedule span { padding: 7px 24px; border-left: 1px solid var(--green-dark); }
.route-map { width: 100%; height: auto; aspect-ratio: 2010 / 1984; align-self: start; border-radius: var(--radius); object-fit: contain; }

.leaderboard .section-inner { padding-bottom: 48px; }
.totals { margin-top: 24px; display: flex; justify-content: space-between; text-transform: uppercase; }
.totals span { display: flex; flex-direction: column; }
.totals strong { margin-top: 2px; font-size: 1.5rem; }
.progress { height: 30px; margin-top: 8px; padding: 4px; border-radius: 99px; background: var(--off-white); }
.progress span { display: block; width: 78.0276%; height: 100%; border-radius: inherit; background: var(--black); }
.support-actions { padding-top: 40px; display: flex; justify-content: center; gap: 64px; }
.support-actions > div { display: flex; flex-direction: column; align-items: center; gap: 8px; text-transform: uppercase; }
.support-actions > div > span { font-size: .9rem; }
.support-actions > div > strong { font-size: 1.5rem; }
.support-actions .button { width: 300px; }

.gallery-section { padding-top: 36px; }
.gallery { margin-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 24px; }
.gallery:focus-visible { outline: 3px solid var(--green); outline-offset: 8px; border-radius: var(--radius); }
.gallery button { padding: 0; overflow: hidden; aspect-ratio: 3 / 2; border: 0; border-radius: var(--radius); background: #ddd; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery button:hover img { transform: scale(1.06); }
.gallery.is-changing button { animation: gallery-page-in .35s ease both; }
.gallery.is-changing button:nth-child(2n) { animation-delay: .035s; }
.gallery.is-changing button:nth-child(3n) { animation-delay: .07s; }
.gallery-dots { margin-top: 24px; display: flex; justify-content: center; gap: 10px; }
.gallery-dots button { width: 14px; height: 14px; padding: 0; border: 0; border-radius: 50%; background: #cfcfcf; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.gallery-dots button:hover, .gallery-dots button:focus-visible { transform: scale(1.25); outline: 2px solid var(--green-dark); outline-offset: 2px; }
.gallery-dots .active { background: var(--green); }

@keyframes gallery-page-in {
  from { opacity: .15; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wellness-collage { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.wellness-collage > * { aspect-ratio: 3 / 2; }
.wellness-collage > div { padding-right: 10px; display: flex; flex-direction: column; justify-content: center; }
.wellness-collage h3 { margin-bottom: 8px; font-size: 1.5rem; }
.wellness-collage p { color: var(--muted); }
.wellness-collage img { width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; }
.activity-list { margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; list-style: none; }
.activity-list li { display: flex; align-items: center; gap: 8px; text-transform: lowercase; }
.activity-list li::before { content: "+"; width: 24px; height: 24px; border: 2px solid var(--green); display: grid; place-items: center; color: var(--green); font-weight: 900; line-height: 1; }

.donation { position: relative; width: 100%; min-height: 365px; overflow: hidden; color: var(--off-white); background: var(--green); }
.donation-inner { width: min(100%, 1440px); min-height: inherit; margin: auto; padding: var(--section-y) var(--section-x); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.donation-copy { position: relative; grid-column: 1; }
.donation-copy h2 { margin: 0; color: var(--off-white); font-size: 3rem; line-height: 1.05; }
.donation-copy h3 { margin-bottom: 24px; font-size: 1.5rem; }
.donation-box { position: relative; grid-column: 2; align-self: center; }
.amounts { margin: 24px 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.amounts button { min-width: 0; height: 91px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: var(--ink); font-family: var(--heading); font-size: 1.5rem; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.amounts button.selected { border-color: var(--green-dark); background: rgba(255,255,255,.35); }
.donation .amounts button { color: var(--off-white); }
.amounts small { font-size: .75rem; }
.donation-box > .button { width: 100%; }
.story .text-link { margin-top: 18px; display: flex; justify-content: flex-end; color: var(--green); font-weight: 800; text-transform: uppercase; }
.story .text-link span { margin-left: 8px; font-size: 1.2rem; }

.partners { padding-top: 64px; }
.partner-tier { margin-top: 58px; text-align: center; }
.partner-tier h3, .partner-bottom h3 { margin-bottom: 24px; color: var(--muted); font-size: 1.5rem; }
.logo-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; align-items: center; }
.logo-row--3 { grid-template-columns: repeat(3,1fr); }
.logo-row img { width: 150px; height: 100px; margin: auto; object-fit: contain; }
.partner-bottom { margin-top: 64px; display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; text-align: center; }
.partner-bottom img { width: 150px; height: 100px; margin: auto; object-fit: contain; }
.partner-lockup { width: 100%; max-width: 1200px; margin: 0 auto; display: block; }

.share { padding: 64px var(--section-x); display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--green-light); }
.share h2 { color: var(--off-white); }
.share p { width: min(960px,100%); }
.share img { width: 150px; height: 32px; object-fit: contain; }
.site-footer { padding: 64px var(--section-x) 36px; color: #fff; background: var(--green); }
.footer-top, .footer-bottom { width: min(1200px,100%); margin: auto; display: flex; align-items: center; justify-content: space-between; }
.footer-top { padding-bottom: 24px; }
.footer-top > img { width: 300px; height: 73px; object-fit: contain; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials img { width: 50px; height: 50px; object-fit: contain; }
.footer-top .footer-socials { margin-left: auto; justify-content: flex-end; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--green-light); }
.footer-bottom p { margin: 0; font-size: .875rem; }
.footer-bottom nav { display: flex; }
.footer-bottom a { padding: 0 16px; border-right: 1px solid var(--green-light); font-size: .875rem; font-weight: 700; }
.footer-bottom a:last-child { padding-right: 0; border: 0; }

.lightbox { width: min(1000px,92vw); max-width: none; padding: 0; overflow: visible; border: 0; border-radius: var(--radius); background: transparent; }
.lightbox[open] { animation: lightbox-enter .32s cubic-bezier(.16,1,.3,1) both; }
.lightbox[open]::backdrop { background: rgba(0,0,0,.86); animation: lightbox-backdrop-enter .28s ease-out both; }
.lightbox[open].is-closing { animation: lightbox-exit .26s cubic-bezier(.7,0,.84,0) both; }
.lightbox[open].is-closing::backdrop { animation: lightbox-backdrop-exit .26s ease-in both; }
.lightbox img { width: 100%; max-height: 82vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close { position: absolute; top: -44px; right: 0; border: 0; color: #fff; background: transparent; font-size: 2.4rem; cursor: pointer; }

@keyframes lightbox-enter {
  from { opacity: 0; transform: translateY(28px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lightbox-exit {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(20px) scale(.95); }
}

@keyframes lightbox-backdrop-enter {
  from { background: rgba(0,0,0,0); }
  to { background: rgba(0,0,0,.86); }
}

@keyframes lightbox-backdrop-exit {
  from { background: rgba(0,0,0,.86); }
  to { background: rgba(0,0,0,0); }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox[open], .lightbox[open]::backdrop, .lightbox[open].is-closing, .lightbox[open].is-closing::backdrop { animation: none; }
}

.toast { position: fixed; z-index: 90; right: 24px; bottom: 24px; max-width: min(360px,calc(100vw - 48px)); padding: 14px 20px; border-radius: 10px; color: #fff; background: var(--black); box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-header { height: 82px; }
  .nav-shell { padding-top: 16px; padding-bottom: 16px; }
  .brand { width: 180px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .main-nav { position: fixed; inset: 82px 0 0; height: calc(100vh - 82px); height: calc(100dvh - 82px); padding: 28px 28px max(40px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 3px; overflow-y: auto; overscroll-behavior-y: contain; background: rgba(21,19,21,.98); transform: translateX(100%); transition: transform .3s ease; }
  .main-nav > * { flex-shrink: 0; }
  .menu-open .main-nav { transform: translateX(0); }
  .main-nav > a:not(.button) { padding: 12px 16px; font-size: 1.35rem; text-align: center; }
  .nav-register { margin-top: 16px; }
  .hero-ribbon { grid-template-columns: 1fr; }
  .hero-join, .hero-countdown { justify-content: center; padding-left: 24px; padding-right: 24px; }
  .hero-join { display: none; }
  .hero-countdown { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 20px; }
  .mobile-join { grid-column: 1 / -1; display: inline-flex; width: min(260px, 100%); justify-self: center; white-space: nowrap; }
  .gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery button:nth-child(n+10) { display: none; }
}

@media (max-width: 760px) {
  :root { --section-x: 20px; --section-y: 44px; }
  body { font-size: 15px; }
  h2 { font-size: 2rem; }
  .hero-countdown { grid-template-columns: 1fr; gap: 12px; }
  .hero-stacked { display: block; text-align: center; }
  .hero-stacked small, .hero-stacked strong { display: inline; padding: 0; font-size: 1.5rem; }
  .hero-stacked small::after { content: " "; }
  .countdown { width: 100%; padding: 14px 10px; }
  .countdown div { min-width: 42px; }
  .countdown strong, .countdown b { font-size: 1.8rem; }
  .countdown span { font-size: .62rem; }
  .two-column, .run-grid, .donation-inner { grid-template-columns: 1fr; }
  .purpose .section-photo { order: 2; }
  .purpose-grid { margin-top: 32px; grid-template-columns: 1fr; }
  .category-grid { margin-top: 36px; }
  .race-card { min-height: 0; }
  .race-card p { min-height: 0; }
  .race-card__body { gap: 16px; }
  .route-map { aspect-ratio: 2010 / 1984; }
  .schedule > div { grid-template-columns: 92px 1fr; }
  .schedule span { padding: 7px 12px; }
  .support-actions { flex-direction: column; align-items: center; gap: 28px; }
  .support-actions .button { width: min(300px,100%); }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .gallery button:nth-child(n+7) { display: none; }
  .wellness-collage { order: 2; }
  .activity-list { grid-template-columns: 1fr; }
  .donation-copy, .donation-box { grid-column: 1; }
  .donation-copy h2 { font-size: 2.4rem; }
  .amounts { grid-template-columns: repeat(2,1fr); }
  .story .section-photo { max-height: 420px; }
  .logo-row, .logo-row--3 { grid-template-columns: repeat(2,1fr); }
  .logo-row > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .partner-bottom { grid-template-columns: 1fr; }
  .footer-top { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 24px; text-align: center; }
  .footer-socials { justify-content: flex-end; }
  .footer-top > img { width: 160px; margin: 0; }
  .footer-bottom nav { flex-wrap: wrap; justify-content: center; gap: 10px 0; }
  .footer-bottom a { padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* About page */
.about-page .main-nav a[aria-current="page"] {
  color: var(--green-light);
}

.about-banner {
  position: relative;
  width: 100%;
  height: 300px;
  margin: auto;
  overflow: hidden;
  background: var(--black);
}

.about-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 61%;
}

.about-banner__dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
}

.about-banner__wash {
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(to bottom, rgba(240, 25, 65, 0), rgba(240, 25, 65, .8));
}

.about-banner h1 {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--off-white);
  font-size: clamp(3.25rem, 4.39vw, 3.95rem);
}

.about-section {
  width: min(100%, 1440px);
  min-height: 459px;
  margin: auto;
  padding: 64px var(--section-x);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.about-section h2 {
  margin-bottom: 24px;
  font-size: 2.25rem;
}

.about-intro__copy p:last-child,
.about-purpose__content > p:last-child,
.about-purpose__grid p:last-child {
  margin-bottom: 0;
}

.about-purpose {
  min-height: 520px;
}

.about-purpose__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-purpose__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-purpose__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-purpose__title {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-purpose__title img {
  width: 32px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.about-purpose__title h3 {
  font-size: 1rem;
}

.about-purpose__grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.about-donation {
  min-height: 365px;
  background: #fff;
.about-donation, .about-donation .donation-copy h2, .about-donation .amounts button { color: var(--ink); }
}

.about-donation .donation-inner {
  min-height: 365px;
}

.about-donation .amounts button {
  background: rgba(240, 25, 65, .08);
}

.about-donation .amounts button.selected {
  background: var(--green-light);
}

.about-share {
  min-height: 260px;
  padding-top: 48px;
  padding-bottom: 48px;
  justify-content: center;
}

.about-footer {
  min-height: 262px;
}

@media (max-width: 900px) {
  .about-banner {
    height: 220px;
  }

  .about-section {
    height: auto;
    grid-template-columns: 1fr;
  }

  .about-intro__copy,
  .about-purpose__content {
    max-width: 680px;
  }

  .about-section .video-card,
  .about-purpose__image {
    max-width: 680px;
  }

  .about-purpose__image {
    order: 2;
  }
}

/* Support page */
.support-page .main-nav a[aria-current="page"] {
  color: var(--green-light);
}

.support-donation {
  min-height: 327px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.support-donation__copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.05;
}

.support-donation__copy h3 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.support-progress {
  min-height: 427px;
}

.support-progress .section-inner {
  min-height: inherit;
  padding-top: 64px;
  padding-bottom: 64px;
}

.support-progress h2 {
  color: var(--green);
}

.donor-wall {
  min-height: 843px;
}

.donor-wall__header {
  margin-bottom: 48px;
  text-align: center;
}

.donor-wall__header h2 {
  margin-bottom: 8px;
  color: var(--ink);
}

.donor-wall__header p {
  margin: 0;
}

.donor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.donor-card {
  min-height: 121px;
  overflow: hidden;
  border: .5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 2px rgba(0, 0, 0, .05);
}

.donor-card header {
  min-height: 40px;
  padding: 8px 24px;
  border-bottom: .5px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
}

.donor-card header strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donor-card header > span:last-child {
  color: var(--muted);
}

.donor-heart {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.donor-card > div {
  min-height: 80px;
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: stretch;
}

.donor-card > div > strong {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 2.25rem;
  line-height: 1;
}

.donor-card > div > strong small {
  font-size: 1rem;
  line-height: 1.25;
}

.donor-card > div > p {
  position: relative;
  margin: 0;
  padding: 16px 28px;
  align-self: center;
  font-size: .875rem;
  font-weight: 300;
  line-height: 1.25;
}

.donor-card > div > p::before,
.donor-card > div > p::after {
  position: absolute;
  color: var(--muted);
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.donor-card > div > p::before { content: "“"; left: 8px; top: 12px; }
.donor-card > div > p::after { content: "”"; right: 10px; top: 12px; }

.support-share {
  min-height: 260px;
  padding-top: 48px;
  padding-bottom: 48px;
  justify-content: center;
}

.support-footer {
  min-height: 262px;
}

@media (max-width: 900px) {
  .support-donation {
    grid-template-columns: 1fr;
  }

  .donor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .support-donation__copy h2 {
    font-size: 2.4rem;
  }

  .donor-grid {
    grid-template-columns: 1fr;
  }

  .donor-card > div {
    grid-template-columns: 82px 1fr;
  }

  .donor-card > div > strong {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 560px) {
  .about-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .about-purpose__grid {
    margin-top: 32px;
    grid-template-columns: 1fr;
  }
}

/* Leaderboard page */
.leaderboard-page .main-nav a[aria-current="page"] {
  color: var(--green-light);
}

.leaderboard-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--black);
}

.leaderboard-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 61%;
}

.leaderboard-banner__dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
}

.leaderboard-banner__wash {
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(to bottom, rgba(240, 25, 65, 0), rgba(240, 25, 65, .8));
}

.leaderboard-banner h1 {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--off-white);
  font-size: clamp(3.25rem, 4.39vw, 3.95rem);
}

.leaderboard-categories .section-inner {
  padding-top: 64px;
  padding-bottom: 64px;
}

.leaderboard-progress .section-inner {
  min-height: 427px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.leaderboard-donation {
  min-height: 365px;
}

.leaderboard-share {
  min-height: 260px;
  padding-top: 48px;
  padding-bottom: 48px;
  justify-content: center;
}

.leaderboard-page .site-footer {
  min-height: 262px;
}

@media (max-width: 900px) {
  .leaderboard-banner {
    height: 220px;
  }
}

/* Gallery page */
.gallery-page .main-nav a[aria-current="page"] {
  color: var(--green-light);
}

.page-title-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #F01941;
}

.page-title-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 61%;
}

.page-title-banner__dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
}

.page-title-banner__wash {
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(to bottom, rgba(240, 25, 65, 0), rgba(240, 25, 65, .8));
}

.page-title-banner h1 {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--off-white);
  font-size: clamp(3.25rem, 4.39vw, 3.95rem);
}

.sponsor-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sponsor-support__card {
  position: relative;
  height: 350px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #ccc;
  color: var(--off-white);
  cursor: pointer;
}

.sponsor-support__card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.sponsor-support__card > span {
  position: absolute;
  inset: auto 0 0;
  min-height: 110px;
  padding: 24px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), var(--green));
  color: var(--off-white);
  font-family: var(--heading);
  font-size: clamp(2rem, 3.34vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.sponsor-support__card:hover > img,
.sponsor-support__card:focus-visible > img {
  transform: scale(1.04);
}

.sponsor-support__card:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 4px;
}

.gallery-content {
  min-height: 985px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.sponsors-message {
  min-height: 520px;
}

.sponsors-message .section-photo {
  height: 392px;
}

.sponsors-donation {
  min-height: 365px;
}

.sponsors-share {
  min-height: 260px;
  padding-top: 48px;
  padding-bottom: 48px;
  justify-content: center;
}

.sponsors-footer {
  min-height: 262px;
}

@media (max-width: 900px) {
  .page-title-banner {
    height: 220px;
  }

  .sponsor-support__card {
    height: 300px;
  }

  .sponsor-support__card > span {
    padding: 20px 28px;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .sponsor-support {
    grid-template-columns: 1fr;
  }

  .sponsor-support__card {
    height: 280px;
  }

  .sponsors-message .section-photo {
    height: auto;
  }
}

/* FAQs page */
.faqs-page .main-nav a[aria-current="page"] {
  color: var(--green-light);
}

.faqs-section {
  min-height: 536px;
}

.faqs-content {
  width: 100%;
  padding-right: var(--section-x);
  padding-left: var(--section-x);
}

.faqs-content h2 {
  margin-bottom: 64px;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--muted);
}

.faq-item + .faq-item {
  padding-top: 24px;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  min-height: 32px;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  list-style: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 8px;
  border-radius: 4px;
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  justify-self: center;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 20px 0 0 60px;
  overflow: hidden;
  transform-origin: top;
  will-change: height, opacity, transform;
}

.faq-answer p {
  margin: 0;
}

.faqs-donation {
  min-height: 365px;
}

.faqs-share {
  min-height: 260px;
  padding-top: 48px;
  padding-bottom: 48px;
  justify-content: center;
}

.faqs-footer {
  min-height: 262px;
}

@media (max-width: 900px) {
  .faqs-content {
    padding-right: 0;
    padding-left: 0;
  }

  .faqs-content h2 {
    margin-bottom: 40px;
  }

}

@media (max-width: 760px) {
  .faq-item summary {
    grid-template-columns: 44px minmax(0, 1fr);
    font-size: 1.15rem;
  }

  .faq-answer {
    padding-left: 44px;
  }

}

/* Contact page */
.contact-section {
  min-height: 674px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.contact-details { display: flex; flex-direction: column; gap: 10px; }
.contact-details__group { padding: 32px 0; }
.contact-details__group h2, .contact-form h2 { margin-bottom: 24px; }
.contact-list { padding: 8px; display: grid; gap: 24px; color: #000; font-style: normal; }
.contact-list > div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; align-items: center; }
.contact-list img { width: 48px; height: 48px; object-fit: contain; }
.contact-list p { margin: 0; }
.contact-social { padding: 8px; display: grid; gap: 24px; }
.contact-social a { width: fit-content; display: grid; grid-template-columns: 48px auto; gap: 24px; align-items: center; color: #000; text-transform: uppercase; }
.contact-social img { width: 48px; height: 48px; object-fit: contain; }

.contact-form {
  align-self: stretch;
  padding: 32px;
  border: 4px solid #fff;
  border-radius: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #f2f2f2);
  box-shadow: 0 4px 4px rgba(0,0,0,.15);
}

.contact-form > p { margin-bottom: 24px; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-field { display: grid; gap: 8px; color: #000; font-size: .875rem; font-weight: 700; }
.contact-field--full { grid-column: 1 / -1; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-height: 40px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; font: 400 1rem/1.2 var(--body); transition: border-color .2s ease, box-shadow .2s ease; }
.contact-field textarea { min-height: 112px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #b5b5b5; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { border-color: var(--green); outline: 0; box-shadow: 0 0 0 3px rgba(240,25,65,.18); }
.contact-form__actions { margin-top: 16px; display: flex; justify-content: flex-end; gap: 16px; }
.contact-clear, .contact-send { min-height: 48px; padding: 12px 32px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.contact-clear { color: #777; background: #ccc; }
.contact-send { color: #fff; background: var(--green); }
.contact-send:disabled { cursor: wait; opacity: .7; transform: none; box-shadow: none; }
.contact-send img { width: 24px; height: 24px; }
.contact-clear:hover, .contact-clear:focus-visible, .contact-send:hover, .contact-send:focus-visible { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(0,0,0,.16); }
.contact-donation { min-height: 365px; }
.contact-share { min-height: 260px; padding-top: 48px; padding-bottom: 48px; justify-content: center; }
.contact-footer { min-height: 262px; }

@media (max-width: 900px) {
  .contact-section { grid-template-columns: 1fr; }
  .contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 600px) {
  .contact-details { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; border-radius: 24px; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-field, .contact-field--full { grid-column: 1; }
  .contact-form__actions { flex-direction: column-reverse; }
  .contact-clear, .contact-send { width: 100%; }
}

.entitlements-list {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  line-height: 2;
}

.entitlements-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.entitlements-grid img {
  width: calc((100% - 24px) / 3);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius);
  background: #FFFFFF;
}

@media (max-width: 768px) {
  .entitlements-grid img {
    width: calc((100% - 12px) / 2);
  }
}

.expectations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
}
.expectations-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 991px) {
  .expectations-grid {
    margin-bottom: 24px;
  }
}


/* About Page Specific Styles */
.about-content h3 {
  margin-top: 48px;
}
.special-features {
  margin-top: 24px;
}

.registration-fees p {
  color: #1d1d1d;
}

/* Terms Page */
.terms-page .main-nav a[href="terms.html"] {
  color: var(--green-light);
}

.terms-section {
  line-height: 1.6;
}

.terms-section h2 {
  margin-top: 48px;
}

.terms-section ol {
  padding-left: 24px;
}

.terms-section ol li {
  margin-bottom: 16px;
}

.terms-section ul {
  margin: 12px 0;
  padding-left: 24px;
  list-style-type: disc;
}

.terms-section ul li {
  margin-bottom: 8px;
}
