/* =============================================================
   Moving Support — site.css
   Static build for Cloudflare Pages
   ============================================================= */

/* ========================================================
   Tokens
   ======================================================== */
:root {
  /* Color — Navy scale */
  --c-navy-900: #0F1E3D;
  --c-navy-700: #1E3A6F;
  --c-navy-500: #2D4F8F;

  /* Color — Cream / Paper */
  --c-cream: #F5EFE0;
  --c-cream-dk: #ECE4D0;
  --c-paper: #FFFFFF;

  /* Color — Clay (sole accent) */
  --c-clay: #C8551F;
  --c-clay-dk: #A8451A;
  --c-clay-lt: #DC6A33;
  --c-clay-ring: rgba(200, 85, 31, 0.25);

  /* Color — Text */
  --c-charcoal: #2A2A2A;
  --c-slate: #5B6270;       /* darkened from #6B7280 for 5.0:1 on cream */
  --c-slate-lt: #9CA3AF;    /* on dark surfaces */

  /* Color — Utility */
  --c-divider: rgba(15, 30, 61, 0.10);
  --c-divider-on-dark: rgba(245, 239, 224, 0.15);
  --c-success: #1F7A4D;
  --c-error: #B42318;
  --c-error-bg: #FEF2F2;

  /* Typography */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;
  --fs-5xl: 4rem;
  --fs-6xl: 5.5rem;

  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-base: 1.6;
  --lh-loose: 1.75;

  /* Spacing — 4px base */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-32: 8rem;

  /* Layout */
  --container-w: 1200px;
  --container-narrow: 720px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 30, 61, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 30, 61, 0.08), 0 2px 4px rgba(15, 30, 61, 0.04);
  --shadow-lg: 0 16px 48px rgba(15, 30, 61, 0.12), 0 4px 12px rgba(15, 30, 61, 0.06);
  --shadow-xl: 0 32px 80px rgba(15, 30, 61, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.15s;
  --t-base: 0.25s;
  --t-slow: 0.4s;

  /* Z-layers */
  --z-base: 1;
  --z-sticky: 100;
  --z-modal: 1000;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --t-fast: 0s;
    --t-base: 0s;
    --t-slow: 0s;
  }
}

/* ========================================================
   Fonts (self-hosted)
   ======================================================== */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========================================================
   Reset
   ======================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html,
