/* Apollo Auto — Flyer Theme · Navy · Gold · Red */

:root {
  /* Brand palette — matched to flyer */
  --navy: oklch(0.16 0.045 235);
  --navy-soft: oklch(0.24 0.05 232);
  --navy-muted: oklch(0.40 0.04 228);
  --blue: oklch(0.38 0.18 258);
  --blue-soft: oklch(0.48 0.15 258);
  --amber: oklch(0.72 0.15 68);
  --amber-light: oklch(0.82 0.13 72);
  --amber-deep: oklch(0.50 0.14 68); /* same hue, dark enough for 4.5:1+ text on light backgrounds */
  --red: oklch(0.46 0.22 25);
  --ink: oklch(0.20 0.03 228);
  --ink-muted: oklch(0.40 0.02 222);
  --paper: oklch(0.97 0.006 85);
  --paper-deep: oklch(0.93 0.010 82);
  --white: oklch(0.99 0.004 85);
  --line: oklch(0.88 0.012 82);
  --line-strong: oklch(0.80 0.018 80);
  --gold: var(--amber);
  --gold-light: var(--amber-light);
  --gold-soft: oklch(0.72 0.15 68 / 0.14);
  --accent: var(--amber);
  --success: var(--navy);
  --hero-glow: oklch(0.72 0.15 68 / 0.18);
  --shadow-sm: 0 2px 8px oklch(0.16 0.045 235 / 0.10);
  --shadow-md: 0 12px 40px oklch(0.16 0.045 235 / 0.18);
  --shadow-lg: 0 24px 60px oklch(0.16 0.045 235 / 0.24);
  --radius: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;
  --max: 1140px;
  --header-h: 108px;
  --section-y: clamp(3.25rem, 7vw, 5rem);
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-soft); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.pathway-tile:focus-visible,
.location-spotlight-cta:focus-visible,
.btn-primary:focus-visible,
.header-cta:focus-visible,
.sticky-call:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 9999;
  padding: 0.75rem 1rem; background: var(--navy); color: var(--white);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease-out);
}
.site-header.is-scrolled {
  box-shadow: 0 4px 16px oklch(0.16 0.045 235 / 0.12);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-logo {
  height: 96px;
  width: auto;
  max-width: 380px;
  display: block;
  object-fit: contain;
}
.nav { display: none; gap: 0.4rem; margin-left: auto; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.nav a:hover {
  color: var(--navy);
  background: var(--paper);
  border-color: var(--navy);
}
.header-cta {
  display: none;
  padding: 0.55rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 4px 14px oklch(0.16 0.045 235 / 0.25);
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s, background 0.15s;
}
.header-cta:hover {
  color: var(--white);
  background: var(--navy-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px oklch(0.16 0.045 235 / 0.35);
}
.nav-toggle {
  margin-left: auto; display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }
.mobile-nav {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 0.75rem 1.25rem 1rem; border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 0.4rem 0; font-size: 0.95rem; }
.mobile-nav a:hover { color: var(--navy); }
.mobile-nav[hidden] { display: none; }

@media (min-width: 880px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; margin-left: 0.5rem; }
  .nav-toggle { display: none; }
}

/* Location spotlight — two-card inventory chooser */
.location-spotlight {
  position: relative;
  z-index: 2;
  padding: var(--space-lg) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}
.location-spotlight-grid {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .location-spotlight-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}
.location-spotlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: box-shadow 0.2s var(--ease-out-expo), border-color 0.2s, transform 0.2s var(--ease-out-expo);
}
.location-spotlight-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.location-spotlight-title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.location-spotlight-title a {
  color: inherit;
  text-decoration: none;
}
.location-spotlight-title a:hover {
  color: var(--blue);
}
.location-spotlight-card address {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 0;
}
.location-spotlight-card address a {
  color: var(--ink-muted);
  text-decoration: none;
}
.location-spotlight-card address a:hover {
  color: var(--navy);
}
.footer-map-address a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}
.footer-map-address a:hover {
  text-decoration: underline;
}
.location-spotlight-card .visit-phone {
  margin: var(--space-xs) 0 0;
  font-size: 0.875rem;
  font-weight: 700;
}
.location-spotlight-card .visit-phone a {
  color: var(--navy);
  text-decoration: none;
}
.location-spotlight-card .visit-phone a:hover { color: var(--navy-soft); }
.location-spotlight-card .visit-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.location-spotlight-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  background: var(--amber);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s var(--ease-out-expo);
}
.location-spotlight-cta:hover {
  background: var(--amber-light);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-1px);
}
.location-spotlight-cta--secondary {
  flex: 0 0 auto;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line-strong);
}
.location-spotlight-cta--secondary:hover {
  color: var(--navy);
  background: var(--paper-deep);
  border-color: var(--navy);
}

