/* Gorge Rides — brand style guide
   Palette: Navy #0e2040 / Orange #f56109 / White #ffffff / Light Gray #eaecee
   Type: Norwester  (display — condensed bold uppercase, single weight) → Anton fallback
         URW Geometric (supporting — clean geometric sans) → Montserrat fallback
   To go pixel-perfect: drop Norwester + URW Geometric woff2 in /assets/fonts/
   and uncomment the @font-face block below.
*/

/* ---- Brand webfonts (activate when licensed files are added) ----
@font-face { font-family:"Norwester"; src:url("/assets/fonts/norwester.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face { font-family:"URW Geometric"; src:url("/assets/fonts/urwgeometric-regular.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face { font-family:"URW Geometric"; src:url("/assets/fonts/urwgeometric-medium.woff2") format("woff2"); font-weight:500; font-display:swap; }
@font-face { font-family:"URW Geometric"; src:url("/assets/fonts/urwgeometric-bold.woff2") format("woff2"); font-weight:700; font-display:swap; }
------------------------------------------------------------------- */

:root {
  /* Brand */
  --navy:      #0e2040;
  --navy-2:    #091833;
  --navy-3:    #051023;
  --orange:    #f56109;
  --orange-2:  #d75200;
  --white:     #ffffff;
  --light-gray:#eaecee;
  --gray-2:    #d4d8dc;
  --gray-3:    #b6bcc3;
  --ink:       #0e2040;
  --ink-soft:  #4a5566;
  --ink-mute:  #7a8290;

  /* Legacy palette aliases — every old reference still resolves */
  --river:     var(--navy);
  --river-2:   var(--navy-2);
  --river-3:   var(--navy-3);
  --pine:      var(--navy);
  --pine-2:    var(--navy-2);
  --cream:     var(--white);
  --cream-2:   var(--light-gray);
  --cream-3:   var(--gray-2);
  --basalt:    var(--ink);
  --basalt-2:  var(--navy-2);
  --marigold:  var(--orange);
  --marigold-2:var(--orange-2);
  --rust:      var(--orange-2);
  --moss:      #2a8a4f;
  --mist:      var(--light-gray);

  /* Type — two-font brand system: Norwester (display) + URW Geometric (supporting) */
  --display: "Norwester", "Anton", Impact, "Arial Narrow", sans-serif;
  --sans:    "URW Geometric", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:    "URW Geometric", "Montserrat", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif:   var(--display); /* legacy alias */

  --radius:    14px;
  --radius-sm: 6px;
  --radius-lg: 24px;
  --line:      rgba(14,32,64,0.12);
  --line-2:    rgba(14,32,64,0.22);
  --line-light:rgba(255,255,255,0.18);

  --shadow:    0 2px 14px rgba(14,32,64,0.10);
  --shadow-lg: 0 18px 48px rgba(14,32,64,0.18);

  --maxw:        1180px;
  --maxw-narrow: 760px;
  --pad-x:       80px;

  /* Legacy semantic aliases — keep so any inline style/old class still resolves */
  --c-green:     var(--navy);
  --c-green-dk:  var(--navy-2);
  --c-green-lt:  var(--orange);
  --c-river:     var(--navy);
  --c-river-lt:  var(--light-gray);
  --c-amber:     var(--orange);
  --c-cream:     var(--white);
  --c-cream-2:   var(--light-gray);
  --c-ink:       var(--ink);
  --c-ink-soft:  var(--ink-soft);
  --c-ink-mute:  var(--ink-mute);
  --c-line:      var(--line);
  --c-bad:       var(--orange-2);
  --c-ok:        #2a8a4f;
  --c-warn:      var(--orange-2);
}

@media (max-width: 1000px) {
  :root { --pad-x: 32px; }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--orange); color: var(--white); }

img { max-width: 100%; display: block; }

/* ============================================================
   Type
   ============================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.4em;
}
/* Display headings — Norwester/Anton condensed uppercase for hero + section heads */
h1, h2, .display, .h-display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  line-height: 0.94;
  color: var(--navy);
}
h1 { font-size: clamp(52px, 8vw, 118px); line-height: 0.9; }
h2 { font-size: clamp(34px, 4.8vw, 66px); line-height: 0.94; }
h3 { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(14,32,64,0.28); text-underline-offset: 3px; transition: text-decoration-color 0.12s, color 0.12s; }
a:hover { color: var(--orange); text-decoration-color: var(--orange); }

