/* CAN5000 (can5000.ca). One stylesheet, no build step.
   Black, white and Canada red. The base section is the subset of the
   adamsaltarelli.com stylesheet this page actually uses; the rest re-tunes it. */

/* ================= BASE ================= */
@font-face { font-family: 'Bebas'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/bebas-neue-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --pad:   clamp(1.25rem, 5vw, 3.5rem);
  --nav-h: 4.25rem;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Bebas', 'Haettenschweiler', 'Arial Narrow', var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.99rem + 0.38vw, 1.1875rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

.display { font-family: var(--display); font-weight: 400; line-height: .9; letter-spacing: .005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
h2.display { font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5.25rem); margin-bottom: 1.35rem; }
h3.display { font-size: clamp(1.75rem, 1.4rem + 1.7vw, 2.5rem); margin-bottom: .85rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-underline-offset: .2em; transition: color .15s ease; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.small { font-size: .9375rem; line-height: 1.6; color: var(--muted); }

.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--pad); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-links { display: flex; align-items: center; }
.nav-links a { font-size: .9375rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

.btn {
  display: inline-block; background: var(--brand); color: var(--ink); font-weight: 600; font-size: 1rem;
  letter-spacing: .01em; padding: .85rem 1.75rem; border: 0; border-radius: 999px; text-decoration: none;
  cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent); color: var(--ink); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.nav .btn { padding: .6rem 1.25rem; font-size: .9375rem; }

.arrow {
  display: inline-block; font-weight: 600; text-decoration: none; color: var(--accent);
  border-bottom: 2px solid currentColor; padding-bottom: 2px; max-width: 100%; overflow-wrap: anywhere;
}

/* Panels: full-bleed sections over the contour texture */
.panel {
  scroll-margin-top: var(--nav-h); position: relative; isolation: isolate;
  padding-inline: var(--pad); border-top: 1px solid var(--line); overflow: hidden;
}
.panel::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: var(--panel-img, url('/assets/topo.svg')); background-size: cover;
  background-position: var(--panel-pos, center); opacity: var(--panel-opacity, .5);
}
.panel::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.panel > * { position: relative; }
.panel.flat { background: var(--bg); }
.panel.flat::before, .panel.flat::after { display: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* Forms */
.field { margin-bottom: 1.35rem; }
.field label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  padding: .85rem 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field textarea { resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F7F6F3' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: .95rem 1.15rem; margin-bottom: 1.5rem; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.success { border-left: 3px solid var(--brand); padding: .25rem 0 .25rem 1.5rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: clamp(3.5rem, 8vw, 5rem) var(--pad); }
.footer-mail {
  font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); color: var(--ink);
  text-decoration: none; display: inline-block; margin-bottom: .75rem; word-break: break-word;
}
.footer-mail:hover { color: var(--accent); }
.footer-meta { margin-top: 2rem; font-size: .875rem; color: var(--muted); }
.social { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.social a {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .9375rem; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .15s ease, color .15s ease;
}
.social a:hover { color: var(--accent); border-color: var(--brand); }

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

/* ================= CAN5000 ================= */

body.c5 {
  --bg:     #050505;
  --lift:   #121212;
  --ink:    #F7F6F3;
  --muted:  #A7A5A1;            /* 8.4:1 on --bg */
  --accent: #FF3B44;            /* red for text on black: 5.6:1 */
  --brand:  #D80621;            /* Canada red, fills: white on it 5.4:1 */
  --brand-hi: #EE1530;
  --line:   rgba(255, 255, 255, 0.12);
  --measure: 44rem;
  --wrap:   74rem;
  --ease:   cubic-bezier(.2, .7, .2, 1);
  background: var(--bg);
}

.c5 ::selection { background: var(--brand); color: #fff; }

/* ---------- Skip link ---------- */
.c5 .skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #000; padding: .6rem 1rem; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.c5 .skip:focus { top: 1rem; }

/* ---------- Nav ---------- */
.c5 .nav { background: rgba(5, 5, 5, .78); }
.brand {
  display: inline-flex; align-items: baseline; gap: .02em; text-decoration: none; color: var(--ink);
  font-family: var(--display); font-size: 1.6rem; line-height: 1; letter-spacing: .04em; white-space: nowrap;
}
.brand b { font-weight: 400; color: var(--accent); }
.brand:hover { color: var(--ink); }
.brand:hover b { color: var(--brand-hi); }
.c5 .nav-links { gap: 1.5rem; }
.c5 .nav .btn { background: var(--brand); color: #fff; }
.c5 .nav .btn:hover { background: var(--brand-hi); }
@media (max-width: 52rem) { .c5 .nav-links a:not(.btn) { display: none; } }

/* ---------- Panels: black scrim instead of the warm one ---------- */
.c5 .panel::after {
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 0%, rgba(5,5,5,.6) 70%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
.c5 .panel { padding-block: clamp(5.5rem, 14vw, 10.5rem); }

.c5-wrap { max-width: var(--wrap); margin-inline: auto; }

.c5 .eyebrow { color: var(--accent); display: flex; align-items: center; gap: .75rem; }
.c5 .eyebrow .num {
  font-family: var(--display); font-size: 1rem; letter-spacing: .08em;
  color: var(--ink); padding-right: .75rem; border-right: 1px solid var(--line); line-height: 1;
}

.c5-h2 { font-size: clamp(3.4rem, 1.6rem + 7.4vw, 7.25rem); margin-bottom: 1.75rem; }
.c5-h3 {
  font-size: .8125rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}
.c5-h3big { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); margin-bottom: 1rem; }
.c5 .red { color: var(--accent); }

.c5-lede {
  font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem);
  line-height: 1.45; color: var(--ink); max-width: 36rem;
}
.c5 p { max-width: 38rem; }
.c5 strong { font-weight: 600; color: var(--ink); }

.c5 .arrow { color: var(--ink); border-bottom-color: var(--brand); }
.c5 .arrow:hover { color: var(--accent); }

/* split layout: heading column + body column */
.c5-split { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) {
  .c5-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}

/* ---------- Buttons ---------- */
.c5 .btn { font-weight: 600; }
.c5 .btn-red { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px rgba(216, 6, 33, .65); }
.c5 .btn-red:hover { background: var(--brand-hi); color: #fff; }
.c5 .btn-ghost { border-color: rgba(255,255,255,.28); }
.c5 .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.c5 .btn-lg { padding: 1.05rem 2rem; font-size: 1.0625rem; min-height: 3.25rem; }
.c5 a[target="_blank"].btn::after {
  content: ''; display: inline-block; width: .55em; height: .55em; margin-left: .55em;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: translateY(-.05em) rotate(45deg); opacity: .8;
}
.c5 .nav a[target="_blank"].btn::after { display: none; }

/* ================= HERO ================= */
.c5-hero {
  min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
  padding-block: clamp(2.5rem, 7vh, 5rem) 2rem;
  border-top: 0;
  background:
    radial-gradient(70% 55% at 50% 108%, rgba(216, 6, 33, .42) 0%, rgba(216, 6, 33, .12) 45%, transparent 75%),
    radial-gradient(60% 40% at 50% 38%, rgba(255, 255, 255, .045) 0%, transparent 70%),
    #000;
}
.c5-hero::after {
  background: radial-gradient(130% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.85) 100%);
}
.c5-hero-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 64rem; margin-inline: auto; width: 100%; }
.c5-hero .eyebrow { justify-content: center; flex-wrap: wrap; gap: .35rem .9rem; color: var(--muted); letter-spacing: .24em; margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.c5-hero .eyebrow span:last-child { color: var(--ink); }
@media (max-width: 30rem) { .c5-hero .eyebrow { flex-direction: column; } .c5-hero .eyebrow .sep { display: none; } }

.c5-logo { margin: 0 -.75rem clamp(1.5rem, 4vh, 2.5rem); width: min(calc(100% + 1.5rem), 50rem); line-height: 0; filter: drop-shadow(0 18px 40px rgba(216, 6, 33, .18)); }
.c5-logo img { width: 100%; height: auto; display: block; }

.c5-promise {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.35rem, 1.4rem + 4.6vw, 4.75rem); line-height: .92; letter-spacing: .01em;
  margin: 0 auto 1.25rem; max-width: 14ch; text-wrap: balance;
}
@media (min-width: 40rem) { .c5 .c5-promise { max-width: none; font-size: clamp(2.6rem, 1.5rem + 2.6vw, 4rem); } .br-sm { display: none; } }

.c5 .c5-meta { color: var(--muted); margin: 0 auto 2rem; max-width: 30rem; font-size: 1.0625rem; }
.c5-actions { justify-content: center; }
.c5 .c5-assure { margin: 1.1rem auto 0; font-size: .8125rem; color: var(--muted); letter-spacing: .01em; }

@media (max-width: 30rem) {
  .c5-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 22rem; margin-inline: auto; }
  .c5-actions .btn { text-align: center; }
}

/* Mile 0 rail */
.rail {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(.75rem, 3vw, 2rem);
  width: 100%; max-width: 64rem; margin: clamp(2.5rem, 6vh, 4rem) auto 0; text-align: left;
}
.rail-end { display: flex; flex-direction: column; gap: .2rem; }
.rail-end-r { text-align: right; }
.rail-mile { font-family: var(--display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1; letter-spacing: .04em; color: var(--accent); }
.rail-place { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.rail-line { position: relative; height: 2px; background: rgba(255,255,255,.14); }
.rail-line i {
  position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, var(--brand) 55%, var(--brand) 100%);
  transform-origin: left center;
}
.rail-line::before, .rail-line::after {
  content: ''; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  transform: translate(-50%, -50%); background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12);
}
.rail-line::before { left: 0; }
.rail-line::after { left: 100%; background: var(--brand); box-shadow: 0 0 0 4px rgba(216,6,33,.25); }
.rail-line span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: #000; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--ink);
}

/* hero entrance: only when JS is on and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .c5-rise { opacity: 0; transform: translateY(18px); animation: c5-rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
  .js .c5-logo.c5-rise { transform: translateY(14px) scale(.985); animation-duration: 1.2s; }
  .js .rail-line i { transform: scaleX(0); animation: c5-draw 2.2s var(--ease) .75s forwards; }
}
@keyframes c5-rise { to { opacity: 1; transform: none; } }
@keyframes c5-draw { to { transform: scaleX(1); } }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden; border-block: 1px solid var(--line); background: #000;
  padding: 1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; }
.ticker span {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  letter-spacing: .06em; line-height: 1; color: rgba(255,255,255,.82); white-space: nowrap;
  display: inline-flex; align-items: center;
}
.ticker span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin: 0 1.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: c5-tick 70s linear infinite; }
}
@keyframes c5-tick { to { transform: translateX(-50%); } }

/* ================= WHY ================= */
.c5-quote {
  margin: 2.5rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--brand);
}
.c5-quote p {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1; margin: 0 0 .75rem;
}
.c5-quote cite { font-style: normal; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.goal {
  display: grid; gap: .35rem; margin-top: 2.5rem; padding: 1.75rem 1.75rem 1.6rem;
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(140deg, rgba(216,6,33,.16), rgba(216,6,33,0) 60%), var(--lift);
}
.goal-label { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.goal-num { font-family: var(--display); font-size: clamp(3.5rem, 2.4rem + 5vw, 5.5rem); line-height: .9; letter-spacing: .01em; }
.goal-for { color: var(--muted); font-size: .9375rem; }

/* ================= ROUTE ================= */
.c5-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.c5-head-center { margin-inline: auto; text-align: center; }
.c5-head-center .eyebrow { justify-content: center; }
.c5-head-center p, .c5-donate p, .c5-hero p { margin-inline: auto; }

.c5-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0;
  border-top: 1px solid var(--line);
}
.c5-stats > div { padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.c5-stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
.c5-stats > div:nth-child(even) { padding-left: 1.25rem; }
.c5-stats dt {
  font-family: var(--display); font-size: clamp(3.25rem, 2rem + 6vw, 6.25rem); line-height: .85; color: var(--ink);
  display: flex; align-items: baseline; gap: .3rem; white-space: nowrap;
}
.c5-stats dt small { font-size: .38em; color: var(--accent); letter-spacing: .04em; }
.c5-stats dd { margin: .65rem 0 0; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c5-stats .dd-sub { display: block; margin-top: .3rem; font-weight: 400; letter-spacing: .02em; text-transform: none; font-size: .8125rem; }
@media (min-width: 52rem) {
  .c5-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c5-stats > div { border-right: 1px solid var(--line); padding: 1.75rem 1.5rem; }
  .c5-stats > div:first-child { padding-left: 0; }
  .c5-stats > div:last-child { border-right: 0; }
}
.c5-stats-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2rem 0; }
.c5-stats-sm > div, .c5-stats-sm > div:nth-child(even), .c5-stats-sm > div:nth-child(odd) { padding: 1.25rem .75rem 1.25rem 1rem; border-right: 1px solid var(--line); }
.c5-stats-sm > div:first-child { padding-left: 0; }
.c5-stats-sm > div:last-child { border-right: 0; }
.c5-stats-sm dt { font-size: clamp(2.5rem, 1.9rem + 2.6vw, 3.75rem); }

/* (interactive route map: see ROUTE MAP below) */

.stops {
  list-style: none; margin: 0; padding: 0; counter-reset: s;
  display: grid; grid-template-columns: 1fr; position: relative;
}
.stops li {
  counter-increment: s; position: relative; padding: .8rem 0 .8rem 3.25rem;
  border-top: 1px solid var(--line);
}
.stops li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: .95rem;
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .06em; color: var(--muted); line-height: 1;
}
.stops li::after {
  content: ''; position: absolute; left: 2rem; top: 1.25rem; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.stops b { display: block; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.stops span { display: block; font-size: .875rem; color: var(--muted); margin-top: .1rem; }
.stops b .km { display: inline; margin: 0 0 0 .55rem; font-family: var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; font-size: .8125rem; letter-spacing: .02em; text-transform: none; white-space: nowrap; vertical-align: .08em; }
.c5-note { margin-top: 1.25rem; font-size: .8125rem; color: var(--muted); }
.stops .stop-key::before { color: var(--accent); }
.stops .stop-key::after { background: var(--brand); box-shadow: 0 0 0 4px rgba(216,6,33,.25); }
.stops .stop-key b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; }
@media (max-width: 39.99rem) {
  .stops li { padding-block: .6rem; }
  .stops li::before { top: .78rem; }
  .stops li::after { top: 1.05rem; }
  .stops li:not(.stop-key) b { font-size: 1rem; }
}
@media (min-width: 40rem) { .stops { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 64rem) { .stops { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; } }

/* ================= ROUTE MAP (interactive) =================
   Basemap is a static SVG <img>; the route is drawn by can5000.js from
   /assets/data/route.json into two SVG layers (static + live) so scrubbing
   only repaints the thin live layer. Labels, pins and the marker are HTML
   so they stay crisp and readable at any width. */
.rmap { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.rmap-card {
  position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: radial-gradient(90% 120% at 50% 100%, rgba(216, 6, 33, .10), transparent 60%), #070707;
}
@media (max-width: 39.99rem) {
  .rmap-card { margin-inline: calc(-1 * var(--pad)); border-radius: 0; border-inline: 0; }
}
.rmap-stage {
  position: relative; aspect-ratio: 1000 / 350; touch-action: pan-y; cursor: crosshair;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
@supports not (aspect-ratio: 1) { .rmap-stage { height: 0; padding-top: 35%; } }
.rmap-base, .rmap-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rmap-svg { overflow: visible; pointer-events: none; }
.rmap-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.r-halo  { stroke: var(--brand); stroke-width: 10; opacity: .13; }
.r-glow  { stroke: var(--brand); stroke-width: 4.5; opacity: .38; }
.r-core  { stroke: #FF2A37; stroke-width: 1.9; }
.r-ferry { stroke: rgba(255, 255, 255, .55); stroke-width: 1.25; stroke-dasharray: 2 4; stroke-linecap: butt !important; }
.r-static { transition: opacity .35s ease; }
.rmap[data-state="scrub"] .r-static, .rmap.has-progress .r-static { opacity: .36; }
.r-live-glow { stroke: #FF2A37; stroke-width: 6; opacity: .45; }
.r-live-core { stroke: #FFD9DC; stroke-width: 2; }
.r-prog-glow { stroke: #FF2A37; stroke-width: 6; opacity: .4; }
.r-prog-core { stroke: #FF2A37; stroke-width: 2.2; }

.rmap-layer { position: absolute; inset: 0; pointer-events: none; }
.rmap-lbl {
  position: absolute; width: 0; height: 0;
  font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  color: rgba(255, 255, 255, .78); white-space: nowrap;
}
.rmap-lbl::before {
  content: ''; position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .55);
}
.rmap-lbl span { position: absolute; text-shadow: 0 1px 3px #000, 0 0 8px #000; }
.rmap-lbl[data-p="n"]  span { bottom: 7px; left: 0; transform: translateX(-50%); }
.rmap-lbl[data-p="s"]  span { top: 7px; left: 0; transform: translateX(-50%); }
.rmap-lbl[data-p="e"]  span { left: 8px; top: 0; transform: translateY(-50%); }
.rmap-lbl[data-p="w"]  span { right: 8px; top: 0; transform: translateY(-50%); }
.rmap-lbl[data-p="ne"] span { left: 5px; bottom: 5px; }
.rmap-lbl[data-p="nw"] span { right: 5px; bottom: 5px; }
.rmap-lbl[data-p="se"] span { left: 5px; top: 5px; }
.rmap-lbl[data-p="sw"] span { right: 5px; top: 5px; }
@media (max-width: 47.99rem) { .rmap-lbl[data-l="2"] { display: none; } }
@media (min-width: 64rem) { .rmap-lbl { font-size: .6875rem; } }

.rmap-pin { position: absolute; width: 0; height: 0; }
.rmap-pin::before {
  content: ''; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px rgba(216, 6, 33, .3), 0 0 14px rgba(255, 42, 55, .8);
}
.rmap-pin span {
  position: absolute; top: 10px; white-space: nowrap; line-height: 1.05;
  font-family: var(--display); font-size: clamp(.875rem, .7rem + .6vw, 1.25rem); letter-spacing: .05em; color: #fff;
  text-shadow: 0 1px 3px #000, 0 0 10px #000;
}
.rmap-pin span small { display: block; font-family: var(--sans); font-size: .5625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.rmap-pin.is-start span { right: -2px; text-align: right; }
.rmap-pin.is-end span { left: -2px; }

.rmap-marker {
  position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(216, 6, 33, .9), 0 0 0 10px rgba(216, 6, 33, .22), 0 0 22px rgba(255, 42, 55, .9);
  opacity: 0; transition: opacity .2s ease; will-change: transform; pointer-events: none;
}
.rmap[data-state="scrub"] .rmap-marker { opacity: 1; }
.rmap-here {
  position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px var(--brand); pointer-events: none;
}
.rmap-here::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #FF2A37;
}
@media (prefers-reduced-motion: no-preference) {
  .rmap-here::after { animation: c5-here 1.8s ease-out infinite; }
}
@keyframes c5-here { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

/* readout */
.rmap-readout {
  position: relative; border-top: 1px solid var(--line); padding: 1rem 1.25rem .9rem;
  min-height: 6.4rem; display: grid; align-items: center;
}
.ro-rest, .ro-live { grid-area: 1 / 1; transition: opacity .2s ease; }
.rmap[data-state="scrub"] .ro-rest, .rmap:not([data-state="scrub"]) .ro-live { opacity: 0; visibility: hidden; }
.ro-rest { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; }
.ro-total { font-family: var(--display); font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem); line-height: .9; letter-spacing: .01em; margin: 0; }
.ro-total i { font-style: normal; color: var(--accent); padding: 0 .12em; }
.ro-hint { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: .6rem; }
.ro-hint::before { content: ''; width: 1.6rem; height: 2px; background: linear-gradient(90deg, transparent, var(--brand)); }
.ro-place { font-family: var(--display); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); line-height: .95; letter-spacing: .02em; margin: 0 0 .55rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-place small { font-family: var(--sans); font-size: .6875rem; font-weight: 600; letter-spacing: .16em; color: var(--accent); vertical-align: .55em; margin-left: .5rem; }
.ro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 1rem; margin: 0; }
.ro-grid div { min-width: 0; }
.ro-grid dt { font-size: .625rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.ro-grid dd { margin: 0; font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ro-grid dd span { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.ro-grid .ro-day dd { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: .9; color: var(--accent); }
@media (min-width: 48rem) {
  .rmap-readout { padding: 1.15rem 1.75rem; }
  .ro-live { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
  .ro-place { margin: 0; }
  .ro-grid { gap: 2.25rem; }
  .ro-grid dd span { display: inline; margin-left: .45rem; }
}

/* scrub slider */
.rmap-scrub { padding: .35rem 1.25rem 1.1rem; }
@media (min-width: 48rem) { .rmap-scrub { padding: .35rem 1.75rem 1.35rem; } }
.rmap-range {
  --p: 0%;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0;
  background: transparent; cursor: pointer; touch-action: pan-y;
}
.rmap-range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--brand) 0 var(--p), rgba(255,255,255,.16) var(--p) 100%);
}
.rmap-range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.16); }
.rmap-range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--brand); }
.rmap-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(216, 6, 33, .9), 0 4px 14px rgba(0,0,0,.6);
}
.rmap-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(216, 6, 33, .9); }
.rmap-range:focus { outline: none; }
.rmap-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(216, 6, 33, .9), 0 0 0 8px rgba(255,255,255,.35); }
.rmap-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(216, 6, 33, .9), 0 0 0 8px rgba(255,255,255,.35); }
.rmap-ends { display: flex; justify-content: space-between; gap: 1rem; margin-top: -.2rem; font-size: .625rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rmap-ends b { color: var(--accent); font-weight: 600; }
.rmap figcaption { margin-top: .85rem; font-size: .8125rem; color: var(--muted); max-width: none; }
.rmap figcaption .attr { display: block; margin-top: .25rem; font-size: .6875rem; opacity: .75; }
.rmap figcaption .attr a { color: inherit; }
.rmap-noscript { display: block; width: 100%; height: auto; }
.js .rmap-noscript { display: none; }
html:not(.js) .rmap-stage, html:not(.js) .rmap-readout, html:not(.js) .rmap-scrub { display: none; }

/* ================= ADAM ================= */
.c5-split-photo { align-items: center; }
.portrait { margin: 0; position: relative; }
.portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px;
  filter: saturate(.92) contrast(1.04);
}
.portrait::after {
  content: ''; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 35%);
}
.portrait figcaption {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 1;
  font-family: var(--display); font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase;
}
.portrait figcaption::before { content: ''; display: inline-block; width: 1.5rem; height: 2px; background: var(--brand); vertical-align: middle; margin-right: .6rem; transform: translateY(-2px); }
@media (max-width: 59.99rem) { .c5-split-photo .portrait { order: 2; } }
@media (min-width: 60rem) { .portrait { max-width: 34rem; } }

/* ================= FILM ================= */
.film {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #000; max-width: 64rem; margin-inline: auto;
}
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 120%, rgba(216,6,33,.45), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.65)),
    url('/assets/topo.svg') center / cover,
    #070707;
}
.film-placeholder::before, .film-placeholder::after {
  content: ''; position: absolute; left: 0; right: 0; height: 9%; background: #000;
}
.film-placeholder::before { top: 0; }
.film-placeholder::after { bottom: 0; }
.film-play {
  width: clamp(3.5rem, 8vw, 5rem); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.55); color: #fff; margin-bottom: clamp(.5rem, 2vw, 1.25rem);
  background: rgba(255,255,255,.04);
}
.film-play svg { width: 42%; height: 42%; transform: translateX(6%); }
.film-title { font-family: var(--display); font-size: clamp(3.25rem, 2rem + 7vw, 8rem); line-height: .85; letter-spacing: .02em; }
.film-when { display: inline-block; margin-top: .9rem; padding: .55em 1.3em; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--display); font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 10px 30px -10px var(--accent); }
.film-note { text-align: center; margin: 1.5rem auto 0; font-size: .9375rem; color: var(--muted); max-width: 40rem; }
@media (prefers-reduced-motion: no-preference) {
  .film-play { animation: c5-pulse 2.8s ease-in-out infinite; }
}
@keyframes c5-pulse { 50% { box-shadow: 0 0 0 12px rgba(255,255,255,0); border-color: #fff; } 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.18); } }

/* ================= PARTNERS ================= */
.promise { list-style: none; margin: 1.75rem 0; padding: 0; display: grid; gap: .1rem; }
.promise li { position: relative; padding: 1rem 0 1rem 2.25rem; border-top: 1px solid var(--line); color: var(--muted); }
.promise li:last-child { border-bottom: 1px solid var(--line); }
.promise li::before {
  content: ''; position: absolute; left: .15rem; top: 1.35rem; width: .9rem; height: .5rem;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.promise b { color: var(--ink); font-weight: 600; }

.tiers {
  list-style: none; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.tier { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: .5rem; transition: background .25s ease; }
.tier:hover { background: #0c0c0c; }
.tier-n { font-family: var(--display); font-size: 1rem; letter-spacing: .1em; color: var(--accent); }
.tier h3 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); margin: 0; }
.tier p { color: var(--muted); font-size: .9688rem; margin: 0; }
.tier p.tier-price { font-family: var(--display); font-size: 1.6rem; letter-spacing: .02em; color: var(--ink); line-height: 1.1; }
.tier p.tier-price span { font-family: inherit; font-size: .95rem; letter-spacing: .08em; color: var(--accent); }
.tier-title { background: linear-gradient(150deg, rgba(216,6,33,.22), rgba(216,6,33,0) 65%), var(--bg); }
.tier-title:hover { background: linear-gradient(150deg, rgba(216,6,33,.28), rgba(216,6,33,0) 65%), #0c0c0c; }
@media (min-width: 40rem) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tier { min-height: 15rem; } .tier h3 { font-size: 1.95rem; white-space: nowrap; } }

.partners-row { margin-top: 3rem; text-align: center; }
.partners-logos { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; }
.partners-logos img { height: 48px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .85; }

/* ---------- Forms ---------- */
.c5-formwrap {
  margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line); border-radius: 18px; background: var(--lift);
  display: grid; gap: 1rem 4rem; scroll-margin-top: calc(var(--nav-h) + 1rem);
}
@media (min-width: 60rem) { .c5-formwrap:not(.c5-formwrap-tight) { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); } }
.c5-formwrap-tight { margin-top: 0; }
.c5-formintro p { color: var(--muted); }
.c5 .form { margin-top: 0; max-width: none; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 36rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.c5 .field input, .c5 .field select, .c5 .field textarea { background: #0a0a0a; font-size: 1rem; min-height: 3.1rem; }
.c5 .field textarea { min-height: 7rem; }
.c5 .field input:focus, .c5 .field select:focus, .c5 .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 59, 68, .22); }
.c5 .field [aria-invalid="true"] { border-color: var(--accent); }
.c5 .form .btn { width: 100%; }
@media (min-width: 36rem) { .c5 .form .btn { width: auto; } }
.c5 .form-error { border-left-color: var(--accent); background: rgba(255, 59, 68, .1); }
.c5 .success { border-left-color: var(--brand); max-width: none; }
.c5 .success p { color: var(--muted); }

/* ================= DONATE ================= */
.c5-donate {
  text-align: center;
  background:
    radial-gradient(80% 70% at 50% 100%, rgba(216, 6, 33, .5) 0%, rgba(216, 6, 33, .1) 50%, transparent 78%),
    #000;
}
.c5-donate::before { opacity: .1; }
.c5-donate::after { background: linear-gradient(to bottom, var(--bg), transparent 30%); }
.c5-donate-inner { max-width: 60rem; }
.c5-donate .eyebrow { justify-content: center; color: var(--muted); letter-spacing: .24em; }
.c5-donate-h { font-size: clamp(3.25rem, 1.5rem + 8vw, 8.5rem); margin: 0 0 1.5rem; }
.c5-donate-h span { display: block; color: var(--accent); font-size: 1.32em; line-height: .85; }
.c5-donate .c5-lede { margin: 0 auto 2.25rem; }
.share-status { min-height: 1.5em; margin: 1rem auto 0; font-size: .875rem; color: var(--muted); }
.c5-legal {
  margin: 1.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .875rem; line-height: 1.6; color: var(--ink); max-width: 34rem;
}

/* ---------- Footer ---------- */
.c5 footer { background: #000; }
.c5-foot-tag { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.c5 .footer-inner { max-width: var(--wrap); margin-inline: auto; }
.c5 .footer-meta { max-width: 44rem; }
.c5 .footer-meta a { color: var(--ink); }
.c5 .footer-meta .tag { color: var(--ink); font-weight: 600; letter-spacing: .04em; }
.footer-built { margin-top: 1.25rem; font-size: .75rem; letter-spacing: .06em; }
.footer-built a { color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 1px; }
.footer-built a:hover { color: var(--ink); border-bottom-color: var(--brand); }
.social svg { width: 15px; height: 15px; flex: none; }

/* ---------- Scroll reveals (JS adds .in; no JS or reduced motion = always visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Reduced motion: also stop the ticker cleanly ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { flex-wrap: wrap; justify-content: center; width: auto; row-gap: .6rem; padding-inline: var(--pad); }
  .ticker-track span:nth-child(n+16) { display: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
}

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Tier perks */
.tier-perks { list-style: none; margin: .35rem 0 0; padding: 0; display: grid; gap: .4rem; }
.tier-perks li { position: relative; padding-left: 1.1rem; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.tier-perks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }
@media (min-width: 68rem) { .tier { min-height: 0; } }

/* Updates signup */
.c5-updates { margin: clamp(3rem, 6vw, 4.5rem) auto 0; max-width: 40rem; text-align: left; padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid rgba(255,255,255,.1); border-radius: 1.25rem; background: rgba(255,255,255,.03); }
.c5-updates .eyebrow { margin-bottom: .4rem; }
.c5-updates-sub { color: var(--muted); margin: .4rem 0 1.25rem; }
.c5-updates-form .btn { width: 100%; justify-content: center; }
@media (min-width: 40rem) { .c5-updates-form .btn { width: auto; } }
.footer-press { color: var(--muted); font-size: .9rem; margin: .25rem 0 0; }
.footer-press a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.c5-updates .eyebrow { text-align: left; justify-content: flex-start; }
