:root {
  color-scheme: light;
  --ink: #2f1428;
  --ink-soft: #61364b;
  --muted: #7f5b67;
  --muted-2: #a06f80;
  --line: #f7dfe6;
  --line-2: #f2c8d5;
  --paper: #fffaf8;
  --paper-2: #fff2ee;
  --white: #ffffff;
  --forest: #b31b5d;
  --forest-2: #ff4f8b;
  --forest-3: #7f1248;
  --sage: #ffe1ea;
  --sage-2: #ffd5dc;
  --gold: #ff7b4f;
  --gold-2: #ff5f33;
  --coral: #ff9a78;
  --button-pink: #ff4ea8;
  --button-pink-2: #ff2d74;
  --button-pink-3: #ff1a6b;
  --button-shadow: rgba(255, 45, 116, 0.28);
  --shadow-sm: 0 4px 14px rgba(179, 27, 93, 0.08);
  --shadow: 0 18px 44px rgba(179, 27, 93, 0.16);
  --shadow-lg: 0 30px 70px rgba(179, 27, 93, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--forest); color: var(--white); padding: .75rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  padding: .25rem clamp(1rem, 2.2vw, 1.2rem);
  background: linear-gradient(90deg, #fff4f7 0%, #ffdce8 24%, #f7bdd0 57%, #f3a4bc 100%);
  border-bottom: 1px solid rgba(115, 36, 73, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner {
  width: 100%; max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  min-width: 0;
  padding: 0;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; flex: 0 0 auto; align-self: flex-start; height: auto; }
.brand-logo { width: auto; height: auto; max-width: 220px; max-height: 56px; object-fit: contain; display: block; padding: 0; transform: scale(1.85); transform-origin: left center; }
.brand-mark {
  display: inline-grid; width: 44px; height: 44px; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  color: var(--white);
  box-shadow: 0 6px 14px rgba(20, 70, 61, .35);
}
.brand-text strong { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: var(--forest); }
.brand-text small { display: block; color: var(--muted); font-size: .78rem; }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a { border-radius: 999px; color: #2a0d1a; font-weight: 700; font-size: .92rem; padding: .55rem .9rem; text-decoration: none; transition: background .18s, color .18s; }
.main-nav a:hover, .main-nav a:focus { background: rgba(101, 31, 61, 0.08); color: #2a0d1a; }
.main-nav .nav-start { background: rgba(255,255,255,.38); color: #2a0d1a; border: 1px solid rgba(82, 28, 52, 0.12); padding-left: 1rem; padding-right: 1rem; }
.main-nav .nav-start:hover, .main-nav .nav-start:focus { background: rgba(255,255,255,.6); color: #2a0d1a; }
.main-nav .nav-donate {
  background: linear-gradient(135deg, #fffdfd 0%, #f9d9e6 100%);
  color: #2a0d1a;
  padding-left: 1.05rem;
  padding-right: 1.05rem;
  box-shadow: 0 10px 24px rgba(180, 77, 119, 0.14);
}
.main-nav .nav-donate:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f5d1e0 100%);
  color: #2a0d1a;
}

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.55); border-radius: 12px;
  background: rgba(255,255,255,.12); cursor: pointer;
}
.nav-toggle span:not(.visually-hidden) { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--white); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2.5rem) clamp(4rem, 8vw, 7rem);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, .86) 0%, rgba(15, 23, 42, .28) 48%, rgba(15, 23, 42, .08) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.hero-media-grid {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-media-grid img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0;
  filter: saturate(1.03) contrast(1.05) brightness(1.03);
  animation: hero-photo-fade 18s infinite ease-in-out;
}
.hero-media-grid img:nth-child(1) { animation-delay: 0s; }
.hero-media-grid img:nth-child(2) { animation-delay: 6s; }
.hero-media-grid img:nth-child(3) { animation-delay: 12s; }
@keyframes hero-photo-fade {
  0%, 22% { opacity: 0; }
  28%, 56% { opacity: 1; }
  62%, 100% { opacity: 0; }
}
.activity-page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translateY(-2cm);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, .86) 0%, rgba(15, 23, 42, .42) 48%, rgba(15, 23, 42, .16) 100%);
}
.hero-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.hero-content { max-width: 760px; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 79, 163, .18); }
.eyebrow-light { color: rgba(255,255,255,.85); }
.eyebrow-light .dot { background: var(--gold); }

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.lead { max-width: 620px; margin: 1.4rem 0 0; color: rgba(255, 255, 255, .82); font-size: clamp(1.02rem, 1.6vw, 1.18rem); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 800; font-size: .96rem; letter-spacing: .005em;
  padding: .85rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.button-primary {
  background: linear-gradient(135deg, var(--button-pink) 0%, var(--button-pink-2) 100%);
  color: var(--white);
  box-shadow: 0 12px 28px var(--button-shadow);
}
.button-primary:hover {
  background: linear-gradient(135deg, var(--button-pink-2) 0%, var(--button-pink-3) 100%);
  transform: translateY(-1px);
}
.button-ghost { background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.28); }
.button-ghost:hover { background: rgba(255,255,255,.14); }
.button-dark {
  background: linear-gradient(135deg, var(--button-pink) 0%, var(--button-pink-2) 100%);
  color: var(--white);
}
.button-dark:hover {
  background: linear-gradient(135deg, var(--button-pink-2) 0%, var(--button-pink-3) 100%);
}