body {
  height: 100%;
}
body {
  background: var(--c-cream);
  color: var(--c-charcoal);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* ========================================================
   Type defaults
   ======================================================== */
a {
  color: var(--c-clay-dk);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover {
  color: var(--c-clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  color: var(--c-navy-900);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.5rem, 1.5vw + 0.75rem, 1.875rem);
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h4 {
  font-size: var(--fs-lg);
  line-height: 1.3;
}

/* ========================================================
   Focus
   ======================================================== */
:focus-visible {
  outline: 3px solid var(--c-clay);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ========================================================
   Utilities
   ======================================================== */
.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  background: var(--c-navy-900);
  color: var(--c-cream);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  z-index: 9999;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus {
  top: var(--s-4);
  color: var(--c-cream);
  text-decoration: none;
}

/* ========================================================
   Layout
   ======================================================== */
.container {
  width: 100%;
  max-width: var(--container-w);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.section-tight {
  padding-block: clamp(var(--s-10), 5vw, var(--s-20));
}

/* ========================================================
   Tag (eyebrow / uppercase category label)
   ======================================================== */
.tag {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-clay);
}

/* ========================================================
   Buttons
   ======================================================== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1;
  padding: var(--s-4) var(--s-6);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--c-clay);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--c-clay-dk);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--c-navy-900);
  color: var(--c-cream);
}
.btn-secondary:hover {
  background: var(--c-navy-700);
  color: var(--c-cream);
}

.btn-ghost {
  background: transparent;
  color: var(--c-navy-900);
  border-color: var(--c-navy-900);
}
.btn-ghost:hover {
  background: var(--c-navy-900);
  color: var(--c-cream);
}

.btn-lg {
  font-size: var(--fs-lg);
  padding: var(--s-5) var(--s-8);
}
.btn-block {
  width: 100%;
}

/* ========================================================
   Header
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--c-cream);
  border-bottom: 1px solid var(--c-divider);
  transition: box-shadow var(--t-fast) var(--ease-out);
}
.site-header[data-scrolled] {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-6);
  padding-block: var(--s-4);
}
.logo-link {
  display: block;
  flex-shrink: 0;
}
.logo-link img {
  height: 44px;
  width: auto;
}

.nav-desktop {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-desktop ul {
  display: flex;
  gap: var(--s-8);
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-link {
  position: relative;
  display: inline-block;
  color: var(--c-navy-900);
  font-weight: 500;
  font-size: var(--fs-base);
  padding: var(--s-2) 0;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-clay);
  transform: scaleX(0);
  transform-origin: 0;
  transition: transform var(--t-base) var(--ease-out);
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--c-clay);
  text-decoration: none;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: var(--s-3);
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-navy-900);
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  background: var(--c-cream);
  border-top: 1px solid var(--c-divider);
  padding: var(--s-6) var(--gutter);
}
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-mobile .nav-link {
  display: block;
  padding: var(--s-3) 0;
  font-size: var(--fs-lg);
}

@media (max-width: 900px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ========================================================
   Footer
   ======================================================== */
.site-footer {
  position: relative;
  background: var(--c-navy-900);
  color: var(--c-cream);
  padding-block: var(--s-16) var(--s-8);
  margin-top: var(--s-24);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-12);
  margin-bottom: var(--s-12);
}
.footer-brand img {
  height: 50px;
  width: auto;
  /* TODO: ship /assets/logo-cream.svg and drop the filter chain */
  filter: brightness(0) invert() sepia() saturate(0) brightness(0.95);
}
.brand-tagline {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  color: var(--c-cream);
  line-height: var(--lh-snug);
  margin-top: var(--s-5);
}
.brand-note {
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  color: var(--c-slate-lt);
  line-height: var(--lh-base);
  max-width: 360px;
}
.footer-col h4 {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-clay-lt);
  margin-bottom: var(--s-5);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-col a {
  color: var(--c-cream);
  font-size: var(--fs-base);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-col a:hover {
  color: var(--c-clay-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-divider-on-dark);
  font-size: var(--fs-sm);
  color: var(--c-slate-lt);
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom .muted {
  color: var(--c-slate-lt);
  font-family: monospace;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }
}

/* Tape motif — footer-divider variant */
.tape-divider {
  position: absolute;
  top: -14px;
  left: -2%;
  right: -2%;
  height: 28px;
  background: var(--c-clay);
  transform: rotate(-1deg);
  z-index: 1;
}
.tape-divider::before,
.tape-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
}
.tape-divider::before {
  top: 0;
  background: var(--c-clay-lt);
}
.tape-divider::after {
  bottom: 0;
  background: var(--c-clay-dk);
}

/* ========================================================
   Lead modal
   ======================================================== */
.lead-modal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}
.lead-modal::backdrop {
  background: rgba(15, 30, 61, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out);
}
.lead-modal[open]::backdrop {
  opacity: 1;
}

.modal-shell {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: min(640px, 100vw - 32px);
  max-height: 92vh;
  background: var(--c-cream);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--shadow-xl);
  padding: var(--s-12) var(--s-8) var(--s-8);
  overflow-y: auto;
  opacity: 0;
  transform: translate(-50%, 20px) scale(0.96);
  transition: transform var(--t-slow) var(--ease-out),
              opacity var(--t-slow) var(--ease-out);
}
.lead-modal[open] .modal-shell {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
@media (min-width: 720px) {
  .modal-shell {
    top: 50%;
    bottom: auto;
    border-radius: var(--r-lg);
    transform: translate(-50%, calc(20px - 50%)) scale(0.96);
  }
  .lead-modal[open] .modal-shell {
    transform: translate(-50%, -50%) scale(1);
  }
}

.modal-tape {
  position: absolute;
  top: 32px;
  left: -8px;
  right: -8px;
  height: 18px;
  background: var(--c-clay);
  transform: rotate(-1deg);
}
.modal-tape::before,
.modal-tape::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
}
.modal-tape::before {
  top: 0;
  background: var(--c-clay-lt);
}
.modal-tape::after {
  bottom: 0;
  background: var(--c-clay-dk);
}

.modal-close {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: var(--s-3);
  color: var(--c-navy-900);
  border-radius: var(--r-pill);
  z-index: 2;
  transition: background var(--t-fast);
}
.modal-close:hover {
  background: var(--c-cream-dk);
}

.modal-header {
  margin-bottom: var(--s-6);
}
.modal-header h2 {
  font-size: var(--fs-3xl);
  margin-block: var(--s-2) var(--s-3);
}
.modal-header p {
  color: var(--c-slate);
}

/* ---- Form pieces (shared by lead-modal and hero-form) ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.field-full {
  grid-column: 1 / -1;
}
.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-navy-900);
}
.field input,
.field select {
  background: var(--c-paper);
  border: 1.5px solid var(--c-divider);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-base);
  color: var(--c-charcoal);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-clay);
  box-shadow: 0 0 0 3px var(--c-clay-ring);
}
.field input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: var(--c-error);
}

.inline-check {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-1);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--c-slate);
}

.tcpa {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  border: 1px solid var(--c-divider);
  background: var(--c-paper);
  margin-bottom: var(--s-4);
}
.tcpa input {
  flex-shrink: 0;
  margin-top: 4px;
}
.tcpa span {
  font-size: var(--fs-xs);
  line-height: var(--lh-base);
  color: var(--c-slate);
}
.tcpa a {
  color: var(--c-clay-dk);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-error {
  background: var(--c-error-bg);
  color: var(--c-error);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-4);
}
.form-submit {
  width: 100%;
  margin-bottom: var(--s-3);
}
.form-submit[disabled] {
  opacity: 0.7;
  cursor: wait;
}
.form-fineprint {
  font-size: var(--fs-xs);
  color: var(--c-slate);
  text-align: center;
}

.modal-success {
  text-align: center;
  padding: var(--s-6) 0;
}
.success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s-5);
}
.modal-success h3 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--s-3);
}
.modal-success p {
  color: var(--c-charcoal);
  margin-bottom: var(--s-3);
}
.modal-success .muted {
  color: var(--c-slate);
  font-size: var(--fs-sm);
}
.modal-success .btn {
  margin-top: var(--s-4);
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modal-shell {
    padding: var(--s-10) var(--s-5) var(--s-6);
  }
  .modal-header h2 {
    font-size: var(--fs-2xl);
  }
}

/* ========================================================
   Hero
   ======================================================== */
.hero {
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse at top right, rgba(200, 85, 31, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(30, 58, 111, 0.05) 0%, transparent 50%),
    var(--c-cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
.hero-tag {
  margin-bottom: var(--s-4);
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw + 0.5rem, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-5);
  max-width: 14ch;
}
.hero h1 em {
  position: relative;
  color: var(--c-clay);
  font-style: italic;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  bottom: 8%;
  left: -4%;
  right: -4%;
  height: 12px;
  background: var(--c-clay);
  opacity: 0.15;
  transform: rotate(-1deg);
  z-index: -1;
}
.hero-sub {
  font-size: var(--fs-lg);
  color: var(--c-charcoal);
  line-height: var(--lh-base);
  max-width: 56ch;
  margin-bottom: var(--s-8);
}

.hero-form {
  padding: var(--s-6);
  background: var(--c-paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  max-width: 560px;
}
.hero-label {
  display: block;
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--c-navy-900);
  margin-bottom: var(--s-4);
}
.hero-input-group {
  display: flex;
  gap: var(--s-3);
}
.hero-input-group input {
  flex: 1;
  min-width: 0;
  background: var(--c-cream);
  border: 1.5px solid var(--c-divider);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.hero-input-group input:focus {
  outline: none;
  border-color: var(--c-clay);
  box-shadow: 0 0 0 3px var(--c-clay-ring);
}
.hero-input-group .btn {
  flex-shrink: 0;
}
.hero-trust {
  margin-top: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--c-slate);
}

.hero-visual {
  display: flex;
  justify-content: center;
}
.visual-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--c-navy-900);
  color: var(--c-cream);
  border-radius: var(--r-lg);
  padding: var(--s-10) var(--s-8) var(--s-6);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.visual-tape {
  position: absolute;
  top: 28px;
  left: -6%;
  right: -6%;
  height: 22px;
  background: var(--c-clay);
  transform: rotate(-2deg);
}
.visual-tape::before,
.visual-tape::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
}
.visual-tape::before {
  top: 0;
  background: var(--c-clay-lt);
}
.visual-tape::after {
  bottom: 0;
  background: var(--c-clay-dk);
}

