/* Zakrs Car Ship
   Type: Bricolage Grotesque (display) + Manrope (text), self-hosted.
   Radius rule: buttons are pills, inputs 12px, cards 20px, large media 28px. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Arial tuned to each brand font's metrics, so text doesn't jump when the web font arrives. */
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 99.61%;
  ascent-override: 93.37%;
  descent-override: 27.11%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 103.19%;
  ascent-override: 103.3%;
  descent-override: 29.07%;
  line-gap-override: 0%;
}

:root {
  --navy: #0b1b3a;
  --navy-deep: #07152e;
  --blue: #1f56d6;
  --blue-hover: #1a48b4;
  --amber: #f0b23c;

  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --ink: #0b1b3a;
  --muted: #4b5872;
  --subtle: #5f6b84;
  --line: #e3e8f0;
  --field: #ffffff;
  --field-line: #cfd7e4;
  --placeholder: #6b7791;
  --link: #1f56d6;
  --tint: rgba(31, 86, 214, .08);
  --ok: #17804c;
  --err: #b4380b;
  --focus: #1f56d6;
  --mark: #0b1b3a;

  --night: #0b1b3a;
  --night-deep: #07152e;
  --on-night: #ffffff;
  --on-night-muted: #b8c3d9;
  --on-night-subtle: #8e9bb5;
  --night-line: rgba(255, 255, 255, .12);

  --shadow-card: 0 40px 80px -32px rgba(3, 10, 25, .6), 0 0 0 1px rgba(255, 255, 255, .06);
  --shadow-soft: 0 1px 2px rgba(11, 27, 58, .05), 0 12px 32px -20px rgba(11, 27, 58, .28);

  --r-in: 12px;
  --r-card: 20px;
  --r-media: 28px;

  --display: "Bricolage Grotesque", "Bricolage Fallback", system-ui, sans-serif;
  --text: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 24px);
  --section: clamp(72px, 10vw, 112px);
  --nav-h: 72px;

  color-scheme: light;
  interpolate-size: allow-keywords;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08111f;
    --bg-alt: #0c1729;
    --surface: #101d33;
    --ink: #e8edf7;
    --muted: #aab6cc;
    --subtle: #95a2ba;
    --line: #1e2c47;
    --field: #0b1628;
    --field-line: #2d3d5e;
    --placeholder: #8592ab;
    --link: #93b3ff;
    --tint: rgba(111, 155, 255, .12);
    --ok: #4fd08f;
    --err: #ff9d6b;
    --focus: #93b3ff;
    --mark: #1f56d6;

    --night: #0b1b3a;
    --night-deep: #050c18;
    --shadow-card: 0 40px 80px -32px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
    --shadow-soft: 0 0 0 1px rgba(255, 255, 255, .04);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #08111f;
    --bg-alt: #0c1729;
    --surface: #101d33;
    --ink: #e8edf7;
    --muted: #aab6cc;
    --subtle: #95a2ba;
    --line: #1e2c47;
    --field: #0b1628;
    --field-line: #2d3d5e;
    --placeholder: #8592ab;
    --link: #93b3ff;
    --tint: rgba(111, 155, 255, .12);
    --ok: #4fd08f;
    --err: #ff9d6b;
    --focus: #93b3ff;
    --mark: #1f56d6;

    --night: #0b1b3a;
    --night-deep: #050c18;
    --shadow-card: 0 40px 80px -32px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
    --shadow-soft: 0 0 0 1px rgba(255, 255, 255, .04);
    color-scheme: dark;
  }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}

.nowrap, a[href^="tel:"] { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-link {
  color: var(--link);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Type ---------- */

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 3.9vw, 50px);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.section-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-family: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 28px; }
.btn-grow { flex: 1; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(31, 86, 214, .9);
}
.btn-primary:hover { background: var(--blue-hover); }

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }

.btn-quiet {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--field-line);
}
.btn-quiet:hover { border-color: var(--muted); }

.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fbf7f;
  flex: none;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #3fbf7f;
  animation: ping 1.8s ease-out infinite;
}
.live-dot:not(.is-open) { display: none; }

/* ---------- Top bar + nav ---------- */

