/* ============================================================
   THE TENACIOUS CYCLIST — SHARED STYLESHEET
   Palette: Dark charcoal + Amber | Syne + Lora + JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@400;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #0E0E0E;
  --surface:      #161616;
  --surface-2:    #1E1E1E;
  --surface-3:    #242424;
  --text:         #EDE9E2;
  --text-muted:   #888880;
  --text-dim:     #555550;
  --accent:       #C8A040;
  --accent-dim:   rgba(200,160,64,0.12);
  --accent-glow:  rgba(200,160,64,0.06);
  --border:       #272724;
  --border-light: #333330;
  --mono:         #D0CCC4;
  --red:          #C83030;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Lora', serif;
  --font-mono:    'JetBrains Mono', monospace;

  --nav-h:        64px;
  --max-w:        1200px;
  --col-gap:      clamp(1.5rem, 4vw, 3rem);
  --section-v:    clamp(4rem, 8vw, 7rem);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}
.lead {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.65;
  color: var(--text);
}
p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--text); }
em { font-style: italic; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.section {
  padding: var(--section-v) 0;
}
.section--dark {
  background: var(--surface);
  padding: var(--section-v) 0;
}
.section--panel {
  background: var(--surface-2);
  padding: var(--section-v) 0;
}
.accent-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin: 1rem 0 2rem;
}
.accent-line--short {
  width: 3rem;
  margin: 1rem 0 1.5rem;
}
hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(14,14,14,0.96);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}
.nav__logo span { color: var(--accent); }
.nav__logo:hover { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); }
.nav__dropdown {
  position: relative;
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav__dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
}
.nav__dropdown-menu a:last-child { border-bottom: none; }
.nav__dropdown-menu a:hover { color: var(--accent); background: var(--accent-glow); }
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(200,160,64,0.04) 0%, transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.012) 80px,
      rgba(255,255,255,0.012) 81px
    );
  pointer-events: none;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 60%, rgba(200,160,64,0.06) 0%, transparent 70%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
}
.hero__quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 16ch;
}
.hero__quote em {
  font-style: normal;
  color: var(--accent);
}
.hero__credentials {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1vw, 0.85rem);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.hero__credentials span {
  color: var(--text-dim);
  padding: 0 0.75rem;
}
.hero__cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.75rem 1.75rem;
  transition: background 0.2s, color 0.2s;
}
.hero__cta:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── Stats Block ───────────────────────────────────────────── */
.stats-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-light);
  margin: 2.5rem 0;
}
.stats-block__item {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border-light);
  text-align: center;
}
.stats-block__item:last-child { border-right: none; }
.stats-block__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stats-block__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

/* ── Two Column Layout ─────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--col-gap);
  align-items: start;
}
.two-col--half {
  grid-template-columns: 1fr 1fr;
}
.two-col--reverse {
  grid-template-columns: 3fr 1fr;
}
.data-col {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.data-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-light);
}
.data-strip__item {
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.data-strip__item:last-child { border-bottom: none; }
.data-strip__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--accent);
  line-height: 1;
  display: block;
}
.data-strip__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 0.35rem;
}

/* ── Prosthetic Physiology Cards ───────────────────────────── */
.pp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--accent);
}
.pp-card {
  padding: 1.75rem;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  background: var(--surface-2);
  transition: background 0.2s;
}
.pp-card:hover { background: var(--accent-glow); }
.pp-card:nth-child(3n) { border-right: none; }
.pp-card:nth-child(4),
.pp-card:nth-child(5),
.pp-card:nth-child(6) { border-bottom: none; }
.pp-card__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.75rem;
}
.pp-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.pp-card__body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ── Ride Cards ────────────────────────────────────────────── */
.rides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.ride-card {
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
  position: relative;
}
.ride-card:hover { background: var(--surface-2); }
.ride-card::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.25rem;
  transition: width 0.3s;
}
.ride-card:hover::before { width: 4rem; }
.ride-card__meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.ride-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--text);
}
.ride-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}
.ride-card__link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}
.ride-card:hover .ride-card__link { gap: 0.85rem; }
.ride-card--featured {
  grid-column: span 2;
  background: var(--surface-2);
}

/* ── 2026 Events Callout ───────────────────────────────────── */
.events-2026 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
}
.events-2026__item {
  padding: 2.5rem;
  border-right: 1px solid var(--border-light);
}
.events-2026__item:last-child { border-right: none; }
.events-2026__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.events-2026__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  line-height: 1.9;
}
.events-2026__note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ── Data Table ────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin: 2rem 0;
}
.data-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.65rem;
  border-bottom: 1px solid var(--accent);
}
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.data-table td:first-child { color: var(--text-muted); }
.data-table td:last-child { color: var(--mono); }