/* Live feed (admin) — below hero */
.site-updates {
  border-bottom: 1px solid var(--line);
  padding: var(--space-lg) 0;
  background: var(--white);
}
.site-updates-inner { display: grid; gap: 0.65rem; }
@media (min-width: 800px) {
  .site-updates-inner { grid-template-columns: 1fr 2fr; align-items: stretch; }
  .feed-daily { display: flex; align-items: center; }
}
.feed-daily {
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  background: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feed-daily-text { margin: 0; }
.feed-columns { display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .feed-columns { grid-template-columns: repeat(3, 1fr); } }
.feed-item {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.875rem;
  background: var(--paper);
}
.feed-tag {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--navy-muted);
}
.feed-item h3 { margin: 0.15rem 0; font-size: 0.9rem; }
.feed-item p { margin: 0; color: var(--ink-muted); font-size: 0.82rem; }
.feed-link { font-size: 0.82rem; font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 0 var(--section-y);
  overflow: hidden;
  background: var(--navy);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 85%, oklch(0.38 0.18 258 / 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 15%, oklch(0.72 0.15 68 / 0.10), transparent 50%);
  pointer-events: none;
}
/* Gold arc decorations — referencing the flyer */
.hero-bg::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid oklch(0.72 0.15 68 / 0.22);
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 90%;
  border-radius: 50%;
  border: 1px solid oklch(0.72 0.15 68 / 0.12);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: start;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem 0.35rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--amber);
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(0.72 0.15 68 / 0.35);
  border-radius: var(--radius-lg);
}
.kicker-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px oklch(0.72 0.15 68 / 0.25);
}
.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-muted);
}
.section-eyebrow--light { color: var(--amber-light); }
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
}
.trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: oklch(1 0 0 / 0.88);
  background: oklch(1 0 0 / 0.07);
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: var(--radius-lg);
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--amber);
  border-radius: 50%;
}
.hero-visual {
  position: relative;
}
.hero-visual-stack {
  display: grid;
  gap: 0.55rem;
}
.hero-visual-stack img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 16px 48px oklch(0 0 0 / 0.45);
  border: 3px solid oklch(0.72 0.15 68 / 0.45);
}
.hero-visual-stack img:first-child {
  aspect-ratio: 4 / 3;
}
.hero-visual-stack img:last-child {
  width: 72%;
  margin-left: auto;
  margin-top: -2.5rem;
  aspect-ratio: 4 / 3;
  border-color: oklch(1 0 0 / 0.2);
}
.hero-visual-caption {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.40);
  text-align: center;
}
.hero h1 { color: var(--white); }
.hero-lead {
  font-size: 1.05rem;
  color: oklch(1 0 0 / 0.72);
  max-width: 48ch;
  margin-bottom: 0.85rem;
  line-height: 1.65;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin: 0.35rem 0 0.75rem;
  max-width: 42ch;
  line-height: 1.35;
}
.hero-brand-pillars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-brand-pillars span { color: oklch(1 0 0 / 0.25); font-weight: 400; }
.hero-note {
  font-size: 0.9rem;
  color: oklch(1 0 0 / 0.65);
  max-width: 46ch;
  margin: 0 0 1.35rem;
  padding: 0.85rem 1rem;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(0.72 0.15 68 / 0.22);
  border-radius: var(--radius);
}
.hero-note a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-note a:hover { color: var(--amber-light); }

/* Inventory — only prominent instance on page */
.inventory-strip {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 540px) { .inventory-strip { grid-template-columns: 1fr 1fr; } }
.lot-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.75rem;
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
  position: relative;
}
.lot-card:hover {
  border-color: var(--navy-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}
.lot-card--simi:hover { border-color: var(--navy-soft); background: oklch(0.99 0.004 85); }
.lot-card--elmonte:hover { border-color: var(--gold); background: oklch(0.99 0.008 85); }
.lot-card-meta {
  grid-column: 1;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-muted);
}
.lot-card-title {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.lot-card-arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-size: 1.25rem;
  color: var(--navy-muted);
  transition: transform 0.15s;
}
.lot-card:hover .lot-card-arrow { transform: translateX(3px); color: var(--navy); }