.visual-stats {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin-top: var(--s-8);
}
.visual-stats > div {
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--c-divider-on-dark);
}
.visual-stats > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.stat-num {
  display: block;
  font-family: var(--f-display);
  font-size: var(--fs-4xl);
  font-weight: 600;
  color: var(--c-cream);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: var(--s-1);
  font-size: var(--fs-sm);
  color: var(--c-slate-lt);
}
.visual-note {
  margin-top: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--c-slate-lt);
  text-align: right;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s-10);
  }
  .hero-visual {
    order: -1;
  }
  .visual-card {
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .hero-input-group {
    flex-direction: column;
  }
  .hero-input-group .btn {
    width: 100%;
  }
}

/* ========================================================
   Section heads
   ======================================================== */
.section-head {
  max-width: 640px;
  margin: 0 auto var(--s-12);
  text-align: center;
}
.section-head .tag {
  margin-bottom: var(--s-4);
}
.section-head h2 {
  font-size: clamp(1.875rem, 2.5vw + 1rem, 2.75rem);
  line-height: 1.1;
  margin-bottom: var(--s-5);
}
.section-head p {
  color: var(--c-slate);
  font-size: var(--fs-lg);
  line-height: var(--lh-base);
}
.section-head-left {
  text-align: left;
  max-width: 720px;
  margin-inline: 0;
}
.section-head-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--s-12);
}
.section-foot {
  margin-top: var(--s-10);
  text-align: center;
}

/* ========================================================
   How it works (steps)
   ======================================================== */
.how-it-works {
  background: var(--c-paper);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
}
.step {
  position: relative;
  padding: var(--s-8) var(--s-6);
  background: var(--c-cream);
  border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: block;
  font-family: var(--f-display);
  font-size: var(--fs-4xl);
  font-weight: 600;
  color: var(--c-clay);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.step h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-3);
  line-height: var(--lh-snug);
}
.step p {
  color: var(--c-charcoal);
}

@media (max-width: 800px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
}

/* ========================================================
   Education preview (article cards)
   ======================================================== */
