/* WSMBA Sussex - site styles (2026-10 redesign)
   Brand: navy #15191f, white, cool grey #f7f8fa, red #f00 for focus only,
   Oswald for headings and buttons, Inter for body. Touch targets >= 44px. */

:root {
  --ink: #15191f;
  --ink-2: #2a2f38;
  --muted: #5a6170;
  --paper: #f7f8fa;
  --white: #fff;
  --line: rgba(21, 25, 31, .10);
  --line-strong: rgba(21, 25, 31, .22);
  --focus: #f00;
  --radius: 12px;
  --header-h: 76px;
  --wrap: 1200px;
  --gutter: 24px;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--white);
  color: var(--ink-2);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }

/* Links: every state set, so the red focus colour never leaks into body text. */
a, a:link, a:visited { color: inherit; text-decoration: none; }
a:hover, a:active { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow > * { max-width: 760px; }

/* ── Type ──────────────────────────────────────────────── */
.display, h1 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .98;
}
h2 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.02;
  font-size: clamp(2rem, 3.4vw, 3rem);
}
h3 { font-family: var(--display); font-weight: 500; font-size: 1.375rem; line-height: 1.2; }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 640px; }

/* Numbered eyebrow: "01  ─  About the chapter" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font: 600 13px/1 var(--body);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-num { font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.eyebrow-num::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; opacity: .5; }
.on-dark .eyebrow, .on-dark .eyebrow-num { color: rgba(255, 255, 255, .85); }

/* ── Buttons ───────────────────────────────────────────── */
.btn, a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 8px;
  font: 500 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .08s;
}
.btn:active { transform: scale(.97); }
.btn-primary, a.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-light, a.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-outline, a.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light, a.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link, a.arrow-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font: 500 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.arrow-link::after { content: '\2192'; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-height: 44px; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font: 600 19px/1.05 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.brand-name span { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 15px; font-weight: 500; color: var(--muted); border-radius: 8px;
  transition: color .15s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 150;
  display: none; flex-direction: column;
  padding: 20px var(--gutter) 32px;
  background: var(--ink); color: #fff;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-nav-head strong { font: 600 18px var(--display); letter-spacing: .04em; text-transform: uppercase; }
.mobile-nav-close { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.mobile-nav ul { list-style: none; }
.mobile-nav li a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  font: 500 28px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mobile-nav li a::after { content: '\2192'; font-size: 20px; opacity: .5; }
.mobile-nav .btn { margin-top: auto; width: 100%; }
body.nav-open { overflow: hidden; }

/* ── Hero (home) ───────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: min(calc(100svh - var(--header-h)), 860px);
  display: flex; align-items: flex-end;
  padding: 96px 0 48px;
  color: #fff; background: var(--ink);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 40%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(21, 25, 31, .94) 0%, rgba(21, 25, 31, .6) 45%, rgba(21, 25, 31, .35) 100%),
    linear-gradient(90deg, rgba(21, 25, 31, .85) 0%, rgba(21, 25, 31, .45) 45%, rgba(21, 25, 31, 0) 80%);
}
.hero h1 { color: #fff; font-size: clamp(2.75rem, 5.6vw, 5.25rem); max-width: 15ch; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: rgba(255, 255, 255, .55); }
.hero .lede { color: rgba(255, 255, 255, .82); margin-bottom: 36px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2);
  list-style: none;
}
.hero-facts li { font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero-facts strong { display: block; font: 500 18px/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-grey { background: var(--paper); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head h2 { max-width: 16ch; }

/* Intro: statement + photo */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 6px;
  background: rgba(21, 25, 31, .8); color: #fff; font-size: 13px;
}
.intro h2 { margin-bottom: 24px; }
.intro p { color: var(--muted); }
.intro .btn-row { margin-top: 32px; }

/* Pillars: numbered columns divided by rules */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); list-style: none; }
.pillar { padding-top: 28px; border-top: 1px solid var(--ink); }
.pillar-num { display: block; font: 400 56px/1 var(--display); color: var(--line-strong); margin-bottom: 28px; }
.section-dark .pillar { border-top-color: rgba(255, 255, 255, .35); }
.section-dark .pillar-num { color: rgba(255, 255, 255, .25); }
.pillar h3 { margin-bottom: 12px; font-size: 1.5rem; text-transform: uppercase; font-weight: 600; letter-spacing: .01em; }
.pillar p { margin: 0; font-size: 16px; }

