/* fonts, served from the site (both OFL): one variable file per family, Latin first; Latin Extended loads only if a page needs it */
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/geist-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/geist-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/fonts/schibsted-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/fonts/schibsted-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blue: #1A1BB5;
  --blue-arc: #2A30D8;
  --blue-deep: #11128A;
  --lime: #D2FF3C;
  --ink: #0F0F10;
  --white: #FFFFFF;
  --tint: #D6D8FF;
  --tint-2: #E4E5FF;
  --footer-label: #A9ABF0;
  --grey: #55575B;
  --grey-body: #4A4B55;
  --rule: #D5D6E0;
  --field: #C9CADB;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --pad-x: clamp(20px, 5.56vw, 80px);
  --nav-pr: clamp(20px, 4.17vw, 60px); /* the nav's right padding */
  --pad-y: clamp(72px, 8.33vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }

input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.blue a:focus-visible, .blue button:focus-visible { outline-color: var(--lime); }
.loader, .spot, .quote-photo { display: none; } /* motion-only pieces: the .anim rules below bring them back */
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 600; font-size: 15px; transform: translateY(-200%); transition: transform .2s; } /* above the loader too */
.skip-link:focus { transform: none; outline: 3px solid var(--ink); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
picture { display: contents; } /* the <img> inside is still what the layout styles */

.blue { background: var(--blue); color: var(--white); position: relative; overflow: clip; }
.blue a:hover { color: var(--tint); }

.arc { position: absolute; fill: var(--blue-arc); pointer-events: none; }

.label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--grey); text-transform: uppercase; }
.blue .label { color: var(--tint); }

.display { font-weight: 800; line-height: 0.9; letter-spacing: -0.06em; }
.d-120 { font-size: clamp(56px, 8.33vw, 120px); }
.d-96 { font-size: clamp(52px, 6.67vw, 96px); }
.d-80 { font-size: clamp(48px, 5.56vw, 80px); line-height: 0.92; }

/* buttons: on hover a fill rises from the bottom and the label rolls over */
.btn, .submit { --fill: var(--lime); --fill-ink: var(--ink); position: relative; overflow: hidden; isolation: isolate; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; font-size: 16px; padding: 16px 24px; white-space: nowrap; transition: background .15s, color .3s, border-color .3s; }
.btn::before, .submit::before { content: ''; position: absolute; inset: -2px; z-index: -1; background: var(--fill); border-radius: inherit; transform: translateY(102%); transition: transform .55s var(--ease, ease); }
.btn:hover::before, .submit:hover::before { transform: none; }
.blue .btn:hover, .btn:hover, .submit:hover { color: var(--fill-ink); }
.t { display: inline-grid; overflow: hidden; line-height: 1.3; }
.t > span { grid-area: 1 / 1; transition: transform .55s var(--ease, ease); }
.t > span + span { transform: translateY(105%); }
.btn:hover .t > span:first-child, .submit:hover .t > span:first-child { transform: translateY(-105%); }
.btn:hover .t > span + span, .submit:hover .t > span + span { transform: none; }
.btn-white { background: var(--white); color: var(--blue); }
.btn-outline { border: 1.5px solid var(--white); padding: 14.5px 22.5px; background: rgba(255,255,255,.1); }
.btn-outline:hover { border-color: var(--lime); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-lime { background: var(--lime); color: var(--ink); --fill: var(--white); --fill-ink: var(--blue); }

/* header */
.nav { position: absolute; left: 0; right: 0; top: 0; padding: 0 var(--nav-pr) 0 var(--pad-x); height: 104px; display: flex; align-items: center; justify-content: space-between; z-index: 50; color: var(--white); transition: height .45s var(--ease), background-color .7s var(--ease), color .5s var(--ease), box-shadow .5s; }
.nav a:not(.btn):hover { color: var(--tint); }
.nav a:focus-visible { outline-color: var(--lime); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 15px; letter-spacing: 0.02em; }
.brand svg { fill: currentColor; flex: none; position: relative; top: -1.5px; } /* the arch is drawn low in its box and reads lower still for its round top; lift it to the capitals' centre */
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 500; }
.nav-links .btn { padding: 13px 20px; }
.menu-btn { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: 500 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.menu-btn i { display: block; width: 16px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.nav .menu-btn:focus-visible { outline-color: var(--lime); }

/* menu panel (below 900px): the nav's links, full screen on the hero blue */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0 var(--nav-pr) calc(28px + env(safe-area-inset-bottom)) var(--pad-x); border: 0; background: var(--blue); color: var(--white); overflow-y: auto; flex-direction: column; }
.menu:not([open]) { display: none; }
.menu[open] { display: flex; }
.menu::backdrop { background: transparent; }
html:has(#menu[open]) { background: var(--blue); } /* the scroll lock keeps a scrollbar gutter; paint it blue too */
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h, 80px); flex: none; } /* the nav's height when it opened, so nothing jumps */
.menu .brand span { display: inline; white-space: nowrap; }
@media (max-width: 379px) { .menu .brand span { display: none; } } /* no room beside the close button */
@media (max-width: 359px) { .nav-links .btn { display: none; } } /* the smallest phones: "Partner with us" lives in the menu */
.menu-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; }
.menu-links { display: flex; flex-direction: column; margin-top: auto; padding: 24px 0 28px; }
.menu-links a { display: flex; align-items: baseline; gap: 14px; padding: 8px 0 10px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-weight: 800; font-size: clamp(48px, 14vw, 88px); line-height: 1; letter-spacing: -0.05em; }
.menu-links a:hover { color: var(--lime); }
.menu-links .label { flex: none; width: 24px; color: var(--tint); letter-spacing: .04em; }
.menu-foot { display: flex; flex-direction: column; gap: 24px; }
.menu a:focus-visible, .menu button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (max-width: 900px) {
  .nav-links { gap: 10px; }
  .nav-links a:not(.btn) { display: none; }
  .menu-btn { display: inline-flex; }
  .brand span { white-space: nowrap; }
}
@media (min-width: 901px) { .menu { display: none !important; } }