.education-preview {
  background: var(--c-cream);
}
.article-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  margin-top: var(--s-12);
}
.article {
  display: block;
  color: var(--c-charcoal);
  text-decoration: none;
  transition: transform var(--t-base) var(--ease-out);
}
.article:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.article.featured {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--c-navy-900);
  color: var(--c-cream);
  border-radius: var(--r-lg);
  padding: var(--s-10) var(--s-8);
  min-height: 360px;
}
.article.featured .tag {
  color: var(--c-clay-lt);
}
.article.featured h3 {
  color: var(--c-cream);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  line-height: 1.2;
  margin-block: var(--s-4);
}
.article.featured p {
  color: var(--c-slate-lt);
  font-size: var(--fs-lg);
}
.article.featured:hover {
  background: var(--c-navy-700);
}
.article.featured:hover p {
  color: var(--c-cream);
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--c-clay-lt);
  font-weight: 600;
  margin-top: var(--s-6);
}
.article.featured:hover .read-more {
  color: var(--c-paper);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.article-list .article {
  padding: var(--s-6);
  background: var(--c-paper);
  border-radius: var(--r-md);
  border-left: 3px solid transparent;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.article-list .article:hover {
  border-left-color: var(--c-clay);
  box-shadow: var(--shadow-sm);
}
.article-list h4 {
  font-size: var(--fs-lg);
  color: var(--c-navy-900);
  margin-bottom: var(--s-2);
}
.article-list p {
  font-size: var(--fs-sm);
  color: var(--c-slate);
}

@media (max-width: 800px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article.featured {
    min-height: auto;
  }
  .article.featured h3 {
    font-size: var(--fs-2xl);
  }
}

/* ========================================================
   Directory preview (states)
   ======================================================== */
.directory-preview {
  background: var(--c-paper);
}
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--s-3);
}
.state-tile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-4) var(--s-5);
  background: var(--c-cream);
  color: var(--c-navy-900);
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: var(--fs-base);
  text-decoration: none;
  transition: background var(--t-fast),
              color var(--t-fast),
              transform var(--t-fast);
}
.state-tile svg {
  color: var(--c-clay);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.state-tile:hover {
  background: var(--c-navy-900);
  color: var(--c-cream);
  text-decoration: none;
  transform: translateX(2px);
}
.state-tile:hover svg {
  color: var(--c-clay-lt);
  opacity: 1;
  transform: translateX(0);
}

/* ========================================================
   Final CTA
   ======================================================== */
.final-cta {
  padding-block: clamp(var(--s-12), 6vw, var(--s-20));
  background: var(--c-cream);
}
.cta-card {
  position: relative;
  text-align: center;
  background: var(--c-navy-900);
  color: var(--c-cream);
  padding: clamp(var(--s-10), 5vw, var(--s-16)) clamp(var(--s-6), 4vw, var(--s-12));
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -10%;
  right: -10%;
  height: 24px;
  background: var(--c-clay);
  opacity: 0.12;
  transform: rotate(-2deg);
}
.cta-card .tag {
  position: relative;
  color: var(--c-clay-lt);
  margin-bottom: var(--s-4);
}
.cta-card h2 {
  position: relative;
  color: var(--c-cream);
  font-size: clamp(1.875rem, 3vw + 0.5rem, 2.75rem);
  line-height: 1.1;
  margin-bottom: var(--s-5);
}
.cta-card > p {
  position: relative;
  color: var(--c-slate-lt);
  font-size: var(--fs-lg);
  max-width: 56ch;
  margin: 0 auto var(--s-8);
}
.cta-card .btn {
  position: relative;
}
.cta-fineprint {
  position: relative;
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--c-slate-lt);
}

/* ========================================================
   Generic page hero (for sub-pages)
   ======================================================== */
.page-hero {
  padding-block: clamp(var(--s-16), 8vw, var(--s-20));
  background: var(--c-cream);
  text-align: center;
}
.page-hero .tag {
  margin-bottom: var(--s-4);
}
.page-hero h1 {
  margin-bottom: var(--s-5);
}
.page-hero p {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--c-charcoal);
  font-size: var(--fs-lg);
}

/* ========================================================
   Placeholder (for stub pages — remove when content ships)
   ======================================================== */
.placeholder {
  padding-block: var(--s-16);
  text-align: center;
}
.placeholder p {
  color: var(--c-slate);
  font-size: var(--fs-lg);
  max-width: 48ch;
  margin: 0 auto;
}

/* ========================================================
   State pages
   ======================================================== */
.state-hero {
  position: relative;
  padding-block: clamp(var(--s-16), 7vw, 6rem) clamp(var(--s-10), 5vw, var(--s-16));
  background:
    radial-gradient(ellipse at top right, rgba(200, 85, 31, 0.06) 0%, transparent 50%),
    var(--c-cream);
  text-align: center;
}

/* With photo — image loads behind a cream-to-ink gradient so text stays readable */
.state-hero-photo {
  background:
    linear-gradient(180deg, rgba(245, 239, 224, 0.78) 0%, rgba(245, 239, 224, 0.92) 50%, var(--c-cream) 100%),
    var(--hero-image) center / cover no-repeat,
    var(--c-cream);
  padding-block: clamp(5rem, 9vw, 8rem) clamp(var(--s-10), 5vw, var(--s-16));
}
.state-hero-photo .container {
  position: relative;
  z-index: 1;
}
.state-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(200, 85, 31, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(15, 30, 61, 0.06) 0%, transparent 55%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .state-hero-photo {
    background-attachment: scroll, fixed, scroll;
  }
}
.state-hero .tag {
  margin-bottom: var(--s-4);
}
.state-hero h1 {
  margin-bottom: var(--s-4);
}
.state-tagline {
  max-width: 60ch;
  margin: 0 auto var(--s-10);
  font-size: var(--fs-lg);
  color: var(--c-charcoal);
  line-height: var(--lh-base);
}