.hero-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.12);
  padding: 1.4rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}
.hero-card-header { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.pill {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--forest) 100%); color: var(--white);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .7rem;
}
.pill-outline { background: transparent; color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.3); }
.hero-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.hero-card-list li {
  display: flex; justify-content: space-between; gap: .75rem;
  padding-bottom: .7rem;
  border-bottom: 1px dashed rgba(255,255,255,.15);
  font-size: .92rem;
}
.hero-card-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card-list span { color: rgba(255,255,255,.7); }
.hero-card-list strong { font-weight: 800; }
.hero-card-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.3rem;
  color: var(--gold); font-weight: 800; text-decoration: none;
}
.hero-card-cta:hover { color: var(--white); }

/* ===== STATS ===== */
.stats {
  position: relative;
  margin: -3.5rem auto 0;
  max-width: var(--container);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stats-grid-social {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat { padding: 1.6rem 1.4rem; text-align: left; border-right: 1px solid var(--line); }
.stats-ticker {
  overflow: hidden;
  background: #000000;
}
.stats-ticker-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  min-width: 100%;
  padding: .35rem 0;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}
.stats-ticker-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 100%;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}
.stat-strava { display: flex; align-items: center; justify-content: center; background: var(--paper); }
.stat-strava a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; width: 100%; min-height: 100%; text-decoration: none; text-align: center; }
.stat-strava img { display: block; width: 100%; max-width: 170px; height: auto; object-fit: contain; }
.stat-strava span { display: block; color: var(--ink); font-size: .95rem; font-weight: 800; line-height: 1.35; }
.stat-facebook { display: flex; align-items: center; justify-content: center; background: var(--paper); }
.stat-facebook a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; width: 100%; min-height: 100%; text-decoration: none; text-align: center; }
.stat-facebook img { display: block; width: 100%; max-width: 170px; height: auto; object-fit: contain; }
.stat-facebook span { display: block; color: var(--ink); font-size: .95rem; font-weight: 800; line-height: 1.35; }
.stat-facebook { display: flex; align-items: center; justify-content: center; background: var(--paper); }
.stat-facebook a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; width: 100%; min-height: 100%; text-decoration: none; text-align: center; }
.stat-facebook img { display: block; width: 100%; max-width: 170px; height: auto; object-fit: contain; }
.stat-facebook span { display: block; color: var(--ink); font-size: .95rem; font-weight: 800; line-height: 1.35; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--forest); line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: .4rem; color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ===== SECTIONS ===== */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}
.section + .section { border-top: 1px solid rgba(210, 221, 214, .55); }
.section-copy { max-width: 740px; }
.section-copy-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { margin: .9rem 0 0; color: var(--muted); font-size: 1.02rem; }
.riders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2.2rem;
}
.rider-card {
  display: flex;
  flex-direction: column;
  width: 6cm;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.rider-card:hover,
.rider-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(179, 27, 93, .26);
  box-shadow: 0 18px 32px rgba(179, 27, 93, 0.12);
}
.rider-thumb {
  width: 100%;
  height: 10cm;
  background: var(--paper);
  overflow: hidden;
}
.rider-thumb-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, var(--sage), var(--paper-2));
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
}
.rider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border: 4px solid #121212;
  box-sizing: border-box;
}
.rider-card--paid {
  position: relative;
  border: 3mm solid #ff4fa3;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,245,250,0.96) 100%);
  box-shadow: 0 0 0 1px rgba(255, 95, 170, 0.18), 0 16px 28px rgba(255, 95, 170, 0.12), 0 30px 60px rgba(18, 18, 18, 0.08);
}
.rider-card--paid .rider-thumb {
  background: linear-gradient(180deg, rgba(255, 242, 181, 0.09), rgba(20, 20, 20, 0.02));
}
.rider-card--paid .rider-thumb .rider-thumb-empty,
.rider-card--paid .rider-thumb img {
  position: relative;
  z-index: 1;
}
.rider-card--paid .rider-thumb img {
  border: 0;
  box-shadow: none;
}
.rider-card--unpaid {
  border: 3mm solid #121212;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,246,246,0.96) 100%);
  box-shadow: 0 0 0 1px rgba(18, 18, 18, 0.12), 0 16px 28px rgba(18, 18, 18, 0.08);
}
.rider-card--unpaid .rider-thumb img {
  border: 0;
  box-sizing: border-box;
  box-shadow: none;
  filter: grayscale(1) brightness(0.75) sepia(0.15) saturate(0.6);
  opacity: 0.82;
}
.rider-body {
  display: grid;
  gap: .45rem;
  padding: 1rem 1rem 1.1rem;
}
.rider-index {
  margin: 0;
  color: var(--button-pink-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rider-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--forest);
}
.rider-placeholder {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
.rider-registration {
  display: grid;
  gap: 1.25rem;
}
.rider-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #fff8fb 100%);
  box-shadow: var(--shadow-sm);
}
.rider-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-field {
  display: grid;
  gap: .45rem;
  color: var(--ink-soft);
  font-weight: 700;
}
.form-field span {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.form-field input {
  width: 100%;
  min-height: 48px;
  padding: .85rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(31, 15, 24, 0.02);
}
.form-field input:focus {
  outline: none;
  border-color: rgba(255, 78, 168, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 78, 168, 0.12);
}
.form-field input[type="file"] {
  padding-top: .72rem;
}
.form-field-full {
  grid-column: 1 / -1;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 600;
}
.form-consent input {
  margin-top: .2rem;
  accent-color: var(--button-pink-2);
}
.form-status {
  padding: .95rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
}
.form-status-success {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}
.form-status-error {
  border: 1px solid #fda4af;
  background: #fff1f2;
  color: #9f1239;
}
.rider-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.rider-hero .hero-media img {
  object-position: center top;
  transform: scaleX(-1);
}
.rider-profile-paid .hero-media {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 242, 181, 0.1), rgba(20, 20, 20, 0.08));
}
.rider-profile-paid .hero-media img {
  position: relative;
  z-index: 1;
  border: 3mm solid #ff4fa3;
  box-sizing: border-box;
  box-shadow: 0 0 0 2px rgba(255, 95, 170, 0.22), 0 18px 36px rgba(255, 95, 170, 0.22);
}
.rider-profile-unpaid .hero-media,
.rider-profile-unpaid .hero-media img {
  border: 3mm solid #121212;
  box-sizing: border-box;
  box-shadow: none;
}
.rider-profile-unpaid .hero-media img {
  filter: grayscale(1) brightness(0.75) sepia(0.15) saturate(0.6);
  opacity: 0.82;
}
.rider-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
  gap: 1.4rem;
  align-items: start;
}
.rider-profile-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.rider-profile-card h2 {
  margin: .8rem 0 .6rem;
  font-family: var(--serif);
  color: var(--forest);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}
