/* Drivabl Lux. FleetWork colours: signal orange on night asphalt; cyan only for "delivered".
   The page is a road: vans drive it, and the road ends at the quote. */
@font-face { font-family: "Archivo"; font-weight: 500 800; font-stretch: 100% 125%; font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2"); }

:root {
  --night: #0A0A0B; --asphalt: #151517; --tarmac: #1C1C1F; --kerb: #26262A; --line: rgba(237,234,228,.10);
  --paper: #EDEAE4; --paper-2: #B9B5AE; --paper-3: #807C76;
  --signal: #F97316; --ember: #C2600F; --glow: #FDBA74; --clinic: #00A8CC;
  --blue: #2443B3; --blue-deep: #172E86; --blue-night: #0F1F5E; --day: #F4F5F6; --ink: #131417; --ink-2: #4A4D55; --sign: #0F6B3E;
  --r: 14px; --ease: cubic-bezier(.22,1,.36,1); --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--paper); font: 400 17px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--glow); }
h1, h2, h3 { font-family: Archivo, Inter, sans-serif; font-stretch: 118%; letter-spacing: -0.015em; margin: 0; line-height: 1.06; }
.num { font-family: Archivo, sans-serif; font-stretch: 110%; font-variant-numeric: tabular-nums lining-nums; font-weight: 700; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
svg { display: block; }

/* bar */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); background: rgba(10,10,11,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none;
  font: 800 20px/1 Archivo, sans-serif; font-stretch: 125%; letter-spacing: -0.01em; }
.brand img { flex: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
/* Two-tone wordmark (owner: orange and baby blue), with a short extrusion so it matches the 3D mark */
.word { font-size: 23px; letter-spacing: -0.005em; }
.w1 { color: var(--signal); text-shadow: 0 1px 0 #C2600F, 0 2px 0 #9A4508, 0 3px 0 #6E3005, 0 6px 10px rgba(0,0,0,.45); }
.w2 { color: var(--blue); -webkit-text-stroke: .5px rgba(185,200,255,.55); text-shadow: 0 1px 0 var(--blue-deep), 0 2px 0 #12266F, 0 3px 0 var(--blue-night), 0 0 16px rgba(90,120,255,.45), 0 6px 10px rgba(0,0,0,.45); }
.foot .word { font-size: 20px; }
@media (max-width: 400px) { .word { font-size: 20px; } .brand img { width: 42px; height: 42px; } }
.bar nav { display: flex; align-items: center; gap: 22px; }
.bar nav a:not(.btn) { color: var(--paper-2); text-decoration: none; font-size: 15px; }
.bar nav a:not(.btn):hover { color: var(--paper); }
@media (max-width: 760px) { .bar nav a:not(.btn) { display: none; } }

/* buttons: orange is the one action colour */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--signal); color: #160A02; font: 700 16px/1 Inter, sans-serif; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(249,115,22,.65), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #FF8A33; transform: translateY(-2px); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(237,234,228,.22); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--signal); }
.btn[disabled] { opacity: .6; cursor: wait; }

main > section { padding: clamp(56px, 9vw, 112px) var(--gutter); max-width: 1180px; margin: 0 auto; }
h2 { font-size: clamp(30px, 4.6vw, 50px); }
.sub { color: var(--paper-2); margin: 14px 0 0; max-width: 60ch; }

/* road pieces, used by the hero, traffic and arrival */
.road { position: absolute; left: 0; right: 0; bottom: 0; height: 78px; background: var(--tarmac);
  border-top: 3px solid var(--kerb); box-shadow: inset 0 -6px 0 #121214; }
.lane { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px;
  background: repeating-linear-gradient(90deg, rgba(237,234,228,.55) 0 34px, transparent 34px 70px); }

/* hero */
.hero { position: relative; isolation: isolate; padding-bottom: 0 !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important;
  padding-top: clamp(36px, 6vh, 80px) !important; min-height: calc(100svh - 71px); display: flex; flex-direction: column; }
.hero video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.15) brightness(.95); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.58) 48%, rgba(10,10,11,.28) 100%),
              linear-gradient(180deg, rgba(10,10,11,.35) 0%, transparent 30%, transparent 70%, rgba(10,10,11,.55) 100%); }
