/* ==========================================================================
   LifeLink Care & Transport — style.css
   Editorial, flat, "warm paper" system. Palette drawn from the LifeLink logo.
   ========================================================================== */

:root {
  /* Brand — from the logo */
  --navy:        #0b2450;
  --navy-ink:    #071a3a;   /* the single dark band per page */
  --navy-soft:   #2b4675;
  --coral:       #ee6a4a;
  --coral-deep:  #d6553a;
  --teal:        #0e8a9f;
  --teal-deep:   #0a6f80;

  /* Category tints (pastel tiles) */
  --tint-coral:  #fce4da;
  --tint-teal:   #d7eef2;
  --tint-sky:    #dde7f5;
  --tint-sand:   #f6ecdc;

  /* Neutrals */
  --paper:       #fbf8f3;
  --paper-2:     #f4efe7;
  --white:       #ffffff;
  --ink:         #0f1830;
  --slate:       #4c5568;
  --muted:       #7a8394;
  --hairline:    #e3ddd3;
  --hairline-2:  #cfc7ba;

  /* Type */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Segoe UI", "Segoe UI Variable Text", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --max:     1200px;
  --gutter:  clamp(20px, 4vw, 40px);
  --radius:  4px;
  --nav-h:   76px;
  --shadow-nav: rgba(7, 26, 58, 0.10) 0 10px 40px 0;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -0.015em; }
h4 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--slate); max-width: 60ch; }
.section-head p, .feature p, .ride-card .desc { line-height: 1.6; }
strong { font-weight: 600; }
ul, ol { padding-left: 1.2em; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--band { background: var(--paper-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
/* White sections fade in from the paper ground at both edges so they read as part of one surface */
.section--white {
  background: linear-gradient(180deg, var(--paper) 0, var(--white) clamp(48px, 7vw, 96px), var(--white) calc(100% - clamp(48px, 7vw, 96px)), var(--paper) 100%);
}
.section--white.section--tight { background: linear-gradient(180deg, var(--paper) 0, var(--white) 40px, var(--white) calc(100% - 40px), var(--paper) 100%); }
.section--white + .cta-band, .section--white + .section--dark, .section--white + .section--band { border-top: 0; }
.section--dark { background: var(--navy-ink); color: #dfe6f3; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #c9d3e6; }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.max-prose { max-width: 66ch; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.stack > * + * { margin-top: 1.25rem; }
.divider { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* ---------- Mono label / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--coral); }
.eyebrow--plain::before { display: none; }
.section--dark .eyebrow { color: #9fd3dd; }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; }
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--hairline-2); color: var(--navy);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -0.005em;
  padding: 14px 22px; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--coral); color: var(--white); border-color: var(--coral); }
.btn--primary:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--hairline-2); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--paper); color: var(--navy); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn--lg { font-size: 18px; padding: 17px 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row .note { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500;
  color: var(--navy); text-decoration: none; font-size: 17px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.link-arrow:hover { color: var(--coral-deep); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-back { color: var(--slate); font-size: 15px; }
.link-back svg { transform: rotate(180deg); }
.link-back:hover svg { transform: rotate(180deg) translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-ink); color: #c9d3e6; position: relative; z-index: 51; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--coral) 0 33%, var(--teal) 33% 66%, var(--navy-soft) 66% 100%); opacity: .9; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 42px; padding-block: 4px; }
.topbar-tagline { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: -0.005em; color: var(--white); white-space: nowrap; }
.topbar-tagline .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(238,106,74,.22); flex: none; }
.topbar-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.topbar-links li { display: flex; align-items: center; }
.topbar-links li + li::before { content: ""; width: 1px; height: 14px; background: rgba(255,255,255,.16); margin: 0 10px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; color: #dbe3f1; text-decoration: none; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .01em; padding: 6px 2px; white-space: nowrap; transition: color .15s; }
.topbar-links a svg { width: 14px; height: 14px; color: #7fd0dd; flex: none; }
.topbar-links a:hover { color: var(--white); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,243,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-nav); }
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--navy);
  text-decoration: none; padding: 10px 14px; border-radius: var(--radius);
  background: transparent; border: 0; cursor: pointer; line-height: 1;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--paper-2); color: var(--navy); }
