/* =========================================================
   Affluence Logistics — site stylesheet
   Palette: Mojave night + sodium-lamp amber
   Type: Archivo (variable width) — expanded for display,
         normal width for reading
   ========================================================= */

:root {
  --night: #141833;
  --night-2: #1C2145;
  --dusk: #2B2557;
  --amber: #F4A83A;
  --amber-deep: #D9861A;
  --lilac: #A79BE8;
  --concrete: #E6E8EE;
  --paper: #F6F7FA;
  --ink: #1A1C2B;
  --ink-soft: #4A4E66;
  --line: #CDD1DC;
  --on-dark: #EEF0F7;
  --on-dark-soft: #A9AEC8;

  --display: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Archivo", "Inter", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.2vw, 4rem);
  --step-5: clamp(2.75rem, 1.2rem + 5.6vw, 6.25rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 1240px;
  --radius: 6px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.04; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.wide { font-stretch: 112%; font-variation-settings: "wdth" 112; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 62ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.on-dark .lede, .lede.on-dark { color: var(--on-dark-soft); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--amber); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em;
  font: 700 var(--step--1)/1 var(--body);
  font-stretch: 112%; font-variation-settings: "wdth" 112;
  letter-spacing: .02em;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #FFBB55; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--dusk); }
.btn:active { transform: translateY(1px); }

/* The lane line: a dashed amber rule that marks flow from one thing to the next */
.lane {
  height: 4px; border: 0; margin: 0;
  background: repeating-linear-gradient(90deg, var(--amber) 0 28px, transparent 28px 48px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 24, 51, .86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(167,155,232,.18);
}
.site-header .wrap { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b {
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
}
.brand-name small { font-size: .72rem; color: var(--on-dark-soft); letter-spacing: .06em; margin-top: .25rem; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav a:not(.btn) {
  text-decoration: none; font-size: .95rem; color: var(--on-dark-soft); padding: .4rem 0;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:not(.btn):hover { color: var(--on-dark); }
.nav a[aria-current="page"] { color: var(--on-dark); border-bottom-color: var(--amber); }
.nav .btn { padding: .75em 1.2em; }

.menu-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.25);
  color: var(--on-dark); border-radius: var(--radius); width: 46px; height: 42px; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative;
  transition: transform .25s, background-color .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); padding: 1rem var(--gutter) 2rem; border-bottom: 1px solid rgba(167,155,232,.2);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.08); color: var(--amber); }
  .nav .btn { margin-top: 1.25rem; justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-soft); padding: 5rem 0 2rem; overflow: hidden; border-top: 1px solid rgba(167,155,232,.16); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.site-footer h2 { font-size: var(--step--1); color: var(--on-dark); margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-cred dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; }
.footer-cred dt { color: var(--on-dark-soft); }
.footer-cred dd { margin: 0; color: var(--on-dark); font-weight: 600; }
.footer-word {
  margin-top: 4rem; font-family: var(--display); font-weight: 900; line-height: .85;
  font-size: clamp(3rem, 12.5vw, 11rem); letter-spacing: -0.03em; white-space: nowrap;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  color: transparent; -webkit-text-stroke: 1px rgba(167,155,232,.35);
}
.footer-base { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--step--1); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ---------- Shared bits ---------- */
.section { padding: clamp(4.5rem, 3rem + 6vw, 8.5rem) 0; }
.section-dark { background: var(--night); color: var(--on-dark); }
.section-concrete { background: var(--concrete); }
.h2 { font-size: var(--step-4); }
.h3 { font-size: var(--step-2); font-weight: 700; }
.kicker { font-size: var(--step--1); font-weight: 600; color: var(--amber-deep); margin-bottom: 1rem; display: block; }
.section-dark .kicker, .on-dark .kicker { color: var(--amber); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Forms (shared controls) ---------- */
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-size: var(--step--1); font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--dusk); box-shadow: 0 0 0 3px rgba(244,168,58,.45); }
.field .hint { font-size: .85rem; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form-status { min-height: 1.5em; font-weight: 600; margin-top: 1rem; }
.form-status.is-error { color: #B3261E; }
.form-status.is-ok { color: #1D6B48; }
.dark-form .field input, .dark-form .field select, .dark-form .field textarea {
  background: rgba(255,255,255,.05); border-color: rgba(167,155,232,.35); color: var(--on-dark);
}
.dark-form .field select option { color: var(--ink); }
.dark-form .field .hint { color: var(--on-dark-soft); }
.dark-form .form-status.is-error { color: #FF9C8F; }
.dark-form .form-status.is-ok { color: #8FE3B7; }

/* =========================================================
   HOME
   ========================================================= */
.home-hero {
  position: relative; min-height: calc(100svh - var(--header-h)); min-height: calc(100vh - var(--header-h));
  display: grid; align-items: end; color: var(--on-dark); background: var(--night); overflow: hidden;
  isolation: isolate;
}
@supports (height: 100svh) { .home-hero { min-height: calc(100svh - var(--header-h)); } }
.home-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,24,51,.0) 30%, rgba(20,24,51,.55) 70%, rgba(20,24,51,.92) 100%),
              linear-gradient(90deg, rgba(20,24,51,.65) 0%, rgba(20,24,51,0) 60%);
}
.home-hero .wrap { padding-bottom: clamp(2rem, 5vh, 4rem); padding-top: 6rem; }
.home-hero h1 { font-size: var(--step-5); max-width: 13ch; }
.home-hero h1 .line { display: block; overflow: hidden; }
.home-hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s cubic-bezier(.2,.75,.15,1) forwards; }
.home-hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.home-hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.home-hero .hero-copy { opacity: 0; animation: fadein 1s .6s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .home-hero h1 .line > span, .home-hero .hero-copy { animation: none; transform: none; opacity: 1; }
}
.home-hero .lede { max-width: 46ch; margin: 1.75rem 0 2rem; color: #C9CDE3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-cred {
  margin-top: clamp(2.5rem, 7vh, 5rem); display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0;
  border-top: 1px solid rgba(167,155,232,.25);
}
.hero-cred div { padding: 1.1rem 2.5rem 0 0; margin-right: 2.5rem; border-right: 1px solid rgba(167,155,232,.18); }
.hero-cred div:last-child { border-right: 0; }
.hero-cred dt { font-size: .8rem; color: var(--on-dark-soft); }
.hero-cred dd { margin: .2rem 0 0; font-weight: 700; font-size: 1.05rem; color: var(--on-dark); }
@media (max-width: 760px) {
  .hero-cred { grid-template-columns: 1fr 1fr; }
  .hero-cred div { margin-right: 0; padding-right: 1rem; border-right: 0; }
}

/* Freight rows */
.freight-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.freight-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.freight-list li { border-bottom: 1px solid var(--line); }
.freight-list a {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 56px; gap: 2rem; align-items: center;
  padding: 2.25rem 0; text-decoration: none; position: relative;
}
.freight-list .name { font-size: clamp(2rem, 1rem + 4vw, 4.5rem); line-height: .95; transition: color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.freight-list .desc { color: var(--ink-soft); max-width: 40ch; }
.freight-list .go {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center;
  transition: background-color .3s, border-color .3s, transform .3s;
}
.freight-list a:hover .name, .freight-list a:focus-visible .name { color: var(--dusk); transform: translateX(12px); }
.freight-list a:hover .go { background: var(--amber); border-color: var(--amber); transform: rotate(-45deg); }
@media (max-width: 760px) {
  .freight-list a { grid-template-columns: 1fr 44px; gap: .75rem 1rem; }
  .freight-list .desc { grid-column: 1; }
  .freight-list .go { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; }
}

/* Why us — staggered split */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 6rem); }
.why-intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.why-intro .h2 { margin-bottom: 1.5rem; }
.why-points { display: grid; gap: 0; }
.why-point { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; padding: 2.25rem 0; border-top: 1px solid rgba(167,155,232,.22); }
.why-point:first-child { border-top: 0; padding-top: 0; }
.why-point svg { width: 48px; height: 48px; color: var(--amber); }
.why-point h3 { font-size: var(--step-2); margin-bottom: .6rem; font-weight: 700; }
.why-point p { color: var(--on-dark-soft); max-width: 52ch; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .why-intro { position: static; } }

/* How a load moves — a road with stops */
.route-head { max-width: 40ch; margin-bottom: 4rem; }
.route { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; counter-reset: stop; }
.route::before {
  content: ""; position: absolute; top: 23px; left: 24px; right: calc((100% - 6rem) / 5 - 25px); height: 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 22px, transparent 22px 38px);
}
.route li { position: relative; counter-increment: stop; }
.route .stop {
  width: 50px; height: 50px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink);
  display: grid; place-items: center; font-weight: 800; position: relative; z-index: 1; margin-bottom: 1.5rem;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
}
.route li:last-child .stop { background: var(--amber); border-color: var(--amber); }
.route h3 { font-size: var(--step-1); font-weight: 700; margin-bottom: .5rem; }
.route p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 4px; height: auto;
    background: repeating-linear-gradient(180deg, var(--ink) 0 22px, transparent 22px 38px); }
  .route li { display: grid; grid-template-columns: 50px 1fr; gap: 1.25rem; padding-bottom: 2rem; }
  .route .stop { margin: 0; }
}

