/* ============================================================
   CCM.CSS — Cuddon Cycling Marlborough
   ============================================================
   SHARED
     Variables · Reset · Brand Stripe · Nav · Divider
     Sections · Footer · Animations · Responsive

   HOME PAGE
     Pinned notice · Dashboard hero · Upcoming events
     Event rows · Featured athlete · Results · History band
     Sponsors · Cyclist ticker

   HONOURS PAGE
     Hero · Sections · Featured cards · Standard cards
     Roll of honour · Family cards · Lineage · Footer
   ============================================================ */


/* ============================================================
   SHARED — VARIABLES
   ============================================================ */
:root {
  --red: #EE1C25;
  --yellow: #FFD700;
  --black: #0f0f0f;
  --dark: #161616;
  --dark2: #1e1e1e;
  --dark3: #252525;
  --light: #aaa;
  --white: #f0f0f0;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}


/* ============================================================
   SHARED — RESET & BODY
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black); color: var(--white);
  font-family: var(--font-body); font-size: 16px;
  line-height: 1.6; overflow-x: hidden;
}


/* ============================================================
   SHARED — BRAND STRIPE
   Fixed vertical stripe on the left edge — runs full page height.
   Two-layer background: solid stripe tiles vertically for any
   page height, halftone fade image sits pinned to the bottom.
   z-index 50 keeps it above content but below the nav (100+).
   pointer-events: none so it never blocks clicks.
   ============================================================ */
.brand-stripe {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 12px;
  z-index: 50;
  pointer-events: none;
  background-image:
    url('https://pub-47310eeca5d24a9bbfc6c61e57852421.r2.dev/ccm/branding/ccm-stripe-halftone.png'),
    url('https://pub-47310eeca5d24a9bbfc6c61e57852421.r2.dev/ccm/branding/ccm-stripe-solid.png');
  background-repeat: no-repeat, repeat-y;
  background-position: bottom, top;
  background-size: 100% auto, 100% auto;
}
.bs-blk, .bs-wht, .bs-red, .bs-yel { display: none; }


/* ============================================================
   SHARED — NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(15,15,15,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e1e1e;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px 0 58px; height: 64px;
}
.nav-logo {
  text-decoration: none; display: flex; align-items: center;
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--light);
  text-decoration: none; padding: 0 18px; height: 64px;
  display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--red); border-bottom-color: var(--red); }
.nav-join {
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--red); color: var(--white);
  padding: 10px 20px; text-decoration: none;
  transition: background 0.15s;
}
.nav-join:hover { background: #cc1520; }


/* ============================================================
   SHARED — DIVIDER
   ============================================================ */
.divider {
  height: 3px;
  background: linear-gradient(to right, var(--black), var(--red) 25%, var(--yellow) 75%, var(--black));
}


/* ============================================================
   SHARED — SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section-inner { max-width: 1400px; margin: 0 auto; padding: 0 72px; }
.section-header { margin-bottom: 56px; }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--red); display: block; }
.section-title {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 5vw, 60px);
  text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--red); }
.section-link {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: gap 0.2s;
}
.section-link:hover { gap: 14px; }
.section-link::after { content: '→'; }


/* ============================================================
   SHARED — FOOTER
   ============================================================ */
footer {
  background: #080808; border-top: 1px solid #181818;
  padding: 64px 0 40px;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 72px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px;
  margin-bottom: 64px;
}
.footer-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 1.2rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--white);
  margin-bottom: 16px; display: block;
}
.footer-logo em { font-style: normal; color: var(--red); }
.footer-desc {
  font-size: 0.85rem; font-weight: 300; color: #444; line-height: 1.8;
  max-width: 280px; margin-bottom: 24px;
}
.footer-founding {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #333;
}
.footer-col h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #555;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.85rem; font-weight: 300; color: #444; text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #181818; padding-top: 32px;
}
.footer-copy {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #333;
}
.footer-contact {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; color: #333;
}
.footer-contact a { color: #444; text-decoration: none; }
.footer-contact a:hover { color: var(--red); }


/* ============================================================
   SHARED — ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible, .reveal.vis { opacity: 1; transform: translateY(0); }


/* ============================================================
   SHARED — HAMBURGER MENU
   ============================================================ */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--white); transition: color 0.15s;
}
.nav-hamburger:hover { color: var(--red); }
.nav-hamburger svg { display: block; width: 24px; height: 24px; }
.nav-hamburger .icon-close { display: none; }
.nav-hamburger.open .icon-open { display: none; }
.nav-hamburger.open .icon-close { display: block; }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 199;
  background: rgba(15,15,15,0.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid #222;
  flex-direction: column; padding: 8px 0 16px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--light);
  text-decoration: none; padding: 14px 24px;
  border-bottom: 1px solid #1a1a1a; transition: color 0.15s;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--white); }
