/* ADH Labs — visual system
   Brand: Poppins · #00FF79 electric green · #0080FF blue (from the official manual).
   Surfaces: black, white, concrete grey. Green is an accent, never a background wash,
   except the final call to action where the brand colour carries the whole section. */

:root {
  --black: #000;
  --white: #fff;
  --concrete: #e4e6e3;
  --graphite: #15171a;
  --steel: #8a9096;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(0, 0, 0, 0.14);
  --text-dim-dark: #a9afb4; /* on black: 8.9:1 */
  --text-dim-light: #4d5358; /* on white: 7.6:1, on concrete: 6.1:1 */
  --green: #00ff79;
  --blue: #0080ff;
  --danger: #c4002b;
  --focus: var(--blue);

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1520px;
  --nav-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

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

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

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  background: var(--green); color: var(--black); padding: 10px 16px; font-weight: 600;
  transform: translateY(-160%); transition: transform 0.2s;
}
.skip:focus { transform: none; }

.h2 {
  font-size: clamp(40px, 6.2vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}

/* ------------------------------------------------------------ buttons */

.btn {
  --arrow-x: 0px; --arrow-y: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 22px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn span[aria-hidden] { display: inline-block; transition: transform 0.35s var(--ease-out); }
.btn:hover span[aria-hidden] { transform: translate(3px, -3px); }
.btn[href^="#"]:hover span[aria-hidden] { transform: translateY(4px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn--xl { min-height: 76px; padding: 0 40px; font-size: clamp(18px, 1.6vw, 22px); }
.btn--accent { background: var(--green); color: var(--black); }
.btn--accent:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--white); color: var(--black); }

.link-cta {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px;
  font-weight: 600; font-size: 16px; color: inherit;
  border-bottom: 2px solid currentColor;
}
.link-cta span[aria-hidden] { transition: transform 0.35s var(--ease-out); }
.link-cta:hover span[aria-hidden] { transform: translate(3px, -3px); }

/* ------------------------------------------------------------ progress */

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--green); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ------------------------------------------------------------ nav */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
  padding-inline: var(--gutter);
  color: var(--white);
  transition: background-color 0.35s, height 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: var(--black); border-color: var(--line-dark); --nav-h: 64px; }