/* Closing band */
.load-band { background: var(--amber); color: var(--ink); padding: clamp(3.5rem, 6vw, 6rem) 0; position: relative; overflow: hidden; }
.load-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; }
.load-band h2 { font-size: var(--step-5); }
.load-band .phone-big { display: block; font-size: var(--step-3); font-weight: 800; text-decoration: none; margin-bottom: 1.25rem; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.load-band .phone-big:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 800px) { .load-band .wrap { grid-template-columns: 1fr; } }

/* =========================================================
   SERVICES
   ========================================================= */
.svc-hero { background: var(--concrete); padding: clamp(3.5rem, 6vw, 6rem) 0 0; overflow: hidden; }
.svc-hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; }
.svc-hero h1 { font-size: var(--step-5); margin-bottom: 1.5rem; }
.cargo-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.cargo-tabs button {
  font: 600 .95rem var(--body); padding: .7rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s;
}
.cargo-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.cargo-tabs button:hover:not([aria-selected="true"]) { background: rgba(26,28,43,.07); }
.cargo-caption { margin-top: 1.25rem; min-height: 3.2em; color: var(--ink-soft); max-width: 44ch; }

/* CSS 3D trailer */
.stage { height: clamp(340px, 46vw, 560px); perspective: 1600px; perspective-origin: 50% 35%; display: grid; place-items: center; touch-action: pan-y; cursor: grab; }
.stage:active { cursor: grabbing; }
.rig { position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-18deg) rotateY(-32deg); transition: transform .1s linear; }
.trailer, .trailer * { transform-style: preserve-3d; }
.trailer { position: absolute; transform: translate3d(0, 0, 0); }
.face { position: absolute; backface-visibility: visible; }
.t-floor { background: #2E3254; }
.t-floor::after { content:""; position:absolute; inset:0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px); }
.t-wall { background: linear-gradient(180deg, #F6F7FA, #DADDE6); border: 2px solid #B9BDCB; }
.t-wall.side-near { background: rgba(246,247,250,.16); border: 2px solid rgba(26,28,43,.55);
  background-image: repeating-linear-gradient(90deg, rgba(26,28,43,.35) 0 2px, transparent 2px 46px); }
.t-roof { background: rgba(246,247,250,.08); border: 2px solid rgba(26,28,43,.4); }
.t-front { background: linear-gradient(180deg, #E9EBF1, #C9CDD9); border: 2px solid #B9BDCB; }
.t-brand { position: absolute; left: 4%; top: 7%; font-family: var(--display); font-weight: 900; font-size: 34px; color: var(--night); letter-spacing: .02em; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.t-brand small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); letter-spacing: .04em; margin-top: 6px; }
.t-stripe { position: absolute; left: 0; right: 0; bottom: 14%; height: 10px; background: var(--amber); }
.cargo-unit { position: absolute; transition: opacity .45s, transform .6s cubic-bezier(.2,.7,.2,1); }
.cargo-unit .face { border: 1px solid rgba(0,0,0,.18); }
.stage-shadow { position: absolute; width: 640px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,24,51,.35), transparent); transform: translate(-50%, -50%) rotateX(90deg); }

.svc-detail { padding: clamp(4rem, 8vw, 8rem) 0; border-top: 1px solid var(--line); }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 6rem); }
.svc-detail .title { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.svc-detail h2 { font-size: var(--step-4); margin-bottom: 1.25rem; }
.svc-detail .body { display: grid; gap: 2.5rem; }
.svc-detail h3 { font-size: var(--step-1); font-weight: 700; margin-bottom: .75rem; }
.svc-detail ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; color: var(--ink-soft); }
.svc-detail ul li::marker { color: var(--amber-deep); }
.svc-glyph { width: 120px; height: 120px; margin-bottom: 1.75rem; }
@media (max-width: 860px) {
  .svc-hero .wrap, .svc-detail .wrap { grid-template-columns: 1fr; }
  .svc-detail .title { position: static; }
}