.topbar {
  background: var(--night-deep);
  color: var(--on-night-muted);
  font-size: 13px;
  font-weight: 600;
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar-group { display: flex; align-items: center; gap: 22px; }
.topbar-link { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; }
.topbar-link:hover { color: #fff; }
.topbar-phone { color: #fff; }
.topbar-meta { color: var(--on-night-subtle); }

.hours { display: inline-flex; align-items: center; gap: 8px; }
.hours-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--on-night-subtle); }
.hours.is-open { color: #d9f5e6; }
.hours.is-open .hours-dot { background: #3fbf7f; box-shadow: 0 0 0 3px rgba(63, 191, 127, .22); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--mark); }
.brand-mark { flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-sub {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--link);
  margin-top: 4px;
}

.nav-links { display: flex; gap: 6px; font-weight: 600; font-size: 15px; }
.nav-links a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--tint); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 30px 40px -30px rgba(11, 27, 58, .4);
}
.mobile-menu nav { display: grid; padding-block: 8px 20px; }
.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-weight: 700;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  filter: saturate(.8);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 27, 58, .97) 0%, rgba(11, 27, 58, .9) 38%, rgba(11, 27, 58, .62) 68%, rgba(11, 27, 58, .5) 100%),
    linear-gradient(0deg, rgba(11, 27, 58, .85) 0%, rgba(11, 27, 58, 0) 42%);
}
.hero-route {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-route-track {
  fill: none;
  stroke: rgba(143, 176, 255, .35);
  stroke-width: 1.5;
  stroke-dasharray: 6 9;
}
.hero-route-draw {
  fill: none;
  stroke: #7fa6ff;
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 3.2s .5s cubic-bezier(.45, 0, .2, 1) forwards;
}
.hero-route-dot { fill: var(--amber); }
.hero-route-halo { fill: rgba(240, 178, 60, .22); }
.hero-route-car { opacity: 0; animation: fade .6s 1.8s forwards; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 88px) clamp(64px, 8vw, 104px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #dfe6f3;
  animation: fade .8s .1s both;
}
.hero-badge-tag {
  background: var(--amber);
  color: var(--navy);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -.035em;
  margin: 26px 0 22px;
  text-wrap: balance;
}
.hero-title span {
  display: block;
  animation: rise .9s var(--ease) both;
}
.hero-title span:nth-child(1) { animation-delay: .15s; }
.hero-title span:nth-child(2) { animation-delay: .3s; }

.hero-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-night-muted);
  max-width: 34em;
  margin-bottom: 34px;
  animation: fade 1s .55s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fade 1s .7s both;
}

/* ---------- Quote card ---------- */

.quote { animation: rise 1s .35s var(--ease) both; }
.quote-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 24px;
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-card);
}

.quote-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
}
.quote-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -.02em;
}
.quote-step { font-size: 13px; font-weight: 700; color: var(--subtle); }

.qroute {
  --p: .12;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.qroute-pin { width: 20px; height: 20px; fill: var(--link); flex: none; }
.qroute-pin-end { fill: var(--subtle); transition: fill .4s; }
.qroute[data-done] .qroute-pin-end { fill: var(--link); }
.qroute-track {
  position: relative;
  flex: 1;
  height: 2px;
  background-image: linear-gradient(90deg, var(--field-line) 50%, transparent 0);
  background-size: 8px 2px;
}
.qroute-fill {
  position: absolute;
  inset: 0;
  background: var(--link);
  transform-origin: left;
  transform: scaleX(var(--p));
  transition: transform .6s var(--ease);
}
.qroute-car {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * 100%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(240, 178, 60, .25);
  transition: left .6s var(--ease);
}
.qroute-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--subtle);
}
.qroute-labels span:last-child { text-align: right; }

.qstep {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: 14px;
}
html.js .qstep:not(.is-current) { display: none; }
.qstep.is-current { animation: stepIn .45s var(--ease) both; }
.qstep.is-current.from-back { animation-name: stepBack; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-ymm { display: grid; grid-template-columns: 92px 1fr 1fr; gap: 12px; }

.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label, .field-label { font-size: 13px; font-weight: 700; color: var(--muted); }

.input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--field-line);
  border-radius: var(--r-in);
  background: var(--field);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--placeholder); font-weight: 500; opacity: 1; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 86, 214, .18); }
