/* Benefit Transportation. One stylesheet, no framework.
   Cold palette: ice ground, indigo ink, cobalt action. Sections are as tall as their content. */
:root {
  --bg: #f3f5fa;
  --panel: #e6eaf4;
  --ink: #141a33;
  --muted: #56607a;
  --line: #d3d9e8;
  --action: #2f3fb8;
  --action-hover: #25329a;
  --on-dark: #f3f5fa;
  --on-dark-muted: #a9b1c9;
  --display: "Source Serif 4", Georgia, serif;
  --text: "Libre Franklin", system-ui, -apple-system, sans-serif;
  --gut: clamp(20px, 5vw, 72px);
  --section: clamp(48px, 7vw, 96px);
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
h3 { font: 500 19px/1.35 var(--text); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gut), 1240px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-dark); padding: 10px 14px; border-radius: 6px; z-index: 20; }
.skip:focus { left: 8px; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 6px; background: var(--action); color: #fff; font: 500 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.btn:hover { background: var(--action-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 14px; height: 14px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--action); text-decoration: none; }
.more svg { width: 13px; height: 13px; transition: transform .2s; }
a:hover > .more svg, .more:hover svg { transform: translateX(3px); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { font: 500 20px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; }
.top__nav a:hover, .top__nav a[aria-current] { color: var(--action); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
@media (max-width: 859px) { .top__nav { display: none; } .top .btn { margin-left: auto; } .top__bar { height: 60px; gap: 16px; } .brand { font-size: 18px; } }
@media (max-width: 379px) { .brand span { display: none; } }

/* home hero: the words on the dark ground, the photograph beside them out to the screen's edge.
   Nothing is set on the photograph itself. */
.hero { background: var(--ink); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); }
.hero__text { display: grid; gap: 24px; align-content: center; justify-items: start; padding: 64px clamp(24px, 4vw, 64px) 64px max(var(--gut), calc((100vw - 1240px) / 2)); }
.hero__text p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 30em; color: #dfe4f3; }
.hero__img { width: 100%; height: 100%; min-height: min(72vh, 640px); max-height: 760px; object-fit: cover; object-position: 60% 50%; }
.hero h1 { font-size: clamp(36px, 4.2vw, 60px); }
@media (max-width: 859px) {
  .hero { grid-template-columns: 1fr; }
  .hero__img { order: -1; min-height: 0; aspect-ratio: 3 / 2; }
  .hero__text { padding: 28px var(--gut) 36px; gap: 18px; }
  .hero__text .btn { width: 100%; }
}

/* three facts under the hero */
.facts { background: var(--ink); color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, .14); }
.facts ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { padding: 22px 24px 24px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.facts strong { display: block; font: 500 17px/1.3 var(--text); }
.facts span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--on-dark-muted); }
@media (max-width: 859px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 16px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* sections */
.section { padding-block: var(--section); }
.section--panel { background: var(--panel); }
.section__head { display: grid; gap: 12px; max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { color: var(--muted); font-size: 18px; }

/* fleet: two vehicles, each a link to its page */
.fleet { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.fleet a { display: grid; gap: 14px; text-decoration: none; }
.fleet figure { overflow: hidden; border-radius: var(--radius); background: var(--panel); aspect-ratio: 3 / 2; }
.fleet img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fleet a:hover img { transform: scale(1.03); }
.fleet p { color: var(--muted); max-width: 40em; }
@media (max-width: 699px) { .fleet { grid-template-columns: 1fr; gap: 36px; } }

/* a photograph beside a short list (how a load moves, the detail rows) */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split figure { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--panel); }
.split img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: clamp(20px, 3vw, 32px); }
.steps { counter-reset: step; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; }
.steps li::before { content: counter(step); grid-row: span 2; font: 400 28px/1.1 var(--display); color: var(--action); }
.steps p, .rows p { color: var(--muted); }
.rows { display: grid; gap: 20px; }
.rows li { display: grid; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 859px) { .split { grid-template-columns: 1fr; } .split figure { aspect-ratio: 3 / 2; } }

/* questions */
.qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
.qa dl { display: grid; }
.qa dl > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.qa dl > div:first-child { padding-top: 0; }
.qa dt { font: 500 19px/1.35 var(--text); }
.qa dd { margin-top: 6px; color: var(--muted); max-width: 44em; }
@media (max-width: 859px) { .qa { grid-template-columns: 1fr; } }

/* quote: the one task of the site, on the dark ground */
.quote { background: var(--ink); color: var(--on-dark); padding-block: var(--section); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.quote p { color: var(--on-dark-muted); font-size: 18px; margin-top: 12px; max-width: 26em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input { height: 48px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 6px; background: rgba(255, 255, 255, .06); color: #fff; font: 400 16px/1 var(--text); }
.form input:focus-visible { outline-color: #fff; }
.form .btn { grid-column: 1 / -1; justify-self: start; background: #fff; color: var(--ink); }
.form .btn:hover { background: #dfe4f3; }
@media (max-width: 859px) { .quote__grid { grid-template-columns: 1fr; } }
@media (max-width: 519px) { .form { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }
.quote--cta .quote__grid { grid-template-columns: 1fr auto; align-items: center; }
@media (max-width: 699px) { .quote--cta .quote__grid { grid-template-columns: 1fr; } .quote--cta .btn { width: 100%; } }
.quote--cta .btn { background: #fff; color: var(--ink); }
.quote--cta .btn:hover { background: #dfe4f3; }

/* service pages: words beside the photograph */
.lead { padding-block: clamp(40px, 6vw, 88px); }
.lead__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lead__text { display: grid; gap: 22px; justify-items: start; }
.lead__text p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--muted); max-width: 32em; }
.lead figure { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: var(--panel); }
.lead img { width: 100%; height: 100%; object-fit: cover; }
.lead h1 { font-size: clamp(34px, 4.4vw, 58px); }
@media (max-width: 859px) { .lead__grid { grid-template-columns: 1fr; } .lead__text .btn { width: 100%; } }

/* text pages */
.prose { display: grid; gap: 16px; max-width: 680px; }
.prose h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; }
.prose a { color: var(--action); }

/* footer */
.foot { padding-block: 40px; border-top: 1px solid var(--line); font-size: 15px; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: baseline; justify-content: space-between; }
.foot ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--action); }
.foot small { display: block; margin-top: 20px; font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