.coverage { background: var(--night); color: var(--on-dark); }
.coverage .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.coverage .h2 { margin-bottom: 1.5rem; }
.corridors { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.corridors li { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid rgba(167,155,232,.2); }
.shield { width: 64px; height: 68px; }
.corridors b { display: block; color: var(--on-dark); font-size: 1.1rem; }
.corridors span { color: var(--on-dark-soft); font-size: .95rem; }
@media (max-width: 860px) { .coverage .wrap { grid-template-columns: 1fr; } }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.6rem 3rem 1.6rem 0; position: relative;
  font-size: var(--step-1); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 1.75rem; color: var(--ink-soft); max-width: 66ch; }

/* =========================================================
   SAFETY & COMPLIANCE
   ========================================================= */
.safety-hero { background: radial-gradient(120% 90% at 85% 10%, #3B2F74 0%, var(--dusk) 35%, var(--night) 75%); color: var(--on-dark); padding: clamp(4rem, 7vw, 7rem) 0; overflow: hidden; }
.safety-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.safety-hero h1 { font-size: var(--step-4); margin-bottom: 1.5rem; max-width: 16ch; }
.card-stage { perspective: 1200px; display: grid; place-items: center; padding: 2rem 0; }
.cred-card {
  width: min(460px, 100%); aspect-ratio: 1.586; border-radius: 18px; position: relative;
  transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-14deg); transition: transform .15s ease-out;
  will-change: transform;
}
.cred-face {
  position: absolute; inset: 0; border-radius: inherit; padding: 1.6rem 1.75rem; backface-visibility: hidden; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cred-front {
  background: linear-gradient(135deg, #F7F3EA 0%, #E9E3F7 60%, #D8D0F2 100%);
  color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.6);
}
.cred-front::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.65) 48%, transparent 62%);
  transform: translateX(var(--sheen, -30%)); mix-blend-mode: soft-light;
}
.cred-back { background: var(--amber); color: var(--ink); transform: rotateY(180deg); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); }
.cred-top { display: flex; justify-content: space-between; align-items: start; font-size: .78rem; font-weight: 600; }
.cred-top svg { width: 40px; height: 40px; }
.cred-num { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1rem + 2.4vw, 2.4rem); line-height: 1; letter-spacing: .02em; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.cred-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; }
.cred-row b { display: block; font-size: 1rem; }
.cred-flip { margin-top: 1rem; font: 600 .9rem var(--body); background: none; border: 0; color: var(--on-dark-soft); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cred-flip:hover { color: var(--on-dark); }
@media (max-width: 860px) { .safety-hero .wrap { grid-template-columns: 1fr; } }

.ledger { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.ledger caption { text-align: left; font-size: var(--step-3); font-weight: 800; padding-bottom: 1.5rem; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -.02em; }
.ledger th, .ledger td { text-align: left; padding: 1.05rem 1rem 1.05rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger th { font-weight: 500; color: var(--ink-soft); width: 34%; }
.ledger td { font-weight: 700; }
.ledger tr:first-child th, .ledger tr:first-child td { border-top: 2px solid var(--ink); }
.ledger-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.verify-box { background: var(--night); color: var(--on-dark); padding: 2.25rem; border-radius: 12px; position: sticky; top: calc(var(--header-h) + 2rem); }
.verify-box h2 { font-size: var(--step-2); font-weight: 700; margin-bottom: 1rem; }
.verify-box p { color: var(--on-dark-soft); }
.verify-box .btn { margin-top: 1rem; }
@media (max-width: 860px) { .ledger-wrap { grid-template-columns: 1fr; } .verify-box { position: static; } }

.packet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
.packet div { background: var(--paper); padding: 2rem 1.5rem; }
.packet svg { width: 36px; height: 36px; color: var(--dusk); margin-bottom: 1.25rem; }
.packet h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.packet p { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .packet { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .packet { grid-template-columns: 1fr; } }

.practice { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 5rem); margin-top: 3rem; }
.practice div { padding: 1.75rem 0; border-top: 1px solid rgba(167,155,232,.25); }
.practice h3 { font-size: var(--step-1); font-weight: 700; margin-bottom: .5rem; color: var(--on-dark); }
.practice p { color: var(--on-dark-soft); }
@media (max-width: 760px) { .practice { grid-template-columns: 1fr; } }

/* =========================================================
   ABOUT
   ========================================================= */
.about-hero { padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 5vw, 5rem); background: var(--paper); }
.about-hero h1 { font-size: var(--step-5); max-width: 15ch; }
.about-hero .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); margin-top: 3.5rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.about-hero .split p { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.about-hero .split p:first-child { color: var(--ink); }
@media (max-width: 760px) { .about-hero .split { grid-template-columns: 1fr; } }

.map-sec { background: var(--night); color: var(--on-dark); overflow: hidden; }
.map-sec .wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 4vw, 5rem); align-items: center; }
.map-sec .h2 { margin-bottom: 1.25rem; }
.west-map { width: 100%; height: auto; }
.west-map .state { fill: none; stroke: rgba(167,155,232,.32); stroke-width: 1.2; }
.west-map .road { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 9; }
.west-map .road.anim { animation: roll 2.2s linear infinite; }
@keyframes roll { to { stroke-dashoffset: -38; } }
@media (prefers-reduced-motion: reduce) { .west-map .road.anim { animation: none; } }
.west-map .city { fill: var(--on-dark); }
.west-map .home { fill: var(--amber); }
.west-map .pulse { fill: none; stroke: var(--amber); stroke-width: 2; transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .west-map .pulse { animation: none; opacity: .5; } }
.west-map text { fill: var(--on-dark-soft); font: 600 18px var(--body); }
.west-map text.home-label { fill: var(--on-dark); font-weight: 800; font-size: 22px; }
@media (max-width: 860px) { .map-sec .wrap { grid-template-columns: 1fr; } }