/* Contact panel */
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.15rem 1.3rem 1.2rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.contact-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--navy-soft));
}
.contact-panel-head h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.2rem 0 0.2rem;
  color: var(--navy);
}
.contact-panel-head p {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.contact-form { display: grid; gap: 0.55rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.22rem;
}
.hint { font-weight: 400; color: var(--ink-muted); }
.form-hint-tight { margin: -0.3rem 0 0; font-size: 0.76rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9rem;
  background: var(--paper);
  transition: border-color 0.15s, background 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  background: var(--white);
}
.contact-form input.error,
.contact-form textarea.error { border-color: #b91c1c; }
.contact-form textarea { resize: vertical; min-height: 3rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-expand {
  justify-self: start;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-expand:hover { color: var(--navy); }
.form-optional {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.1rem;
}
.form-optional[hidden] { display: none; }
.form-pills {
  border: none; margin: 0; padding: 0;
}
.form-pills legend {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.pill-group { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--paper);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.pill:hover { border-color: var(--navy-muted); }
.pill.is-selected {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-color: var(--navy);
  color: var(--white);
}
.btn-send { width: 100%; margin-top: 0.25rem; }
.contact-alt {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.contact-alt a { font-weight: 600; }
.contact-success {
  text-align: center;
  padding: 1rem 0;
}
.contact-success .success-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.contact-success p { color: var(--ink-muted); font-size: 0.9rem; }
.contact-success .btn { margin-top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  border-radius: var(--radius); border: none;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s var(--ease-out), box-shadow 0.15s;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 16px oklch(0.72 0.15 68 / 0.35);
}
.btn-primary:hover {
  background: var(--amber-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px oklch(0.72 0.15 68 / 0.45);
}
.text-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--blue);
}
.text-link:hover { text-decoration: underline; color: var(--blue-soft); }

/* Sections */
.section { padding: var(--section-y) 0; }
.section-head-min {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-head-min h2 { margin: 0; }

/* Visit (locations + photos) */
.visit {
  background: var(--white);
  border-block: 1px solid var(--line);
  position: relative;
}
.visit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 100% 0%, var(--gold-soft), transparent 60%);
  pointer-events: none;
}
.visit-grid {
  position: relative;
  display: grid;
  gap: 2rem;
}
.visit-copy { max-width: 42ch; }
.visit-copy h2 { margin: 0 0 0.5rem; }
.visit-copy p { color: var(--ink-muted); margin: 0; }
.visit-copy p + p { margin-top: 0.75rem; }
.visit-social { font-size: 0.875rem; }
.visit-social a { font-weight: 600; text-decoration: none; }
.visit-social a:hover { text-decoration: underline; }
.visit-location-links {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.visit-location-links a { text-decoration: none; }
.visit-location-links a:hover { text-decoration: underline; }
.visit-locations {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 540px) {
  .visit-locations { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .visit-grid {
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    gap: 2.5rem;
  }
}
.visit-card {
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.visit-card--featured:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.visit-card-badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-lg);
}
/* hide county badge in the compact horizontal bar */
.location-spotlight .visit-card-badge {
  display: none;
}
.visit-card h3 { margin: 0 0 0.5rem; color: var(--navy); }
.visit-card address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}
.visit-phone { margin: 0 0 0.65rem; font-weight: 600; }
.visit-phone a { text-decoration: none; color: var(--navy); }
.visit-links {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.visit-links a { text-decoration: none; }
.visit-photos {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.visit-photos img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.visit-photos img:first-child {
  grid-row: span 2;
  min-height: 200px;
}
@media (min-width: 900px) {
  .visit-photos { min-height: 260px; }
  .visit-photos img:first-child { min-height: 260px; }
}

/* Financing */
.financing {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}
.financing-inner {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 720px) {
  .financing-inner { grid-template-columns: 1fr auto; gap: 3rem; }
}
.financing-copy h2 { margin: 0 0 0.75rem; }
.financing-copy p { color: var(--ink-muted); margin-bottom: 0.75rem; }
.financing-list {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-width: min(100%, 16rem);
}
.financing-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  vertical-align: middle;
}
@media (min-width: 720px) { .financing-list { min-width: 13rem; } }

/* Blog */
.blog-section { background: var(--white); border-top: 1px solid var(--line); }
.blog-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .blog-grid { grid-template-columns: repeat(4, 1fr); } }
.blog-grid--cards .blog-card {
  padding: 1.2rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-top: 1px solid var(--line);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, border-color 0.2s;
}
.blog-grid--cards .blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-muted);
}
.blog-card {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .blog-card { border-top: none; padding: 0; }
}
.blog-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-muted);
  margin: 0 0 0.4rem;
}
.blog-card h3 { margin: 0 0 0.4rem; line-height: 1.35; }
.blog-card h3 a { color: var(--navy); text-decoration: none; }
.blog-card h3 a:hover { text-decoration: underline; }
.blog-card p { font-size: 0.875rem; color: var(--ink-muted); margin: 0; }

/* About / mission */
.about-block {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 800px) {
  .about-block { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
}
.about-mission h2 { margin: 0 0 0.75rem; font-size: clamp(1.35rem, 2.5vw, 1.65rem); }
.about-mission p {
  color: var(--ink-muted);
  margin: 0;
  max-width: 52ch;
  line-height: 1.65;
}
.about-mission a { font-weight: 600; text-decoration: none; }
.about-mission a:hover { text-decoration: underline; }
.about-quote {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  position: relative;
}
.about-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.75;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.about-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin: 0 0 1rem;
}
.about-quote footer {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-style: normal;
  font-weight: 600;
}

/* Quote band (legacy alias) */
.quote-band {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.quote-band-inner blockquote {
  margin: 0;
  max-width: 36ch;
}
@media (min-width: 720px) {
  .quote-band-inner blockquote { max-width: 48ch; font-size: 1.15rem; }
}
.quote-band blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
  margin: 0 0 0.75rem;
}
.quote-band footer {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-style: normal;
}