/* hero */
.hero { height: max(min(900px, 62.5vw), 100svh); min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: max(clamp(48px, 6.67vw, 96px), calc(96px + (100svh - 900px) / 2)); } /* always fills the window, so the arch runs off its bottom edge; wordmark + copy sit together; on tall screens they rise by half the extra height */
.hero .arc { width: 55.35vw; max-width: 797px; height: auto; left: 41.74%; top: min(223px, 15.49vw); } /* per the Homepage — desktop frame: 797px wide at 601, 223 on a 1440 canvas */
.hero h1 .accent { color: var(--lime); }
.hero h1 { position: relative; margin-left: clamp(14px, 4.58vw, 66px); font-weight: 800; font-size: 20.55vw; line-height: 1; letter-spacing: -0.06em; }
.hero-copy { position: relative; margin: clamp(28px, 3.33vw, 48px) var(--pad-x) 0; align-self: flex-start; display: flex; flex-direction: column; gap: 28px; z-index: 1; }
.hero-copy .label { color: var(--white); font-size: 14px; letter-spacing: 0.06em; }
.hero-copy .label .l2 { white-space: nowrap; } /* "built for the last mile" never splits */
.hero-copy p { font-size: clamp(20px, 1.67vw, 24px); line-height: 1.35; max-width: 440px; }
.hero-copy .ctas { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-self: flex-start; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.location { position: absolute; right: clamp(20px, 4.17vw, 60px); bottom: calc(max(clamp(48px, 6.67vw, 96px), calc(96px + (100svh - 900px) / 2)) + 4px); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(255,255,255,.1); font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; z-index: 1; }
.location svg { flex: none; display: block; fill: currentColor; }

/* shared section */
.section { padding: var(--pad-y) var(--pad-x); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

/* who we are */
.who .label { grid-column: span 3; padding-top: 14px; }
.who p { grid-column: 4 / span 9; font-weight: 700; font-size: clamp(32px, 3.89vw, 56px); line-height: 1.08; letter-spacing: -0.045em; }
.who p .accent { color: var(--blue); }

/* services */
.services { display: flex; flex-direction: column; gap: 56px; }
.services .arc { width: 400px; right: -60px; top: -40px; }
.stack { display: flex; flex-direction: column; gap: 28px; position: relative; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.card { background: var(--blue-arc); border-radius: 4px; padding: 32px; display: flex; flex-direction: column; gap: 16px; min-height: 340px; }
.card { scroll-margin-top: 120px; }
.card h3 { font-weight: 700; font-size: clamp(26px, 2.22vw, 32px); line-height: 1.05; letter-spacing: -0.04em; }
.card p { margin-top: auto; font-size: 17px; line-height: 1.5; color: var(--tint-2); }

/* how it works */
.how-pin { display: flex; flex-direction: column; gap: 64px; }
.how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.how-head p { max-width: 420px; font-size: 18px; line-height: 1.5; color: var(--grey-body); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--blue); padding-top: 20px; }
.steps .label { color: var(--blue); }
.steps h3 { font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--grey-body); }

/* fleet */
.fleet { display: flex; flex-direction: column; gap: 48px; padding-bottom: clamp(64px, 6.94vw, 100px); }
.fleet h2 .accent { color: var(--lime); }
.fleet .intro { display: flex; flex-direction: column; gap: 24px; }
.fleet .intro p { font-size: 20px; line-height: 1.5; color: var(--tint-2); max-width: 560px; }
.fleet-body { display: flex; flex-direction: column; gap: 40px; }
.truck { position: relative; }
.fleet img { display: block; width: 100%; height: clamp(220px, 31.25vw, 450px); object-fit: cover; object-position: 45% 50%; border-radius: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.stat { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.3); }
.stat b { display: block; font-weight: 800; font-size: clamp(40px, 3.89vw, 56px); letter-spacing: -0.05em; line-height: 1; }
.stat b .word { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1024px) { .stat b { font-size: clamp(32px, 3.9vw, 40px); } }
.stat .label { margin-top: 8px; }

/* partners */
.partners .lead { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; }
.partners .lead .btn { align-self: flex-start; }
.partners .lead .big { font-size: 20px; line-height: 1.5; max-width: 440px; }
.partners .lead .small { font-size: 16px; line-height: 1.5; color: var(--grey-body); max-width: 380px; }
.proof { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; }
.proof li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.proof svg { fill: var(--blue); }
.proof h3 { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.proof p { font-size: 15px; line-height: 1.5; color: var(--grey-body); margin-top: 4px; }

/* careers */
.careers { min-height: 620px; }
.careers .arc { width: 760px; right: 40px; top: 60px; }
.careers .stack { gap: 32px; }
.careers-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; }
.careers-copy { display: flex; flex-direction: column; gap: 32px; }
.home-shot { margin: 0; }
.home-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.careers p { max-width: 520px; font-size: 20px; line-height: 1.5; color: var(--tint-2); }

/* quote */
.quote .lead { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
.quote .lead p { font-size: 18px; line-height: 1.5; color: var(--grey-body); }
.quote .contact { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; line-height: 1.8; margin-top: 12px; }
.quote .contact a:hover { color: var(--blue); }
.quote form { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; align-items: end; } /* boxes in a row line up even if one label wraps */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full, .quote .full { grid-column: span 2; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { height: 52px; border: 1.5px solid var(--field); border-radius: 10px; padding: 0 16px; font-family: inherit; font-size: 16px; color: var(--ink); background: var(--white); width: 100%; }
.field select { padding: 0 40px 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231A1BB5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field select:has(option[value=""]:checked) { color: var(--grey); } /* "Choose one" reads as a prompt, not an answer */
.field .hint { font-weight: 400; color: var(--grey); margin-left: 6px; }
.field textarea { height: auto; padding: 14px 16px; resize: none; }
.field [aria-invalid="true"] { border-color: #C0342B; }
.form-error { color: #C0342B; font-size: 14px; font-weight: 500; }
.submit { height: 58px; border: 0; border-radius: 999px; background: var(--blue); color: var(--white); font-family: inherit; font-weight: 600; font-size: 17px; cursor: pointer; }
.submit:hover { background: var(--blue-deep); }
.submit:disabled { opacity: .6; cursor: progress; }
.form-error a { color: inherit; text-decoration: underline; }

/* founding crew modal: the hiring side, in the Careers blue */
html.modal-open { overflow: hidden; scrollbar-gutter: stable; } /* keep the scrollbar's space so the page doesn't shift */
.crew-modal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: transparent; color: var(--white); overflow-y: auto; }
.crew-modal:not([open]) { display: none; } /* hidden even where <dialog> isn't supported */
.crew-modal[open] { display: grid; place-items: center; }
.crew-modal::backdrop { background: rgba(17, 18, 138, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cm-card { position: relative; width: min(760px, 100%); background: var(--blue); border-radius: 4px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 120px rgba(8, 9, 60, .45); }
.cm-card .label { color: var(--tint); }
.cm-title { margin-top: 16px; font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); line-height: .95; letter-spacing: -0.05em; outline: none; }
.cm-intro { margin-top: 16px; max-width: 520px; font-size: 18px; line-height: 1.5; color: var(--tint-2); }
.cm-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; transition: background .2s, border-color .2s, transform .3s var(--ease); }
.cm-close:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); transform: rotate(90deg); }
.cm-close:focus-visible, .crew-modal a:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.cm-form { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; align-items: end; }
.cm-form .full { grid-column: 1 / -1; }
.cm-form .field label { color: var(--white); }
.cm-form .hint { color: var(--tint); }
.cm-form input:focus, .cm-form select:focus, .cm-form textarea:focus { outline-color: var(--lime); }
.cm-form .field [aria-invalid="true"] { border-color: #FF8A80; box-shadow: 0 0 0 2px #FF8A80; }
.cm-form .form-error { color: #FFD0CB; }
.cm-form .submit { --fill: var(--white); --fill-ink: var(--blue); background: var(--lime); color: var(--ink); }
.cm-form .submit:hover { background: var(--lime); color: var(--fill-ink); }
.cm-form .submit:focus-visible { outline-color: var(--lime); }
.cm-form .form-done { grid-column: 1 / -1; }
@media (prefers-reduced-motion: no-preference) {
  .crew-modal[open] .cm-card { animation: cm-in .5s var(--ease) both; }
  .crew-modal[open]::backdrop { animation: cm-fade .3s ease both; }
  .crew-modal.closing .cm-card { animation: cm-out .22s ease-in both; }
  .crew-modal.closing::backdrop { animation: cm-fade-out .22s ease-in both; }
  @keyframes cm-in { from { opacity: 0; transform: translateY(28px) scale(.985); } }
  @keyframes cm-out { to { opacity: 0; transform: translateY(16px); } }
  @keyframes cm-fade { from { opacity: 0; } }
  @keyframes cm-fade-out { to { opacity: 0; } } /* its own name, so the exit restarts instead of snapping */
}
@media (max-width: 760px) {
  .crew-modal { padding: 0; }
  .crew-modal[open] { place-items: end stretch; }
  .cm-card { width: 100%; max-height: 92svh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
  .cm-form { grid-template-columns: 1fr; }
}
.form-done { grid-column: span 2; background: var(--tint-2); color: var(--blue); border-radius: 10px; padding: 20px; font-size: 17px; font-weight: 600; }

/* footer */
.footer { background: var(--blue-deep); color: var(--white); padding: 80px var(--pad-x) 0; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 48px; }
.footer a:hover { color: var(--tint); }
.footer a:focus-visible { outline-color: var(--lime); }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.footer .link-btn:hover { color: var(--tint); }
.footer .link-btn:focus-visible { outline-color: var(--lime); }

/* cookie choice: a slim pill at the foot of the screen, clear of the hero's buttons; Accept and Decline weigh the same */
.consent { position: fixed; left: 50%; bottom: 16px; z-index: 60; width: min(760px, calc(100% - 32px)); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 10px 10px 26px; background: var(--blue-deep); color: var(--white); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; box-shadow: 0 18px 50px rgba(8, 9, 60, .35); }
.consent[hidden] { display: none; }
.consent p { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; line-height: 1.5; text-transform: uppercase; }
.consent p a { color: var(--tint); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent .btn { padding: 11px 20px; font-family: inherit; font-size: 15px; cursor: pointer; } /* real <button>s: they don't inherit the font */
.consent .btn-lime { border: 0; }
.consent .btn-outline { padding: 9.5px 18.5px; color: var(--white); } /* a <button>: it doesn't inherit the text colour like the site's link buttons do */
.consent .btn-outline:hover { color: var(--fill-ink); } /* dark text once the lime fill rises */
.consent :focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (max-width: 760px) {
  .consent { bottom: 12px; width: calc(100% - 24px); flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; border-radius: 16px; }
  .consent-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .consent { opacity: 0; translate: 0 16px; transition: opacity .5s var(--ease), translate .7s var(--ease); }
  .consent.in { opacity: 1; translate: none; }
}
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; font-size: 16px; line-height: 2; position: relative; z-index: 1; }
.foot-cols div { display: flex; flex-direction: column; min-width: 0; }

.foot-cols .label { color: var(--footer-label); margin-bottom: 8px; line-height: 1.6; }
.foot-word { font-weight: 800; font-size: 22.9vw; line-height: 0.78; letter-spacing: -0.065em; color: var(--blue); margin-left: -0.02em; white-space: nowrap; user-select: none; }

/* privacy page */
.doc-hero { padding: 180px var(--pad-x) clamp(56px, 6vw, 88px); display: flex; flex-direction: column; gap: 24px; }
.doc-hero .arc { width: min(420px, 60vw); right: -60px; top: 80px; }
.doc-hero > :not(.arc) { position: relative; }
.doc-hero p { max-width: 520px; font-size: 20px; line-height: 1.5; color: var(--tint-2); }
.doc-body { max-width: calc(760px + 2 * var(--pad-x)); }
.doc-body h2 { margin-top: 48px; font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--grey-body); }
.doc-body ul { margin: 0; padding-left: 20px; }
.doc-body b { color: var(--ink); font-weight: 600; }
.doc-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* tablet */
@media (max-width: 1024px) {
  .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who .label, .who p, .partners .lead, .proof, .quote .lead, .quote form { grid-column: 1 / -1; }
  .who { row-gap: 24px; }
  .who .label { padding-top: 0; }
  .partners, .quote { row-gap: 56px; }
  .hero .location { display: none; }
}

/* phone */
@media (max-width: 760px) {
  .nav { height: 80px; }
  .nav.solid { height: 64px; }
  .brand span { display: none; }
  .hero { height: auto; max-height: none; min-height: max(640px, 100svh); padding: 0 0 48px; }
  .hero h1 { font-size: 22vw; }
  .hero-copy { align-self: stretch; }
  .hero-copy .label .sep { display: none; }
  .hero-copy .label .l2 { display: block; } /* phones: regional delivery / built for the last mile */
  .hero-copy .ctas { display: grid; grid-template-columns: 1fr 1fr; align-self: stretch; }
  .hero-copy .btn { padding-left: 12px; padding-right: 12px; }
  .hero-copy .btn-outline { padding-left: 10.5px; padding-right: 10.5px; }
  .hero .arc { width: 110vw; left: 10vw; top: 120px; }
  .cards, .steps, .stats { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card p { margin-top: 24px; }
  .how-head { flex-direction: column; align-items: flex-start; }
  .quote form { grid-template-columns: 1fr; }
  .field.full, .quote .full, .form-done { grid-column: 1 / -1; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .foot-cols > div:nth-child(3) { grid-column: 1 / -1; } /* the operations@ address needs the full width */
  .careers .arc { width: 420px; right: -120px; top: auto; bottom: -40px; }
  .careers-body { grid-template-columns: 1fr; gap: 40px; }
  .services .arc { width: 240px; right: -60px; top: -20px; }
}

/* ---------- motion ---------- */
:root { --ease: cubic-bezier(.16, 1, .3, 1); }

.btn:active, .submit:active { transform: scale(.97); }
.card { transition: transform .5s var(--ease), background .3s; }
.card:hover { transform: translateY(-6px); background: #3037E2; }

@media (prefers-reduced-motion: no-preference) {
  /* hero entrance: arch rises, letters come up through the baseline, then the copy */
  .anim .hero .arc { animation: arc-rise 1.6s var(--ease) both; }
  .anim .hero h1 { clip-path: inset(-10% -5% 0 -5%); }
  .anim .hero h1 .ch { display: inline-block; animation: letter-up 1.1s var(--ease) both; animation-delay: calc(150ms + var(--i) * 45ms); }
  .anim .nav { animation: fade-down .9s var(--ease) .2s both; }
  .anim .hero-copy > *, .anim .hero .location { animation: fade-up 1s var(--ease) both; }
  .anim .hero-copy > :nth-child(1) { animation-delay: .7s; }
  .anim .hero-copy > :nth-child(2) { animation-delay: .8s; }
  .anim .hero-copy > :nth-child(3) { animation-delay: .9s; }
  .anim .hero .location { animation-delay: 1s; }

  @keyframes arc-rise { from { transform: translateY(7.3%); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes letter-up { from { transform: translateY(105%); } to { transform: none; } }
  @keyframes fade-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes fade-down { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }

  /* scroll reveals */
  .anim [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
  .anim [data-reveal].in { opacity: 1; transform: none; }
  .anim .card[data-reveal].in:hover { transform: translateY(-6px); }

  /* route steps: the blue rule draws across, one step after another */
  .anim .steps li { border-top-color: transparent; position: relative; }
  .anim .steps li::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) calc(var(--d, 0ms) + 200ms); }
  .anim .steps li.in::before { transform: scaleX(1); }

  /* truck photo drives in from the left */
  .anim .fleet img[data-reveal] { opacity: 1; transform: scale(1.04); clip-path: inset(0 100% 0 0 round 4px); transition: clip-path 1.5s var(--ease), transform 1.8s var(--ease); }
  .anim .fleet img[data-reveal].in { transform: none; clip-path: inset(0 0 0 0 round 4px); }

  /* footer wordmark rises letter by letter */
  .anim .foot-word[data-reveal] { opacity: 1; transform: none; }
  .anim .foot-word .ch { display: inline-block; transform: translateY(40%); opacity: 0; transition: transform 1.2s var(--ease), opacity .8s var(--ease); transition-delay: calc(var(--i) * 50ms); }
  .anim .foot-word.in .ch { transform: none; opacity: 1; }
}

/* ---------- North Arc motion pass 2 (GetLayers-inspired) ---------- */
@media (prefers-reduced-motion: no-preference) {

  /* hold the hero entrance until the loader starts to lift */
  .anim:not(.ready) .hero *, .anim:not(.ready) .nav { animation-play-state: paused !important; }
  html.loading { overflow: hidden; }

  /* 1 · loader: the arch mark draws itself like a road going down */
  .loader { display: none; }
  .anim .loader { display: block; position: fixed; inset: 0; z-index: 100; background: var(--blue-deep); color: var(--white); transition: transform 1.15s cubic-bezier(.7, 0, .2, 1); animation: ld-failsafe 0s 6s forwards; }
  .anim .loader::after { content: ''; position: absolute; left: -10%; right: -10%; top: calc(100% - 1px); height: 26vh; background: var(--blue-deep); border-radius: 0 0 50% 50% / 0 0 100% 100%; transform: scaleY(0); transform-origin: top; transition: transform .8s cubic-bezier(.3, 0, .2, 1); }
  .loader.out { transform: translateY(-125vh); }
  .anim.seen .loader { display: none; } /* later pages of the same visit skip the curtain (main.js removes it) */
  .loader.out::after { transform: scaleY(1); }
  @keyframes ld-failsafe { to { visibility: hidden; } }
  .ld-inner { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; gap: 20px; }
  .ld-mark { width: clamp(72px, 9vw, 128px); height: auto; overflow: visible; margin-bottom: 12px; }
  .ld-stroke { fill: none; stroke: var(--lime); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ld-draw 1s cubic-bezier(.6, 0, .3, 1) .1s forwards, ld-handoff .5s ease 1s forwards; } /* the lime trace hands over to the white mark */
  .ld-fill { fill: var(--white); opacity: 0; transform: translateY(6px); animation: ld-fill .6s var(--ease) 1s forwards; }
  @keyframes ld-draw { to { stroke-dashoffset: 0; } }
  @keyframes ld-handoff { to { opacity: 0; } }
  @keyframes ld-fill { to { opacity: 1; transform: none; } }
  .ld-row { display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--tint); }
  .ld-count { font-family: var(--sans); font-weight: 800; font-size: clamp(56px, 8vw, 120px); line-height: .8; letter-spacing: -0.05em; color: var(--white); font-variant-numeric: tabular-nums; }
  .ld-bar { height: 2px; background: rgba(255, 255, 255, .2); }
  .ld-bar i { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); }
  .loader.out .ld-inner { opacity: 0; transition: opacity .3s; }

  /* 3 · every section keeps its own colour; only the nav follows the section under it */
  .anim .hero, .anim main > * { position: relative; z-index: 0; } /* under the route layer, so the line and truck show on every section */
  .anim .quote-photo { z-index: 2; } /* the photo covers the road while it fills the screen */
  .anim .footer { z-index: 3; }
  /* the footer rises with the loader's curved edge, flattening as it settles: the page opens and closes with one gesture */
  .anim .quote::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: min(110px, 8vw); background: var(--blue-deep); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: scaleY(var(--curve, 0)); transform-origin: bottom; pointer-events: none; } /* drawn at the foot of the quote section so the footer can keep clipping its wordmark */
  .anim .nav { position: fixed; }
  .nav.solid { height: 72px; background-color: var(--ground-c); }
  html[data-bg="white"] .nav { color: var(--ink); }
  html[data-bg="white"] .nav.solid { box-shadow: 0 1px 0 var(--rule); }
  html[data-bg="white"] .nav a:not(.btn):hover { color: var(--blue); }
  html[data-bg="white"] .nav .btn-white { background: var(--blue); color: var(--white); }
  html[data-bg="white"] .nav a:focus-visible, html[data-bg="white"] .nav .menu-btn:focus-visible { outline-color: var(--blue); }

  /* 2 · route line down the page */
  .route { display: none; }
  .anim .route { display: block; position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: visible; }
  .route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .route .drive { stroke-width: 3; }
  .route .track { stroke-width: 2; stroke-dasharray: 1 10; opacity: .5; }
  .route .on-blue { stroke: var(--lime); }
  .route .on-white { stroke: var(--blue); }
  .route-truck { display: none; }
  .anim .route-truck { display: block; position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s; }
  .anim .route-truck.on { opacity: 1; }
  .anim .route-truck.fixed { position: fixed; }
  .anim .how.pinned .steps li { padding-top: 34px; } /* room under the road for the parked truck */
  .anim .route-truck .road { z-index: 0; } /* the "How it works" road shares the truck's layer: .route's z-index would lift it over the truck */
  .anim body { overflow-x: clip; } /* the truck may lean past the edge on a phone; never let the page scroll sideways */
  .route .depot { fill: none; stroke: var(--lime); stroke-width: 2; }
  @keyframes breathe { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

  /* titles: each word comes up out of a blur */
  .anim .display[data-reveal] { opacity: 1; transform: none; }
  .anim .display .w { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.28em); transition: opacity .5s cubic-bezier(.2, .7, .2, 1), filter 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0ms) + var(--i) * 70ms); }
  .anim .display.in .w { opacity: 1; filter: none; transform: none; }
  /* the statement: word by word out of a blur as it scrolls in, "their own." last */
  .anim .who p[data-reveal] { opacity: 1; transform: none; }
  .anim .who p .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.3em); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), filter 1.3s var(--ease), transform 1.4s var(--ease); transition-delay: calc(var(--i) * 85ms); }
  .anim .who p.in .w { opacity: 1; filter: none; transform: none; }

  /* 10 · services pile up like delivery tickets */
  .anim .cards { grid-template-columns: 1fr; gap: 24px; }
  .anim .card { position: sticky; top: calc(104px + var(--k) * 18px); min-height: 260px; display: grid; grid-template-columns: 1fr 2fr 2fr; align-items: start; gap: 32px; transform-origin: 50% 0; }
  .anim .card h3 { font-size: clamp(30px, 3.2vw, 46px); }
  .anim .card p { margin-top: 0; font-size: 18px; max-width: 440px; align-self: end; }

  /* 6 · how it works holds the screen, one step lit at a time */
  .anim .how.pinned { height: 320vh; padding: 0; }
  .anim .how.pinned .how-pin { position: sticky; top: 0; height: 100vh; justify-content: center; padding: 72px var(--pad-x) 0; }
  .anim .how.pinned .steps li.in { transition: opacity .5s var(--ease), filter .5s var(--ease), transform 1s var(--ease); }
  .anim .how.pinned .steps li.in:not(.on) { opacity: .28; filter: blur(3px); }
  .anim .how.pinned .steps li::before { display: none; } /* the truck's road runs along the steps instead */
  .route .stop { fill: var(--white); stroke: var(--blue); stroke-width: 2; transition: fill .3s; }
  .route .stop.done { fill: var(--blue); }

  /* 4 · callouts on the truck */
  .spot { display: none; }
  .anim .spot { display: block; position: absolute; width: 0; height: 0; z-index: 2; }
  .anim .spot[hidden] { display: none; }
  .anim .spot { transition: opacity .5s var(--ease) 1.1s; }
  .anim .truck:not(:has(img.in)) .spot { opacity: 0; pointer-events: none; transition: none; } /* dots arrive once the photo has driven in */
  .spot button { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1.5px solid var(--white); background: rgba(26, 27, 181, .35); cursor: pointer; transition: transform .45s var(--ease), background .3s, border-color .3s; }
  .spot button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--white); transition: background .3s; }
  .spot button::before { content: ''; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); animation: breathe 2.4s ease-out infinite; }
  .spot:nth-of-type(2) button::before { animation-delay: .6s; }
  .spot:nth-of-type(3) button::before { animation-delay: 1.2s; }
  .spot:nth-of-type(4) button::before { animation-delay: 1.8s; }
  .spot:nth-of-type(5) button::before { animation-delay: 2.4s; }
  .spot.open { z-index: 3; }
  .spot.open button { transform: scale(1.2); background: var(--lime); border-color: var(--lime); }
  .spot.open button::after { background: var(--ink); }
  .tip { position: absolute; left: 26px; top: -30px; padding-left: 36px; pointer-events: none; white-space: nowrap; }
  .tip::before { content: ''; position: absolute; left: 0; top: 30px; width: 34px; height: 1.5px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .spot[data-side="left"] .tip { left: auto; right: 26px; padding-left: 0; padding-right: 36px; }
  .spot[data-side="left"] .tip::before { left: auto; right: 0; transform-origin: right; }
  .tip-card { background: var(--white); color: var(--ink); border-radius: 4px; padding: 10px 14px 11px; box-shadow: 0 12px 30px rgba(8, 9, 60, .25); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .45s var(--ease); }
  .spot[data-side="left"] .tip-card { transform: translateX(8px); }
  .tip-card b { display: block; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
  .tip-card { width: max-content; max-width: var(--tip-max, 400px); } /* its own width, capped to the room beside the dot (the spot itself is 0 wide) */
  .tip-card span { display: block; min-height: 1.4em; font-size: 15px; font-weight: 500; white-space: normal; }
  .spot.open .tip::before { transform: scaleX(1); }
  .spot.open .tip-card { opacity: 1; transform: none; transition-delay: .15s; }

  /* 5 · fleet figures roll into place like a departures board */
  .anim .stat b { line-height: 1.15; margin: -.075em 0; }
  .roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; height: 1.15em; }
  .roll .sizer { visibility: hidden; }
  .roll .strip { position: absolute; left: 50%; top: 0; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); transition: transform 1.5s cubic-bezier(.6, 0, .15, 1) calc(150ms + var(--i) * 55ms); }
  .roll .strip span { display: block; height: 1.15em; }
  .stat.in .roll .strip { transform: translate(-50%, calc(var(--n) * -1.15em)); }

  /* 7 · quote: the truck photo shrinks from full screen into a frame */
  .quote-photo { display: none; }
  .anim .quote-photo { display: block; height: 190vh; }
  .qp-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .qp-pin video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; clip-path: inset(var(--ci-y, 0px) var(--ci-x, 0px) round var(--ci-r, 0px)); transform: scale(var(--qs, 1.08)); }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .anim .card { display: flex; flex-direction: column; min-height: 0; top: calc(84px + var(--k) * 12px); }
  .spot .tip { display: none; }
}