.input[aria-invalid="true"] { border-color: var(--err); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--err) 20%, transparent); }
select.input {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
input[type="date"].input { padding-right: 10px; }
input[type="date"].input::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) input[type="date"].input::-webkit-calendar-picker-indicator { filter: invert(1); }
}
:root[data-theme="dark"] input[type="date"].input::-webkit-calendar-picker-indicator { filter: invert(1); }

.hint {
  min-height: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--subtle);
}
.hint:empty { display: none; }
.hint.is-ok { color: var(--ok); }
.hint.is-error { color: var(--err); }

.choice {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1.5px solid var(--field-line);
  border-radius: 14px;
  background: var(--field);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-title { font-weight: 700; font-size: 14.5px; }
.choice-sub { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.choice:hover { border-color: var(--muted); }
.choice:has(input:checked) {
  border-color: var(--blue);
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  flex: none;
}
.check-sub { color: var(--muted); font-weight: 500; }

.summary {
  background: var(--bg-alt);
  border-radius: var(--r-in);
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.summary:empty { display: none; }
.summary strong { color: var(--ink); }

.consent { font-size: 12px; line-height: 1.5; color: var(--subtle); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-in);
  background: color-mix(in srgb, var(--err) 10%, transparent);
  color: var(--err);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.form-alert .icon { margin-top: 2px; }
.form-alert a { text-decoration: underline; text-underline-offset: 2px; }

.quote-actions { display: flex; gap: 10px; margin-top: 22px; }
.quote-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--subtle);
  text-align: center;
}

.quote-done {
  text-align: center;
  padding: 16px 6px 4px;
  animation: rise .6s var(--ease) both;
}
.quote-done:focus { outline: none; }
.done-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.done-icon .icon { width: 30px; height: 30px; }
.done-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.done-text { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; text-wrap: pretty; }
.done-text strong { color: var(--ink); }

.quote-sent {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-in);
  background: var(--tint);
  font-weight: 700;
  font-size: 14px;
}
.quote-sent:target { display: block; }

/* ---------- Lanes marquee ---------- */

.lanes {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  font-weight: 700;
  font-size: 14px;
}
.lanes-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.lanes:hover .lanes-track { animation-play-state: paused; }
.lanes-list { display: flex; gap: 56px; padding: 15px 28px; white-space: nowrap; }
.lanes-list span[aria-hidden], .lanes-list span:not(.sr-only) { color: #b9cdff; margin-inline: 4px; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-head { display: grid; gap: 16px; max-width: 680px; }

/* How it works: a route with four stops */
.how { background: var(--bg); }
.steps {
  --line-p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 22px;
  right: calc(25% - 46px);
  top: 21px;
  height: 2px;
}
.steps::before {
  background-image: linear-gradient(90deg, var(--field-line) 50%, transparent 0);
  background-size: 10px 2px;
}
.steps::after {
  background: var(--blue);
  transform-origin: left;
  transform: scaleX(var(--line-p));
  transition: transform 1.8s cubic-bezier(.45, 0, .2, 1);
}
.steps.is-in { --line-p: 1; }
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--field-line);
  color: var(--link);
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  transition: background-color .4s, border-color .4s, color .4s;
}
.steps.is-in .step-node { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps.is-in .step:nth-child(2) .step-node { transition-delay: .5s; }
.steps.is-in .step:nth-child(3) .step-node { transition-delay: 1s; }
.steps.is-in .step:nth-child(4) .step-node { transition-delay: 1.5s; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 32ch; }
html:not(.js) .steps { --line-p: 1; }

/* Stats */
.stats {
  background: var(--night);
  color: var(--on-night);
  padding-block: clamp(56px, 7vw, 80px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.stat { border-left: 1px solid var(--night-line); padding-left: 24px; }
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 10px; color: var(--on-night-subtle); font-weight: 600; }

/* Services bento */
.services { background: var(--bg-alt); }
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "open open enclosed"
    "exp  moto enclosed"
    "rv   cta  cta";
  gap: 20px;
  margin-top: 56px;
}
.svc {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.svc-open { grid-area: open; flex-direction: row; }
.svc-enclosed { grid-area: enclosed; }
.svc-expedited { grid-area: exp; }
.svc-moto { grid-area: moto; }
.svc-rv { grid-area: rv; }
.svc-cta { grid-area: cta; }

.svc-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--line); }
.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.svc:hover .svc-media img { transform: scale(1.04); }
.svc-open .svc-media { aspect-ratio: auto; flex: 1.15; min-height: 300px; }
.svc-enclosed .svc-media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.svc-enclosed .svc-media img { object-position: 50% 70%; }