.nav-drawer a.active { color: var(--red); }
.nav-drawer a::after { content: '→'; color: #333; font-size: 0.9rem; }
.nav-drawer .drawer-join {
  margin: 12px 24px 0;
  background: var(--red); color: var(--white) !important;
  padding: 14px 24px !important; text-align: center;
  border-bottom: none !important;
}
.nav-drawer .drawer-join::after { display: none; }
.nav-drawer .drawer-join:hover { background: #cc1520; color: var(--white) !important; }


/* ============================================================
   SHARED — RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-join { display: none; }
  .nav-hamburger { display: block; }
  .section { padding: 60px 0; }
  .section-inner { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding: 0 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}


/* ============================================================
   HOME PAGE — PINNED NOTICE
   ============================================================ */
.pinned-notice {
  background: #1a1400; border-bottom: 1px solid #3a2e00;
  position: relative; z-index: 10; padding-top: 64px;
}
.pinned-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 72px 14px 92px;
}
.pinned-icon { font-size: 1rem; }
.pinned-label {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--yellow); margin-right: 8px;
}
.pinned-text { font-size: 0.88rem; color: #ccc; flex: 1; }
.pinned-text a { color: var(--yellow); text-decoration: none; }
.pinned-text a:hover { text-decoration: underline; }
.pinned-close {
  background: none; border: none; color: #555; cursor: pointer;
  font-size: 0.8rem; padding: 4px 8px; transition: color 0.15s;
}
.pinned-close:hover { color: var(--white); }


/* ============================================================
   HOME PAGE — DASHBOARD HERO
   ============================================================ */
.hero { padding-top: 0; position: relative; }
.hero-dashboard {
  display: grid; grid-template-columns: 1fr 1px 1fr 1px auto;
  background: var(--dark); border-bottom: 1px solid #222; min-height: 240px;
}
.dash-divider { background: #222; width: 1px; }
.dash-panel { padding: 32px 40px 32px 56px; }
.dash-panel.dash-countdown {
  padding: 32px 48px; min-width: 220px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--dark2);
}
.dash-panel-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.dash-label {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red);
}
.dash-more {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #444; text-decoration: none; transition: color 0.15s;
}
.dash-more:hover { color: var(--red); }
.dash-event-list { display: flex; flex-direction: column; gap: 14px; }
.dash-event {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid #1e1e1e;
}
.dash-event:last-child { border-bottom: none; padding-bottom: 0; }
.dash-event-date { text-align: center; min-width: 36px; }
.dash-day {
  font-family: var(--font-display); font-weight: 900; font-size: 1.6rem;
  line-height: 1; color: var(--white); letter-spacing: -0.02em; display: block;
}
.dash-mon {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #555; display: block;
}
.dash-event-info { flex: 1; }
.dash-event-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; color: var(--white); letter-spacing: 0.02em;
}
.dash-event-sub { font-size: 0.78rem; color: #555; margin-top: 2px; }
.dash-event-cat {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 8px; border: 1px solid;
}
.dash-event-cat.tt    { color: var(--yellow); border-color: #3a3000; }
.dash-event-cat.road  { color: var(--red);    border-color: #3a0000; }
.dash-event-cat.track { color: #3b82f6;       border-color: #1a2a4a; }
.dash-result-list { display: flex; flex-direction: column; gap: 14px; }
.dash-result {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 14px; border-bottom: 1px solid #1e1e1e;
}
.dash-result:last-child { border-bottom: none; padding-bottom: 0; }
.dash-result-pos {
  font-family: var(--font-display); font-weight: 900; font-size: 1.4rem;
  color: var(--red); min-width: 24px; line-height: 1;
}
.dash-result-info { flex: 1; }
.dash-result-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; color: var(--white); letter-spacing: 0.02em;
}
.dash-result-event { font-size: 0.78rem; color: #555; margin-top: 2px; }
.dash-result-time {
  font-family: var(--font-mono); font-size: 0.88rem; color: var(--yellow); letter-spacing: 0.06em;
}
.dash-countdown-num {
  font-family: var(--font-display); font-weight: 900; font-size: 2.4rem;
  color: var(--yellow); letter-spacing: -0.02em; line-height: 1; margin: 8px 0 4px;
}
.dash-countdown-race {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; color: var(--white); letter-spacing: 0.04em;
}
.dash-countdown-date {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: #555; margin-top: 4px;
}


/* ============================================================
   HOME PAGE — UPCOMING EVENTS LIST
   ============================================================ */
.events-section { background: var(--dark); }
.events-header {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px;
}
.events-list { display: flex; flex-direction: column; gap: 0; }
.event-row {
  display: grid; grid-template-columns: 80px 1fr auto auto;
  align-items: center; gap: 0; padding: 20px 0;
  border-top: 1px solid #222; text-decoration: none; color: inherit;
  transition: background 0.15s; position: relative; cursor: pointer;
}
.event-row:last-child { border-bottom: 1px solid #222; }
.event-row::before {
  content: ''; position: absolute; left: -72px; right: -72px; top: 0; bottom: 0;
  background: var(--dark2); opacity: 0; transition: opacity 0.15s; z-index: 0;
}
.event-row:hover::before { opacity: 1; }
.event-row > * { position: relative; z-index: 1; }
.event-date { text-align: center; }
.event-date-day {
  font-family: var(--font-display); font-weight: 900; font-size: 2.2rem;
  line-height: 1; color: var(--white); letter-spacing: -0.02em;
}
.event-date-mon {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #555;
}
.event-info { padding: 0 32px; }
.event-cat {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 6px;
}
.event-cat.road  { color: var(--red); }
.event-cat.track { color: #3b82f6; }
.event-cat.tt    { color: var(--yellow); }
.event-cat.club  { color: #10b981; }
.event-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: 0.01em; text-transform: uppercase; color: var(--white);
}
.event-sub { font-size: 0.82rem; color: #666; margin-top: 4px; font-weight: 300; }
.event-location {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #555; padding: 0 32px; text-align: right; white-space: nowrap;
}
.event-arrow { font-size: 1rem; color: #333; transition: color 0.15s, transform 0.15s; }
.event-row:hover .event-arrow { color: var(--red); transform: translateX(4px); }


/* ============================================================
   HOME PAGE — FEATURED ATHLETE
   ============================================================ */
.athlete-section { background: var(--black); }
.athlete-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.athlete-main {
  background: var(--dark2); position: relative; overflow: hidden;
  min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0;
}
.athlete-photo-placeholder {
  position: absolute; inset: 0; background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}
.athlete-photo-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px
  );
}
.athlete-number {
  position: absolute; top: 32px; right: 32px;
  font-family: var(--font-display); font-weight: 900; font-size: 7rem;
  color: transparent; -webkit-text-stroke: 1px #2a2a2a;
  line-height: 1; letter-spacing: -0.04em; user-select: none;
}
.athlete-stripes-accent { position: absolute; top: 0; left: 0; bottom: 0; display: flex; width: 8px; }
.athlete-stripes-accent .as { flex: 1; }
.as-r { background: var(--red); }
.as-y { background: var(--yellow); }
.athlete-info {
  position: relative; z-index: 2; padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
}
.athlete-flag {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.athlete-name {
  font-family: var(--font-display); font-weight: 900; font-size: 3.2rem;
  text-transform: uppercase; line-height: 0.9; letter-spacing: -0.02em;
  margin-bottom: 12px; color: var(--white);
}
.athlete-name em { font-style: italic; color: var(--red); }
.athlete-role {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #666; margin-bottom: 20px;
}
.athlete-highlight {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--red); color: var(--white); padding: 6px 14px;
}
.athlete-right { display: grid; grid-template-rows: 1fr 1fr; gap: 2px; }
.achievement-card {
  background: var(--dark2); padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; min-height: 259px;
}
.achievement-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--red), var(--yellow));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.achievement-card:hover::after { transform: scaleX(1); }
.ach-year {
  font-family: var(--font-display); font-weight: 900; font-size: 5rem;
  color: transparent; -webkit-text-stroke: 1px #2a2a2a;
  line-height: 1; letter-spacing: -0.04em;
  position: absolute; top: 20px; right: 24px; user-select: none;
}
.ach-medal {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 8px;
}
.ach-event {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  text-transform: uppercase; line-height: 1; color: var(--white); position: relative; z-index: 1;
}
.ach-detail {
  font-size: 0.82rem; font-weight: 300; color: #666; margin-top: 8px; position: relative; z-index: 1;
}
.ach-name {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: #555; position: relative; z-index: 1;
}


/* ============================================================
   HOME PAGE — RECENT RESULTS
   ============================================================ */
.results-section { background: var(--dark); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.result-card {
  background: var(--dark2); padding: 32px;
  position: relative; overflow: hidden; transition: background 0.15s;
}
.result-card:hover { background: var(--dark3); }
.result-event {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.result-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); margin-bottom: 4px;
}
.result-detail { font-size: 0.82rem; font-weight: 300; color: #666; margin-bottom: 20px; }
.result-time {
  font-family: var(--font-display); font-weight: 900; font-size: 2.8rem;
  letter-spacing: -0.02em; color: var(--yellow); line-height: 1;
}
.result-time-label {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #555; margin-top: 2px;
}
.result-pos {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-display); font-weight: 900; font-size: 4rem;
  color: transparent; -webkit-text-stroke: 1px #252525; line-height: 1; user-select: none;
}


/* ============================================================
   HOME PAGE — HISTORY BAND
   ============================================================ */
.history-band {
  background: var(--red); padding: 28px 0; position: relative; overflow: hidden;
}
.history-band::before {
  content: '1896'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 900; font-size: 10rem;
  color: transparent; -webkit-text-stroke: 2px rgba(0,0,0,0.15);
  line-height: 1; user-select: none; letter-spacing: -0.04em;
}
.history-band-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 72px;
  display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1;
}
.history-stat { text-align: center; }
.history-stat-num {
  font-family: var(--font-display); font-weight: 900; font-size: 2.8rem;
  line-height: 1; color: var(--white); letter-spacing: -0.03em;
}
.history-stat-label {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px;
}
.history-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.2); }
.history-text { max-width: 440px; }
.history-text h3 {
  font-family: var(--font-display); font-weight: 900; font-size: 2rem;
  text-transform: uppercase; color: var(--white); line-height: 1;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.history-text p { font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,0.7); line-height: 1.75; }
.history-text a { color: var(--yellow); text-decoration: none; font-weight: 500; }


/* ============================================================
   HOME PAGE — SPONSORS
   ============================================================ */
.sponsors-section { background: var(--black); padding: 72px 0; }
.sponsors-label {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #333; text-align: center; margin-bottom: 40px;
}
.sponsors-row {
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.sponsor-item {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: #333;
  transition: color 0.2s; text-decoration: none;
}
.sponsor-item:hover { color: #555; }
.sponsor-item.primary { color: #555; font-size: 1.5rem; }


/* ============================================================
   HOME PAGE — CYCLIST TICKER
   ============================================================ */
.ticker-wrap {
  background: #0d1520; padding: 0; overflow: hidden;
  border-top: 2px solid var(--red); border-bottom: 2px solid var(--red);
  height: 60px; position: relative;
}
/* Road texture */
.ticker-wrap::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 200px 30px at 20% 40%, rgba(255,255,255,0.025) 0%, transparent 100%),
    radial-gradient(ellipse 300px 20px at 70% 60%, rgba(255,255,255,0.02) 0%, transparent 100%);
}
.ticker {
  display: flex; white-space: nowrap; align-items: center;
  animation: ticker 30s linear infinite; height: 60px;
}
/* Cyclist */
.ticker-plane { display: inline-flex; align-items: center; padding: 0 0 0 48px; flex-shrink: 0; }
/* Banner towed behind cyclist */
.ticker-banner {
  display: inline-flex; align-items: center;
  background: rgba(0,0,0,0.25); padding: 5px 20px 5px 8px;
  position: relative; flex-shrink: 0;
}
/* Tow rope */
.ticker-banner::before {
  content: ''; display: block; width: 12px; height: 1px;
  background: rgba(255,255,255,0.5); flex-shrink: 0;
}
.ticker-banner-inner {
  background: rgba(238,28,37,0.92); border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 16px 5px 10px; display: flex; align-items: center; position: relative;
}
/* Banner left triangle notch */
.ticker-banner-inner::before {
  content: ''; position: absolute; left: -8px; top: 50%; transform: translateY(-50%);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  border-right: 9px solid rgba(238,28,37,0.92);
}
.ticker-banner-text {
  font-family: var(--font-display); font-weight: 800; font-size: 0.85rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: white;
  white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================================
   HONOURS PAGE — HERO
   ============================================================ */
.hon-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end; padding-bottom: 80px;
  overflow: hidden; padding-top: 64px;
}
.hero-year {
  position: absolute; right: -30px; bottom: 20px;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(180px, 26vw, 360px);
  color: transparent; -webkit-text-stroke: 1px #222;
  line-height: 1; user-select: none; letter-spacing: -0.04em;
}
.hero-dots {
  position: absolute; top: 64px; right: 0; width: 280px; height: 280px;
  background-image: radial-gradient(circle, var(--red) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, black 30%, transparent 80%);
  opacity: 0.2;
}
.hero-content { position: relative; z-index: 2; padding: 0 80px 0 60px; max-width: 880px; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--red); display: block; }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(60px, 9vw, 120px); line-height: 0.9;
  letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 32px;
}
.hero-title .accent { color: var(--red); }
.hero-desc {
  font-size: 1.05rem; font-weight: 300; color: #bbb;
  max-width: 520px; line-height: 1.75; margin-bottom: 48px;
}
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { border-left: 2px solid var(--red); padding-left: 16px; }
.stat-num {
  font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--white);
}
.stat-num em { color: var(--red); font-style: normal; font-size: 1.5rem; }
.stat-lbl {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--light); margin-top: 2px;
}