.principles { display: grid; gap: 0; }
.principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 6rem); padding: 3rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.principle:first-child { border-top: 2px solid var(--ink); }
.principle h3 { font-size: var(--step-3); }
.principle p { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 760px) { .principle { grid-template-columns: 1fr; } }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.person { display: flex; gap: 1.5rem; align-items: center; padding: 2rem; background: var(--paper); border-radius: 12px; }
.monogram { width: 88px; height: 88px; flex-shrink: 0; border-radius: 50%; background: var(--night); color: var(--amber); display: grid; place-items: center; font: 800 1.6rem var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; }
.person h3 { font-size: var(--step-2); font-weight: 700; margin-bottom: .25rem; }
.person p { color: var(--ink-soft); }
@media (max-width: 700px) { .people { grid-template-columns: 1fr; } }

/* =========================================================
   DRIVERS
   ========================================================= */
.drivers-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 78vh; }
.drivers-hero .left { background: var(--amber); color: var(--ink); padding: clamp(3rem, 7vw, 7rem) var(--gutter) clamp(3rem, 7vw, 7rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: flex-end; }
.drivers-hero h1 { font-size: var(--step-5); margin-bottom: 1.5rem; }
.drivers-hero .left p { font-size: var(--step-1); max-width: 34ch; }
.drivers-hero .right { background: var(--night); position: relative; overflow: hidden; }
.drivers-hero .right svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 860px) { .drivers-hero { grid-template-columns: 1fr; min-height: 0; } .drivers-hero .right { min-height: 300px; } }