.rider-profile-card p {
  margin: 0;
  color: var(--muted);
}
.rider-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.rider-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.note-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #fff8fb 100%);
  box-shadow: var(--shadow-sm);
}
.note-card h3 {
  margin: 0 0 .55rem;
  font-family: var(--serif);
  color: var(--forest);
  font-size: 1.15rem;
}
.note-card p {
  margin: 0;
  color: var(--muted);
}
.intro-with-background {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(3.2rem, 6vw, 5rem);
  color: var(--white);
  background: linear-gradient(135deg, rgba(20, 20, 20, .82), rgba(20, 20, 20, .45));
  box-shadow: var(--shadow);
}
.intro-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.intro-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  filter: saturate(1.04) contrast(1.06) brightness(1.03);
}
.intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 24, 39, .82) 0%, rgba(16, 24, 39, .58) 35%, rgba(16, 24, 39, .24) 100%);
}
.intro-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
}
.intro-with-background .section-copy,
.intro-with-background .intro-body {
  max-width: 700px;
}
.intro-with-background .section-copy h2,
.intro-with-background .text-block p,
.intro-with-background .link-arrow {
  color: var(--white);
}
.intro-with-background .eyebrow {
  color: var(--gold);
}
.intro-with-background .text-block p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.section-copy-center .eyebrow { justify-content: center; }
.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--forest);
  text-wrap: balance;
}
.section-lead { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; max-width: 620px; margin-left: auto; margin-right: auto; }

/* INTRO */
.intro-body {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 2.5rem;
}
.text-block p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 700; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--sage); color: var(--forest);
  border-radius: 50%; font-weight: 900; font-size: .8rem;
}
.intro-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--sage), var(--paper-2));
  isolation: isolate;
}
.intro-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 20, 40, .16) 0%, rgba(10, 20, 40, .04) 45%, rgba(255, 255, 255, .02) 100%);
  pointer-events: none;
  z-index: 1;
}
.intro-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.04) brightness(1.02);
}
.intro-figure-empty {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sage), var(--paper-2));
  color: var(--muted);
  font-weight: 700;
  border: 1px dashed var(--line-2);
  box-shadow: none;
}

