/* ==========================================================================
   To The Max RV — shared stylesheet
   Three runtime-switchable "whole vibe" directions, selected via
   :root[data-style="basecamp|highway|album"] (see preset-switcher.js).
   All palette/type/shape values are CSS custom properties; components below
   consume the properties only, never hardcode a color/radius/font.
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: hidden; }

/* ==========================================================================
   Direction 1 — BASECAMP: national-park-lodge. Deep forest green + canvas.
   ========================================================================== */
:root,
:root[data-style="basecamp"] {
  --font-heading: Georgia, 'Times New Roman', Cambria, serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --color-bg: #f5f0e1;
  --color-surface: #fffdf7;
  --color-surface-2: #eee6cf;
  --color-text: #26332a;
  --color-text-muted: #4c5a4d;
  --color-primary: #2f4d3a;
  --color-primary-contrast: #fdfaf0;
  --color-accent: #6b5429;
  --color-accent-contrast: #fffaf0;
  --color-border: #cfc3a3;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 6px;
  --shadow: 0 4px 14px rgba(38, 51, 42, 0.18);
  --shadow-lg: 0 16px 40px rgba(38, 51, 42, 0.24);
  --container: 1120px;
  --section-y: clamp(2.5rem, 5vw, 4.5rem);
  --label-transform: none;
  --label-tracking: normal;
}

/* ==========================================================================
   Direction 2 — HIGHWAY: road-sign energy. Asphalt gray + safety orange.
   ========================================================================== */
:root[data-style="highway"] {
  --font-heading: 'Arial Narrow', 'Helvetica Neue Condensed', Arial, system-ui, sans-serif;
  --font-body: Arial, 'Helvetica Neue', system-ui, sans-serif;
  --color-bg: #f2f2f0;
  --color-surface: #ffffff;
  --color-surface-2: #e7e7e4;
  --color-text: #1c1c1c;
  --color-text-muted: #47484a;
  --color-primary: #1c1c1c;
  --color-primary-contrast: #ffffff;
  --color-accent: #b6390a;
  --color-accent-contrast: #ffffff;
  --color-border: #cfd2d1;
  --radius-sm: 0px;
  --radius: 0px;
  --radius-lg: 0px;
  --shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 6px 0 rgba(0, 0, 0, 0.18);
  --container: 1180px;
  --section-y: clamp(2.25rem, 4.5vw, 4rem);
  --label-transform: uppercase;
  --label-tracking: 0.08em;
}

/* ==========================================================================
   Direction 3 — ALBUM: family photo album. Cream + brown + dusty blue.
   ========================================================================== */
:root[data-style="album"] {
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --color-bg: #faf3e8;
  --color-surface: #fffaf2;
  --color-surface-2: #f1e4d1;
  --color-text: #4a3728;
  --color-text-muted: #5c4a3a;
  --color-primary: #6b4f3b;
  --color-primary-contrast: #fff8ee;
  --color-accent: #46647d;
  --color-accent-contrast: #ffffff;
  --color-border: #e6d7c3;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(74, 55, 40, 0.16);
  --shadow-lg: 0 20px 48px rgba(74, 55, 40, 0.22);
  --container: 1080px;
  --section-y: clamp(2.75rem, 6vw, 5.5rem);
  --label-transform: none;
  --label-tracking: normal;
}

/* ---------- base typography / body ---------- */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p { color: var(--color-text-muted); }

a { text-decoration: underline; text-underline-offset: 2px; }
a.btn, .site-nav a, .brand, .fleet-card a.card-link { text-decoration: none; }

:root[data-style="highway"] h1,
:root[data-style="highway"] h2,
:root[data-style="highway"] h3 {
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

main { display: block; }
.section { padding-block: var(--section-y); }
.section-alt { background: var(--color-surface); }

.section-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-tracking);
  margin-bottom: 0.5rem;
}
:root[data-style="highway"] .section-label { color: var(--color-accent); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- focus ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------- header / nav ---------- */
.site-header {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-contrast);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-tracking);
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--color-primary-contrast);
  font-weight: 600;
  text-transform: var(--label-transform);
  letter-spacing: var(--label-tracking);
  font-size: 0.95rem;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.12); }
.site-nav a[aria-current="page"] {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 700;
  font-family: var(--font-body);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-tracking);
  line-height: 1.2;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-primary-contrast);
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   HERO — shared markup, structurally different per direction.
   Markup: .hero > .hero-media (up to 3 imgs) + .hero-content (eyebrow, h1,
   location, actions) + .hero-ticker (rate/quick facts).
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-content { position: relative; }
.hero-actions { margin-top: 1.25rem; }
.hero-location { margin-top: 0.5rem; }
.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: var(--label-transform);
  letter-spacing: var(--label-tracking);
}