.financing-copy .text-link + .text-link { margin-left: 0; display: inline-block; margin-top: 0.35rem; }

/* Help / FAQ */
.help-page { padding-bottom: var(--section-y); }
.help-body { max-width: 40rem; padding-bottom: 2rem; }
.help-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
}
.help-jump a { text-decoration: none; color: var(--navy-soft); }
.help-jump a:hover { text-decoration: underline; color: var(--navy); }
.faq-group { margin-bottom: 2.25rem; }
.faq-group-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-muted);
  margin: 0 0 1rem;
}
.faq-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:first-of-type { padding-top: 0; }
.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.faq-a {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-a a { font-weight: 600; text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }
.faq-list {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-list li { margin-bottom: 0.35rem; }
.help-more {
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.help-more p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.help-more a { font-weight: 600; text-decoration: none; }
.help-more a:hover { text-decoration: underline; }

.help-more a:hover { text-decoration: underline; }

/* Buyer guides / resources */
.resources-page { padding-bottom: var(--section-y); }
.resources-intro { max-width: 44ch; }
.resources-intro a { font-weight: 600; }
.resources-body { max-width: 44rem; padding-bottom: 2rem; }
.resources-callout {
  margin-bottom: 2rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.resources-callout p { margin: 0; }
.resources-sample-cta {
  margin-bottom: 2.5rem;
  padding: 1.35rem 1.4rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
}
.resources-sample-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.resources-sample-cta h2 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--white);
  letter-spacing: 0;
}
.resources-sample-cta p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42rem;
}
.resources-sample-cta .btn-primary {
  flex-shrink: 0;
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.resources-sample-cta .btn-primary:hover {
  background: var(--surface);
  color: var(--navy);
}
.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}
.resources-onpage {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.resources-onpage-lead {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.paperwork-glossary { margin: 0; }
.paperwork-term {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.paperwork-term:first-of-type { padding-top: 0; }
.paperwork-term dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.paperwork-term dd {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.resources-group { margin-bottom: 2.25rem; }
.resources-group-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.resources-group-intro {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.doc-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .doc-grid { grid-template-columns: 1fr 1fr; }
}
.doc-card {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 100%;
}
.doc-card-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.doc-card-desc {
  flex: 1;
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.doc-card-link {
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-soft);
}
.doc-card-link:hover { text-decoration: underline; color: var(--navy); }
.doc-card-soon {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-muted);
}
.resources-loading,
.resources-error {
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.resources-footer-note {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.resources-footer-note p { margin: 0 0 0.5rem; }
.resources-footer-note a { font-weight: 600; text-decoration: none; }
.resources-footer-note a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: oklch(1 0 0 / 0.78);
  padding: 3rem 0 1.5rem;
  font-size: 0.875rem;
  border-top: 1px solid oklch(0.72 0.15 68 / 0.25);
}
.site-footer a { color: oklch(1 0 0 / 0.88); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: none; }
.footer-grid {
  display: grid;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr auto auto;
    align-items: start;
  }
}
.footer-brand-name {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-brand-name strong { color: var(--amber); font-weight: 800; }
.footer-tagline {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: oklch(1 0 0 / 0.88);
  line-height: 1.45;
}
.footer-drive {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--amber);
}
.footer-drive em { font-style: normal; }
.footer-brand p { margin: 0.35rem 0 0; opacity: 0.75; }
.footer-contact p { margin: 0 0 0.25rem; }
.footer-nav, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-map-wrap,
.footer-maps {
  margin-bottom: 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-maps {
  display: grid;
  gap: 1.75rem;
  scroll-margin-top: var(--header-h);
}
@media (min-width: 768px) {
  .footer-maps { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.footer-map-block { min-width: 0; }
.footer-map-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 1.25rem 0 0.35rem;
}
.footer-map-address {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  opacity: 0.78;
  line-height: 1.45;
}
.footer-map-address a { color: rgba(255, 255, 255, 0.92); }
.footer-map-link {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
}
.footer-map-link a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}
.footer-map-link a:hover { text-decoration: underline; }
.footer-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.footer-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.footer-map-note a { color: rgba(255, 255, 255, 0.9); }
.seo-footer { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 1.25rem; }
.seo-footer-content a { color: rgba(255, 255, 255, 0.92); }
.seo-footer summary {
  cursor: pointer;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  list-style: none;
  font-size: 0.82rem;
}
.seo-footer summary::-webkit-details-marker { display: none; }
.seo-footer-content {
  margin-top: 0.85rem;
  max-height: none;
  overflow: visible;
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.75;
}
.seo-footer-content p { margin-bottom: 0.85rem; }
.seo-footer-content p:last-child { margin-bottom: 0; }
.copyright { color: oklch(1 0 0 / 0.55); font-size: 0.75rem; margin: 1rem 0 0; }

/* Sticky call */
.sticky-call {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 90;
  padding: 0.75rem 1.15rem;
  background: var(--amber);
  color: var(--navy);
  border-radius: var(--radius-lg); text-decoration: none;
  font-weight: 800; font-size: 0.875rem;
  box-shadow: 0 6px 24px oklch(0.72 0.15 68 / 0.45);
  transition: transform 0.15s var(--ease-out), background 0.15s;
}
.sticky-call:hover { color: var(--navy); background: var(--amber-light); transform: translateY(-2px); }
@media (min-width: 880px) { .sticky-call { display: none; } }

/* Blog pages (shared) */
.site-header--blog .nav a { font-size: 0.9rem; }
.article-header {
  padding: 2.75rem 0 1.85rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
}
.article-header h1 { max-width: 22ch; margin: 0; }
.article-meta { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.5rem; }
.eyebrow {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--navy-muted); margin: 0 0 0.5rem;
}
.article-body {
  max-width: 40rem; margin: 0 auto;
  padding: 2rem 0 3.5rem;
  line-height: 1.7;
}
.article-body p { margin-bottom: 1rem; }
.article-body h2 { margin-top: 2rem; font-size: 1.25rem; }
.article-body ul, .article-body ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.article-body h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: oklch(from var(--paper) calc(l - 0.02) c h);
  color: var(--ink-muted);
  font-style: italic;
}
.article-body a { color: var(--navy-soft); font-weight: 600; }
.article-back { margin-top: 2rem; font-weight: 600; }
.article-back a { text-decoration: none; }
.blog-list-page { padding-bottom: 2rem; }
.blog-list-page .blog-grid {
  border-top: none;
}
.blog-list-page .blog-card {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.blog-list-page .blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}
.blog-list-page .blog-card h2 a { color: var(--navy); text-decoration: none; }

/* Location landing pages — single-column hero, no multi-column grid override */
.location-hero .hero-layout {
  display: block;
  max-width: 56rem;
}
.location-hero .hero-main {
  grid-column: unset;
  grid-row: unset;
}
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.location-nearby { background: var(--paper); border-block: 1px solid var(--line); }
.location-nearby-lead { color: var(--ink-muted); max-width: 52ch; margin-bottom: 1rem; }
.location-nearby-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.location-nearby-list li {
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-muted);
}
.location-faq .faq-item { margin-bottom: 1.25rem; }
.location-faq-more { margin-top: 1.5rem; font-weight: 600; }

.link-arrow { font-weight: 600; text-decoration: none; font-size: 0.875rem; }

/* Motion & scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .lot-card:hover,
  .visit-card--featured:hover,
  .location-spotlight-card:hover,
  .blog-grid--cards .blog-card:hover,
  .btn-primary:hover,
  .header-cta:hover,
  .sticky-call:hover {
    transform: none;
  }
}

/* Legacy aliases for admin/blog compatibility */
.lead-form input, .lead-form select, .lead-form textarea,
.lead-card { /* unused on homepage */ }
.btn-outline {
  background: transparent; color: var(--navy); border: 1px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ─── Craft v2 homepage components ─── */

.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;
}

/* Hero gallery (rotating stock imagery) */
.hero-gallery {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--navy);
}
.hero-gallery-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 0.5s var(--ease-out-expo);
}
.hero-gallery-dots {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: oklch(0.22 0.02 220 / 0.55);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.hero-gallery-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: oklch(0.99 0.004 85 / 0.45);
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), background 0.15s;
}
.hero-gallery-dot.is-active {
  background: var(--gold-light);
  transform: scale(1.25);
}
.hero-gallery-dot:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
.hero-gallery-caption {
  margin: var(--space-md) 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-muted);
  text-align: center;
}