/* PROGRAMS */
.activity-page-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.activity-page-hero .hero-media {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.28) 100%);
}
.activity-page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  opacity: 1;
  filter: saturate(1.08) contrast(1.1) brightness(1.05);
}
.activity-page-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.38) 45%, rgba(15, 23, 42, 0.12) 100%);
  pointer-events: none;
}
.gallery-page-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.gallery-page-hero .hero-media {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.28) 100%);
}
.gallery-page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  opacity: 1;
  filter: saturate(1.08) contrast(1.1) brightness(1.05);
}
.gallery-page-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.38) 45%, rgba(15, 23, 42, 0.12) 100%);
  pointer-events: none;
}
.news-page-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.news-page-hero .hero-media {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.28) 100%);
}
.news-page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  opacity: 1;
  filter: saturate(1.08) contrast(1.1) brightness(1.05);
}
.news-page-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.38) 45%, rgba(15, 23, 42, 0.12) 100%);
  pointer-events: none;
}
.contact-page-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.contact-page-hero .hero-media {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.28) 100%);
}
.contact-page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  opacity: 1;
  filter: saturate(1.08) contrast(1.1) brightness(1.05);
}
.contact-page-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.38) 45%, rgba(15, 23, 42, 0.12) 100%);
  pointer-events: none;
}
.programs { background: var(--white); margin: 0; max-width: none; }
.programs > .section-copy-center,
.programs > .program-grid { max-width: var(--container); margin-left: auto; margin-right: auto; }
.program-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.program-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.program-body { flex: 1; display: flex; flex-direction: column; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage-2); }
.program-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--sage), var(--paper-2)); overflow: hidden; }
.program-media img { width: 100%; height: 100%; object-fit: cover; }
.program-media-placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--sage), var(--paper-2));
  opacity: 1;
}
.program-number {
  position: absolute; top: 1rem; left: 1rem;
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--white); color: var(--forest);
  font-family: var(--serif); font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.program-body { padding: 1.4rem 1.5rem 1.6rem; }
.program-body h3 { margin: 0 0 .5rem; font-family: var(--serif); font-weight: 800; font-size: 1.35rem; color: var(--forest); }
.program-body p { margin: 0; color: var(--muted); }

/* PARTNERS */
.partners { background: linear-gradient(180deg, #fffaf8 0%, #fff5f8 100%); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: var(--container);
  margin: 2.5rem auto 0;
}
.partner-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.partner-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.partner-logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 88px;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff9fb 0%, #fff3f7 100%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.partner-logo-link:hover,
.partner-logo-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--button-pink-2);
  box-shadow: 0 12px 24px rgba(255, 45, 116, 0.16);
}
.partner-card .partner-logo {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 72px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  margin: 0 auto;
}
.partner-body h3 {
  margin: 0 0 .35rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--forest);
}
.partner-body p {
  margin: 0 0 .75rem;
  color: var(--muted);
}
.partner-body a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 800;
  color: var(--forest);
  text-decoration: none;
}
.partner-body a:hover { color: var(--forest-2); }

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: .6rem .8rem; color: var(--white); background: linear-gradient(to top, rgba(0,0,0,.7), transparent); font-size: .85rem; font-weight: 700; }

/* FACEBOOK ACTIVITIES */
.facebook-activities-section {
  padding-top: 0;
}
.facebook-activities-card {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff8fb 0%, #fff2f7 100%);
  box-shadow: var(--shadow-sm);
}
.facebook-activities-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.facebook-activities-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 50px;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--button-pink) 0%, var(--button-pink-2) 100%);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px var(--button-shadow);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.facebook-activities-button:hover,
.facebook-activities-button:focus-visible {
  background: linear-gradient(135deg, var(--button-pink-2) 0%, var(--button-pink-3) 100%);
  transform: translateY(-1px);
}
.facebook-activities-note {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.youtube-page-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,247,249,.95));
  box-shadow: 0 24px 60px rgba(206, 76, 132, 0.12);
}
.youtube-video-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.youtube-video-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--button-pink) 0%, var(--button-pink-2) 100%);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px var(--button-shadow);
  transition: transform .15s ease, box-shadow .2s ease;
  overflow: hidden;
}
.youtube-video-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 15, 24, 0.62), rgba(247, 76, 138, 0.35));
  z-index: 0;
}
.youtube-video-button--thumb {
  background-image: linear-gradient(135deg, rgba(31, 15, 24, 0.62), rgba(247, 76, 138, 0.35)), var(--youtube-thumb);
  background-size: cover, cover;
  background-position: center, center;
  color: var(--white);
}
.youtube-video-button > * {
  position: relative;
  z-index: 1;
}
.youtube-video-button:hover,
.youtube-video-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px var(--button-shadow);
}