/* Accent word in display headings — orange (brand accent), upright (Norwester has no italic) */
.it    { font-style: normal; font-weight: 400; color: var(--orange); }
.it-rust { font-style: normal; font-weight: 400; color: var(--orange-2); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow .num { display: inline-block; min-width: 26px; }
.eyebrow .rule { flex: 1; height: 1px; background: currentColor; opacity: 0.25; }

.lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 30ch;
  margin: 0 0 1em;
}

.body { max-width: 64ch; font-size: 16.5px; line-height: 1.65; }

.small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ============================================================
   Wordmark — "GORGE ⚡ RIDES" with orange lightning bolt
   ============================================================ */

.wordmark {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  white-space: nowrap;
  color: var(--navy);
}
.wordmark .bolt {
  display: inline-block;
  width: 0.46em;
  height: 0.88em;
  color: var(--orange);
  margin: 0 0.04em;
  flex-shrink: 0;
}
.wordmark .bolt svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.wordmark.on-dark { color: var(--white); }
.wordmark.xs { font-size: 24px; }
.wordmark.sm { font-size: 32px; }
.wordmark.md { font-size: 52px; }
.wordmark.lg { font-size: clamp(80px, 12vw, 184px); }

/* Optional E-BIKE LIBRARY tagline that sits under the wordmark in marketing */
.wordmark-lockup { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.wordmark-lockup .tagline {
  font-family: var(--sans);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.18em;
  letter-spacing: 0.32em;
  color: inherit;
  opacity: 0.92;
}

/* ============================================================
   Header / nav
   ============================================================ */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.92);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.brand .wordmark { color: var(--navy); }
/* Official wordmark logo (navy on light header) — preserve aspect, generous clear space */
.brand-logo { height: 46px; width: auto; display: block; }
@media (max-width: 720px) { .brand-logo { height: 38px; } }
.nav-links {
  display: flex; gap: 30px; margin-left: auto; align-items: center;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.nav-links > a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.78;
  transition: opacity 0.12s, color 0.12s;
}
.nav-links > a:hover, .nav-links > a.active { opacity: 1; color: var(--orange); }
.nav-links .btn { font-family: var(--sans); letter-spacing: 0; opacity: 1; color: var(--white); background: var(--orange); border-color: var(--orange); font-weight: 600; }
.nav-links .btn:hover { background: var(--orange-2); border-color: var(--orange-2); color: var(--white); }
.lang-toggle {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  border: 1.5px solid var(--gray-2);
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  color: var(--navy) !important;
  background: var(--white);
  text-decoration: none !important;
  font-weight: 500;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.lang-toggle::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background:
    linear-gradient(to right, transparent 49%, currentColor 49%, currentColor 51%, transparent 51%),
    linear-gradient(to bottom, transparent 49%, currentColor 49%, currentColor 51%, transparent 51%);
  flex-shrink: 0;
}
.lang-toggle:hover { background: var(--navy); color: var(--white) !important; transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav { gap: 10px; padding: 10px 18px; }
  .nav-links { font-size: 13px; gap: 10px; flex-wrap: nowrap; }
  .nav-links > a:not(.btn):not(.lang-toggle) { display: none; }
  .nav-links .btn.small { padding: 8px 14px; font-size: 13px; }
  .lang-toggle { padding: 7px 12px 7px 10px; font-size: 12px; }
  .brand-logo { height: 34px; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange);
  color: var(--white);
  padding: 13px 26px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  border: 1.5px solid var(--orange);
  border-radius: 980px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, opacity 0.18s;
  white-space: nowrap;
}
.btn:hover { background: var(--orange-2); border-color: var(--orange-2); color: var(--white); text-decoration: none; }
.btn:active { opacity: 0.85; }
.btn.small { padding: 9px 18px; font-size: 14px; }