.nav__brand { display: block; margin-right: auto; padding: 8px 0; }
.nav .logo { height: 30px; width: auto; aspect-ratio: 397.8 / 90; color: var(--white); }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__toggle { display: none; width: 48px; height: 48px; margin-right: -12px; position: relative; }
.nav__toggle-lines, .nav__toggle-lines::before {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav__toggle-lines { top: 19px; }
.nav__toggle-lines::before { content: ''; left: 0; right: 0; top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines { top: 23px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines::before { top: 0; transform: rotate(-90deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--black);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
}
.menu[hidden] { display: none; }
.menu__list { counter-reset: m; }
.menu__list a {
  display: block; text-decoration: none; font-weight: 700; letter-spacing: -0.04em;
  font-size: clamp(40px, 12vw, 72px); line-height: 1.08; padding: 4px 0;
}
.menu__list a:active { color: var(--green); }
.menu__contact { color: var(--text-dim-dark); font-size: 15px; line-height: 2; }
.menu__contact a { text-decoration: none; }
.menu .btn { align-self: flex-start; }
.menu.is-open .menu__list li { animation: menuIn 0.6s var(--ease-out) both; }
.menu.is-open .menu__list li:nth-child(2) { animation-delay: 0.05s; }
.menu.is-open .menu__list li:nth-child(3) { animation-delay: 0.1s; }
.menu.is-open .menu__list li:nth-child(4) { animation-delay: 0.15s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(24px); } }

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: max(100svh, 680px);
  display: flex; flex-direction: column;
  background: var(--black);
  overflow: hidden;
}
.hero__grid {
  padding-top: calc(var(--nav-h) + clamp(28px, 7vh, 88px));
  display: grid; gap: clamp(24px, 4vh, 40px);
}
.hero__title {
  font-weight: 800;
  font-size: clamp(50px, min(9.4vw, 16.5vh), 176px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: block; }
.hero__title .line:nth-child(2) { padding-left: 0.9em; }
.hero__aside {
  display: grid; grid-template-columns: minmax(300px, 460px) auto; justify-content: space-between; align-items: end; gap: 24px 48px;
}
.hero__lead { color: var(--text-dim-dark); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stage {
  position: relative; flex: 1 1 auto;
  min-height: clamp(190px, 34vh, 460px);
  margin-top: clamp(8px, 2vh, 24px);
}
.hero__truck {
  position: absolute; bottom: 30px; right: 0; height: calc(100% - 30px);
  transform: translateX(var(--drive, 0px));
  will-change: transform;
}
.hero__truck img {
  height: 100%; width: auto; max-width: none;
  margin-right: -2vw;
  transform: translateX(var(--frame, 0%));
}
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; border-top: 1px solid #2a2d30; }
.road__lane {
  position: absolute; left: 0; right: 0; top: 18px; height: 3px;
  background: repeating-linear-gradient(90deg, #2b2e31 0 64px, transparent 64px 128px);
}
.road::before { /* route trace: the accent line the truck just travelled */
  content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, rgba(0, 255, 121, 0), var(--green) 40%);
  transform-origin: 0 50%; transform: scaleX(var(--trace, 1));
}

.hero__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 14px 18px; font-size: 13px; color: var(--text-dim-dark); letter-spacing: 0.01em;
}
.hero__route { display: inline-flex; align-items: center; gap: 10px; }
.hero__route .pin { width: 16px; height: auto; aspect-ratio: 83.6 / 90; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll::after {
  content: ''; width: 48px; height: 1px; background: currentColor; transform-origin: 0 50%;
  animation: scrollHint 2.4s var(--ease-out) infinite;
}
@keyframes scrollHint { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); opacity: 0; } }

/* load sequence */
.js-motion .hero__title .line > span { transform: translateY(105%); }
.js-motion .hero__aside, .js-motion .hero__foot { opacity: 0; }
.js-motion .hero__truck img { transform: translateX(calc(var(--frame, 0%) - 75vw)); }
.js-motion .road::before { --trace: 0; }
.is-loaded .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease-out); }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.09s; }
.is-loaded .hero__aside, .is-loaded .hero__foot { opacity: 1; transition: opacity 0.9s 0.7s; }
.is-loaded .hero__truck img { transform: translateX(var(--frame, 0%)); transition: transform 2.1s 0.15s var(--ease-out); }
.is-loaded .road::before { --trace: 1; transition: transform 2.1s 0.15s var(--ease-out); }

/* ------------------------------------------------------------ manifesto */