/* SUPPORT */
.support {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: linear-gradient(135deg, var(--sage), #fff8e6);
  max-width: none;
  padding-left: clamp(1rem, 4vw, 2.5rem); padding-right: clamp(1rem, 4vw, 2.5rem);
}
.support-copy { max-width: 640px; margin-left: auto; }
.support-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.bank-box {
  border: 1px solid rgba(20,70,61,.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  max-width: 460px; margin-right: auto;
}
.bank-label { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: var(--forest); color: var(--white); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bank-box h3 { margin: 1rem 0 1.2rem; font-family: var(--serif); font-weight: 800; color: var(--forest); font-size: 1.5rem; }
.bank-box dl { margin: 0; display: grid; gap: .9rem; }
.bank-box dt { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bank-box dd { margin: .2rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.bank-iban { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .95rem; }

.sponsor-partner {
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 244, 248, .98));
}
.sponsor-showcase {
  max-width: var(--container);
  margin: 2.3rem auto 0;
  padding: clamp(1.2rem, 2vw, 2rem);
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 1.4rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff8fb 0%, #fff1f5 100%);
  border: 1px solid var(--line);
}
.sponsor-logo svg {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  fill: #1f1f1f;
}
.sponsor-logo .st0 {
  fill: #1b1b1b;
}
.sponsor-copy {
  display: grid;
  gap: .8rem;
}
.sponsor-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.sponsor-copy strong { color: var(--forest); }
.sponsor-copy a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}
.sponsor-copy a:hover { color: var(--forest-2); }

/* NEWS */
.news { background: var(--white); max-width: none; }
.news > .section-copy,
.news > .news-list { max-width: var(--container); margin-left: auto; margin-right: auto; }
.news-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.news-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-body { flex: 1; display: flex; flex-direction: column; }
.news-body > p:last-child { margin-top: auto; padding-top: .7rem; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage); }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 1.4rem 1.5rem 1.6rem; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; color: var(--muted); font-size: .82rem; font-weight: 700; }
.news-type { border-radius: 999px; background: var(--sage); color: var(--forest); padding: .25rem .7rem; text-transform: uppercase; letter-spacing: .04em; font-size: .7rem; }
.news-card h3 { margin: .8rem 0 .5rem; font-family: var(--serif); font-weight: 800; color: var(--forest); font-size: 1.3rem; line-height: 1.2; }
.news-card p { margin: .4rem 0 0; color: var(--ink-soft); }
.news-body-text { color: var(--muted); margin-top: .8rem !important; font-size: .95rem; }
.news-card-empty { background: linear-gradient(135deg, var(--sage), var(--paper)); border-style: dashed; }