@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--space-3xl);
    align-items: start;
  }
  .hero-main { grid-column: 1; grid-row: 1 / span 2; }
  .hero-visual { grid-column: 2; grid-row: 1; }
  .contact-panel { grid-column: 2; grid-row: 2; }
}

@media (min-width: 1120px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px) minmax(300px, 340px);
    gap: var(--space-2xl) var(--space-xl);
  }
  .hero-main { grid-column: 1; grid-row: 1; }
  .hero-visual { grid-column: 2; grid-row: 1; }
  .contact-panel { grid-column: 3; grid-row: 1; align-self: start; }
}

/* Testimonials — prominent carousel */
.testimonials-section {
  padding: var(--section-y) 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, oklch(0.62 0.12 65 / 0.18), transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 0%, oklch(0.35 0.05 215 / 0.35), transparent 50%);
  pointer-events: none;
}
.testimonials-inner { position: relative; }

.testimonials-head {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 720px) {
  .testimonials-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
.testimonials-head h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0;
  max-width: 16ch;
}
.testimonials-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-xl);
  background: oklch(0.99 0.004 85 / 0.08);
  border: 1px solid oklch(0.99 0.004 85 / 0.15);
  border-radius: var(--radius-lg);
}
.testimonials-rating strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-light);
}
.testimonials-rating span {
  font-size: 0.85rem;
  color: oklch(0.99 0.004 85 / 0.75);
}