.manifesto { background: var(--white); color: var(--black); }
.manifesto__sticky { padding-block: clamp(80px, 14vh, 160px); overflow: hidden; }
.manifesto__title {
  font-weight: 800; letter-spacing: -0.06em; line-height: 0.88;
  font-size: clamp(64px, 15vw, 280px);
  padding-inline: var(--gutter);
}
.manifesto__title span { display: inline-block; }
.manifesto__lines { margin-top: clamp(40px, 7vh, 80px); display: grid; gap: 6px; }
.manifesto__lines li {
  font-size: clamp(24px, 3.4vw, 54px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12;
  transition: color 0.5s, transform 0.6s var(--ease-out);
}
.manifesto__lines li:nth-child(2) { padding-left: 1.4em; }
.manifesto__lines li:nth-child(3) { padding-left: 2.8em; }
.manifesto__close {
  margin-top: clamp(40px, 7vh, 80px); max-width: 40ch; margin-left: auto; margin-right: 0;
  font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; color: var(--text-dim-light);
  transition: opacity 0.6s;
}
.manifesto__close strong { display: block; color: var(--black); font-weight: 600; }

.js-scrolly .manifesto { height: 300vh; }
.js-scrolly .manifesto__sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.js-scrolly .manifesto__title { white-space: nowrap; }
.js-scrolly .manifesto__title span { transform: translateX(var(--mx, 0px)); will-change: transform; }
.js-scrolly .manifesto [data-step] { color: #c9cdd0; }
.js-scrolly .manifesto [data-step].is-on { color: var(--black); }
.js-scrolly .manifesto__close[data-step] { opacity: 0; }
.js-scrolly .manifesto__close[data-step].is-on { opacity: 1; color: var(--text-dim-light); }

/* ------------------------------------------------------------ solutions */

.solutions { background: var(--concrete); color: var(--black); padding-block: clamp(88px, 14vh, 168px) clamp(72px, 10vh, 120px); }
.solutions__head { display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 24px 64px; margin-bottom: clamp(40px, 6vh, 72px); }
.solutions__intro { color: var(--text-dim-light); font-size: 18px; }

.svc { counter-reset: none; }
.svc__item {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); column-gap: 48px;
  border-top: 1px solid var(--black);
  padding: clamp(18px, 2.4vh, 28px) 0;
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out), padding 0.45s var(--ease-out);
}
.svc__item:last-child { border-bottom: 1px solid var(--black); }
.svc__h { grid-column: 1; }
.svc__btn {
  display: block; width: 100%; text-align: left;
  font-size: clamp(34px, 5.4vw, 92px); font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  padding: 6px 0;
}
.svc__panel { grid-column: 1; max-width: 52ch; padding-top: 18px; display: grid; gap: 18px; justify-items: start; }
.svc__panel p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; }
.svc__map { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 100%; height: auto; }
.svc__map .route { fill: none; stroke: currentColor; stroke-width: 2; opacity: 0.22; stroke-dasharray: 6 8; }
.svc__map .route--heavy { stroke-width: 6; stroke-dasharray: none; }
.svc__map .nodes { fill: currentColor; opacity: 0.35; }
.svc__map .hub { fill: none; stroke: currentColor; stroke-width: 3; opacity: 0.35; }
.svc__map .cargo { fill: currentColor; opacity: 0; }