/* ── Diagnostic List ───────────────────────────────────────── */
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 3rem;
  margin: 1.5rem 0;
}
.diagnostic-group h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.diagnostic-group p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

/* ── Pull Quote / Dark Panel ───────────────────────────────── */
.dark-panel {
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
}
.dark-panel p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}
.page-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--text);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 3rem 0;
  letter-spacing: -0.02em;
}
.page-quote em { color: var(--accent); font-style: normal; }

/* ── WFT Section ───────────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-section__image {
  background: var(--surface-2);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.split-section__image-placeholder {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}
.split-section__content {
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Podcast Band ──────────────────────────────────────────── */
.podcast-band {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.podcast-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.podcast-band__text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.podcast-band__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.podcast-band__link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.6rem 1.25rem;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.podcast-band__link:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── Contact Section ───────────────────────────────────────── */
.contact-section {
  text-align: center;
  padding: var(--section-v) 0;
}
.contact-section__context {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.contact-section__email {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  color: var(--accent);
  letter-spacing: -0.02em;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.contact-section__email:hover { border-color: var(--accent); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer__logo span { color: var(--accent); }
.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.footer__links {
  display: flex;
  gap: 2rem;
}
.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--accent); }

/* ── Page Hero (interior pages) ────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.page-hero__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-hero__label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
}
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ── Ride Page Layout ──────────────────────────────────────── */
.ride-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--col-gap);
  align-items: start;
  padding: var(--section-v) 0;
}
.ride-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.ride-nav {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.ride-nav a {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.ride-nav a:hover { color: var(--accent); }
.ride-nav a:last-child { border-bottom: none; }
.ride-content h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.ride-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.ride-content h3 {
  font-size: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.breadcrumb a { color: var(--text-dim); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* ── Image Placeholder ─────────────────────────────────────── */
.img-placeholder {
  background: var(--surface-2);
  border: 1px solid var(--border);
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}
.img-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.fade-up--1 { animation-delay: 0.1s; }
.fade-up--2 { animation-delay: 0.25s; }
.fade-up--3 { animation-delay: 0.4s; }
.fade-up--4 { animation-delay: 0.55s; }

/* ── Utility ───────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-mono   { font-family: var(--font-mono); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr 2fr; }
  .pp-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-card:nth-child(3n) { border-right: 1px solid var(--accent); }
  .pp-card:nth-child(2n) { border-right: none; }
  .pp-card:nth-child(3) { border-bottom: 1px solid var(--accent); }
  .pp-card:nth-child(4),
  .pp-card:nth-child(5) { border-bottom: none; }
  .pp-card:nth-child(6) { border-bottom: none; }
  .rides-grid { grid-template-columns: repeat(2, 1fr); }
  .ride-card--featured { grid-column: span 1; }
  .ride-layout { grid-template-columns: 1fr 2.5fr; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--surface);
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    z-index: 99;
    overflow-y: auto;
  }
  .nav__links.open a {
    font-size: 1.1rem;
    color: var(--text);
  }
  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    border: none;
    padding-left: 1.5rem;
    background: transparent;
  }
  .nav__dropdown-menu a {
    font-size: 0.875rem;
    border-bottom: none;
    padding: 0.4rem 0;
  }
  .two-col,
  .two-col--half,
  .two-col--reverse { grid-template-columns: 1fr; }
  .data-col { position: static; }
  .stats-block { grid-template-columns: repeat(2, 1fr); }
  .stats-block__item:nth-child(2) { border-right: none; }
  .stats-block__item:nth-child(3) { border-right: 1px solid var(--border-light); }
  .pp-grid { grid-template-columns: 1fr; }
  .pp-card { border-right: none !important; border-bottom: 1px solid var(--accent) !important; }
  .pp-card:last-child { border-bottom: none !important; }
  .rides-grid { grid-template-columns: 1fr; }
  .events-2026 { grid-template-columns: 1fr; }
  .events-2026__item { border-right: none; border-bottom: 1px solid var(--border-light); }
  .events-2026__item:last-child { border-bottom: none; }
  .split-section { grid-template-columns: 1fr; }
  .split-section__image { min-height: 250px; }
  .podcast-band__inner { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .ride-layout { grid-template-columns: 1fr; }
  .ride-sidebar { position: static; }
  .data-strip { flex-direction: row; flex-wrap: wrap; }
  .data-strip__item { flex: 1; min-width: 45%; }
}