/* ============================================================
   HONOURS PAGE — SECTIONS
   ============================================================ */
.hon-section { padding: 96px 60px; }
.hon-section.dark { background: var(--dark); }
.hon-section.darker { background: var(--black); }
.sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 60px; }
.sec-lbl {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); white-space: nowrap;
}
.sec-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 5vw, 60px); text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.01em;
}
.sec-title em { font-style: normal; color: var(--red); }
.sec-rule { flex: 1; height: 1px; background: linear-gradient(to right, #2a2a2a, transparent); margin-bottom: 3px; }


/* ============================================================
   HONOURS PAGE — FEATURED CARDS
   ============================================================ */
.feat-grid { display: grid; gap: 2px; }
.card-hero {
  background: var(--dark2); display: grid; grid-template-columns: 1fr 1fr;
  min-height: 460px; overflow: hidden;
}
.card-hero .visual {
  background: var(--dark3); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 40px; min-height: 400px;
}
.card-hero .visual .bg-num {
  position: absolute; bottom: -30px; right: -20px;
  font-family: var(--font-display); font-weight: 900; font-size: 200px;
  color: transparent; -webkit-text-stroke: 2px #2b2b2b;
  line-height: 1; user-select: none; letter-spacing: -0.05em;
}
.medal-list { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; min-width: 260px; }
.medal {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  padding: 10px 16px; border-radius: 2px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.gold   { background: #FFD700; box-shadow: 0 0 8px #ffd70055; }
.dot.silver { background: #C0C0C0; }
.dot.red    { background: var(--red); box-shadow: 0 0 8px #ee1c2555; }
.medal-txt { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: #999; line-height: 1.4; }
.medal-txt strong { color: var(--white); display: block; }
.card-hero .body { padding: 52px 52px 44px; display: flex; flex-direction: column; justify-content: space-between; }
.card-flag {
  font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.card-flag::before { content: ''; width: 20px; height: 1px; background: var(--red); display: block; }
.card-name {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 5vw, 70px); text-transform: uppercase;
  line-height: 0.88; letter-spacing: -0.02em; margin-bottom: 10px;
}
.card-role {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 24px;
}
.card-bio { font-size: 0.93rem; font-weight: 300; color: #bbb; line-height: 1.72; margin-bottom: 28px; }
.card-bio em { color: #ddd; font-style: italic; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 11px; border: 1px solid #333; color: #888;
}
.tag.r { border-color: var(--red);    color: var(--red);    background: rgba(238,28,37,0.07); }
.tag.y { border-color: var(--yellow); color: var(--yellow); background: rgba(255,215,0,0.07); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 2px; }


/* ============================================================
   HONOURS PAGE — STANDARD CARDS
   ============================================================ */
.card-std {
  background: var(--dark2); display: grid; grid-template-columns: 240px 1fr; overflow: hidden;
}
.card-std .accent {
  background: var(--dark3); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; min-height: 260px;
}
.card-std .accent .athlete-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; opacity: 0.55;
}
.card-hero .visual .athlete-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; opacity: 0.45;
}
.accent-bg {
  position: absolute; bottom: -10px; left: -10px;
  font-family: var(--font-display); font-weight: 900; font-size: 110px;
  color: transparent; -webkit-text-stroke: 1px #2b2b2b;
  line-height: 1; user-select: none; letter-spacing: -0.04em;
}
.accent-stat { position: relative; z-index: 2; }
.accent-big { font-family: var(--font-display); font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--red); }
.accent-lbl { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light); margin-top: 2px; }
.card-std .body { padding: 36px 44px; }
.card-std .card-name { font-size: clamp(28px, 3vw, 44px); }


/* ============================================================
   HONOURS PAGE — ROLL OF HONOUR
   ============================================================ */
.honours-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1px; background: #1e1e1e; border: 1px solid #1e1e1e;
}
.honour-card {
  background: var(--dark2); padding: 28px 26px;
  position: relative; overflow: hidden; transition: background 0.2s;
}
.honour-card:hover { background: #222; }
.honour-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s;
}
.honour-card:hover::before { transform: scaleY(1); }
.h-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; margin-bottom: 3px; }
.h-era { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.h-desc { font-size: 0.83rem; color: #888; line-height: 1.5; }


/* ============================================================
   HONOURS PAGE — CYCLING FAMILIES
   ============================================================ */
.family-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2px; }
.family-card {
  background: var(--dark2); padding: 36px 32px;
  border-top: 3px solid #2a2a2a; transition: border-color 0.25s;
}
.family-card:hover { border-color: var(--red); }
.fam-name { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; text-transform: uppercase; margin-bottom: 2px; }
.fam-name em { font-style: normal; color: var(--red); }
.fam-sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: #555; margin-bottom: 24px; }
.fam-members { display: flex; flex-direction: column; gap: 10px; }
.fam-row { display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #242424; }
.fam-row:last-child { border-bottom: none; padding-bottom: 0; }
.fam-person { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; min-width: 100px; }
.fam-detail { font-size: 0.8rem; color: #888; }


/* ============================================================
   HONOURS PAGE — 500M LINEAGE
   ============================================================ */
.lineage { display: flex; flex-direction: column; max-width: 780px; margin: 0 auto; }
.lin-item { display: grid; grid-template-columns: 72px 1fr; gap: 28px; position: relative; }
.lin-item::before {
  content: ''; position: absolute; left: 36px; top: 44px; bottom: -1px; width: 1px; background: #242424;
}
.lin-item:last-child::before { display: none; }
.lin-year { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; color: var(--red); padding-top: 24px; text-align: right; }
.lin-body { padding: 18px 0 36px; border-bottom: 1px solid #1c1c1c; }
.lin-item:last-child .lin-body { border-bottom: none; }
.lin-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; margin-bottom: 2px; }
.lin-record { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--yellow); margin-bottom: 8px; }
.lin-detail { font-size: 0.84rem; color: #888; line-height: 1.6; }


/* ============================================================
   HONOURS PAGE — SIMPLE FOOTER
   ============================================================ */
.hon-footer {
  background: var(--black); border-top: 1px solid #1c1c1c;
  padding: 44px 60px; display: flex; align-items: center; justify-content: space-between;
}
.f-brand { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; text-transform: uppercase; }
.f-brand em { font-style: normal; color: var(--red); }
.f-est { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: #444; margin-top: 4px; }
.f-note { font-size: 0.78rem; color: #444; text-align: right; }


/* ============================================================
   HONOURS PAGE — RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .hero-content { padding: 0 20px; }
  .card-hero { grid-template-columns: 1fr; }
  .card-hero .visual { min-height: 260px; }
  .card-std { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .hon-section { padding: 60px 20px; }
  .hon-footer { flex-direction: column; gap: 20px; }
  .f-note { text-align: left; }
}