/* Apple-style chevron text link — for secondary actions */
.btn.link {
  background: transparent; border: none; color: var(--orange);
  padding: 13px 2px; font-weight: 600; font-size: 15px;
  border-radius: 0;
}
.btn.link::after { content: "\00A0›"; transition: transform 0.18s; display: inline-block; }
.btn.link:hover { background: transparent; color: var(--orange-2); }
.btn.link:hover::after { transform: translateX(3px); }
.on-dark .btn.link { color: #ffb37a; }
.on-dark .btn.link:hover { color: var(--white); }
.btn.amber, .btn.marigold {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn.amber:hover, .btn.marigold:hover { background: var(--orange-2); border-color: var(--orange-2); color: var(--white); }
.btn.river, .btn.navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn.river:hover, .btn.navy:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.btn.secondary {
  background: var(--light-gray);
  color: var(--navy);
  border-color: var(--gray-2);
}
.btn.secondary:hover { background: var(--gray-2); border-color: var(--gray-3); color: var(--navy); }
.btn.ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn.ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn.danger { background: var(--orange-2); border-color: var(--orange-2); color: var(--white); }
.btn.danger:hover { background: #b14400; border-color: #b14400; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* On-dark variants */
.on-dark .btn.ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.on-dark .btn.ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ============================================================
   Section primitives
   ============================================================ */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 9vw, 124px) var(--pad-x); }
.wrap.narrow { max-width: var(--maxw-narrow); }
.wrap.tight  { padding: 72px var(--pad-x); }

/* Apple-style centered section intro (head + lead centered, card grids stay left) */
.wrap.center { text-align: center; }
.wrap.center > h1, .wrap.center > h2, .wrap.center > p, .wrap.center > .lead { margin-left: auto; margin-right: auto; }
.wrap.center > p, .wrap.center > .lead { max-width: 46ch; }
.wrap.center .tiles, .wrap.center .steps { text-align: left; }
.wrap.center .intro { margin-bottom: 8px; }

.wrap.alt { background: var(--light-gray); max-width: none; }
.wrap.alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.wrap.alt.narrow > * { max-width: var(--maxw-narrow); }

.wrap.dark { background: var(--navy); color: var(--white); max-width: none; }
.wrap.dark h1, .wrap.dark h2, .wrap.dark h3, .wrap.dark h4 { color: var(--white); }
.wrap.dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.wrap.basalt { background: var(--navy-2); color: var(--white); max-width: none; }
.wrap.basalt h1, .wrap.basalt h2, .wrap.basalt h3, .wrap.basalt h4 { color: var(--white); }
.wrap.basalt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  margin-bottom: 56px;
  align-items: end;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

.section-head h3 { opacity: 0.5; font-weight: 500; }

/* ============================================================
   Hero (cover-style)
   ============================================================ */

.hero {
  background: var(--white);
  color: var(--navy);
  padding: clamp(64px, 9vw, 120px) var(--pad-x) clamp(56px, 7vw, 92px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-inner {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { color: var(--navy); margin-bottom: 22px; }
.hero p.lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 30ch;
  color: var(--ink-soft);
  margin: 0 auto 34px;
}
.hero .doc-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-cta {
  display: flex;
  gap: 12px 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
/* Dark hero variant (kept for any on-dark usage) */
.hero.on-dark { background: var(--navy); color: var(--white); }
.hero.on-dark h1 { color: var(--white); }
.hero.on-dark p.lead { color: rgba(255,255,255,0.82); }
.hero.on-dark .doc-eyebrow { color: rgba(255,255,255,0.7); }
/* Corner badge hidden on the clean centered hero */
.hero-badge { display: none; }

/* ============================================================
   Quick reserve card (in hero)
   ============================================================ */

.quick-reserve {
  background: var(--white);
  color: var(--navy);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(14,32,64,0.10);
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
}
.quick-reserve h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  margin: 0 0 4px;
  color: var(--navy);
}
.quick-reserve .qr-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  font-weight: 600;
}
.qr-row { display: flex; gap: 12px; margin-bottom: 14px; }
.qr-row > * { flex: 1; }
.qr-radio { display: flex; gap: 8px; }
.qr-radio label {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: center;
  background: white;
  transition: all 0.12s;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.25;
}
.qr-radio input { display: none; }
.qr-radio label:has(input:checked) {
  border-color: var(--river);
  background: rgba(14,32,64,0.06);
}
.qr-radio label strong { display: block; font-family: var(--sans); font-size: 16px; font-weight: 600; margin-bottom: 2px; }

/* ============================================================
   Tiles / feature cards
   ============================================================ */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 48px 0 0;
}
.tile {
  background: var(--light-gray);
  border: none;
  border-radius: 22px;
  padding: 36px 32px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.wrap.alt .tile { background: var(--white); }
.tile:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(14,32,64,0.09); }
.tile h3 {
  font-family: var(--sans);
  font-weight: 800;
  margin: 10px 0 10px;
  color: var(--navy);
  font-size: 22px;
}
.tile p { color: var(--ink-soft); }
.tile .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 4px;
}
.tile .badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