.nav-link.is-current { position: relative; }
.nav-link.is-current::after { content:""; position:absolute; left:14px; right:14px; bottom:4px; height:2px; background: var(--coral); }
.nav-link svg.chev { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.nav-link[aria-expanded="true"] svg.chev { transform: rotate(180deg); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 12px 18px; font-size: 16px; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 8px; margin: 0; list-style: none;
  box-shadow: var(--shadow-nav);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
}
.dropdown a:hover { background: var(--paper-2); }
.dropdown a .i { width: 36px; height: 36px; border-radius: var(--radius); display: grid; place-items: center; }
.dropdown a .i svg { width: 20px; height: 20px; }
.dropdown a strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--navy); }
.dropdown a span.d { display: block; font-size: 13.5px; color: var(--slate); line-height: 1.35; }
.dropdown .all { border-top: 1px solid var(--hairline); margin-top: 6px; padding-top: 6px; }
.dropdown .all a { grid-template-columns: 1fr; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--hairline-2); background: var(--white);
  border-radius: var(--radius); cursor: pointer; place-items: center; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 96px); overflow: hidden; }
.hero .split { align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lead { margin-bottom: 30px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); }
.hero-media .caption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(251,248,243,.94); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 10px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.hero-media .caption i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); display:inline-block; }
.hero-tagline {
  display: block; margin-top: 34px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--slate);
  padding-top: 18px; border-top: 1px solid var(--hairline);
}
.hero-tagline b { color: var(--navy); font-weight: 500; }

/* Counties strip */
.strip {
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: var(--white);
}
.strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.strip .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.strip li { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 17px; display: inline-flex; align-items: center; gap: 10px; }
.strip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- Section headers ---------- */
.section-head { margin-bottom: clamp(32px, 4vw, 56px); display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.section-head > :not(.aside) { grid-column: 1; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head p { margin: 0; color: var(--slate); max-width: 52ch; }
.section-head .aside { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.section--dark .section-head p { color: #c9d3e6; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ---------- Ride-type cards ---------- */
.ride-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.ride-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; color: var(--ink); min-height: 320px;
  transition: transform .22s var(--ease), border-color .22s var(--ease);
  position: relative;
}
.ride-card:hover { transform: translateY(-3px); border-color: rgba(11,36,80,.18); }
.ride-card .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--navy-soft); display:flex; justify-content: space-between; align-items:center; }
.ride-card .icon { width: 52px; height: 52px; border-radius: var(--radius); background: rgba(255,255,255,.75); display: grid; place-items: center; color: var(--navy); }
.ride-card .icon svg { width: 28px; height: 28px; }
.ride-card h3 { margin: 4px 0 0; font-size: 24px; }
.ride-card .quote { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.ride-card .desc { color: var(--slate); font-size: 16px; margin: 0; flex: 1; }
.ride-card .go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 16px; }
.ride-card .go svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.ride-card:hover .go svg { transform: translateX(4px); }
.ride-card--coral { background: var(--tint-coral); }
.ride-card--teal  { background: var(--tint-teal); }
.ride-card--sky   { background: var(--tint-sky); }
.ride-card--sand  { background: var(--tint-sand); }

/* ---------- Feature list (why) ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.feature { padding: 34px 30px; border-right: 1px solid rgba(255,255,255,.12); }
.feature:last-child { border-right: 0; }
.feature .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: #9fd3dd; margin-bottom: 20px; display:flex; align-items:center; gap: 10px; }
.feature .k::before { content:""; width: 18px; height: 2px; background: var(--coral); }
.feature h3 { color: var(--white); font-size: 24px; margin-bottom: 10px; }
.feature p { margin: 0; color: #c2cde0; font-size: 16.5px; }

/* light variant (about page values) */
.values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.value { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px 28px; }
.value .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--teal-deep); margin-bottom: 18px; display:flex; align-items:center; gap: 10px; }
.value .k::before { content:""; width: 18px; height: 2px; background: var(--coral); }
.value h3 { font-size: 22px; margin-bottom: 8px; }
.value p { margin: 0; color: var(--slate); font-size: 16.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; position: relative; }
.step .n { font-family: var(--font-display); font-weight: 500; font-size: 44px; letter-spacing: -0.04em; color: var(--coral); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--slate); font-size: 16.5px; }