/* the menu drops in like the loading curtain in reverse: a curved edge, then the links rise */
@media (prefers-reduced-motion: no-preference) {
  .menu[open] { animation: menu-in .75s cubic-bezier(.7, 0, .2, 1) both; }
  .menu.closing { animation: menu-out .26s ease-in both; }
  .menu[open] .menu-links a, .menu[open] .menu-foot { animation: menu-rise .9s var(--ease) both; }
  .menu[open] .menu-links a:nth-child(1) { animation-delay: .22s; }
  .menu[open] .menu-links a:nth-child(2) { animation-delay: .28s; }
  .menu[open] .menu-links a:nth-child(3) { animation-delay: .34s; }
  .menu[open] .menu-links a:nth-child(4) { animation-delay: .4s; }
  .menu[open] .menu-foot { animation-delay: .48s; }
  @keyframes menu-in { from { clip-path: ellipse(150% 0% at 50% 0%); } to { clip-path: ellipse(150% 150% at 50% 0%); } }
  @keyframes menu-out { to { opacity: 0; } }
  @keyframes menu-rise { from { opacity: 0; transform: translateY(24px); } }
}

/* phones: a margin wide enough for the route truck, on every page; the nav lines up with it */
@media (max-width: 760px) { :root { --pad-x: max(28px, 5.56vw); --nav-pr: var(--pad-x); } }