.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.hero-ticker .ticker-item { min-width: 8rem; }
.hero-ticker .ticker-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
}
.hero-ticker .ticker-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-tracking);
}

/* -- basecamp: full-bleed photo, overlay content panel -- */
/* Grid must live on .container — .hero's only child is .container, so
   grid-area on .hero-media/.hero-content (grandchildren) never overlaid
   and the content panel was pushed below the hero and clipped. */
:root[data-style="basecamp"] .hero .container { display: grid; }
:root[data-style="basecamp"] .hero-media {
  grid-area: 1 / 1;
  width: 100%;
}
:root[data-style="basecamp"] .hero-media img {
  width: 100%;
  height: clamp(420px, 70vh, 640px);
  aspect-ratio: auto;
  object-fit: cover;
}
:root[data-style="basecamp"] .hero-media img:nth-child(n+2) { display: none; }
:root[data-style="basecamp"] .hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38,51,42,0.15) 0%, rgba(38,51,42,0.75) 100%);
}
:root[data-style="basecamp"] .hero-content {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: start;
  margin: clamp(1rem, 4vw, 3rem);
  max-width: 34rem;
  background: rgba(31, 42, 35, 0.96);
  color: var(--color-primary-contrast);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
:root[data-style="basecamp"] .hero-content h1,
:root[data-style="basecamp"] .hero-content p,
:root[data-style="basecamp"] .hero-content .eyebrow { color: var(--color-primary-contrast); }
:root[data-style="basecamp"] .hero-ticker { display: none; }

/* -- highway: split text-left / photo-right + big rate ticker -- */
:root[data-style="highway"] .hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
:root[data-style="highway"] .hero-content { order: 1; }
:root[data-style="highway"] .hero-media { order: 2; }
:root[data-style="highway"] .hero-media img { aspect-ratio: 4 / 3; border: 4px solid var(--color-primary); }
:root[data-style="highway"] .hero-media img:nth-child(n+2) { display: none; }
:root[data-style="highway"] .hero-ticker {
  grid-column: 1 / -1;
  order: 3;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  margin-top: 1rem;
}
:root[data-style="highway"] .hero-ticker .ticker-value { color: var(--color-primary-contrast); }
:root[data-style="highway"] .hero-ticker .ticker-label { color: #d6d6d4; }

/* -- album: centered stacked, overlapping polaroid photos -- */
:root[data-style="album"] .hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
:root[data-style="album"] .hero-content { max-width: 38rem; order: 1; }
:root[data-style="album"] .hero-actions { justify-content: center; }
:root[data-style="album"] .hero-media {
  order: 2;
  margin-top: clamp(2rem, 5vw, 3rem);
  width: 100%;
  max-width: 34rem;
  height: clamp(220px, 40vw, 320px);
}
:root[data-style="album"] .hero-media img {
  position: absolute;
  width: 62%;
  aspect-ratio: 4 / 3;
  border: 10px solid var(--color-surface);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
}
:root[data-style="album"] .hero-media img:nth-child(1) { left: 4%; top: 8%; transform: rotate(-6deg); z-index: 2; }
:root[data-style="album"] .hero-media img:nth-child(2) { left: 34%; top: 0; transform: rotate(4deg); z-index: 1; }
:root[data-style="album"] .hero-media img:nth-child(3) { left: 22%; top: 22%; transform: rotate(-2deg); z-index: 3; }
:root[data-style="album"] .hero-ticker { display: none; }

/* highway + album hero-content sits directly on the light page background (only
   basecamp's overlay panel is dark), so the outline button there needs dark text
   instead of the light text .btn-outline uses against a colored/dark background */
:root[data-style="highway"] .hero-actions .btn-outline,
:root[data-style="album"] .hero-actions .btn-outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ---------- why-trio ---------- */
.why-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}
.why-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
:root[data-style="highway"] .why-item { border: 2px solid var(--color-primary); border-radius: 0; }
:root[data-style="highway"] .why-item h3 { color: var(--color-accent); }
:root[data-style="album"] .why-item { box-shadow: var(--shadow); border: none; }
.why-item h3 { margin-bottom: 0.5rem; }

/* ---------- fleet grid / cards ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}
.fleet-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
:root[data-style="highway"] .fleet-card { border-radius: 0; box-shadow: none; border: 2px solid var(--color-primary); }
.fleet-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fleet-card-body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.fleet-card h3 { margin: 0; }
.fleet-card .unit-meta { font-size: 0.9rem; color: var(--color-text-muted); }
.fleet-card a.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: underline;
}
.fleet-card a.card-link::after { content: ' →'; }
.fleet-card a.stretched-link::before {
  content: '';
  position: absolute;
  inset: 0;
}

/* ---------- pricing strip ---------- */
.pricing-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
:root[data-style="highway"] .pricing-strip { border-radius: 0; background: var(--color-primary); border: none; }
:root[data-style="highway"] .pricing-strip .pricing-value,
:root[data-style="highway"] .pricing-strip .pricing-label { color: var(--color-primary-contrast); }
.pricing-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
}
.pricing-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-tracking);
}