/* ---------- Media block ---------- */
.media { border-radius: var(--radius); overflow: hidden; position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }
.media--tall img { aspect-ratio: 4/3.4; }
.media .stamp {
  position: absolute; left: 16px; top: 16px; background: var(--navy); color: var(--white);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 10px; border-radius: var(--radius);
}

/* ---------- Definition / checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--ink); }
.checklist li svg { width: 26px; height: 26px; color: var(--teal); margin-top: 1px; }
.checklist li strong { display: block; font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 18px; }
.checklist li span { color: var(--slate); font-size: 16.5px; }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--hairline);
  background: var(--white); display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
  font-size: 15.5px; color: var(--slate);
}
.callout svg { width: 22px; height: 22px; color: var(--coral); margin-top: 2px; }
.callout strong { color: var(--navy); }
.callout--tint { background: var(--tint-sand); border-color: #ead9bd; }
.callout--teal { background: var(--tint-teal); border-color: #bfdfe6; }
.callout--teal svg { color: var(--teal-deep); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--hairline); }
.page-hero .split { align-items: stretch; }
.page-hero .split > :first-child { align-self: center; }
.page-hero .media img { height: 100%; aspect-ratio: auto; min-height: 380px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .crumbs { display: flex; margin-bottom: 26px; }
.page-hero--simple { border-bottom: 0; padding-bottom: clamp(24px, 3vw, 40px); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--tint-coral); border-top: 1px solid #f3cbbd; border-bottom: 1px solid #f3cbbd; }
.cta-band .inner { display: grid; grid-template-columns: minmax(0,1.3fr) auto; align-items: center; gap: 32px; padding-block: clamp(48px, 6vw, 80px); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin: 0; color: var(--slate); max-width: 56ch; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .sub { margin-top: 18px; font-size: 15.5px; }
.cta-band .sub a { color: var(--navy); font-weight: 500; }

/* ---------- Forms ---------- */
.form-shell { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px); }
fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
fieldset:last-of-type { margin-bottom: 0; }
legend { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--navy); letter-spacing: -0.015em; padding: 0; margin-bottom: 6px; }
.legend-hint { color: var(--slate); font-size: 15.5px; margin-bottom: 20px; }
.legend-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--teal-deep); margin-right: 10px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field .lbl { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--navy); }
.field .hint { font-size: 14.5px; color: var(--muted); margin: -2px 0 0; }
.field .req { color: var(--coral-deep); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 20px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="datetime-local"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hairline-2); border-radius: var(--radius);
  padding: 13px 14px; transition: border-color .15s, background .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b2450' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(14,138,159,.16); }