.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 3rem; }
.expect h3 { font-size: var(--step-1); font-weight: 700; margin: 1rem 0 .5rem; }
.expect p { color: var(--ink-soft); }
.expect .bar { height: 6px; width: 48px; background: var(--amber); }
@media (max-width: 800px) { .expect { grid-template-columns: 1fr; } }

.reqs { columns: 2; column-gap: 3rem; padding: 0; list-style: none; margin: 2rem 0 0; }
.reqs li { break-inside: avoid; padding: 1rem 0 1rem 2.25rem; border-bottom: 1px solid rgba(167,155,232,.2); position: relative; color: var(--on-dark); }
.reqs li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 14px; height: 8px; border-left: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber); transform: rotate(-45deg); }
@media (max-width: 700px) { .reqs { columns: 1; } }

.apply { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 6rem); }
.apply form { display: grid; gap: 1.25rem; }
.checks { display: flex; flex-wrap: wrap; gap: .6rem; border: 0; padding: 0; margin: 0; }
.checks legend { margin-bottom: .6rem; }
.checks label { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .95rem; font-weight: 500; }
.checks input { accent-color: var(--dusk); width: 1rem; height: 1rem; }
.checks label:has(input:checked) { border-color: var(--dusk); background: rgba(43,37,87,.07); }
@media (max-width: 860px) { .apply { grid-template-columns: 1fr; } }

/* =========================================================
   QUOTE
   ========================================================= */
