@font-face {
  font-family: Silkscreen;
  src: url('./assets/silkscreen-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Silkscreen;
  src: url('./assets/silkscreen-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ground: #050705;
  --paper: #f2f2ec;
  --muted: #a5aaa0;
  --green: #a5e147;
  --pink: #f1536e;
  --line: #293126;
  --button-bg: #a5e147;
  --button-hover: #c1f278;
  --button-shadow: #53782b;
  --pixel: Silkscreen, 'Courier New', monospace;
}
:root[data-theme="light"] {
  color-scheme: light;
  --ground: #f7faf7;
  --paper: #17241b;
  --muted: #506052;
  --green: #326b18;
  --pink: #b9244b;
  --line: #cbd7c9;
  --button-hover: #94d232;
  --button-shadow: #a8bd9e;
}
* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .3em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
svg { flex-shrink: 0; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--green); color: var(--ground); z-index: 10; }
.skip-link:focus { top: 1rem; }
.site-shell { max-width: 1480px; margin: 0 auto; padding: 0 3.5rem; }
.masthead { min-height: 112px; padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: .85rem; align-items: center; font-family: var(--pixel); line-height: 1.2; font-size: .9rem; text-decoration: none; }
.brand-mark { font-size: 1.75rem; position: relative; line-height: .64; color: var(--green); padding: .5rem 0 .65rem; }
.brand-mark span { display: block; color: var(--paper); }
.header-note { color: var(--muted); font-family: var(--pixel); font-size: .875rem; margin-left: auto; }
.header-link { display: flex; align-items: center; gap: .8rem; font-size: .9rem; text-decoration: none; padding: .6rem 0 .6rem 2rem; border-left: 1px solid var(--line); }
.ride-mode { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .65rem; min-height: 44px; max-width: 100%; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: inherit; font-size: .875rem; color: var(--muted); cursor: pointer; }
.ride-mode[hidden] { display: none; }
.ride-mode:hover { border-color: var(--muted); }
.mode-track { display: inline-flex; align-items: center; flex: 0 0 auto; width: 2.5rem; height: 1.5rem; padding: .1875rem; border: 1px solid var(--muted); border-radius: 999px; }
.mode-thumb { width: 1rem; height: 1rem; border-radius: 50%; background: var(--green); transform: translateX(1rem); transition: transform .18s ease; }
.mode-night { color: var(--green); font-weight: 700; }
:root[data-theme="light"] .mode-thumb { transform: translateX(0); }
:root[data-theme="light"] .mode-day { color: var(--green); font-weight: 700; }
:root[data-theme="light"] .mode-night { color: var(--muted); font-weight: 400; }
.arrow { width: 1.25rem; height: 1.25rem; }
.header-link:hover, .footer a:hover, figcaption a:hover { color: var(--green); }
.ride-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.25fr); gap: 2.5rem; padding: 2.5rem 0 2rem; align-items: start; }
.ride-copy { padding: 3.5rem 0 2rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.75rem; font-family: var(--pixel); font-size: .875rem; color: var(--green); }
.tiny-plus { font-size: 1.3rem; line-height: 1; }
h1 { font-family: var(--pixel); font-weight: 700; font-size: clamp(1.65rem, 2.6vw, 2.55rem); line-height: 1.4; letter-spacing: -.065em; margin: 0; }
h1 > span { color: var(--green); }
.hearts { display: flex; gap: .6rem; color: var(--pink); margin: 1.4rem 0 1.65rem; font-family: var(--pixel); font-size: 1.8rem; line-height: 1; }
.intro { font-size: 1.2rem; line-height: 1.5; margin: 0 0 .85rem; }
.description { max-width: 26rem; margin: 0; color: var(--muted); line-height: 1.75; }
.ride-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.25rem 0; margin: 2rem 0; max-width: 26rem; display: grid; gap: .85rem; }
.ride-details > div { display: grid; grid-template-columns: 5.8rem minmax(0, 1fr); gap: .5rem; }
dt { font-family: var(--pixel); font-size: .875rem; color: var(--green); padding-top: .15rem; }
dd { margin: 0; }
dd span { color: var(--muted); font-size: .9rem; }
.join-button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; max-width: 26rem; min-height: 60px; color: #0b1601; background: var(--button-bg); text-decoration: none; font-family: var(--pixel); font-size: .95rem; border: 2px solid var(--button-bg); box-shadow: 4px 4px 0 var(--ground), 5px 5px 0 var(--button-shadow); transition: background .15s ease, transform .15s ease; }
.join-button:hover { background: var(--button-hover); transform: translate(-1px,-1px); }
.join-button:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--button-shadow); }
.ride-note { font-size: .875rem; color: var(--muted); margin: 1.1rem 0 0; }
.route-collection { max-width: 26rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.route-collection h2 { margin: 0 0 .65rem; font-family: var(--pixel); font-size: 1rem; font-weight: 400; color: var(--green); }
.route-collection p { margin: 0 0 .65rem; color: var(--muted); }
.route-collection a { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; font-size: 1rem; }
.route-collection a:hover { color: var(--green); }
.signoff { margin: 2.5rem 0 0; max-width: 26rem; color: var(--muted); display: flex; align-items: center; justify-content: space-between; font-family: var(--pixel); font-size: .875rem; }
.signoff span { color: var(--pink); font-size: 1.7rem; }
.ride-art { margin: 0; min-width: 0; }
.ride-art > a { display: block; background: var(--ground); line-height: 0; }
.ride-art img { width: 100%; height: auto; display: block; }
:root[data-theme="light"] .art-dark, :root:not([data-theme="light"]) .art-light { display: none; }
figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; font-size: .8rem; padding: .8rem 0 0; color: var(--muted); }
figcaption a { font-size: .875rem; }
.footer { min-height: 104px; padding: 1.5rem 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; font-family: var(--pixel); font-size: .875rem; }
.footer p { margin: 0; }
.footer p > span { color: var(--muted); }
.footer-heart { color: var(--pink); font-size: 1.3rem; }
.footer a { text-decoration: none; }
@media (min-width: 1500px) { .ride-copy { padding-top: 5rem; } }
@media (max-width: 1080px) {
  .site-shell { padding: 0 2rem; }
  .ride-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; }
  .ride-copy { padding-top: 1rem; }
  h1 { font-size: clamp(1.4rem, 2.7vw, 2rem); }
  .header-note { display: none; }
  .footer { font-family: Arial, Helvetica, sans-serif; }
}
@media (max-width: 760px) {
  .site-shell { padding: 0 1.4rem; }
  .masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 92px; gap: 1rem; padding: 1.25rem 0; }
  .ride-mode { grid-column: 1 / -1; justify-self: start; }
  .brand { font-size: .875rem; gap: .6rem; }
  .header-link { font-size: .875rem; padding-left: 0; border: 0; gap: .3rem; }
  .header-link .arrow { width: 1rem; height: 1rem; }
  .ride-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: 2.4rem; }
  .ride-copy { padding: 0; }
  h1 { font-size: clamp(1.25rem, 5.1vw, 2.5rem); line-height: 1.42; }
  .eyebrow { margin-bottom: 1.4rem; }
  .hearts { margin: 1.25rem 0; }
  .intro { font-size: 1.15rem; }
  .description, .ride-details, .join-button, .signoff, .route-collection { max-width: none; }
  .ride-details { margin: 1.5rem 0; }
  .signoff { display: none; }
  .ride-art { margin: 0 -.4rem; }
  .footer { flex-wrap: wrap; justify-content: flex-start; gap: .8rem; font-size: .875rem; padding: 1.5rem 0; }
  .footer p { width: calc(100% - 2rem); }
  .footer-heart { order: 1; margin-left: auto; }
  .footer a { width: 100%; order: 2; }
}
@media (max-width: 380px) {
  .site-shell { padding: 0 1rem; }
  .brand-mark { display: none; }
  .brand { font-size: .8rem; }
  .header-link { font-size: .875rem; }
  .join-button { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .join-button, .mode-thumb { transition: none; }
}