.svc-body { display: grid; gap: 8px; align-content: start; padding: 22px 24px 26px; }
.svc-open .svc-body { flex: 1; align-content: center; padding: 32px; gap: 10px; }
.svc-open .h3 { font-size: 26px; }
.svc-body p:not(.tag) { color: var(--muted); font-size: 15px; line-height: 1.6; }
.tag {
  justify-self: start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--link);
  font-size: 12.5px;
  font-weight: 800;
}

.svc-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 10px 32px;
  padding: 36px 40px;
  background: var(--night);
  color: var(--on-night);
  box-shadow: none;
}
.svc-cta::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 86, 214, .55), transparent 70%);
  pointer-events: none;
}
.svc-cta-title {
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.svc-cta p { position: relative; grid-column: 1; color: var(--on-night-muted); max-width: 44ch; }
.svc-cta .btn { position: relative; grid-column: 2; grid-row: 1 / span 2; }

/* About */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  object-fit: cover;
  border-radius: var(--r-media);
}
.cred {
  position: absolute;
  left: -18px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(11, 27, 58, .45), 0 0 0 1px var(--line);
}
.cred-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ok) 14%, transparent);
  color: var(--ok);
}
.cred-icon .icon { width: 24px; height: 24px; }
.cred-title { display: block; font-weight: 800; font-size: 15px; }
.cred-sub { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }

.about-copy { display: grid; gap: 20px; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin-top: 16px;
}
.fact { border-top: 1px solid var(--line); padding-top: 18px; }
.fact dt { font-weight: 700; }
.fact-num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--link);
}
.fact dd { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Testimonials */
.voices { background: var(--bg-alt); }
.quotes {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 56px;
}
.q {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 30px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.q blockquote { flex: 1; }
.q blockquote p { font-size: 17px; line-height: 1.6; font-weight: 500; text-wrap: pretty; }
.q-feature {
  grid-row: 1 / span 2;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 44px);
  background: var(--night);
  color: var(--on-night);
  box-shadow: none;
}
.q-feature blockquote { display: flex; align-items: center; }
.q-feature blockquote p {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.22;
  letter-spacing: -.02em;
}
.stars { display: flex; gap: 3px; color: var(--amber); }
.stars .icon { width: 17px; height: 17px; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.avatar-initials {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.who-name { display: block; font-weight: 800; font-size: 15px; }
.who-role { display: block; font-size: 13.5px; color: var(--muted); }
.q-feature .who-role { color: var(--on-night-muted); }

/* FAQ */
.faq { background: var(--bg); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-intro { display: grid; gap: 18px; position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color .3s;
}
.faq-list details:hover, .faq-list details[open] { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 18px 22px;
  min-height: 60px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline-offset: -3px; border-radius: 18px; }
.faq-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
  background: var(--bg-alt);
  color: var(--ink);
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.faq-icon .icon { width: 16px; height: 16px; }
details[open] .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a p { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 62ch; }
.faq-list details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .35s var(--ease), content-visibility .35s allow-discrete;
}
.faq-list details[open]::details-content { block-size: auto; }

/* Contact */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section);
  background: var(--night);
  color: var(--on-night);
  --focus: #9fbaff;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
}
.contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -260px;
  width: 760px;
  height: 760px;
  margin-left: -380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 86, 214, .42), transparent 65%);
}
.contact-head { display: grid; justify-items: center; gap: 18px; text-align: center; max-width: 720px; margin: 0 auto; }
.contact .h2 { font-size: clamp(36px, 4.8vw, 60px); }
.contact .section-lede { color: var(--on-night-muted); font-size: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

.contact-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--night-line);
}
.contact-info li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 6px 12px;
  padding: 28px 24px 4px;
  border-left: 1px solid var(--night-line);
}
.contact-info li:first-child { border-left: 0; padding-left: 0; }
.contact-info .icon { grid-row: span 2; width: 22px; height: 22px; margin-top: 1px; color: #7fa6ff; }
.ci-label { font-size: 13px; font-weight: 700; color: var(--on-night-subtle); }
.ci-value { font-weight: 700; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
a.ci-value:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer {
  background: var(--night-deep);
  color: var(--on-night-muted);
  padding: 56px 0 28px;
  --focus: #9fbaff;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.brand-on-dark .brand-name { color: #fff; }
.brand-on-dark .brand-sub { color: #7fa6ff; }
.footer-brand p { margin-top: 18px; max-width: 30ch; font-size: 14px; line-height: 1.65; color: var(--on-night-subtle); }
.footer-col { display: grid; align-content: start; gap: 4px; font-size: 14px; }
.footer-h { margin-bottom: 10px; color: #fff; font-size: 14px; font-weight: 800; }
.footer-col a { padding-block: 5px; }
.footer-col a:hover { color: #fff; }
.footer-cred { display: flex; align-items: center; gap: 10px; padding-block: 5px; }
.footer-cred .icon { color: #3fbf7f; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 24px;
  background: linear-gradient(var(--night-line), var(--night-line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: 13px;
  color: var(--on-night-subtle);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }

/* Mobile action bar */
.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.actionbar.is-visible { transform: none; }

/* ---------- Motion ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .lanes-track { animation: none !important; }
  .lanes-list[aria-hidden] { display: none; }
  .lanes-list { flex-wrap: wrap; row-gap: 6px; white-space: normal; }
  .live-dot::after { display: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (min-width: 1025px) {
  .only-stacked { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 680px; }
  .quote { max-width: 560px; width: 100%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(11, 27, 58, .9) 0%, rgba(11, 27, 58, .8) 45%, rgba(11, 27, 58, .94) 100%);
  }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before, .steps::after { display: none; }
  .steps.is-in .step-node { transition-delay: 0s !important; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "open open"
      "enclosed exp"
      "enclosed moto"
      "rv rv"
      "cta cta";
  }
  .svc-rv { flex-direction: row; }
  .svc-rv .svc-media { aspect-ratio: auto; flex: 1; min-height: 240px; }
  .svc-rv .svc-body { flex: 1; align-content: center; }

  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 560px; }
  .about-media img { aspect-ratio: 5 / 4; }
  .cred { left: 16px; bottom: 16px; }

  .quotes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .q-feature { grid-row: auto; grid-column: 1 / -1; }

  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq-intro { position: static; }

  .contact-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-info li:nth-child(3) { border-left: 0; padding-left: 0; }
  .contact-info li:nth-child(n + 3) { border-top: 1px solid var(--night-line); margin-top: 24px; }

  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .topbar-hide-sm { display: none; }
  .topbar-row { min-height: 36px; }
  .topbar-link { min-height: 36px; }
  :root { --nav-h: 64px; }
  .nav-cta { display: none; }

  .hero-grid { padding-block: 40px 56px; gap: 36px; }
  .hero-title { margin: 22px 0 18px; }
  .hero-lede { font-size: 17px; margin-bottom: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .grid-ymm { grid-template-columns: 84px minmax(0, 1fr); }
  .grid-ymm .field:last-child { grid-column: 1 / -1; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 32px; margin-top: 44px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; }
  .step-node { grid-row: span 2; margin: 0; }
  .step .h3 { align-self: center; }

  .stat { padding-left: 16px; }

  .bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "open" "enclosed" "exp" "moto" "rv" "cta";
    margin-top: 40px;
  }
  .svc-open, .svc-rv { flex-direction: column; }
  .svc-open .svc-media, .svc-rv .svc-media { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
  .svc-enclosed .svc-media { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
  .svc-open .svc-body { padding: 22px 24px 26px; }
  .svc-open .h3 { font-size: 22px; }
  .svc-cta { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
  .svc-cta .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }

  .facts { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .quotes { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }

  .contact-info { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .contact-info > li:nth-child(n) {
    border-left: 0;
    border-top: 0;
    margin-top: 0;
    padding: 20px 0;
  }
  .contact-info > li:nth-child(n + 2) { border-top: 1px solid var(--night-line); }
  .contact-info > li:last-child { padding-bottom: 0; }
  .contact-actions .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .actionbar { display: grid; }
}

@media (max-width: 400px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .choice-group { grid-template-columns: minmax(0, 1fr); }
  .hero-badge { font-size: 12px; }
}