/* Ride list (home + events) */
.rides { list-style: none; border-bottom: 1px solid var(--line); }
.ride a {
  display: grid; grid-template-columns: 88px 1fr auto 44px; align-items: center; gap: 24px;
  padding: 24px 8px; border-top: 1px solid var(--line);
  transition: background-color .15s;
}
.ride a:hover { background: var(--paper); }
.ride-date { text-align: center; line-height: 1; }
.ride-date .d { display: block; font: 600 40px/1 var(--display); color: var(--ink); }
.ride-date .m { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ride-title { font: 500 1.375rem/1.2 var(--display); color: var(--ink); }
.ride-summary { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.ride-meta { font-size: 14px; color: var(--muted); text-align: right; }
.ride-meta .tag { display: inline-block; margin-bottom: 6px; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.ride-arrow { font-size: 22px; color: var(--ink); justify-self: end; transition: transform .2s; }
.ride a:hover .ride-arrow { transform: translateX(4px); }
.ride.is-past .ride-date .d, .ride.is-past .ride-title { color: var(--muted); }
.ride.is-cancelled .ride-title { text-decoration: line-through; }

/* Cards (blog, albums) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; list-style: none; }
.card { display: flex; flex-direction: column; height: 100%; }
.card-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper); margin-bottom: 20px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-meta { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--muted); margin: 0; }

/* Photo mosaic (home) */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 200px; gap: 12px; }
.mosaic a { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.mosaic a:hover img { transform: scale(1.04); opacity: .9; }
.mosaic a span {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 6px;
  background: rgba(21, 25, 31, .78); color: #fff; font-size: 13px; font-weight: 500;
}
.mosaic a:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.mosaic a:nth-child(2) { grid-column: span 5; }
.mosaic a:nth-child(3) { grid-column: span 5; }
.mosaic a:nth-child(4) { grid-column: span 4; }
.mosaic a:nth-child(5) { grid-column: span 4; }
.mosaic a:nth-child(6) { grid-column: span 4; }

/* Call to action band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; background: var(--ink); color: rgba(255, 255, 255, .8); }
.cta-band-media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .35; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 25, 31, .95) 0%, rgba(21, 25, 31, .7) 60%, rgba(21, 25, 31, .5) 100%); }
.cta-band h2 { color: #fff; font-size: clamp(2.25rem, 5vw, 4.25rem); max-width: 14ch; margin-bottom: 24px; }
.cta-band p { max-width: 560px; font-size: 18px; margin-bottom: 36px; }

/* ── Inner pages ───────────────────────────────────────── */
.page-header { padding: clamp(64px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 18ch; margin-bottom: 20px; }
.page-header .lede { margin: 0; }
.page-header .back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--muted); }
.page-header .back:hover { color: var(--ink); }

/* Long-form content from the CMS (plain semantic HTML) */
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.625rem, 2.4vw, 2.125rem); margin: 2.2em 0 .6em; }
.prose h3 { font-family: var(--body); font-weight: 600; font-size: 1.1875rem; margin: 2em 0 .5em; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .5em; padding-left: .2em; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a, .prose a:link, .prose a:visited { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .prose a:active { color: var(--ink); text-decoration-thickness: 2px; }
.prose blockquote {
  margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--ink);
  font: 500 clamp(1.375rem, 2.2vw, 1.75rem)/1.3 var(--display); color: var(--ink);
}
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: var(--radius); margin: 2em 0; }
.content-section { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }

.article-hero { aspect-ratio: 16 / 9; max-height: 560px; width: 100%; border-radius: var(--radius); overflow: hidden; margin: 0 0 48px; background: var(--paper); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.article-foot { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }

/* Event detail facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin: 0 0 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { padding: 20px 24px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.notice { margin: 24px 0 0; padding: 14px 18px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 600; display: inline-block; }

/* Gallery album grid */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-grid a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--paper); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-grid a:hover img { transform: scale(1.04); }
.pswp { --pswp-bg: #15191f; }

/* Empty states */
.empty { padding: 48px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty h3 { margin-bottom: 10px; }
.empty p { max-width: 520px; margin: 0 auto; }
.empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Contact ───────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin-bottom: 20px; }
.contact-info p { color: var(--muted); }
.contact-list { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white);
  font-size: 16px; transition: border-color .15s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field-error { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field-error::before { content: '! '; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { margin-bottom: 24px; padding: 16px 18px; border-radius: 8px; font-weight: 500; }
.flash-success { background: var(--ink); color: #fff; }
.flash-error { background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 80px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-brand strong { font: 600 20px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.footer-grid p { max-width: 340px; }
.footer-grid h4 { margin-bottom: 16px; font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer-grid ul { list-style: none; }
.footer-grid li a, .footer-grid li a:link, .footer-grid li a:visited { display: inline-flex; align-items: center; min-height: 36px; color: rgba(255, 255, 255, .85); }
.footer-grid li a:hover, .footer-grid li a:active { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom a, .footer-bottom a:link, .footer-bottom a:visited { color: rgba(255, 255, 255, .75); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .header-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; --gutter: 20px; }
  body { font-size: 16px; }
  .intro, .contact { grid-template-columns: 1fr; }
  .intro-photo { aspect-ratio: 4 / 3; order: -1; }
  .pillars, .cards { grid-template-columns: 1fr; gap: 40px; }
  .cards.cards-2 { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .mosaic a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ride a { grid-template-columns: 64px 1fr 24px; gap: 16px; padding: 20px 4px; }
  .ride-date .d { font-size: 32px; }
  .ride-meta { grid-column: 2; grid-row: 2; text-align: left; }
  .ride-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .brand-name span { display: none; }
  .hero { padding: 96px 0 40px; }
  .hero .btn-row .btn, .cta-band .btn-row .btn { width: 100%; }
  .cards.cards-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .empty { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