.state-facts-strip {
  display: flex;
  justify-content: center;
  gap: clamp(var(--s-6), 4vw, var(--s-12));
  flex-wrap: wrap;
  padding: var(--s-6) var(--s-8);
  margin: 0 auto;
  max-width: 860px;
  list-style: none;
  background: var(--c-paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.state-facts-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
  min-width: 120px;
}
.state-facts-strip .fact-value {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 600;
  color: var(--c-navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.state-facts-strip .fact-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-slate);
}

/* "Known for" grid */
.state-known-for {
  background: var(--c-paper);
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.fact-grid li {
  position: relative;
  padding: var(--s-5) var(--s-6) var(--s-5) var(--s-10);
  background: var(--c-cream);
  border-radius: var(--r-md);
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-charcoal);
}
.fact-grid li::before {
  content: "";
  position: absolute;
  left: var(--s-5);
  top: 1.65rem;
  width: 14px;
  height: 2px;
  background: var(--c-clay);
}

/* Attractions */
.state-attractions {
  background: var(--c-cream);
}
.attraction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s-3);
  list-style: none;
  padding: 0;
  margin: 0;
}
.attraction-grid li {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-5);
  background: var(--c-paper);
  border-radius: var(--r-md);
  border-left: 3px solid var(--c-clay);
}
.attraction-grid strong {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  color: var(--c-navy-900);
  font-weight: 600;
  line-height: 1.25;
}
.attraction-grid span {
  font-size: var(--fs-sm);
  color: var(--c-slate);
}

/* Major cities */
.state-cities {
  background: var(--c-paper);
}
.city-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--s-4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.city-list li {
  display: flex;
}
.city-link {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  width: 100%;
  padding: var(--s-5) var(--s-6);
  background: var(--c-cream);
  border-radius: var(--r-md);
  border-left: 3px solid transparent;
  color: var(--c-charcoal);
  text-decoration: none;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.city-link:hover {
  border-left-color: var(--c-clay);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--c-charcoal);
}
.city-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
}
.city-line strong {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--c-navy-900);
}
.city-pop {
  font-size: var(--fs-sm);
  color: var(--c-slate);
  font-weight: 500;
  white-space: nowrap;
}
.city-note {
  font-size: var(--fs-sm);
  color: var(--c-charcoal);
  margin: 0;
  line-height: 1.5;
}
.city-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-clay-dk);
}
.city-link:hover .city-cta {
  color: var(--c-clay);
}

/* Breadcrumb (city pages) */
.crumbs {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  padding-top: var(--s-6);
  font-size: var(--fs-sm);
  color: var(--c-slate);
}
.crumbs a {
  color: var(--c-slate);
  text-decoration: none;
  transition: color var(--t-fast);
}
.crumbs a:hover {
  color: var(--c-clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumbs [aria-current="page"] {
  color: var(--c-navy-900);
  font-weight: 500;
}
.crumbs .sep {
  color: var(--c-divider);
  color: rgba(15, 30, 61, 0.35);
}

/* Neighborhood cards */
.city-neighborhoods {
  background: var(--c-cream);
}
.neighborhood-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s-4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.neighborhood-list li {
  padding: var(--s-6);
  background: var(--c-paper);
  border-radius: var(--r-md);
  border-left: 3px solid var(--c-clay);
}
.neighborhood-list h3 {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--c-navy-900);
  margin-bottom: var(--s-2);
  line-height: 1.25;
}
.neighborhood-list p {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--c-charcoal);
  margin: 0;
}

/* Fun Fact callout */
.city-fun-fact-section {
  padding-block: var(--s-10) 0;
}
.fun-fact {
  position: relative;
  padding: var(--s-8) var(--s-10);
  background: var(--c-paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.fun-fact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--c-clay-lt) 0%, var(--c-clay) 50%, var(--c-clay-dk) 100%);
}
.fun-fact .tag {
  color: var(--c-clay);
  margin-bottom: var(--s-3);
}
.fun-fact p {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--c-navy-900);
  line-height: 1.45;
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 64ch;
}
@media (max-width: 560px) {
  .fun-fact {
    padding: var(--s-6) var(--s-7);
  }
  .fun-fact p {
    font-size: var(--fs-base);
  }
}

/* Back-to-state link */
.back-to-state {
  padding-block: var(--s-10);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--c-slate);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast), transform var(--t-fast);
}
.back-link:hover {
  color: var(--c-clay);
  transform: translateX(-2px);
  text-decoration: none;
}