.testimonial-carousel {
  outline: none;
}
.testimonial-carousel:focus-visible {
  box-shadow: 0 0 0 3px var(--gold-light);
  border-radius: var(--radius-lg);
}
.carousel-viewport { position: relative; }
.carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
}
.carousel-slide { margin: 0; }
.carousel-slide:not(.is-active) { display: none; }
.carousel-slide[hidden] { display: none; }

.testimonial-card {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: oklch(0.99 0.004 85 / 0.06);
  border: 1px solid oklch(0.99 0.004 85 / 0.12);
  border-radius: var(--radius-xl);
  max-width: 52rem;
}
.testimonial-stars {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: var(--space-lg);
}
.testimonial-card blockquote {
  margin: 0 0 var(--space-xl);
}
.testimonial-card blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  color: oklch(0.99 0.004 85 / 0.95);
  margin: 0;
  max-width: 42ch;
}
.testimonial-card figcaption {
  font-size: 0.9rem;
  color: oklch(0.99 0.004 85 / 0.7);
}
.testimonial-card figcaption strong {
  color: var(--gold-light);
  font-weight: 700;
}

.carousel-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.carousel-btn {
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0 var(--space-lg);
  border: 1px solid oklch(0.99 0.004 85 / 0.25);
  border-radius: var(--radius-lg);
  background: oklch(0.99 0.004 85 / 0.08);
  color: var(--white);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.carousel-btn:hover {
  background: oklch(0.99 0.004 85 / 0.15);
  border-color: var(--gold-light);
}
.carousel-btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-left: auto;
}
.carousel-dot {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.carousel-dot::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: oklch(0.99 0.004 85 / 0.35);
  transition: background 0.15s, transform 0.15s;
}
.carousel-dot.is-active::before { background: var(--gold-light); transform: scale(1.2); }
.carousel-dot:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
@media (max-width: 639px) {
  /* A dot per review (up to 10) wraps into multiple cramped rows on small
     screens and isn't a useful way to jump between reviews there — rely on
     Prev/Next instead and drop the dots entirely. */
  .carousel-dots {
    display: none;
  }
  .carousel-controls {
    justify-content: center;
  }
}

/* Recent Deliveries — photo + description proof cards */
.deliveries-section {
  padding: var(--section-y) 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.deliveries-head {
  max-width: 46ch;
  margin-bottom: var(--space-2xl);
}
.deliveries-head h2 { margin: 0 0 var(--space-md); }
.deliveries-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}
.deliveries-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .deliveries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .deliveries-grid { grid-template-columns: repeat(3, 1fr); } }
.delivery-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s;
}
.delivery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.delivery-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.delivery-card-body {
  padding: 1.1rem 1.25rem 1.35rem;
}
.delivery-card-body h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}
.delivery-location {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-muted);
}
.delivery-card-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Pathway tiles — shop by need */
.pathways-section {
  padding: var(--section-y) 0;
  background: var(--paper);
}
.pathways-head {
  max-width: 38ch;
  margin-bottom: var(--space-2xl);
}
.pathways-head h2 { margin: 0 0 var(--space-md); }
.pathways-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}
.pathway-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .pathway-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pathway-tile:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3xl);
    padding: var(--space-3xl) var(--space-2xl);
  }
  .pathway-tile:first-child .pathway-num {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.02em;
  }
  .pathway-tile:first-child h3 {
    font-size: 1.35rem;
  }
  .pathway-tile:first-child p {
    max-width: 38ch;
  }
  .pathway-tile:first-child .pathway-link {
    margin-top: var(--space-sm);
    font-size: 1rem;
  }
}
.pathway-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s, border-color 0.2s;
}
.pathway-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-muted);
  color: inherit;
}
.pathway-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy-muted);
}
.pathway-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}
.pathway-tile p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.pathway-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-soft);
}
@media (max-width: 639px) {
  /* Below the 3-up grid, put the number beside the heading instead of
     stacking it on its own line above — num/h3 direct children of
     .pathway-tile so grid areas can place them without HTML changes. */
  .pathway-tile {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: var(--space-sm);
    row-gap: var(--space-md);
  }
  .pathway-num { grid-row: 1; grid-column: 1; }
  .pathway-tile h3 { grid-row: 1; grid-column: 2; }
  .pathway-tile p { grid-row: 2; grid-column: 1 / -1; }
  .pathway-link { grid-row: 3; grid-column: 1 / -1; }
}

/* Process steps */
.process-section {
  padding: var(--section-y) 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}
.process-head { max-width: 40ch; margin-bottom: var(--space-3xl); }
.process-head h2 { margin: 0 0 var(--space-md); }
.process-head p { margin: 0; color: var(--ink-muted); }
.process-steps {
  display: grid;
  gap: var(--space-xl);
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 800px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-2xl); }
}
.process-step {
  position: relative;
  padding-top: var(--space-3xl);
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: oklch(0.62 0.12 65 / 0.35);
}
.process-step h3 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
}
.process-step p {
  margin: 0 0 var(--space-lg);
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 32ch;
}
.process-step a {
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}
.process-step a:hover { text-decoration: underline; }