.quote-page { background: linear-gradient(180deg, var(--night) 0, var(--night) 340px, var(--concrete) 340px); min-height: 100vh; padding: clamp(3rem, 6vw, 5rem) 0 6rem; }
.quote-page .intro { color: var(--on-dark); max-width: 760px; margin-bottom: 2.5rem; }
.quote-page h1 { font-size: var(--step-4); margin-bottom: 1rem; }
.quote-shell { display: grid; grid-template-columns: 280px 1fr; background: #fff; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(20,24,51,.45); overflow: hidden; }
.q-steps { background: var(--paper); padding: 2.25rem 1.75rem; border-right: 1px solid var(--line); list-style: none; margin: 0; position: relative; }
.q-steps li { position: relative; padding: 0 0 2.25rem 3rem; color: var(--ink-soft); }
.q-steps li:last-child { padding-bottom: 0; }
.q-steps li::before {
  content: attr(data-n); position: absolute; left: 0; top: -4px; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: .9rem; background: var(--paper); z-index: 1;
}
.q-steps li::after { content: ""; position: absolute; left: 15px; top: 28px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px); }
.q-steps li:last-child::after { display: none; }
.q-steps li b { display: block; color: var(--ink); font-weight: 700; }
.q-steps li small { font-size: .85rem; }
.q-steps li.is-current::before { border-color: var(--amber); background: var(--amber); color: var(--ink); }
.q-steps li.is-done::before { content: "✓"; border-color: var(--dusk); background: var(--dusk); color: #fff; }
.q-steps li.is-done::after { background: var(--dusk); }
.q-body { padding: clamp(1.75rem, 4vw, 3rem); }
.q-panel { display: none; }
.q-panel.is-active { display: grid; gap: 1.4rem; animation: fadein .35s; }
.q-panel h2 { font-size: var(--step-2); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.q-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.freight-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; border: 0; padding: 0; margin: 0; }
.freight-pick legend { font-size: var(--step--1); font-weight: 600; margin-bottom: .6rem; }
.freight-pick label { border: 1.5px solid var(--line); border-radius: 10px; padding: 1.1rem; cursor: pointer; display: grid; gap: .6rem; font-weight: 700; transition: border-color .2s, background-color .2s; }
.freight-pick label small { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.freight-pick input { position: absolute; opacity: 0; pointer-events: none; }
.freight-pick label:has(input:checked) { border-color: var(--ink); background: rgba(244,168,58,.14); }
.freight-pick label:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.freight-pick svg { width: 34px; height: 34px; color: var(--dusk); }
.summary { background: var(--paper); border-radius: 10px; padding: 1.5rem; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) {
  .quote-shell { grid-template-columns: 1fr; }
  .q-steps { display: flex; justify-content: space-between; padding: 1.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .q-steps li { padding: 0; width: 32px; height: 32px; }
  .q-steps li b, .q-steps li small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .q-steps li::after { display: none; }
  .freight-pick { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-hero { background: var(--paper); padding: clamp(3.5rem, 7vw, 7rem) 0 3rem; }
.contact-hero h1 { font-size: var(--step-4); max-width: 18ch; margin-bottom: 3rem; }
.ways { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.way { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.way:nth-child(odd) { border-right: 1px solid var(--line); }
.way:nth-child(even) { padding-left: 2rem; }
.way span { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-bottom: .5rem; }
.way a, .way address { font-style: normal; text-decoration: none; font-size: var(--step-2); font-weight: 700; line-height: 1.3; word-break: break-word; }
.way a:hover { color: var(--dusk); text-decoration: underline; text-underline-offset: 5px; }
.way.big a { font-size: var(--step-4); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -.02em; }
@media (max-width: 760px) {
  .ways { grid-template-columns: 1fr; }
  .way, .way:nth-child(even) { padding: 1.5rem 0; border-right: 0; }
  .way:nth-child(odd) { border-right: 0; }
}
.contact-main { padding: 4rem 0 7rem; background: var(--concrete); }
.contact-main .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.map-frame { border-radius: 14px; overflow: hidden; min-height: 460px; background: var(--night); position: relative; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.msg-card { background: #fff; border-radius: 14px; padding: clamp(1.75rem, 3vw, 2.75rem); }
.msg-card h2 { font-size: var(--step-2); font-weight: 800; margin-bottom: 1.5rem; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.msg-card form { display: grid; gap: 1.2rem; }
@media (max-width: 900px) { .contact-main .wrap { grid-template-columns: 1fr; } .map-frame { min-height: 340px; } }

[hidden] { display: none !important; }
.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; }