@media (max-width: 700px) { .hero::before { background: linear-gradient(180deg, rgba(10,10,11,.78), rgba(10,10,11,.55) 60%, rgba(10,10,11,.4)); } }
.hero .lede { color: #DAD6CF; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero .btn.ghost { background: rgba(10,10,11,.35); backdrop-filter: blur(6px); }
.hero-copy { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.hero h1 { font-size: clamp(34px, min(5.2vw, 7.4vh), 70px); font-weight: 800; font-stretch: 125%; max-width: 22ch; letter-spacing: -0.025em; }
.lede { color: var(--paper-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; margin: 18px 0 22px; }

.scene { --vw: clamp(150px, 19vw, 260px); --dest: clamp(150px, 17vw, 230px);
  position: relative; flex: 1; min-height: 210px; margin-top: clamp(16px, 3vh, 40px); overflow: hidden; }
.runner { position: absolute; bottom: 26px; width: var(--vw); left: calc(100% - var(--vw) - var(--dest) - var(--gutter));
  animation: arrive 3s cubic-bezier(.25,.8,.25,1) .3s both; }
.vehicle { width: 100%; height: auto; filter: drop-shadow(0 14px 10px rgba(0,0,0,.55)); }
.wheel { transform-box: view-box; transform-origin: 0 0; }
.runner .wheel { animation: spin .42s linear .3s 7; }
@keyframes arrive { from { left: calc(-1 * var(--vw) - 40px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.beam { position: absolute; left: 96%; top: 46%; width: 180px; height: 70px; transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(253,186,116,.38), transparent); clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%);
  animation: beam 3.4s ease .3s both; pointer-events: none; }
@keyframes beam { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.destination { position: absolute; right: var(--gutter); bottom: 22px; width: var(--dest); display: grid; justify-items: center; gap: 8px; }
.destination .pin { width: 34px; height: auto; animation: drop .6s var(--ease) 3s both; filter: drop-shadow(0 6px 10px rgba(249,115,22,.5)); }
.destination .btn { width: 100%; animation: ready .5s var(--ease) 3.2s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } }
@keyframes ready { from { box-shadow: 0 0 0 0 rgba(249,115,22,.0); } 50% { box-shadow: 0 0 0 12px rgba(249,115,22,.25); } }
@media (max-width: 560px) { .scene { --vw: 132px; --dest: 148px; } .destination .btn { padding: 0 12px; font-size: 15px; } .beam { width: 70px; } }

/* vehicles: parked in painted stalls */
.garage { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-bottom: 6px solid var(--kerb); }
@media (max-width: 820px) { .garage { grid-template-columns: 1fr; border-bottom: 0; } }
.garage article { padding: 28px clamp(18px, 2.4vw, 32px) 30px; border-left: 3px solid rgba(237,234,228,.28); display: grid; align-content: end; }
.garage article:last-child { border-right: 3px solid rgba(237,234,228,.28); }
@media (max-width: 820px) { .garage article, .garage article:last-child { border: 0; border-top: 3px solid rgba(237,234,228,.28); } }
.side { width: 100%; max-width: 300px; height: 120px; margin-bottom: 22px; filter: drop-shadow(0 12px 8px rgba(0,0,0,.6)); }
.garage h3 { font-size: 24px; }
.garage p { color: var(--paper-2); margin: 8px 0 0; font-size: 15.5px; max-width: 34ch; }

/* traffic between sections */
.traffic { position: relative; height: 200px; background: var(--tarmac); border-block: 3px solid var(--kerb); overflow: hidden; }
.traffic .lane { top: 50%; }
.traffic svg { position: absolute; left: 0; height: auto; filter: drop-shadow(0 10px 8px rgba(0,0,0,.6)); }
.traffic .t1 { width: 150px; top: 14px; animation: pass 19s linear -4s infinite; }
.traffic .t3 { width: 170px; top: 4px; animation: pass 19s linear -13s infinite; }
.traffic .t2 { width: 132px; bottom: 18px; animation: back 15s linear -6s infinite; }
.traffic .wheel { animation: spin .5s linear infinite; }
@keyframes pass { from { transform: translateX(-200px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes back { from { transform: translateX(calc(100vw + 40px)) scaleX(-1); } to { transform: translateX(-200px) scaleX(-1); } }

/* what we carry */
.carry .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 36px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (max-width: 900px) { .carry .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .carry .grid { grid-template-columns: 1fr; } }
.carry article { background: var(--night); padding: 26px 24px; }
.carry h3 { font-size: 20px; font-stretch: 112%; }
.carry p { color: var(--paper-2); margin: 8px 0 0; font-size: 15.5px; }

/* how it starts: a real sequence, so it is numbered, joined by a lane line */
.steps { list-style: none; counter-reset: s; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; position: relative; padding-top: 56px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font: 800 17px/1 Archivo, sans-serif; color: #160A02; background: var(--signal); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 52px; right: -16px; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(237,234,228,.45) 0 14px, transparent 14px 26px); }
@media (max-width: 760px) { .steps li::after { display: none; } }
.steps h3 { font-size: 22px; }
.steps p { color: var(--paper-2); margin: 8px 0 0; }

/* area: road signs, distance from base */
.signs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; }
.signs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 10px;
  background: var(--asphalt); box-shadow: inset 0 0 0 2px var(--night), inset 0 0 0 4px rgba(237,234,228,.55); }
.signs b { font: 700 18px/1.1 Archivo, sans-serif; font-stretch: 112%; }
.signs .num { white-space: nowrap; font-size: 22px; color: var(--glow); }
.signs .num::after { content: " mi"; font-size: 14px; color: var(--paper-3); font-weight: 600; }
.fine { color: var(--paper-3); font-size: 14.5px; margin-top: 16px; }

/* quote: the road ends here */
.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
.qhead p { color: var(--paper-2); }
.arrival { position: relative; height: 150px; margin-top: 28px; border-radius: var(--r); overflow: hidden; background: var(--asphalt); }
.arrival .road { height: 56px; }
.arrival .parkvan { position: absolute; bottom: 16px; left: 8%; width: 46%; max-width: 230px; transform: translateX(-160%);
  transition: transform 2.2s cubic-bezier(.25,.8,.25,1); }
.arrival.in .parkvan { transform: none; }
.arrival.in .wheel { animation: spin .42s linear 5; }
.arrival .end { position: absolute; right: 12%; bottom: 40px; width: 34px; height: auto; opacity: 0; transform: translateY(-20px);
  transition: opacity .4s, transform .6s var(--ease); transition-delay: 2s; }
.arrival.in .end { opacity: 1; transform: none; }

form { background: var(--asphalt); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 30px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.fields label { display: grid; gap: 6px; font-size: 14px; color: var(--paper-2); font-weight: 500; }
.fields .wide { grid-column: 1 / -1; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(237,234,228,.16);
  background: var(--night); color: var(--paper); font: 400 16px/1.4 Inter, sans-serif; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(249,115,22,.2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 16px; min-height: 65px; }
form .btn { width: 100%; }
.msg { margin: 14px 0 0; min-height: 1.4em; color: var(--paper-2); }
.msg.ok { color: var(--clinic); }
.msg.bad { color: #FF8A7A; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 40px var(--gutter) 56px;
  border-top: 1px solid var(--line); color: var(--paper-3); font-size: 15px; max-width: 1180px; margin: 0 auto; }
.foot p { margin: 8px 0 0; }
.foot a:not(.brand) { color: var(--paper-2); text-decoration: none; }

/* Reduce Motion (often on to save battery): keep the small vehicle motion the brand is built on,
   stop only the full-screen video and smooth scrolling, and slow the traffic down. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video.bg { display: none; }
  .hero { background: #0A0A0B url(/media/road-poster.jpg) center/cover; }
  .traffic .t1, .traffic .t3 { animation-duration: 30s; }
  .traffic .t2 { animation-duration: 24s; }
}

/* Daylight sections: full-bleed light bands so the page alternates day and night. */
.vehicles, .area { background: var(--day); color: var(--ink); box-shadow: 0 0 0 100vmax var(--day); clip-path: inset(0 -100vmax); }
.vehicles .sub, .area .sub, .garage p { color: var(--ink-2); }
.area .fine { color: var(--ink-2); }
.garage { border-bottom-color: #C9CCD1; }
.garage article { border-left-color: rgba(19,20,23,.22); }
.garage article:last-child { border-right-color: rgba(19,20,23,.22); }
@media (max-width: 820px) { .garage article, .garage article:last-child { border-top-color: rgba(19,20,23,.22); } }
.side { filter: drop-shadow(0 14px 10px rgba(19,20,23,.28)); }
.garage article { background: linear-gradient(180deg, transparent 55%, rgba(19,20,23,.04)); }

/* How it starts: the signal-orange band */
.how { background: var(--signal); color: #1A0B02; box-shadow: 0 0 0 100vmax var(--signal); clip-path: inset(0 -100vmax); }
.how .steps p { color: #3A1A05; }
.how .steps li::before { background: var(--night); color: var(--signal); }
.how .steps li:not(:last-child)::after { background: repeating-linear-gradient(90deg, rgba(10,10,11,.55) 0 14px, transparent 14px 26px); }

/* Area: green highway signs */
.signs li { background: var(--sign); color: #fff; box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px rgba(255,255,255,.9), 0 8px 18px -10px rgba(15,107,62,.8); }
.signs .num { color: #fff; }
.signs .num::after { color: rgba(255,255,255,.75); }

/* What we carry: the brand-blue band (owner asked for blue here), tiles a shade deeper, orange top edge */
.carry { background: var(--blue); box-shadow: 0 0 0 100vmax var(--blue); clip-path: inset(0 -100vmax); }
.carry .grid { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.18); }
.carry article { background: var(--blue-deep); box-shadow: inset 0 3px 0 var(--signal); }
.carry h3 { color: #fff; }
.carry p { color: #D6DEFA; }

/* Phones: the road and the van must fit on the first screen, so the motion is the first thing seen. */
@media (max-width: 560px) {
  .hero { padding-top: 22px !important; min-height: calc(100svh - 71px); }
  .hero h1 { font-size: 30px; letter-spacing: -0.02em; }
  .hero .lede { font-size: 16px; line-height: 1.5; margin: 12px 0 16px; }
  .hero .btn.ghost { min-height: 44px; font-size: 15px; }
  .scene { min-height: 180px; margin-top: 14px; }
}
@media (max-width: 560px) and (max-height: 700px) {
  .hero { padding-top: 14px !important; }
  .hero h1 { font-size: 25px; }
  .hero .lede { font-size: 15px; margin: 8px 0 12px; }
  .hero .btn.ghost { display: none; }   /* the phone number is in the footer and the quote form */
  .scene { min-height: 150px; margin-top: 8px; }
}
.word { white-space: nowrap; }
@media (max-width: 380px) { .word { font-size: 18px; } .brand img { width: 36px; height: 36px; } .bar .btn.small { padding: 0 14px; } }