/* Trust pillars — editorial list (not card grid) */
.trust-pillars-section {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%);
}
.trust-pillars-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-xl);
  max-width: 52rem;
}
@media (min-width: 640px) {
  .trust-pillars-list {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-3xl);
    row-gap: var(--space-2xl);
  }
}
.trust-pillars-list li {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}
.trust-pillars-list strong {
  display: block;
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.trust-pillars-list strong::before {
  content: "✓ ";
  color: var(--navy-soft);
  font-weight: 800;
}
.trust-pillars-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 34ch;
}

.section-head-min h2 em {
  font-style: italic;
  color: var(--amber-deep);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .pathway-tile:hover,
  .hero-gallery-img { transition: none; }
  .carousel-dot.is-active { transform: none; }
}

/* ─── Enhanced Motion — Triune Brain v2 ─── */

/* Stagger reveal system — applied via JS to grid/list children */
.stagger-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease-out-expo) var(--stagger-delay, 0s),
    transform 0.6s var(--ease-out-expo) var(--stagger-delay, 0s);
}
.stagger-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonial crossfade — limbic smoothness */
@keyframes testimonial-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.carousel-slide.is-active {
  animation: testimonial-in 0.5s var(--ease-out-expo) both;
}

/* Sticky call button pulse — reptilian brain trigger.
   Uses a pseudo-element ring animated with transform/opacity (compositor-
   friendly) instead of animating box-shadow directly, which forces paint
   on every frame and reads as janky on lower-powered mobile devices. */
.sticky-call::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid oklch(0.62 0.12 65 / 0.55);
  animation: cta-pulse-ring 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes cta-pulse-ring {
  0%   { transform: scale(1); opacity: 0.9; }
  65%, 100% { transform: scale(1.3); opacity: 0; }
}
.sticky-call:hover::after { animation: none; opacity: 0; }

/* Header phone CTA subtle glow — draws attention without screaming */
@keyframes header-cta-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(12,40,54,0.22); }
  50%       { box-shadow: 0 4px 22px rgba(12,40,54,0.36), 0 0 0 3px oklch(0.62 0.12 65 / 0.18); }
}
.header-cta { animation: header-cta-glow 3.5s ease-in-out infinite; }
.header-cta:hover { animation: none; }

/* Pathway tile — link color and spacing animate on hover */
.pathway-link {
  transition: color 0.2s var(--ease-out), letter-spacing 0.25s var(--ease-out-expo);
}
.pathway-tile:hover .pathway-link {
  color: var(--navy);
  letter-spacing: 0.03em;
}

/* Pathway tile number lifts on hover */
.pathway-num {
  transition: transform 0.25s var(--ease-out-expo);
}
.pathway-tile:hover .pathway-num {
  transform: scale(1.15) translateX(2px);
}

/* Process step big number blooms in when scrolled into view */
.process-step::before {
  color: oklch(0.62 0.12 65 / 0.08);
  transition: color 1s var(--ease-out) 0.25s;
}
.process-step.is-visible::before {
  color: oklch(0.62 0.12 65 / 0.5);
}