/* TRANSPARENCY */
.transparency { background: var(--paper-2); max-width: none; }
.transparency > .section-copy,
.transparency > .document-list { max-width: var(--container); margin-left: auto; margin-right: auto; }
.document-list { display: grid; gap: .8rem; margin-top: 2.5rem; }
.document-list a {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.document-list a:hover { border-color: var(--forest-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.doc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sage); font-size: 1.2rem; }
.doc-text strong { display: block; color: var(--forest); font-weight: 800; font-family: var(--serif); font-size: 1.1rem; }
.doc-text small { display: block; color: var(--muted); margin-top: .15rem; }
.doc-arrow { color: var(--forest); font-weight: 900; font-size: 1.1rem; }

/* CONTACT */
.contact {
  background: var(--forest-3);
  color: var(--white);
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-left: clamp(1rem, 4vw, 2.5rem); padding-right: clamp(1rem, 4vw, 2.5rem);
}
.contact-copy { max-width: 620px; margin-left: auto; }
.contact h2 { color: var(--white); }
.contact-lead { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.contact-card {
  font-style: normal;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  padding: 1.8rem;
  max-width: 460px;
  margin-right: auto;
  backdrop-filter: blur(10px);
}
.contact-name { margin: 0 0 1.2rem; font-family: var(--serif); font-weight: 800; font-size: 1.4rem; color: var(--gold); }

.contact-logo { display: block; width: min(100%, 320px); height: auto; margin: -2rem 0 1rem; }

.contact-line { display: grid; grid-template-columns: 90px 1fr; gap: .8rem; margin: .6rem 0; padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.12); }.contact-line:last-of-type { border-bottom: 0; }
.contact-line span { color: rgba(255,255,255,.55); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; align-self: center; }
.contact-line a { color: #000000; font-weight: 800; text-decoration: none; }
.contact-line a:hover { color: var(--gold); }
.contact-note { margin: 1rem 0 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.contact-social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); }
.contact-social a { padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--white); font-weight: 700; font-size: .85rem; text-decoration: none; }
.contact-social a:hover { background: var(--gold); color: #1d1305; }

/* FOOTER */
.site-footer { background: linear-gradient(90deg, #090909 0%, #ff4f8b 50%, #090909 100%); color: var(--white); padding: 2.5rem clamp(1rem, 4vw, 2.5rem); }
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.footer-copy { margin: 0; font-size: .85rem; text-align: center; color: var(--white); }

/* ===== LEGAL ===== */
.legal-page { max-width: 900px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 1rem; }
.legal-page h1 { font-family: var(--serif); color: var(--forest); }
.legal-page h2 { margin-top: 2rem; color: var(--forest); font-family: var(--serif); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .nav-toggle span:not(.visually-hidden) { background: #1b1b1b; }
  .main-nav {
    position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem);
    display: none; flex-direction: column; align-items: stretch;
    border: 1px solid rgba(76, 23, 48, 0.12); border-radius: var(--radius); 
    background: linear-gradient(180deg, #fff7fa 0%, #f9d9e7 100%); box-shadow: 0 18px 42px rgba(93, 21, 52, 0.12); padding: .5rem;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .85rem 1rem; color: #2a0d1a; }
  .main-nav .nav-start, .main-nav .nav-donate { border-color: rgba(82, 28, 52, 0.14); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { margin-top: 1rem; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid-social { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .intro-body { grid-template-columns: 1fr; }
  .riders-grid { display: flex; justify-content: center; }
  .rider-card { width: 6cm; }
  .rider-profile-grid, .rider-notes-grid { grid-template-columns: 1fr; }
  .rider-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rider-form-grid { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .program-grid { grid-template-columns: 1fr; }
  .support, .contact { grid-template-columns: 1fr; }
  .support-copy, .bank-box, .contact-copy, .contact-card { max-width: none; margin: 0; }
  .sponsor-showcase { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 560px) {
  .site-header { padding: .75rem 1rem; }
  .brand-text small { display: none; }
  .hero-actions, .button { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid-social { grid-template-columns: 1fr; }
  .stats-ticker-track { gap: .75rem; animation-duration: 22s; }
  .stats-ticker-item { padding: .9rem 1rem; font-size: .95rem; }
  .riders-grid { display: flex; justify-content: center; }
  .rider-card { width: min(6cm, calc(100vw - 2rem)); }
  .rider-facts { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .document-list a { grid-template-columns: auto 1fr; }
  .doc-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .stats-ticker-track { animation: none; }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Multi-page additions ===== */
.main-nav .is-active { background: var(--sage); color: var(--forest); }
.main-nav .nav-donate.is-active {
  background: linear-gradient(135deg, var(--button-pink) 0%, var(--button-pink-2) 100%);
  color: var(--white);
}

/* Page hero (sub-pages) */
.page-hero { background: linear-gradient(135deg, var(--sage) 0%, var(--paper) 100%); padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 5vw, 5rem) clamp(2.5rem, 6vw, 4rem); }
.page-hero-inner { max-width: 1180px; margin: 0 auto; }
.page-hero-body { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); align-items: center; }
.page-hero-body.has-media { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.page-hero-copy { max-width: 72ch; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; margin: .4rem 0 1rem; color: var(--forest); }
.page-hero-lead { color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 70ch; line-height: 1.6; }
.page-hero-body.has-media .page-hero-lead { max-width: none; }
.page-hero-media { margin: 0; overflow: hidden; border-radius: 1.5rem; border: 1px solid rgba(216, 27, 124, 0.16); box-shadow: 0 24px 60px rgba(143, 15, 95, 0.16); background: var(--paper); }
.page-hero-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-dark { background: linear-gradient(135deg, var(--forest) 0%, var(--forest-3) 100%); color: var(--paper); }
.page-hero-dark h1 { color: var(--paper); }
.page-hero-dark .page-hero-lead { color: rgba(247, 250, 247, 0.85); }
.page-hero-dark .page-hero-lead a { color: var(--gold); }

.about-panel {
  position: relative;
  overflow: hidden;
  min-height: clamp(28rem, 46vw, 38rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, .72), rgba(15, 23, 42, .24));
  color: var(--paper);
}
.about-panel-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-panel-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  filter: saturate(1.04) contrast(1.06) brightness(1.03);
}
.about-panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 24, 39, .46) 0%, rgba(16, 24, 39, .24) 38%, rgba(16, 24, 39, .12) 100%);
}
.about-panel-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
.about-panel .page-hero-body.has-media {
  grid-template-columns: minmax(0, 1fr);
}
.about-panel .page-hero-copy {
  max-width: 760px;
  margin-top: 4cm;
}
.about-panel .page-hero-copy h1 {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0 0 1rem;
}
.about-panel .page-hero-lead {
  color: rgba(247, 250, 247, 0.9);
  max-width: 70ch;
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  font-weight: 600;
}
.about-panel .page-hero-copy .eyebrow {
  font-size: .8rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
  color: var(--gold);
}
.about-panel .breadcrumb-light { color: rgba(247,250,247,.8); }
.about-panel .breadcrumb-light a { color: var(--gold); }
.about-panel .breadcrumb-light span[aria-current] { color: var(--paper); }

/* Breadcrumb */
@media (max-width: 860px) {
  .page-hero-body.has-media { grid-template-columns: 1fr; }
  .page-hero-copy { max-width: none; }
  .page-hero-media { max-width: 34rem; margin-inline: auto; }
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .88rem; color: var(--ink-soft); margin-bottom: 1rem; }.breadcrumb a { color: var(--forest); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }
.breadcrumb-light { color: rgba(247,250,247,.75); }
.breadcrumb-light a { color: var(--gold); }
.breadcrumb-light span[aria-current] { color: var(--paper); }

/* Link-arrow */
.link-arrow { color: var(--forest); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .18s, color .18s; }
.link-arrow:hover { border-color: var(--gold); }
.link-arrow span { transition: transform .18s; display: inline-block; }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow-light { color: var(--gold); }
.section-title-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: inherit;
  text-decoration: none;
}
.section-title-link:hover,
.section-title-link:focus-visible {
  color: var(--forest);
}
.section-title-chevron {
  display: inline-block;
  transition: transform .18s ease;
}
.section-title-link:hover .section-title-chevron,
.section-title-link:focus-visible .section-title-chevron {
  transform: translateX(3px);
}

/* Section foot CTA */
.section-foot { text-align: center; margin-top: 2.5rem; }

/* Empty-note */
.empty-note { padding: 2.5rem; text-align: center; color: var(--ink-soft); background: var(--paper); border: 2px dashed var(--sage); border-radius: 24px; }

/* Info grid */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.info-tile { background: var(--paper); padding: 1.5rem 1.25rem; border-radius: 18px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: .35rem; }
.info-tile .info-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.info-tile strong { font-size: 1.05rem; color: var(--ink); word-break: break-word; white-space: nowrap; }
.info-address { white-space: pre-line; }
.info-tile a { color: var(--forest); text-decoration: none; }
.info-tile a:hover { text-decoration: underline; }
.info-strava-link { display: flex; align-items: center; justify-content: center; min-height: 72px; }
.info-strava-link img { display: block; width: 100%; max-width: 180px; height: auto; object-fit: contain; }

/* Programs full / wide on subpage */
.program-grid-wide { grid-template-columns: 1fr; gap: 2rem; }
.program-card-full { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr); align-items: stretch; }
.program-card-full .program-media { aspect-ratio: auto; min-height: 280px; }
.program-card-full .program-body { padding: 2rem 2.25rem; }
.program-card-full .program-body h2 { font-family: var(--serif); font-size: 1.85rem; line-height: 1.1; margin: 0 0 .75rem; }
@media (max-width: 720px) { .program-card-full { grid-template-columns: 1fr; } .program-card-full .program-media { min-height: 200px; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--forest), var(--forest-3)); color: var(--paper); border-radius: 28px; }
.cta-band-inner { max-width: 720px; margin: 0 auto; text-align: center; padding: 3rem 1.5rem; }
.cta-band-inner h2 { color: var(--paper); font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 .75rem; }
.cta-band-inner p { color: rgba(247,250,247,.85); margin-bottom: 1.5rem; }

/* News list full (subpage) */
.news-list-full { gap: 2rem; }
.news-list-full .news-card h2 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; margin: .5rem 0; }
.news-list-full .news-card h2 a { color: var(--forest); text-decoration: none; }
.news-list-full .news-card h2 a:hover { color: var(--gold); }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a:hover { color: var(--forest); }
.news-card a.news-media { display: block; }
.news-card.has-image { padding: 0; overflow: hidden; }
.news-card.has-image .news-media { aspect-ratio: 16/9; overflow: hidden; }
.news-card.has-image .news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card.has-image:hover .news-media img { transform: scale(1.04); }
.news-card.has-image .news-body { padding: 1.5rem 1.5rem 1.75rem; }

/* Gallery large */
.gallery-grid-large { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gallery-grid-large .gallery-item { aspect-ratio: 4/3; }

/* Albums grid */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.album-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.album-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.album-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sage);
  overflow: hidden;
  display: grid; place-items: center;
}
.album-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.album-card:hover .album-thumb img { transform: scale(1.05); }
.album-no-cover { font-size: 3rem; opacity: .4; }
.album-count {
  position: absolute; bottom: .6rem; right: .6rem;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: .25rem .6rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.album-info { padding: 1rem 1.2rem 1.25rem; }
.album-title { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.1rem; color: var(--forest); line-height: 1.3; }
.album-desc { margin: .4rem 0 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.album-hero-meta { margin: .75rem 0 0; color: rgba(245,248,244,.65); font-size: .9rem; font-weight: 600; }
.album-back { margin-top: 2.5rem; }
.album-section .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  display: flex; flex-direction: column; align-items: center;
  max-width: min(95vw, 1200px); max-height: 95vh;
  gap: .6rem;
}
.lightbox-img {
  max-width: 100%; max-height: calc(90vh - 5rem);
  object-fit: contain;
  border-radius: 10px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-caption { color: rgba(255,255,255,.8); font-size: .9rem; text-align: center; margin: 0; }
.lightbox-counter { color: rgba(255,255,255,.45); font-size: .8rem; margin: 0; }
.lightbox-close {
  position: fixed; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer; display: grid; place-items: center;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
@media (max-width: 600px) {
  .lightbox-prev { left: .25rem; }
  .lightbox-next { right: .25rem; }
  .albums-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* Document list large */
.document-list-large a { padding: 1.5rem 1.75rem; }

/* Article (single) */
.article-header {
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 100%);
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1.25rem, 5vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  color: var(--paper);
}
.article-header-inner {
  max-width: 800px;
  margin: 0 auto;
}
.article-header-with-image {
  background-image: linear-gradient(160deg, rgba(11,46,41,.93) 0%, rgba(20,70,61,.82) 100%), var(--article-image);
  background-size: cover;
  background-position: center;
}
.breadcrumb-article { color: rgba(245,248,244,.65); margin-bottom: 1.5rem; }
.breadcrumb-article a { color: var(--gold); font-weight: 600; text-decoration: none; }
.breadcrumb-article a:hover { text-decoration: underline; }
.breadcrumb-article span[aria-current] { color: rgba(245,248,244,.9); }
.breadcrumb-article span[aria-hidden] { color: rgba(245,248,244,.4); margin: 0 .1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.article-meta .news-type { background: var(--gold); color: var(--forest); padding: .25rem .75rem; border-radius: 999px; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.article-meta time { color: rgba(245,248,244,.75); font-size: .9rem; }
.article-title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -.025em; color: var(--white); margin: 0 0 1.1rem; }
.article-lead { font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.6; color: rgba(245,248,244,.85); max-width: 62ch; margin: 0; }

.article { max-width: 800px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 2rem) 4rem; }
.article-figure { margin: 0 0 2.5rem; }
.article-figure img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }
.article-body { font-size: 1.08rem; line-height: 1.8; color: var(--ink); }
.article-body p { margin: 0 0 1.3rem; }
.article-body h3 {
  margin: 2.1rem 0 1.1rem;
  font-family: var(--serif);
  color: var(--forest);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.2;
}
.article-body .motivation {
  margin: 1.6rem 0 2rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--forest-2);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, rgba(255, 232, 240, 0.55), rgba(255, 255, 255, 0.9));
  color: var(--ink);
  font-weight: 700;
}
.rider-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.rider-mini-card {
  display: flex;
  gap: .8rem;
  align-items: center;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffafc;
  box-shadow: var(--shadow-sm);
}
.rider-mini-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}
.rider-mini-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: .12rem;
}
.rider-mini-copy strong {
  font-size: 1rem;
  color: var(--forest);
}
.rider-mini-copy small {
  font-size: .72rem;
  color: var(--muted);
}
.result-number {
  display: inline-block;
  margin-bottom: .15rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--forest-2);
}
.article-footer { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.link-back { display: inline-flex; align-items: center; gap: .5rem; color: var(--forest); font-weight: 700; text-decoration: none; font-size: .95rem; }
.link-back:hover { text-decoration: underline; }
.related-news { background: var(--paper); }

/* Contact page */
.contact-page { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card-large { background: var(--paper); padding: 2.25rem; border-radius: 24px; border: 1px solid var(--line); }
.contact-info h2 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 .5rem; color: var(--forest); }
.contact-info h2:not(:first-child) { margin-top: 2rem; }
.contact-info p { color: var(--ink-soft); line-height: 1.6; }
.contact-info a { color: var(--forest); font-weight: 600; }

/* Active states overrides eyebrow-light from earlier (already exists) */