/* Migration */
.state-migration {
  background: var(--c-cream);
}
.migration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
}
.migration-col h3 {
  font-size: var(--fs-lg);
  font-family: var(--f-body);
  font-weight: 600;
  color: var(--c-navy-900);
  margin-bottom: var(--s-4);
  line-height: 1.4;
}
.migration-col h3 em {
  font-style: italic;
  color: var(--c-clay);
}
.migration-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.migration-col li a {
  display: block;
  padding: var(--s-4) var(--s-5);
  background: var(--c-paper);
  border-radius: var(--r-md);
  border-left: 3px solid transparent;
  color: var(--c-navy-900);
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.migration-col li a:hover {
  border-left-color: var(--c-clay);
  transform: translateX(2px);
  text-decoration: none;
  color: var(--c-navy-900);
}
@media (max-width: 720px) {
  .migration-grid {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }
}

/* State page city-to-city routes section */
.state-city-routes {
  background: var(--c-paper);
}
.city-routes-block {
  margin-top: var(--s-6);
}
.city-routes-block + .city-routes-block {
  margin-top: var(--s-10);
  padding-top: var(--s-8);
  border-top: 1px solid var(--c-line);
}
.city-routes-block > h3 {
  font-size: var(--fs-xl);
  font-family: var(--f-body);
  font-weight: 600;
  color: var(--c-navy-900);
  margin-bottom: var(--s-5);
}
.city-routes-from {
  margin-bottom: var(--s-6);
}
.city-routes-from h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-clay);
  margin-bottom: var(--s-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.city-routes-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s-2);
}
.city-routes-grid li a {
  display: block;
  padding: var(--s-3) var(--s-4);
  background: var(--c-cream);
  border-radius: var(--r-md);
  border-left: 3px solid transparent;
  color: var(--c-navy-900);
  font-weight: 500;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}
.city-routes-grid li a:hover {
  border-left-color: var(--c-clay);
  background: var(--c-paper);
  transform: translateX(2px);
  text-decoration: none;
  color: var(--c-navy-900);
}
@media (max-width: 720px) {
  .city-routes-grid {
    grid-template-columns: 1fr;
  }
}

/* Considerations */
.state-considerations {
  background: var(--c-paper);
}
.considerations-intro {
  font-size: var(--fs-lg);
  line-height: var(--lh-base);
  color: var(--c-charcoal);
  margin-bottom: var(--s-8);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--c-divider);
}
.considerations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.considerations-list li {
  position: relative;
  padding-left: var(--s-8);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-charcoal);
}
.considerations-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 20px;
  height: 2px;
  background: var(--c-clay);
}

/* Regulatory callout */
.state-regulatory {
  background: var(--c-cream);
}
.regulatory-note {
  padding: var(--s-6) var(--s-8);
  background: var(--c-paper);
  border-left: 4px solid var(--c-clay);
  border-radius: var(--r-md);
}
.regulatory-note .tag {
  margin-bottom: var(--s-3);
}
.regulatory-note p {
  color: var(--c-charcoal);
  font-size: var(--fs-base);
  line-height: 1.6;
  margin: 0;
}

/* FAQ */
.state-faq {
  background: var(--c-paper);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.faq {
  background: var(--c-cream);
  border-radius: var(--r-md);
  border: 1px solid var(--c-divider);
  overflow: hidden;
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.faq[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--c-divider);
  background: var(--c-paper);
}
.faq summary {
  cursor: pointer;
  padding: var(--s-5) var(--s-6);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--c-clay);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease-out);
}
.faq[open] summary::after {
  transform: rotate(45deg);
}
.faq summary .q {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-navy-900);
  line-height: 1.4;
}
.faq-answer {
  padding: 0 var(--s-6) var(--s-5);
  color: var(--c-charcoal);
  font-size: var(--fs-base);
  line-height: 1.6;
}
.faq-answer p {
  margin: 0;
}

@media (max-width: 560px) {
  .state-facts-strip {
    gap: var(--s-4);
    padding: var(--s-5) var(--s-4);
  }
  .state-facts-strip li {
    min-width: 100px;
  }
  .city-line {
    flex-direction: column;
    gap: var(--s-1);
  }
}

/* ============================================
   ROUTE PAGES (State A → State B)
   ============================================ */

.route-hero .state-facts-strip .fact-value {
  font-size: var(--fs-2xl);
}

.route-fun-fact-section {
  padding-top: 0;
}

.cost-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  margin-top: var(--s-6);
}

.cost-compare-col {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}

.cost-compare-col h3 {
  margin: 0 0 var(--s-4) 0;
  font-size: var(--fs-xl);
  color: var(--c-navy-900);
}

.cost-stats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cost-stats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-sm);
}

.cost-stats li:last-child {
  border-bottom: none;
}

.cost-label {
  color: var(--c-slate);
}

.cost-value {
  font-weight: 600;
  color: var(--c-navy-900);
  text-align: right;
}

.city-pair-list {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-4);
}

.city-pair {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-5);
}

.city-pair-line {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-2);
  flex-wrap: wrap;
  color: var(--c-navy-900);
  font-size: var(--fs-md);
}

.city-pair-line .arrow {
  color: var(--c-clay);
}