/* ============================================================
   Steps (how it works)
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.step {
  background: var(--light-gray);
  border-radius: 22px;
  border: none;
  padding: 36px 32px;
}
.wrap.alt .step { background: var(--white); }
.step .num {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step .num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.step h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 21px;
  margin: 0 0 8px;
}
.step p { color: var(--ink-soft); }

/* ============================================================
   Location cards
   ============================================================ */

.location-card {
  background: var(--light-gray);
  border-radius: 22px;
  padding: 36px 32px;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wrap.alt .location-card { background: var(--white); }
.location-card h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  margin: 0;
}
.location-card p { color: var(--ink-soft); }
.location-card .addr {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink-mute);
  opacity: 1;
}
.location-card .badge {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: clamp(64px, 8vw, 104px) var(--pad-x);
  text-align: center;
}
.cta-band .cta-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-band h2 { color: var(--white); margin: 0; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0; }
.cta-band .small { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-top: 8px; display: block; }

/* ============================================================
   FAQ
   ============================================================ */

details.faq {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
}
details.faq[open] { background: var(--cream); border-color: var(--line-2); }
details.faq summary {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  color: var(--basalt);
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  color: var(--river);
  transition: transform 0.2s;
}
details.faq[open] summary::after { content: "−"; }
details.faq[open] summary { margin-bottom: 12px; }
details.faq p { margin: 0; }

/* ============================================================
   Forms
   ============================================================ */

form .field { margin-bottom: 18px; }
form label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--basalt);
  opacity: 0.8;
  font-weight: 600;
  margin-bottom: 8px;
}
form .field > label:has(+ input[type="checkbox"]) { display: inline; }
form .hint {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--basalt);
  opacity: 0.65;
  margin-top: 6px;
  letter-spacing: 0;
  text-transform: none;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="datetime-local"], input[type="number"], input[type="password"],
input[type="file"], input[type="month"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 15.5px;
  background: white;
  color: var(--basalt);
  transition: border-color 0.12s, box-shadow 0.12s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--river);
  box-shadow: 0 0 0 3px rgba(14,32,64,0.12);
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input[type="checkbox"], input[type="radio"] {
  width: auto;
  transform: scale(1.1);
  accent-color: var(--river);
  margin-right: 10px;
}
label:has(input[type="checkbox"]),
label:has(input[type="radio"]) {
  font-family: var(--sans);
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--basalt);
  opacity: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
}

.fieldgroup { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .fieldgroup { grid-template-columns: 1fr; } }

/* ============================================================
   Notices
   ============================================================ */

.notice {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  border-left: 3px solid;
  font-family: var(--sans);
}
.notice.info  { background: #e8f0f3; color: var(--river-2); border-left-color: var(--river); }
.notice.warn  { background: #fbeed3; color: #6a4407; border-left-color: var(--marigold-2); }
.notice.ok    { background: #e8efe3; color: #3a5023; border-left-color: var(--moss); }
.notice.error { background: #f7e2d8; color: #6a2510; border-left-color: var(--rust); }
.notice strong { font-weight: 600; }

/* ============================================================
   Reservation stepper
   ============================================================ */

.stepper {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  font-family: var(--mono);
}
.stepper .s {
  flex: 1; min-width: 88px;
  background: var(--cream-2);
  color: var(--basalt);
  padding: 10px 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 4px;
  opacity: 0.55;
  font-weight: 500;
}
.stepper .s.done    { background: var(--river); color: var(--cream); opacity: 0.7; }
.stepper .s.current { background: var(--basalt); color: var(--cream); opacity: 1; font-weight: 600; }

/* ============================================================
   Footer band
   ============================================================ */

/* Funder / partner logo band — white so the multicolor official logos read correctly */
.partner-band {
  background: var(--white);
  padding: clamp(48px, 6vw, 72px) var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--line);
}
.partner-band .pb-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin: 0 0 20px;
}
.partner-band .pb-group + .pb-group { margin-top: 40px; }
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
  max-width: 940px;
  margin: 0 auto;
}
.partner-logos img { height: 56px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.partner-logos img.tall { height: 64px; }
.partner-logos img.wide { height: 46px; }
/* Forth is a wide wordmark+tagline lockup — let it run wider so it isn't capped/shrunk */
.partner-logos img[alt^="Forth"] { height: 50px; max-width: 220px; }
@media (max-width: 600px) { .partner-logos img[alt^="Forth"] { height: 40px; } }
@media (max-width: 600px) {
  .partner-logos { gap: 22px 32px; }
  .partner-logos img { height: 44px; }
  .partner-logos img.tall { height: 50px; }
  .partner-logos img.wide { height: 38px; }
}

.site-footer {
  background: var(--basalt);
  color: var(--cream);
  padding: 64px var(--pad-x) 28px;
  margin-top: 0;
}
.site-footer .footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) {
  .site-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.site-footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marigold);
  font-weight: 600;
  margin: 0 0 16px;
}
.site-footer .footer-wm {
  margin-bottom: 18px;
  color: var(--cream);
}
.site-footer p {
  color: rgba(255,255,255,0.75);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 8px;
}
.site-footer .partners {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 10px;
  text-transform: none;
}
.site-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 14.5px;
}
.site-footer a:hover { color: var(--marigold); }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 48px;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Misc
   ============================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }

.upload-preview { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.upload-preview img {
  width: 96px; height: 64px; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--line);
}

/* Pull quote */
.pull {
  border-left: 3px solid var(--marigold);
  padding: 8px 0 8px 24px;
  margin: 28px 0;
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
  max-width: 50ch;
  color: var(--basalt);
}

/* Card (reusable container) */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-family: var(--sans);
  font-size: 13px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  color: var(--basalt);
}

/* Status pills (reused in admin too) */
.status-pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status-pending_review { background: #fbeed3; color: #6a4407; }
.status-approved       { background: #e8f0f3; color: var(--river-2); }
.status-active         { background: #e8efe3; color: #3a5023; }
.status-returned       { background: #efe9d6; color: #6a5520; }
.status-cancelled,
.status-denied,
.status-no_show        { background: #f7e2d8; color: #6a2510; }
.status-available      { background: #e8efe3; color: #3a5023; }
.status-checked_out    { background: #fbeed3; color: #6a4407; }
.status-maintenance    { background: #f7e2d8; color: #6a2510; }
.status-retired        { background: #e8e6e1; color: #555; }
.status-in_service     { background: #e8efe3; color: #3a5023; }
.status-charging       { background: #e8f0f3; color: var(--river-2); }
.status-swap_ready     { background: #efe9d6; color: #6a5520; }

/* ============================================================
   Launch banner (community meeting / coming-soon)
   ============================================================ */
.launch-banner {
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  text-align: center;
  padding: 12px 24px;
  line-height: 1.4;
  border-bottom: 3px solid var(--orange);
}
.launch-banner strong { font-weight: 700; }
.launch-banner a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(245,97,9,0.5);
  font-weight: 700;
}
.launch-banner a:hover { text-decoration-color: var(--orange); }
.launch-banner .sep { opacity: 0.4; margin: 0 8px; }
@media (max-width: 600px) { .launch-banner .sep { display: block; height: 2px; margin: 4px 0; visibility: hidden; } }

/* ============================================================
   Notify-me modal
   ============================================================ */
#gr-notify-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; transition: opacity 0.2s;
}
#gr-notify-modal.open { opacity: 1; }
.gr-notify-backdrop {
  position: absolute; inset: 0;
  background: rgba(14,32,64,0.55);
  backdrop-filter: blur(2px);
}
.gr-notify-card {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  max-width: 480px; width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  max-height: 92vh; overflow-y: auto;
  transform: translateY(12px); transition: transform 0.2s;
}
#gr-notify-modal.open .gr-notify-card { transform: translateY(0); }
.gr-notify-x {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 30px; line-height: 1; color: var(--ink-mute, #6b6660);
  width: 40px; height: 40px; border-radius: 50%;
}
.gr-notify-x:hover { background: var(--cream-2); color: var(--basalt); }
.gr-notify-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--river); font-weight: 600; margin: 0 0 8px;
}
.gr-notify-card h2 { font-family: var(--sans); font-size: clamp(28px,5vw,38px); line-height: 1.05; margin: 0 0 12px; }
.gr-notify-intro { font-size: 15.5px; line-height: 1.5; color: var(--basalt); opacity: 0.85; margin: 0 0 20px; }
.gr-notify-card .gr-field { margin-bottom: 14px; }
.gr-notify-card .gr-field label {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; opacity: 0.8; margin-bottom: 6px;
}
.gr-notify-card .gr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .gr-notify-card .gr-row { grid-template-columns: 1fr; } }
.gr-notify-privacy { font-size: 12.5px; color: var(--basalt); opacity: 0.6; margin: 12px 0 0; text-align: center; }