input::placeholder, textarea::placeholder { color: #a3aab8; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: var(--radius);
  border: 1px solid var(--hairline-2); background: var(--paper); font-family: var(--font-display); font-weight: 500; font-size: 15.5px; color: var(--navy);
  transition: all .15s var(--ease);
}
.choice span::before { content:""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--hairline-2); background: var(--white); transition: all .15s; }
.choice input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.choice input:checked + span::before { border-color: var(--white); background: var(--coral); box-shadow: inset 0 0 0 2px var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.choice--check span::before { border-radius: 3px; }

.form-privacy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.form-privacy p { margin: 0; font-size: 14.5px; color: var(--muted); }
.form-privacy a { color: var(--navy); font-weight: 500; }
.conditional { display: none; }
.conditional.is-visible { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.form-success { display: none; padding: clamp(28px, 4vw, 48px); text-align: center; }
.form-success.is-visible { display: block; animation: fade .35s var(--ease); }
.form-success .mark { width: 64px; height: 64px; border-radius: 50%; background: var(--tint-teal); color: var(--teal-deep); display: grid; place-items: center; margin: 0 auto 22px; }
.form-success .mark svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 28px; }
.form-success p { color: var(--slate); max-width: 52ch; margin-inline: auto; }
.form-success .btn-row { justify-content: center; margin-top: 24px; }

/* Sidebar (forms pages) */
.side-card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; }
.side-card + .side-card { margin-top: 16px; }
.side-card h3 { font-size: 20px; margin-bottom: 10px; }
.side-card p { font-size: 15.5px; color: var(--slate); margin-bottom: 12px; }
.side-card p:last-child { margin-bottom: 0; }
.side-card .big { font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.side-card .big svg { width: 22px; height: 22px; color: var(--coral); }
.side-card--navy { background: var(--navy); border-color: var(--navy); color: #d9e2f2; }
.side-card--navy h3 { color: var(--white); }
.side-card--navy p { color: #c2cde0; }
.side-card--navy .big { color: var(--white); }
.side-card ol { margin: 0; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.side-card ol li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 15.5px; color: var(--slate); counter-increment: s; }
.side-card ol li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--coral); padding-top: 4px; letter-spacing: .06em; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-layout > aside { position: sticky; top: calc(var(--nav-h) + 24px); }

/* Contact details list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--white); }
.contact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list .v { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 19px; letter-spacing: -0.01em; }
.contact-list .v a { color: var(--navy); text-decoration: none; }
.contact-list .v a:hover { color: var(--coral-deep); }
.contact-list .v small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--slate); margin-top: 3px; }

/* Partner audience grid */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 8px; }
.audience li { list-style: none; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px 18px; font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 17px; display: flex; align-items: center; gap: 12px; }
.audience li i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }

/* Quote / tagline block */
.tagline-block { text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.tagline-block p { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.025em; font-size: clamp(28px, 4vw, 48px); line-height: 1.15; color: var(--navy); margin: 0 auto; max-width: 22ch; }
.tagline-block p em { font-style: normal; color: var(--coral); }
.tagline-block .mono { color: var(--muted); margin-top: 18px; display: block; }

/* Stat / fact tiles */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.fact { border-radius: var(--radius); padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.fact .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-soft); }
.fact .v { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em; font-size: clamp(26px, 2.6vw, 34px); color: var(--navy); line-height: 1.05; margin-top: 18px; }
.fact .v small { display:block; font-family: var(--font-body); font-weight: 400; font-size: 14.5px; letter-spacing: 0; color: var(--slate); margin-top: 8px; line-height: 1.35; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: #c2cde0; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(48px, 6vw, 80px) 40px; }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 500; font-size: 32px; letter-spacing: -0.03em; color: var(--white); text-decoration: none; display: inline-block; margin-bottom: 12px; line-height: 1; }
.footer-brand .wordmark span { color: var(--coral); }
.footer-brand .sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #9fd3dd; margin-bottom: 20px; }
.footer-brand p { color: #a9b6cf; font-size: 16px; max-width: 34ch; }
.footer-brand .tagline { color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.footer-address { font-style: normal; margin-top: 4px; padding-left: 14px; border-left: 2px solid var(--coral); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; letter-spacing: .02em; }
.footer-address a { color: #c9d3e6; text-decoration: none; }
.footer-address a:hover { color: var(--white); }
.footer h4 { color: var(--white); font-size: 13px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #c9d3e6; text-decoration: none; font-size: 16px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-col .counties { display: grid; gap: 10px; }
.footer-col .counties li { display: flex; align-items: center; gap: 10px; color: #c9d3e6; font-size: 16px; }
.footer-col .counties li::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #8d9bb8; }
.footer-bottom a { color: #c9d3e6; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--coral); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(238,106,74,.35), 0 0 0 1px rgba(255,255,255,.35) inset;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.85);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .2s;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; animation: bob 2.6s ease-in-out .4s infinite; }
.to-top:hover { background: var(--navy); animation-play-state: paused; box-shadow: 0 12px 30px rgba(11,36,80,.35); }
.to-top:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Motion: load-in for heroes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .split > :first-child > *,
.page-hero .split > :first-child > *,
.page-hero--simple .container > * { animation: rise .9s var(--ease) both; }
.hero .split > :first-child > :nth-child(1), .page-hero .split > :first-child > :nth-child(1), .page-hero--simple .container > :nth-child(1) { animation-delay: .05s; }
.hero .split > :first-child > :nth-child(2), .page-hero .split > :first-child > :nth-child(2), .page-hero--simple .container > :nth-child(2) { animation-delay: .15s; }
.hero .split > :first-child > :nth-child(3), .page-hero .split > :first-child > :nth-child(3), .page-hero--simple .container > :nth-child(3) { animation-delay: .25s; }
.hero .split > :first-child > :nth-child(4), .page-hero .split > :first-child > :nth-child(4), .page-hero--simple .container > :nth-child(4) { animation-delay: .35s; }
.hero .split > :first-child > :nth-child(5), .page-hero .split > :first-child > :nth-child(5), .page-hero--simple .container > :nth-child(5) { animation-delay: .45s; }
.hero-media, .page-hero .media { animation: rise 1.1s var(--ease) .25s both; }
.hero-media img, .page-hero .media img { animation: settle 1.6s var(--ease) .25s both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.strip { animation: rise .9s var(--ease) .5s both; }

/* ---------- Motion: reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.reveal-media { transform: translateY(24px) scale(.98); }
.reveal-media img { transform: scale(1.07); transition: transform 1.4s var(--ease); }
.reveal-media.is-in img { transform: none; }
.reveal-line { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease), opacity .6s var(--ease); }
.reveal-line.is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-media img, .reveal-line { opacity: 1; transform: none; clip-path: none; transition: none; }
  .to-top.is-visible { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .topbar-links .topbar-address { display: none; }
}
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .nav-toggle { display: grid; }
  /* Anchored to the sticky header (its backdrop-filter would trap a fixed child), sized to the rest of the screen */
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
    background: var(--paper); border-top: 1px solid var(--hairline);
    padding: 20px var(--gutter) 40px; overflow-y: auto; display: none; z-index: 40;
  }
  .nav-menu.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 20px; padding: 16px 12px; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  .nav-link.is-current::after { display: none; }
  .nav-link.is-current { color: var(--coral-deep); }
  .dropdown { position: static; box-shadow: none; border: 0; background: transparent; min-width: 0; padding: 4px 0 8px 8px; display: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .dropdown.is-open { display: block; }
  .dropdown a { padding: 12px; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; font-size: 18px; padding: 16px; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .ride-cards, .features, .values, .steps, .audience, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .feature:last-child { border-bottom: 0; }
  .form-layout { grid-template-columns: 1fr; }
  .form-layout > aside { position: static; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .aside { grid-column: 1; grid-row: auto; justify-self: start; }
  .cta-band .inner { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .hero-media { order: -1; }
  .page-hero .hero-media, .page-hero .media { order: 0; }
  .page-hero .media img { height: auto; aspect-ratio: 3/2; min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .topbar-inner { flex-direction: column; align-items: center; gap: 0; padding-block: 8px 6px; }
  .topbar-tagline { font-size: 13px; white-space: normal; text-align: center; }
  .topbar-links .topbar-email { display: none; }
  .to-top { width: 48px; height: 48px; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { width: 100%; }
  .btn-row .btn-row { width: 100%; }
  .ride-card { min-height: 0; }
  .brand img { height: 38px; }
}