.pair-distance {
  font-size: var(--fs-xs);
  color: var(--c-slate);
  margin-left: auto;
  font-weight: normal;
}

.pair-note {
  color: var(--c-slate);
  font-size: var(--fs-sm);
  margin: 0 0 var(--s-3) 0;
  line-height: 1.5;
}

.pair-links {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.pair-links a {
  font-size: var(--fs-xs);
  color: var(--c-clay-dk);
  text-decoration: none;
  border-bottom: 1px dotted var(--c-clay-dk);
}

.pair-links a:hover {
  color: var(--c-navy-900);
  border-bottom-style: solid;
}

.route-options-list {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0 0 0;
}

.route-options-list li {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--c-line);
}

.route-options-list li:last-child {
  border-bottom: none;
}

.route-options-list h3 {
  margin: 0 0 var(--s-2) 0;
  font-size: var(--fs-lg);
  color: var(--c-navy-900);
}

.route-options-list p {
  margin: 0;
  color: var(--c-slate);
  line-height: 1.6;
}

.route-state-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .cost-compare-grid {
    grid-template-columns: 1fr;
  }
  .route-state-links {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ============================================
   CITY-TO-CITY ROUTE PAGES
   ============================================ */

.city-route-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.city-route-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 30, 61, 0.85) 0%, rgba(15, 30, 61, 0.6) 50%, rgba(15, 30, 61, 0.45) 100%);
  pointer-events: none;
}

.city-route-hero .container {
  position: relative;
  z-index: 1;
}

.city-route-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 16px 0 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.city-route-hero .tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.city-route-tagline {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.city-route-hero .state-facts-strip {
  background: transparent;
  box-shadow: none;
  margin: 24px 0 0;
  padding: 0;
  justify-content: flex-start;
  max-width: none;
  gap: clamp(20px, 3vw, 40px);
}

.city-route-hero .state-facts-strip li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 14px 20px;
  min-width: 130px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.city-route-hero .state-facts-strip .fact-value {
  color: #fff;
  font-size: clamp(1.3rem, 1.8vw + 0.4rem, 1.7rem);
}

.city-route-hero .state-facts-strip .fact-label {
  color: rgba(255, 255, 255, 0.82);
}

/* Attractions by category */
.attraction-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.attraction-cat h3 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-tag);
}

.attraction-cat ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.attraction-cat li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.97rem;
  line-height: 1.5;
}

.attraction-cat li:last-child {
  border-bottom: 0;
}

.attraction-cat li strong {
  color: var(--text);
}

/* Restaurants */
.restaurant-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.restaurant {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.restaurant-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.restaurant-line strong {
  font-size: 1.05rem;
  color: var(--text);
}

.restaurant-cuisine {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.restaurant-hood {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: auto;
}

.restaurant-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Neighborhoods */
.neighborhood-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.neighborhood {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.neighborhood h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--text);
}

.neighborhood p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Livability section */
.livability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.livability-block {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.livability-block h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--accent);
}

.livability-block p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.climate-stats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.climate-stats li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.92rem;
}

.climate-stats li:last-child {
  border-bottom: 0;
}

.livability-note {
  margin-top: 12px !important;
  font-style: italic;
  color: var(--text-muted);
}

.logistics-stats {
  margin: 24px 0;
}

.logistics-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

/* Mobile */
@media (max-width: 720px) {
  .city-route-hero {
    min-height: 360px;
    padding: 56px 0;
  }
  .attraction-cat-grid,
  .restaurant-list,
  .neighborhood-list,
  .livability-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CITY-ROUTE: ENHANCED CONTRAST + STICKY CTA
   ============================================ */

/* Fun-fact section breathing room from hero */
.route-fun-fact-section {
  padding-top: clamp(48px, 7vw, 88px) !important;
}
.route-fun-fact-section .fun-fact {
  background: var(--c-cream);
  border-left: 4px solid var(--c-clay);
  padding: 28px 32px;
  border-radius: var(--r-lg);
}

/* Why-this-move grid: navy cards on cream */
.route-why .fact-grid li {
  background: var(--c-navy-900);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 22px 26px 22px 52px;
  font-weight: 500;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: default;
}
.route-why .fact-grid li::before {
  background: var(--c-clay-lt);
  top: 1.85rem;
  width: 18px;
  height: 3px;
}
.route-why .fact-grid li:hover {
  background: var(--c-clay);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 30, 61, 0.22);
}
.route-why .fact-grid li:hover::before {
  background: #fff;
}

/* Restaurants: clay-accent cards with navy hover invert */
.restaurant {
  border-left: 3px solid var(--c-clay);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.restaurant:hover {
  background: var(--c-navy-900);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 30, 61, 0.22);
  border-left-color: var(--c-clay-lt);
}
.restaurant:hover .restaurant-line strong,
.restaurant:hover .restaurant-note {
  color: #fff;
}
.restaurant:hover .restaurant-cuisine {
  color: var(--c-clay-lt);
}
.restaurant:hover .restaurant-hood {
  color: rgba(255, 255, 255, 0.7);
}