/* ---------- CTA section ---------- */
.cta-section {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
:root[data-style="highway"] .cta-section { border-radius: 0; }
.cta-section h2, .cta-section p { color: var(--color-primary-contrast); }
.cta-section .btn-row { justify-content: center; margin-top: 1.5rem; }

/* ---------- rate card (rates.html) ---------- */
.rate-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}
:root[data-style="highway"] .rate-card { border-radius: 0; box-shadow: none; border: 2px solid var(--color-primary); }
.rate-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.rate-row:last-child { border-bottom: none; }
.rate-row dt {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  flex: 0 0 auto;
  min-width: 9rem;
}
.rate-row dd { margin: 0; text-align: right; color: var(--color-text-muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
}
:root[data-style="highway"] .step { border-radius: 0; }
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
:root[data-style="highway"] .step .step-num { border-radius: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-list details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.25rem 1.25rem;
}
:root[data-style="highway"] .faq-list details { border-radius: 0; }
.faq-list summary {
  cursor: pointer;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { padding-bottom: 1rem; }

/* ---------- unit gallery (fleet.html) ---------- */
.unit-section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--color-border);
}
.unit-section:last-child { border-bottom: none; }
.unit-header { margin-bottom: 1.25rem; }
.unit-header .unit-meta { color: var(--color-text-muted); }

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
  background: var(--color-surface-2);
}
:root[data-style="highway"] .gallery-main { border-radius: 0; box-shadow: none; border: 2px solid var(--color-primary); }
.gallery-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: none;
  min-height: 44px;
}
.gallery-thumbs button img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-thumbs button.is-active { border-color: var(--color-accent); }
.gallery-thumbs button:hover { border-color: var(--color-primary); }

/* ---------- contact form ---------- */
.contact-layout {
  display: grid;
  gap: 2rem;
  max-width: 40rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
}
.form-group textarea { min-height: 8rem; resize: vertical; }
.form-group input:focus-visible,
.form-group textarea:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 1px; }

/* honeypot: visually hidden but present for bots to fill */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.form-note { font-size: 0.85rem; color: var(--color-text-muted); margin-top: -0.5rem; margin-bottom: 1.25rem; }

.form-status {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.form-status.is-error {
  background: var(--color-surface-2);
  border: 1px solid var(--color-accent);
  color: var(--color-text);
}
.form-success {
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}
.form-success h2 { margin-bottom: 0.5rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  padding-block: 2rem;
  margin-top: var(--section-y);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.site-credit a { color: var(--color-text-muted); }

/* standalone links whose paragraph has no other text (footer credit, "see full
   rate card") need a real tap target. Scoped to explicit classes, not a
   structural :only-child selector -- that also matched inline prose links like
   "the fleet" mid-sentence, since text-node siblings don't affect :only-child. */
.site-credit a,
a.link-standalone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.lede { font-size: 1.1rem; max-width: 42rem; }

/* ---------- responsive: small phones ---------- */
@media (max-width: 640px) {
  /* header: brand centered on its own line, nav a tidy centered pill row */
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding-block: 0.75rem 0.6rem;
  }
  .brand { min-height: 0; font-size: 1.2rem; }
  .site-nav ul {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.1rem;
  }
  .site-nav a {
    padding: 0.5rem 0.65rem;
    font-size: 0.95rem;
    white-space: nowrap;
  }
  .hero-actions .btn-row,
  .btn-row { flex-direction: column; align-items: stretch; }
  .rate-row { flex-direction: column; gap: 0.25rem; }
  .rate-row dd { text-align: left; }
  :root[data-style="highway"] .hero .container { grid-template-columns: 1fr; }
  :root[data-style="highway"] .hero-media { order: 1; }
  :root[data-style="highway"] .hero-content { order: 2; }
  :root[data-style="highway"] .hero-ticker { order: 3; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