/* Trust pillar strong slides in from left when visible */
@keyframes pillar-in {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.trust-pillars-list li.is-visible strong {
  animation: pillar-in 0.5s var(--ease-out-expo) both;
}
.trust-pillars-list li.is-visible:nth-child(2) strong { animation-delay: 0.08s; }
.trust-pillars-list li.is-visible:nth-child(3) strong { animation-delay: 0.16s; }
.trust-pillars-list li.is-visible:nth-child(4) strong { animation-delay: 0.24s; }

/* Rating number — counts up, flashes gold */
@keyframes rating-bloom {
  0%   { color: var(--ink-muted); transform: scale(1); }
  50%  { color: var(--gold); transform: scale(1.12); }
  100% { color: inherit; transform: scale(1); }
}
.testimonials-rating strong.is-counting {
  animation: rating-bloom 1.4s var(--ease-out-expo) both;
}

/* FAQ item slides right on hover — draws the eye */
.faq-item {
  transition: transform 0.2s var(--ease-out-expo), background 0.2s;
  padding: var(--space-md) 0;
  border-radius: var(--radius);
}
.faq-item:hover { transform: translateX(5px); }
.faq-item .faq-q { transition: color 0.15s; }
.faq-item:hover .faq-q { color: var(--navy); }

/* Form success pop — celebrate the win */
@keyframes success-pop {
  0%   { opacity: 0; transform: scale(0.82) translateY(10px); }
  65%  { transform: scale(1.04) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
#form-success:not([hidden]) { animation: success-pop 0.5s var(--ease-out-expo) both; }
.success-title::before { content: "✓ "; color: var(--gold); }

/* Location spotlight cards stagger — handled by the shared .stagger-reveal
   transition system (see js/main.js staggerGroups); the old dedicated
   testimonial-in animation was removed since it conflicted with that
   transition-based reveal, fighting over the same opacity/transform. */

/* Blog card entrance — handled by the shared .stagger-reveal transition
   system (js/main.js staggerGroups); the dedicated card-in animation was
   removed since it fought the transition over the same properties. */

/* Stagger delay utilities */
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* Reduced motion — kill everything above */
@media (prefers-reduced-motion: reduce) {
  .sticky-call,
  .header-cta { animation: none !important; }
  .carousel-slide.is-active { animation: none; }
  .process-step::before,
  .process-step.is-visible::before { transition: none; color: oklch(0.62 0.12 65 / 0.35); }
  .faq-item:hover { transform: none; }
  .pathway-tile:hover .pathway-num { transform: none; }
  .stagger-reveal { opacity: 1; transform: none; transition: none; }
  .trust-pillars-list li.is-visible strong { animation: none; }
  #form-success:not([hidden]) { animation: none; }
}

/* ── Action Rail ─────────────────────────────────────────────────────────── */
#action-rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none; /* mobile: hidden */
  align-items: stretch;
  z-index: 55;
}
@media (min-width: 1024px) {
  #action-rail { display: flex; }
}

/* Slide-out panel */
.rail-panel {
  width: 300px;
  max-height: min(560px, calc(100vh - 140px));
  overflow-y: auto;
  background: var(--white);
  box-shadow: -8px 0 40px oklch(0.28 0.04 220 / 0.16);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
.rail-panel-inner {
  padding: 1.25rem;
}

/* Icon strip */
.rail-strip {
  display: flex;
  flex-direction: column;
  background: var(--amber);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}
#action-rail.is-open .rail-strip {
  border-radius: 0;
}

.rail-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 52px;
  height: 56px;
  border: none;
  background: transparent;
  color: #000;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s, background 0.15s;
}
.rail-tab:first-child { border-radius: var(--radius-xl) 0 0 0; }
.rail-tab:last-child  { border-radius: 0 0 0 var(--radius-xl); }
#action-rail.is-open .rail-tab:first-child,
#action-rail.is-open .rail-tab:last-child { border-radius: 0; }
.rail-tab:hover { background: oklch(0 0 0 / 0.1); }
.rail-tab.is-active { background: oklch(1 0 0 / 0.45); }
.rail-tab svg { width: 20px; height: 20px; flex-shrink: 0; }
.rail-tab-label { font-size: 8px; font-weight: 800; letter-spacing: .06em; line-height: 1; }

/* Panel header */
.rail-panel-header { margin-bottom: 1rem; }
.rail-panel-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.rail-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.25rem;
}

/* Inputs */
.rail-inp {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.rail-inp:focus { border-color: var(--navy-soft); }
.rail-inp::placeholder { color: var(--ink-muted); opacity: 0.5; }
.rail-inp-err { border-color: oklch(0.45 0.2 25) !important; }
textarea.rail-inp { resize: none; }

/* Form layout */
.rail-form { display: flex; flex-direction: column; gap: 0.5rem; }
.rail-form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.rail-section-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0.35rem 0 0;
}

/* Submit button */
.rail-submit {
  width: 100%;
  padding: 0.65rem 1rem;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.15s;
}
.rail-submit:hover { background: var(--navy-soft); }
.rail-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Pills */
.rail-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.rail-pill {
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: oklch(0.28 0.04 220 / 0.07);
  color: var(--ink-muted);
  border: 1px solid transparent;
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rail-pill:hover { border-color: var(--line-strong); color: var(--navy); }
.rail-pill.is-selected { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Finance calculator */
.rail-calc-display {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  text-align: center;
  margin-bottom: 0.75rem;
}
.rail-calc-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.25rem;
}
.rail-calc-amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin: 0 0 0.3rem;
}
.rail-calc-note {
  font-size: 0.7rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}
.rail-range-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
}
.rail-range-label span:first-child { color: var(--ink-muted); font-weight: 600; }
.rail-range-label span:last-child { font-weight: 700; color: var(--navy); }
input[type="range"].rail-range {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
  accent-color: var(--navy);
}
.rail-terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.35rem; }
.rail-term-btn {
  padding: 0.35rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-body);
  background: oklch(0.28 0.04 220 / 0.07);
  color: var(--ink-muted);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.rail-term-btn.is-active { background: var(--navy); color: var(--white); }
.rail-apr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.rail-disclaimer { font-size: 0.7rem; color: var(--ink-muted); line-height: 1.5; margin: 0; }

/* Error */
.rail-error { font-size: 0.75rem; color: oklch(0.45 0.2 25); margin: 0; }
.rail-hint { font-size: 0.72rem; color: var(--ink-muted); margin: -0.35rem 0 0.35rem; }

/* Success state */
.rail-success {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
}
.rail-success-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.rail-success-icon svg { width: 20px; height: 20px; color: var(--white); }
.rail-success h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
  color: var(--navy);
}
.rail-success p { font-size: 0.8rem; color: var(--ink-muted); margin: 0; line-height: 1.5; }