/* Neighborhoods: navy-accent cards with clay hover invert */
.neighborhood {
  border-left: 3px solid var(--c-clay);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.neighborhood:hover {
  background: var(--c-clay);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(200, 85, 31, 0.32);
  border-left-color: #fff;
}
.neighborhood:hover h3,
.neighborhood:hover p {
  color: #fff;
}

/* Attraction-cat: subtle border accent */
.attraction-cat {
  background: var(--c-cream);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  border-top: 3px solid var(--c-clay);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.attraction-cat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 30, 61, 0.10);
}

/* Livability blocks: more visual weight */
.livability-block {
  border-top: 3px solid var(--c-clay);
}

/* Drive + logistics 2-column */
.drive-logistics-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.drive-logistics-col .section-head {
  margin-bottom: 24px;
}
.drive-logistics-col .route-options-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.drive-logistics-col .route-options-list li {
  background: var(--c-cream);
  border-left: 3px solid var(--c-navy-700);
  padding: 18px 22px;
  border-radius: var(--r-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.drive-logistics-col .route-options-list li:hover {
  background: var(--c-navy-900);
  color: #fff;
  border-left-color: var(--c-clay-lt);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 30, 61, 0.18);
}
.drive-logistics-col .route-options-list h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--c-navy-900);
  transition: color 0.18s ease;
}
.drive-logistics-col .route-options-list li:hover h3 {
  color: #fff;
}
.drive-logistics-col .route-options-list p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-slate);
  transition: color 0.18s ease;
}
.drive-logistics-col .route-options-list li:hover p {
  color: rgba(255, 255, 255, 0.86);
}

.logistics-col {
  background: var(--c-navy-900);
  color: #fff;
  padding: 32px 36px;
  border-radius: var(--r-lg);
}
.logistics-col .tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.logistics-col h2 {
  color: #fff;
}
.logistics-col .cost-stats li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.logistics-col .cost-label {
  color: rgba(255, 255, 255, 0.72);
}
.logistics-col .cost-value {
  color: #fff;
}
.logistics-col .logistics-note {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

/* Sticky right-side CTA — vertically centered with weather */
.route-sticky-cta {
  position: fixed;
  right: 24px;
  top: 50%;
  z-index: 50;
  width: 300px;
  max-width: calc(100vw - 48px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(24px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.route-sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
.route-sticky-card {
  background: var(--c-navy-900);
  color: #fff;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  box-shadow: 0 16px 48px rgba(15, 30, 61, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.route-sticky-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-clay);
}
.route-sticky-weather {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 0 12px;
  margin: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.route-sticky-weather-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.route-sticky-weather-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.route-sticky-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-clay-lt);
  display: block;
  margin-bottom: 6px;
}
.route-sticky-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: #fff;
  line-height: 1.35;
}
.route-sticky-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 12px;
  line-height: 1.5;
}
.route-sticky-card .btn {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 0.92rem;
}

/* Tighten spacing on city-route pages — reduces total scroll */
.city-route-hero ~ .section,
.city-route-hero ~ .section-tight {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.city-route-hero ~ .route-fun-fact-section {
  padding-top: clamp(36px, 5vw, 56px) !important;
  padding-bottom: clamp(8px, 2vw, 24px) !important;
}
.city-route-hero ~ .section .section-head {
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.city-route-hero ~ .section .attraction-cat-grid,
.city-route-hero ~ .section .restaurant-list,
.city-route-hero ~ .section .neighborhood-list,
.city-route-hero ~ .section .livability-grid {
  margin-top: clamp(20px, 2.5vw, 28px);
}

@media (max-width: 1180px) {
  .route-sticky-cta {
    /* Hide on smaller desktops where it might overlap content */
    right: 16px;
    width: 260px;
  }
}
@media (max-width: 900px) {
  .drive-logistics-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Switch sticky to bottom on tablet/mobile */
  .route-sticky-cta {
    top: auto;
    bottom: 16px;
    right: 16px;
    transform: translateY(20px);
    width: 280px;
  }
  .route-sticky-cta.is-visible {
    transform: translateY(0);
  }
}
@media (max-width: 600px) {
  .route-sticky-cta {
    left: 12px;
    right: 12px;
    width: auto;
  }
  .route-sticky-card {
    padding: 16px 18px;
  }
  .route-sticky-weather {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .route-sticky-text {
    display: none;
  }
}

/* ============================================
   LEAD MODAL — MINIMAL COMPACTION
   Only changes: hide decorative tape, slightly narrower,
   smaller header. Nothing that could break flex/grid.
   ============================================ */
.lead-modal .modal-tape {
  display: none;
}
.lead-modal .modal-shell {
  width: min(560px, 100vw - 32px);
  padding: 36px 48px 28px !important;
  box-sizing: border-box;
}
.lead-modal .form-grid,
.lead-modal .field {
  min-width: 0;
}
.lead-modal .modal-header {
  margin-bottom: var(--s-4);
}
.lead-modal .modal-header h2 {
  font-size: var(--fs-2xl);
  margin-block: var(--s-1) var(--s-2);
}
.lead-modal .modal-header p {
  font-size: var(--fs-sm);
  margin: 0;
}