.svc__item.is-open {
  background: var(--black); color: var(--white);
  padding-inline: clamp(16px, 2.4vw, 36px);
  margin-inline: calc(-1 * clamp(16px, 2.4vw, 36px));
  border-color: var(--black);
}
.svc__item.is-open + .svc__item { border-top-color: var(--black); }
.svc__item.is-open .svc__panel p { color: #d6dadd; }
.svc__item.is-open .svc__map .route { stroke: var(--green); opacity: 1; stroke-dasharray: 6 8; animation: dash 1.4s linear infinite; }
.svc__item.is-open .svc__map .route--heavy { stroke-dasharray: none; animation: none; }
.svc__item.is-open .svc__map .nodes { fill: var(--white); opacity: 1; }
.svc__item.is-open .svc__map .hub { stroke: var(--green); opacity: 1; }
.svc__item.is-open .svc__map .cargo { fill: var(--green); opacity: 1; animation: haul 2.6s var(--ease-out) infinite; }
.svc__item.is-open .link-cta { color: var(--green); }
.svc__item .link-cta:focus-visible { --focus: var(--green); }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes haul { 0% { transform: translateX(0); } 80%, 100% { transform: translateX(176px); } }

/* ------------------------------------------------------------ fleet */

.fleet { background: var(--black); padding-block: clamp(88px, 14vh, 168px) clamp(64px, 10vh, 120px); }
.fleet__head { display: grid; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 24px 64px; margin-bottom: clamp(40px, 6vh, 72px); }
.fleet__intro { color: var(--text-dim-dark); font-size: 18px; }

.fleet__body {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: auto auto;
  column-gap: clamp(24px, 3vw, 56px);
}
.fleet__tabs { grid-row: 1 / span 2; display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.fleet__tab {
  position: relative; text-align: left; padding: 14px 0 14px 20px; min-height: 48px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-dim-dark); font-weight: 500; font-size: 16px; line-height: 1.3;
  transition: color 0.3s;
}
.fleet__tab::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  background: var(--line-dark); transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
.fleet__tab:hover { color: var(--white); }
.fleet__tab[aria-selected="true"] { color: var(--white); font-weight: 600; }
.fleet__tab[aria-selected="true"]::before { background: var(--green); transform: scale(1.25); }

.fleet__stage {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 7.2; width: 100%;
  background:
    radial-gradient(60% 70% at 50% 78%, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #0b0c0d 0%, var(--graphite) 72%, #0d0e10 72.2%, #070808 100%);
}
.fleet__spot {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(30% 40% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 70%);
}
.fleet__floor { position: absolute; left: 0; right: 0; top: 72%; height: 1px; background: rgba(255, 255, 255, 0.12); }
.fleet__vehicle {
  position: absolute; left: 4%; right: 4%; top: 10%; bottom: 28%;
  display: flex; align-items: flex-end; justify-content: center;
}
.fleet__vehicle img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  -webkit-box-reflect: below 0 linear-gradient(transparent 62%, rgba(255, 255, 255, 0.14));
}

.fleet__info {
  grid-column: 2; padding-top: 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 40px; align-items: start;
}
.fleet__name { font-size: clamp(28px, 3vw, 46px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.fleet__desc { grid-column: 1; color: #d0d4d7; font-size: 18px; max-width: 52ch; }
.fleet__uses { grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fleet__uses li { border: 1px solid var(--line-dark); padding: 5px 12px; font-size: 14px; color: var(--text-dim-dark); }
.fleet__info .link-cta { grid-column: 2; grid-row: 1 / span 2; align-self: end; color: var(--green); }
.fleet__info .link-cta:focus-visible { --focus: var(--green); }

.fleet__scale { margin-top: clamp(48px, 8vh, 96px); }
.fleet__scale-row { display: flex; align-items: flex-end; gap: 2.2%; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.fleet__scale-row img {
  flex-basis: 0; min-width: 0; height: auto; cursor: pointer;
  filter: brightness(0) invert(1); opacity: 0.18; transition: opacity 0.4s;
}
.fleet__scale-row img:hover { opacity: 0.45; }
.fleet__scale-row img.is-active { opacity: 1; }
.fleet__scale-note { margin-top: 12px; font-size: 13px; color: var(--text-dim-dark); }

/* ------------------------------------------------------------ process */

.process { background: var(--white); color: var(--black); padding-block: clamp(88px, 14vh, 168px); }
.process__title span { display: block; padding-left: 1.2em; }
.process__route { position: relative; margin-top: clamp(56px, 9vh, 104px); }
.process__track {
  position: relative; height: 26px; margin-bottom: 32px;
  background:
    linear-gradient(var(--black), var(--black)) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 24px) 0 1px / 100% 9px no-repeat;
}
.process__fill { position: absolute; left: 0; top: -2px; height: 5px; width: 100%; background: var(--black); transform-origin: 0 50%; transform: scaleX(var(--pp, 1)); }
.process__pin {
  position: absolute; top: -40px; left: 0; width: 34px; height: auto; aspect-ratio: 83.6 / 90;
  transform: translateX(calc(var(--pp, 1) * (var(--track-w, 0px)) - 50%));
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
}
.process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step__n { display: block; font-size: clamp(56px, 6vw, 104px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.step__t { margin-top: 18px; font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; letter-spacing: -0.03em; }
.step p { margin-top: 10px; color: var(--text-dim-light); max-width: 30ch; }
.js-motion .step { transition: opacity 0.5s; }
.js-motion .step:not(.is-on) .step__n { color: transparent; -webkit-text-stroke: 1.5px #9aa0a5; }
.js-motion .step .step__n { transition: color 0.5s; }

/* ------------------------------------------------------------ trust */

.trust { position: relative; background: var(--black); padding-block: clamp(96px, 16vh, 184px); overflow: hidden; isolation: isolate; }
.trust__contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.55; }
.trust__inner { position: relative; }
.trust__title { max-width: 13ch; }
.trust__lead { margin-top: 28px; max-width: 52ch; color: var(--text-dim-dark); font-size: clamp(17px, 1.3vw, 20px); }
.trust__list {
  margin-top: clamp(56px, 9vh, 96px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 96px);
}
.trust__list > div { border-top: 1px solid var(--line-dark); padding: 28px 0 36px; }
.trust__list dt { font-size: clamp(22px, 2vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.trust__list dd { margin-top: 10px; color: var(--text-dim-dark); max-width: 44ch; }

/* ------------------------------------------------------------ final cta */

.final { position: relative; overflow: hidden; background: var(--green); color: var(--black); --focus: var(--black); padding-block: clamp(96px, 18vh, 200px); }
.final__pin {
  position: absolute; right: -6vw; top: 50%; width: min(64vw, 820px); height: auto; aspect-ratio: 104 / 112;
  transform: translateY(-50%) rotate(var(--rot, 0deg)); color: var(--blue); --sw: 2px; pointer-events: none;
}
.final__inner { position: relative; }
.final__title {
  font-size: clamp(56px, 11.5vw, 210px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.88; max-width: 8ch;
}
.final__text { margin-top: 32px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; font-weight: 500; }
.final .btn { margin-top: 40px; }

/* ------------------------------------------------------------ footer */

.footer { background: var(--black); padding-top: clamp(80px, 12vh, 140px); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.footer__claim { font-size: clamp(36px, 4.4vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.footer__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 32px; }
.footer__h { font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 14px; }
.footer__cols li { margin-bottom: 0; }
.footer__cols a { text-decoration: none; color: #d6dadd; display: inline-block; padding: 10px 0; }
.footer__cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer__about { color: var(--text-dim-dark); padding-top: 6px; }
.footer__mark { margin-top: clamp(64px, 12vh, 140px); }
.footer__mark .logo { width: 100%; height: auto; color: var(--white); aspect-ratio: 397.8 / 90; }
.footer__legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 28px 32px; margin-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: 14px; color: var(--text-dim-dark);
}
.footer__legal a { text-decoration: none; padding: 12px 0; margin-block: -12px; }
.footer__legal a:hover { color: var(--white); }

/* ------------------------------------------------------------ quote dialog */

.quote {
  margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(720px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: var(--white); color: var(--black);
  overflow-y: auto; overscroll-behavior: contain;
}
.quote::backdrop { background: rgba(0, 0, 0, 0.72); }
.quote[open] { animation: panelIn 0.55s var(--ease-out); }
.quote[open]::backdrop { animation: fadeIn 0.4s; }
.quote.is-closing { animation: panelOut 0.3s var(--ease-in) forwards; }
@keyframes panelIn { from { transform: translateX(100%); } }
@keyframes panelOut { to { transform: translateX(100%); } }
@keyframes fadeIn { from { opacity: 0; } }

.quote__head {
  position: sticky; top: 0; z-index: 2; background: var(--white);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px clamp(20px, 4vw, 48px); border-bottom: 1px solid var(--line-light);
}
.quote__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.035em; }
.quote__close { width: 48px; height: 48px; display: grid; place-items: center; font-size: 20px; margin-right: -12px; }
.quote__close:hover { color: var(--blue); }

.qform { padding: 28px clamp(20px, 4vw, 48px) 48px; display: grid; gap: 28px; }
.qform__intro { color: var(--text-dim-light); font-size: 16px; }
.qform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field__opt { font-weight: 400; color: var(--text-dim-light); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 2px solid var(--black); border-radius: 0;
  background: transparent; padding: 10px 0; font-size: 17px; line-height: 1.4; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 120px; border: 2px solid var(--black); padding: 12px 14px; }
.field select {
  appearance: none; padding-right: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") right 4px center no-repeat;
}
.field ::placeholder { color: #8a9096; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 2px 0 var(--blue); }
.field textarea:focus-visible { box-shadow: 0 0 0 1px var(--blue); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: 14px; font-weight: 500; min-height: 0; }
.field__err:empty { display: none; }
.field--chips legend { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; font-weight: 500; font-size: 15px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--black); cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.chips span:hover { background: var(--concrete); }
.chips input:checked + span { background: var(--black); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field--chips.is-invalid .chips span { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.qform__status:empty { display: none; }
.qform__status { border-left: 4px solid var(--danger); background: #fbecef; padding: 14px 16px; font-size: 15px; }
.qform__status a { font-weight: 600; }
.qform__foot { display: flex; justify-content: flex-start; }
.qform__submit { min-width: 240px; position: relative; }
.qform__submit[aria-busy="true"] { pointer-events: none; background: var(--concrete); }
.qform__submit[aria-busy="true"] .qform__label span { display: none; }
.qform__submit[aria-busy="true"]::after {
  content: ''; width: 16px; height: 16px; margin-left: 4px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.qdone { padding: 48px clamp(20px, 4vw, 48px); display: grid; gap: 20px; justify-items: start; outline: none; }
.qdone[hidden] { display: none; }
.qdone__pin { width: 56px; height: auto; aspect-ratio: 83.6 / 90; }
.qdone__title { font-size: clamp(36px, 4vw, 56px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.qdone__text { font-size: 18px; max-width: 42ch; color: var(--text-dim-light); }

body.is-locked { overflow: hidden; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .fleet__body { grid-template-columns: minmax(0, 1fr); }
  .fleet__tabs {
    grid-row: auto; flex-direction: row; overflow-x: auto; scrollbar-width: none;
    border-top: 0; border-bottom: 1px solid var(--line-dark); margin-bottom: 20px;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
  }
  .fleet__tabs::-webkit-scrollbar { display: none; }
  .fleet__tab { flex: 0 0 auto; border-bottom: 0; padding: 14px 18px 14px 20px; white-space: nowrap; scroll-snap-align: start; }
  .fleet__tab::before { left: 4px; }
  .fleet__info { grid-column: 1; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav { gap: 12px; }
  .hero__aside { grid-template-columns: 1fr; }
  .solutions__head, .fleet__head { grid-template-columns: 1fr; }
  .svc__item { grid-template-columns: minmax(0, 1fr); }
  .svc__map { grid-column: 1; grid-row: auto; max-width: 280px; margin-top: 18px; }
  .svc__item:not(.is-open) .svc__map { display: none; }
  .fleet__info { grid-template-columns: minmax(0, 1fr); }
  .fleet__info .link-cta { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .trust__list { grid-template-columns: minmax(0, 1fr); }
  .process__route { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 20px; }
  .process__track {
    width: 26px; height: auto; margin: 0;
    background:
      linear-gradient(var(--black), var(--black)) 0 0 / 1px 100% no-repeat,
      repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 24px) 1px 0 / 9px 100% no-repeat;
  }
  .process__fill { top: 0; left: -2px; width: 5px; height: 100%; transform-origin: 50% 0; transform: scaleY(var(--pp, 1)); }
  .process__pin { top: 0; left: -14px; width: 30px; transform: translateY(calc(var(--pp, 1) * var(--track-h, 0px) - 50%)); }
  .process__steps { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav__cta { display: none; }
  .hero__title { font-size: clamp(36px, 11.8vw, 72px); }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__stage { min-height: 210px; }
  .fleet__stage { aspect-ratio: 4 / 3; }
  .fleet__vehicle { left: 6%; right: 6%; top: 18%; bottom: 30%; }
  .hero__truck { left: 0; right: auto; }
  .hero__truck img { margin-right: 0; --frame: -36%; }
  .manifesto__lines li:nth-child(2) { padding-left: 0.8em; }
  .manifesto__lines li:nth-child(3) { padding-left: 1.6em; }
  .process__title span { padding-left: 0; }
  .qform__grid { grid-template-columns: minmax(0, 1fr); }
  .qform__submit { width: 100%; }
  .final__pin { right: -30vw; width: 110vw; opacity: 0.7; }
  .final .btn { width: 100%; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* long contact addresses wrap instead of overflowing their column */
.footer__cols a, .menu__contact a { overflow-wrap: anywhere; }
