/* ==========================================================================
   tokens
   ========================================================================== */
/* Design tokens: the only place raw values live. Brand values measured on the live site (docs/design-tokens.md). */
:root {
  /* Brand */
  --red-50: #fdeeec;
  --red-100: #ffdede;
  --red-500: #e8432c;
  --red-600: #dd331d;   /* brand red */
  --red-700: #b8291a;
  --blue-600: #1b7fbe;  /* brand blue */
  --blue-700: #156699;  /* white text on blue (AA) */
  --blue-900: #0b3550;
  --cyan-500: #03abec;  /* live accent */

  /* Status */
  --green-50: #ecf8f1;
  --green-200: #c6ebd5;
  --green-600: #1e8a4c;  /* success mark (signing done, ticked consent) */
  --green-900: #14532d;

  /* Neutrals */
  --ink-950: #0a0d12;
  --ink-900: #11161d;
  --ink-800: #1b222c;
  --ink-700: #2a333f;
  --gray-600: #545d69;
  --gray-500: #737c88;
  --gray-300: #c9ced5;
  --gray-200: #e3e6ea;
  --gray-100: #f2f4f6;
  --white: #ffffff;

  /* Semantic */
  --color-bg: var(--white);
  --color-bg-alt: var(--gray-100);
  --color-text: #2f353d;
  --color-text-muted: var(--gray-600);
  --color-heading: var(--ink-950);
  --color-border: var(--gray-200);
  --color-focus: var(--blue-600);

  /* Type */
  --font-display: "Rajdhani", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.5rem, 1.55rem + 4vw, 4.75rem);
  --fs-page-title: clamp(2.25rem, 1.5rem + 3.2vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.55rem + 1.9vw, 3.125rem);
  --fs-h3: clamp(1.3125rem, 1.15rem + 0.6vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --lh-tight: 1.04;
  --lh-heading: 1.12;
  --lh-body: 1.7;
  --tracking-eyebrow: 0.14em;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --gutter: clamp(1.25rem, 0.75rem + 2vw, 2rem);
  --container: 77.5rem;
  --container-header: 90rem;

  /* Freight textures (spec 2026-10-13 §3.2) */
  /* Ribs only ever darken the panel, so white text on it keeps at least the base colour's contrast. */
  --container-ribs: repeating-linear-gradient(90deg, rgb(0 0 0 / 0.16) 0 3px, transparent 3px 11px, rgb(0 0 0 / 0.07) 11px 13px, transparent 13px 18px);
  --hazard: repeating-linear-gradient(-45deg, var(--red-600) 0 12px, var(--ink-950) 12px 24px);

  /* Shape */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgb(10 13 18 / 0.06), 0 1px 3px rgb(10 13 18 / 0.08);
  --shadow-md: 0 4px 12px rgb(10 13 18 / 0.08), 0 2px 4px rgb(10 13 18 / 0.06);
  --shadow-lg: 0 24px 48px -12px rgb(10 13 18 / 0.22);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 160ms;
  --dur-2: 320ms;
  --dur-3: 640ms;
  --dur-reveal: 480ms;
  --reveal-delay-max: 240ms;

  /* Chrome */
  --header-h: 84px;
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
}

/* ==========================================================================
   base
   ========================================================================== */
@font-face { font-family: "Rajdhani"; src: url("../fonts/rajdhani-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/rajdhani-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("../fonts/titillium-web-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("../fonts/titillium-web-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}
html:has(dialog[open]) { overflow: hidden; }
/* nav.js: no hover effects while the page scrolls under a still mouse (the header stays live). */
.is-scrolling main, .is-scrolling .site-footer { pointer-events: none; }
/* An open dialog (signature pad, menu drawer) is never part of the page being scrolled: it always takes the pointer. */
.is-scrolling dialog[open] { pointer-events: auto; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-heading);
  color: var(--color-heading);
  text-wrap: balance;
}
p, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 600; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--white); }
::selection { background: var(--red-600); color: var(--white); }

.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;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 1000;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  background: var(--ink-950); color: var(--white);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Without JavaScript, controls that only work with JS stay out of the way. */
html:not(.js) [data-js-only] { display: none !important; }

/* Reveal-on-scroll: content is hidden only when JS is running (it adds .js to <html>). */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: min(var(--reveal-delay, 0ms), var(--reveal-delay-max)); /* long rows never keep readers waiting */
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media print { .js [data-reveal] { opacity: 1 !important; transform: none !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Cross-document page transitions (spec §6): a quick cross-fade, only when motion is welcome. The header is
   its own transition group, so it stays put while the page content changes beneath it. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: var(--dur-2); }
  .site-header { view-transition-name: site-header; }
}

/* ==========================================================================
   layout
   ========================================================================== */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--color-bg-alt); }

.section-head { display: grid; gap: var(--space-4); max-width: 46rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); justify-items: start; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.section-title { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); color: var(--color-text-muted); }
.stack { display: grid; gap: var(--space-4); justify-items: start; }

.has-solid-header main { padding-top: var(--header-h); }

.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound__inner { display: grid; gap: var(--space-5); justify-items: start; max-width: 40rem; }

@media (max-width: 767px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

.section--dark { background: var(--ink-950); color: rgb(255 255 255 / 0.85); }
.section--dark .section-title { color: var(--white); }

/* ==========================================================================
   components
   ========================================================================== */
/* Eyebrow chip: the red-dot pill above section titles on the live site. */
.chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.375rem 0.875rem 0.375rem 0.75rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink-950);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; line-height: 1.4;
}
.chip::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--red-600); box-shadow: 0 0 0 4px var(--red-50); }
.on-dark .chip { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.2); color: var(--white); }
.on-dark .chip::before { box-shadow: 0 0 0 4px rgb(221 51 29 / 0.3); }

/* Button: pill label + red circular arrow, the live site's signature button. */
.btn {
  --btn-bg: var(--white); --btn-fg: var(--ink-950); --btn-border: var(--ink-950);
  --btn-icon-bg: var(--red-600); --btn-icon-fg: var(--white);
  display: inline-flex; align-items: center; gap: 0.875rem;
  min-height: 3.25rem; padding: 0.3125rem 0.3125rem 0.3125rem 1.5rem;
  border: 1px solid var(--btn-border); border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--fs-small); font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.btn__icon {
  display: grid; place-items: center; width: 2.625rem; height: 2.625rem; border-radius: 50%;
  background: var(--btn-icon-bg); color: var(--btn-icon-fg);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2), color var(--dur-2);
}
.btn__icon .icon { width: 1.125rem; height: 1.125rem; }
.btn:hover { --btn-bg: var(--ink-950); --btn-fg: var(--white); }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn:active { transform: translateY(1px); }
.btn--light { --btn-border: transparent; }
.btn--light:hover { --btn-bg: var(--red-600); --btn-fg: var(--white); --btn-icon-bg: var(--white); --btn-icon-fg: var(--red-600); }
.btn--primary { --btn-bg: var(--red-600); --btn-fg: var(--white); --btn-border: var(--red-600); --btn-icon-bg: var(--white); --btn-icon-fg: var(--red-600); }
.btn--primary:hover { --btn-bg: var(--red-700); --btn-border: var(--red-700); --btn-fg: var(--white); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgb(255 255 255 / 0.5); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink-950); --btn-border: var(--white); }
.btn--compact { min-height: 2.75rem; padding-left: 1.125rem; gap: 0.625rem; }
.btn--compact .btn__icon { width: 2.125rem; height: 2.125rem; }

/* Round icon button (slider/carousel arrows, close, socials). */
.icon-btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; flex: none;
  border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit;
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.icon-btn:hover { background: var(--red-600); border-color: var(--red-600); color: var(--white); }
.icon-btn:disabled, .icon-btn[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.icon-btn[aria-disabled="true"]:hover { background: transparent; border-color: currentColor; color: inherit; }
.icon-btn--sm { width: 2.5rem; height: 2.5rem; }
.icon-btn--sm .icon { width: 1.125rem; height: 1.125rem; }

/* Check list (Who We Are bullets). */
.check-list { list-style: none; display: grid; gap: 0.875rem; }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-950); font-size: var(--fs-lead); line-height: 1.45; }
.check-list .check { flex: none; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-top: 0.1em; border-radius: 50%; background: var(--red-600); color: var(--white); }
.check-list .check .icon { width: 0.875rem; height: 0.875rem; }

/* Category tag. */
.tag {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0.25rem 0.625rem; border-radius: var(--radius-sm);
  background: var(--red-600); color: var(--white);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; line-height: 1.4; text-transform: uppercase; text-decoration: none;
}
.tag:hover { background: var(--red-700); }

/* Forms */
.form { display: grid; gap: 1.75rem; }
.form__group { display: grid; gap: var(--space-4); min-width: 0; margin: 0; padding: 0; border: 0; }
.form__legend { margin-bottom: var(--space-1); padding: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink-950); }
.form__row { display: grid; gap: var(--space-4); }
.form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form__checks { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }

.field { display: grid; gap: 0.375rem; align-content: start; }
.field label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; color: var(--ink-950); }
.field .req { color: var(--red-600); }
.input {
  width: 100%; min-height: 3rem; padding: 0.75rem 1rem;
  border: 1px solid var(--gray-500); border-radius: var(--radius-sm); /* ≥3:1 against white (WCAG 1.4.11) */
  background: var(--white); color: var(--ink-950); font-size: 1rem;
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.input::placeholder { color: var(--gray-500); }
.input:hover { border-color: var(--gray-600); }
.input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgb(27 127 190 / 0.22); }
.input[aria-invalid="true"] { border-color: var(--red-600); box-shadow: 0 0 0 3px rgb(221 51 29 / 0.15); }
select.input {
  appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0d12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem;
}
textarea.input { min-height: 8rem; resize: vertical; }
.field__error { font-size: var(--fs-xs); color: var(--red-700); }
.checkbox { display: inline-flex; gap: 0.625rem; align-items: flex-start; font-size: var(--fs-small); line-height: 1.5; cursor: pointer; }
.checkbox input { flex: none; width: 1.125rem; height: 1.125rem; margin: 0.2em 0 0; accent-color: var(--red-600); }
.form-status { padding: var(--space-4) 1.25rem; border-radius: var(--radius-sm); font-size: var(--fs-small); }
.form-status[data-state="info"] { background: #eef6fc; color: var(--blue-900); border: 1px solid #cfe5f5; }
.form-status[data-state="error"] { background: var(--red-50); color: var(--red-700); border: 1px solid #f5c9c2; }
.form-status[data-state="success"] { background: var(--green-50); color: var(--green-900); border: 1px solid var(--green-200); }
.form-status__list { margin: var(--space-2) 0 0; padding-left: 1.25rem; }
.form-status__list a { color: inherit; font-weight: 600; }
.form__turnstile:empty { display: none; }
.form-done { padding: var(--space-6); border-radius: var(--radius); background: var(--green-50); color: var(--green-900); border: 1px solid var(--green-200); font-size: var(--fs-lead); }
.form-done:focus { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn--submit.is-loading { cursor: progress; }
.btn--submit.is-loading .btn__icon { position: relative; }
.btn--submit.is-loading .btn__icon .icon { opacity: 0; }
.btn--submit.is-loading .btn__icon::after { content: ""; position: absolute; inset: 0; margin: auto; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: form-spin 0.8s linear infinite; }
@keyframes form-spin { to { transform: rotate(360deg); } }
.form-result__errors { margin: 0 0 var(--space-6); padding-left: 1.25rem; text-align: left; }

@media (max-width: 639px) {
  .form__row--2, .form__row--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover .btn__icon { transform: none; }
  .btn--submit.is-loading .btn__icon::after { animation: none; }
}

/* Submit buttons use a paper-plane icon: nudge it instead of rotating it. */
.btn--submit:hover .btn__icon { transform: translateX(3px); }

/* Rich text from page data (content lists) and FAQ answers. */
.rich { display: grid; gap: var(--space-4); }
.bullets { list-style: none; display: grid; gap: var(--space-3); }
.bullets li { position: relative; padding-left: 1.75rem; }
.bullets li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.62em; width: 0.5rem; height: 0.5rem;
  border-radius: 50%; background: var(--red-600); box-shadow: 0 0 0 4px var(--red-50);
}
.on-dark .bullets li::before { box-shadow: 0 0 0 4px rgb(221 51 29 / 0.3); }
.rich a { color: var(--red-700); font-weight: 600; overflow-wrap: anywhere; }
.on-dark .rich a { color: var(--white); }

/* ==========================================================================
   sections (shared by the homepage and content pages)
   ========================================================================== */
/* ===== Stats: a row of shipping-container fronts (spec 2026-10-13 §3.2) ===== */
.stats { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.5rem, 6vw, 5.5rem); background: var(--ink-950); color: var(--white); }
.stats::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background: var(--world-dots, none) center / max(100%, 1100px) auto no-repeat;
}
.stats::after { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--hazard); } /* loading-dock edge */
.stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.stat {
  position: relative; display: grid; align-content: end; gap: var(--space-2);
  min-height: clamp(10rem, 14vw, 12.5rem); padding: var(--space-7) var(--space-5) var(--space-5);
  border-radius: 4px; background: var(--container-ribs), var(--stat-color, var(--red-600));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 24px 40px -28px rgb(0 0 0 / 0.9);
}
.stat:nth-child(3n + 2) { --stat-color: var(--blue-700); }
.stat:nth-child(3n + 3) { --stat-color: var(--ink-800); }
/* Corner castings */
.stat::before, .stat::after { content: ""; position: absolute; top: 8px; width: 14px; height: 10px; border-radius: 2px; background: rgb(0 0 0 / 0.32); }
.stat::before { left: 8px; }
.stat::after { right: 8px; }
.stat__value {
  display: flex; align-items: baseline;
  font-family: var(--font-display); font-size: clamp(3.25rem, 2.25rem + 3.2vw, 5rem); font-weight: 700; line-height: 1; color: var(--white);
}
.stat__unit { margin-left: 0.04em; color: rgb(255 255 255 / 0.8); }
.stat__label { color: var(--white); font-size: var(--fs-small); font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; }
/* The containers are set down from above as they appear (motion only: content stays visible without JS,
   and nothing is offset under reduced motion). */
@media (prefers-reduced-motion: no-preference) {
  .js .stat[data-reveal] { transform: translateY(-28px); }
  .js .stat[data-reveal].is-visible { transform: none; }
}
@media (max-width: 767px) {
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .stat { min-height: 8.5rem; }
}

/* ===== Quote ===== */
.quote__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.quote__media { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
.quote__img { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; }
.quote__img img { width: 100%; height: 100%; object-fit: cover; }
.quote__call {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) 1.25rem;
  border-radius: var(--radius); background: rgb(10 13 18 / 0.8); color: var(--white); text-decoration: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color var(--dur-2);
}
.quote__call:hover { background: rgb(221 51 29 / 0.92); }
.quote__call-icon { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--red-600); transition: background-color var(--dur-2); }
.quote__call:hover .quote__call-icon { background: var(--ink-950); }
.quote__call-label { display: block; color: rgb(255 255 255 / 0.78); font-size: var(--fs-xs); }
.quote__call-number { display: block; font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; }
.quote__tabs { display: inline-flex; gap: 0.375rem; margin-bottom: var(--space-5); padding: 0.375rem; border-radius: var(--radius-pill); background: var(--gray-100); }
.quote__tab {
  display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.75rem 1.25rem;
  border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--gray-600); font-weight: 600;
  transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.quote__tab .icon { width: 1.125rem; height: 1.125rem; }
.quote__tab:hover { color: var(--ink-950); }
.quote__tab[aria-selected="true"] { background: var(--ink-950); color: var(--white); box-shadow: var(--shadow-md); }
.quote__card { padding: clamp(1.5rem, 3vw, 2.75rem); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.quote__card + .quote__card { margin-top: var(--space-6); }
.js .quote__card + .quote__card { margin-top: 0; }
.quote__intro { margin-bottom: 1.75rem; color: var(--color-text-muted); }
@media (max-width: 1023px) {
  .quote__grid { grid-template-columns: minmax(0, 1fr); }
  .quote__media { position: relative; top: 0; }
  .quote__img { aspect-ratio: 16 / 10; }
}
@media (max-width: 479px) {
  .quote__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .quote__tab { justify-content: center; padding: 0.75rem 0.5rem; font-size: var(--fs-small); white-space: nowrap; }
  .quote__call { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; gap: var(--space-3); padding: var(--space-3); }
  .quote__call-icon { width: 2.5rem; height: 2.5rem; }
  .quote__call-number { font-size: 1.125rem; white-space: nowrap; }
}
/* Narrow phones: the tab labels need the room their icons take. */
@media (max-width: 379px) {
  .quote__tab { gap: 0; padding-inline: 0.25rem; font-size: var(--fs-xs); }
  .quote__tab .icon { display: none; }
}

/* ===== Case studies ===== */
.cases { position: relative; isolation: isolate; overflow: hidden; background: var(--red-600); color: var(--white); }
.cases::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.3;
  background: var(--world-dots, none) center / max(100%, 1100px) auto no-repeat;
}
.cases .chip { border-color: rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.12); color: var(--white); }
.cases .chip::before { background: var(--white); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.25); }
.cases__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cases__head { display: grid; gap: 1.25rem; justify-items: start; }
.cases__head .section-title { color: var(--white); }
.cases__text { color: var(--white); font-size: var(--fs-lead); }
.cases__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.case-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--white); color: var(--ink-950);
  box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.45);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 32px 60px -20px rgb(0 0 0 / 0.5); }
.case-card__media { aspect-ratio: 16 / 11; overflow: hidden; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.case-card:hover .case-card__media img { transform: scale(1.05); }
.case-card__body { flex: 1; display: grid; align-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-5) 1.75rem; }
.case-card__title { font-size: 1.25rem; line-height: 1.25; }
.case-card__title a { color: inherit; text-decoration: none; }
.case-card__title a::after { content: ""; position: absolute; inset: 0; }
.case-card__more { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--red-600); font-size: var(--fs-small); font-weight: 600; }
.case-card__more .icon { width: 1rem; height: 1rem; }
@media (max-width: 1023px) { .cases__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .cases__list { grid-template-columns: minmax(0, 1fr); } }

/* ===== Clients ===== */
.clients { padding-block: clamp(2.5rem, 4vw, 3.5rem); border-block: 1px solid var(--color-border); }
.clients__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.clients__item { display: grid; place-items: center; padding: var(--space-5); border-left: 1px solid var(--color-border); }
.clients__item:first-child { border-left: 0; }
.clients__logo img { width: auto; max-width: 180px; max-height: 72px; filter: grayscale(1); opacity: 0.7; transition: filter var(--dur-2), opacity var(--dur-2); }
.clients__item:hover .clients__logo img { filter: none; opacity: 1; }
@media (max-width: 767px) {
  .clients__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients__item { border-left: 0; }
  .clients__item:nth-child(even) { border-left: 1px solid var(--color-border); }
  .clients__item:nth-child(n + 3) { border-top: 1px solid var(--color-border); }
}

/* ===== Testimonials ===== */
.testimonials { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-950); color: var(--white); }
.testimonials__bg { position: absolute; inset: 0; z-index: -1; }
.testimonials__bg-img, .testimonials__bg-img img { width: 100%; height: 100%; }
.testimonials__bg-img img { object-fit: cover; opacity: 0.3; }
.testimonials__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-950) 0%, rgb(10 13 18 / 0.55) 35%, rgb(10 13 18 / 0.75) 100%); }
.testimonials .section-title { max-width: 18ch; color: var(--white); }
.carousel-nav { display: flex; gap: 0.625rem; }
.carousel-nav .icon-btn { border-color: rgb(255 255 255 / 0.35); }
.testimonials__track {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--space-5)) / 3); gap: var(--space-5);
  padding-bottom: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonial { display: flex; scroll-snap-align: start; }
.testimonial__card {
  position: relative; display: flex; flex-direction: column; gap: 1.25rem; width: 100%; padding: var(--space-6);
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--radius-lg); background: rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.testimonial__card::before { content: "\201C"; position: absolute; top: 0.5rem; right: 1.5rem; color: var(--red-600); font-family: var(--font-display); font-size: 5rem; line-height: 1; }
.testimonial__stars { display: flex; gap: var(--space-1); color: #f5b301; }
.testimonial__stars .icon { width: 1.125rem; height: 1.125rem; }
.testimonial__quote { flex: 1; color: rgb(255 255 255 / 0.9); font-size: var(--fs-body); line-height: 1.7; }
.testimonial__author { display: grid; gap: 0.125rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.14); }
.testimonial__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); }
.testimonial__role { color: rgb(255 255 255 / 0.72); font-size: var(--fs-small); }
@media (max-width: 1023px) { .testimonials__track { grid-auto-columns: calc((100% - var(--space-5)) / 2); } }
@media (max-width: 639px) { .testimonials__track { grid-auto-columns: 86%; } }

/* ===== Articles ===== */
.articles__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-5); }
.post-card { position: relative; display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.post-card--featured { grid-row: 1 / span 3; grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; }
.post-card__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.post-card--featured .post-card__media { border-radius: var(--radius-lg); aspect-ratio: 16 / 9; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: grid; gap: 0.625rem; }
.post-card__tags { position: relative; z-index: 2; list-style: none; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.post-card__title { font-size: 1.1875rem; line-height: 1.3; }
.post-card:not(.post-card--featured) .post-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.post-card--featured .post-card__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.post-card__title a {
  color: inherit; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur-3) var(--ease-out);
}
.post-card:hover .post-card__title a { background-size: 100% 1px; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__date { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--color-text-muted); font-size: var(--fs-small); }
.post-card__date .icon { width: 1rem; height: 1rem; }
@media (max-width: 1023px) {
  .articles__grid { grid-template-columns: minmax(0, 1fr); }
  .post-card--featured { grid-row: auto; }
}
@media (max-width: 479px) {
  .post-card { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .post-card__title { font-size: 1.0625rem; }
  .post-card--featured { grid-template-columns: minmax(0, 1fr); }
  .post-card--featured .post-card__title { font-size: 1.375rem; }
}

/* ===== CTA band ===== */
.cta-band { padding-bottom: var(--section-y); } /* the section before supplies the top spacing */
.cta-band:has(+ .faq) { padding-bottom: 0; } /* the homepage FAQ supplies the spacing */
.cta-band__inner {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; justify-items: center; gap: 1.25rem;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl); background: var(--blue-700); color: var(--white); text-align: center;
}
.cta-band__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background: var(--world-dots, none) center / max(100%, 1100px) auto no-repeat;
}
.cta-band__inner::after { content: ""; position: absolute; top: -45%; right: -15%; z-index: -1; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgb(3 171 236 / 0.45), transparent 65%); }
.cta-band__title { max-width: 22ch; color: var(--white); font-size: var(--fs-h2); }
.cta-band__text { max-width: 40rem; color: var(--white); font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.875rem; margin-top: var(--space-3); }

/* ===== FAQ ===== */
.faq__inner { display: grid; gap: clamp(2rem, 4vw, 3rem); max-width: 56rem; }
.faq__title { text-align: center; }
.faq__list { display: grid; gap: 0.875rem; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--white); transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-md); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding: 1.25rem var(--space-5); list-style: none; cursor: pointer;
  color: var(--ink-950); font-family: var(--font-display); font-size: 1.3125rem; font-weight: 600; line-height: 1.3;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--red-50); color: var(--red-600);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2), color var(--dur-2);
}
.faq-item__icon .icon { width: 1.125rem; height: 1.125rem; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--red-600); color: var(--white); }
.faq-item__a { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); }
.faq-item__a a { color: var(--red-600); font-weight: 600; }
.faq-item__a > * + * { margin-top: var(--space-3); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size var(--dur-2) var(--ease-out), content-visibility var(--dur-2) allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}


/* ===== Map pin (homepage help map, Contact map card) ===== */
.map-pin {
  position: absolute; left: calc(var(--x, 0.25) * 100%); top: calc(var(--y, 0.38) * 100%);
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--red-600); box-shadow: 0 0 0 4px rgb(221 51 29 / 0.25);
}
.map-pin::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--red-600); border-radius: 50%; opacity: 0; }
/* Three pulses (4.8 s, WCAG 2.2.2) once the map is in view. */
.is-visible .map-pin::after { animation: pin-pulse 1.6s var(--ease-out) 3; }
@keyframes pin-pulse { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(3); opacity: 0; } }

/* ==========================================================================
   network map: freight lanes out of Atlanta, homepage hero only (spec 2026-10-13 §3.1;
   owner 2026-10-13: shown once, not repeated). Sizes are SVG user units (the map's 264-unit-wide view).
   ========================================================================== */
.network { position: relative; pointer-events: none; }
.network__svg { display: block; width: 100%; height: auto; }
.network__dots { opacity: var(--net-dots, 0.45); }
.network__lane { fill: none; stroke: var(--red-500); stroke-width: var(--net-lane, 1); stroke-linecap: round; stroke-dasharray: 2 2.4; }
.network__lane--alt { stroke: var(--cyan-500); }
.network__stop { fill: var(--white); }
.network__code { fill: rgb(255 255 255 / 0.78); font-family: var(--font-display); font-size: 5.4px; font-weight: 700; letter-spacing: 0.06em; text-anchor: middle; }
.network__code--origin { fill: var(--white); text-anchor: start; }
.network__origin { fill: var(--red-600); stroke: var(--white); stroke-width: 0.7; }
/* What moves is layered over the static drawing: shipments (network.js) and the pulse at Atlanta (CSS). */
.network__movers { position: absolute; inset: 0; }
.network__shipment, .network__pulse { position: absolute; border-radius: 50%; }
.network__shipment { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--white); box-shadow: 0 0 0 2px rgb(10 13 18 / 0.35); opacity: 0; }
.network[data-started] .network__shipment { opacity: 1; }
.network__pulse { width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid var(--red-500); opacity: 0; }
.network.is-live :is(.network__shipment, .network__pulse) { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .network.is-live .network__pulse { animation: origin-pulse 2.2s var(--ease-out) infinite; }
}
@keyframes origin-pulse { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(4.5); } }


/* ==========================================================================
   header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h); color: var(--white);
  transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(10 13 18 / 0.6), transparent);
  transition: opacity var(--dur-2);
}
.site-header.is-scrolled, .site-header--solid {
  background: rgb(10 13 18 / 0.96); /* near-opaque: a backdrop blur would be invisible here and costs every scrolled frame */
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06), 0 10px 30px -12px rgb(0 0 0 / 0.5);
}
.site-header.is-scrolled::before, .site-header--solid::before { opacity: 0; }
.site-header__inner { width: min(100% - 2 * var(--gutter), var(--container-header)); height: 100%; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.site-header__logo { flex: none; width: clamp(118px, 9vw, 140px); }

.primary-nav { margin-inline: auto; }
.primary-nav__list { list-style: none; display: flex; gap: clamp(0.25rem, 1.1vw, 1.25rem); }
.primary-nav__item { position: relative; }
.primary-nav__split { display: inline-flex; align-items: center; }
.primary-nav__link, .primary-nav__toggle {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.625rem 0.375rem; border: 0; background: none; color: var(--white);
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
}
.primary-nav__toggle--icon { justify-content: center; min-width: 24px; padding-inline: 0.125rem; } /* WCAG 2.5.8 target size */
.primary-nav__link:hover, .primary-nav__toggle:hover { color: var(--red-100); }
.primary-nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red-600); }
.primary-nav__toggle .icon { width: 1rem; height: 1rem; transition: transform var(--dur-2) var(--ease-out); }
.primary-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 0.5rem); left: -0.75rem; z-index: 10;
  min-width: 15rem; padding: var(--space-2); list-style: none;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.submenu::before { content: ""; position: absolute; inset: -0.75rem 0 auto; height: 0.75rem; }
.primary-nav__item.is-open > .submenu,
html:not(.js) .primary-nav__item:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) {
  .primary-nav__item:hover > .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.submenu a { display: block; padding: 0.625rem 0.875rem; border-radius: var(--radius-sm); color: var(--ink-950); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.submenu a:hover, .submenu a:focus-visible { background: var(--gray-100); color: var(--red-600); }

.header-contact { flex: none; display: flex; align-items: center; gap: var(--space-3); color: var(--white); text-decoration: none; }
.header-contact__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--red-600); }
.header-contact__icon .icon { width: 1.125rem; height: 1.125rem; }
.header-contact__text { display: grid; line-height: 1.2; }
.header-contact__label { font-size: 0.75rem; color: rgb(255 255 255 / 0.75); }
.header-contact__number { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.01em; }
.site-header__cta { flex: none; }

.menu-toggle { display: none; }

/* Reading bar as a road (spec 2026-10-13-fresh-logistics-ideas D): dashed lane line, red distance travelled,
   and a small truck at the leading edge. CSS only (scroll-driven), shown once the header is solid. */
.scroll-road {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; opacity: 0; transition: opacity var(--dur-2);
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.22) 0 12px, transparent 12px 22px);
}
.site-header.is-scrolled .scroll-road, .site-header--solid .scroll-road { opacity: 1; }
.scroll-road__fill { position: absolute; inset: 0; background: var(--red-600); transform-origin: 0 50%; transform: scaleX(0); }
/* The lane spans the road and slides by its own width, so the truck moves on the compositor (transform). */
.scroll-road__lane { position: absolute; left: 0; bottom: 1px; display: none; width: 100%; height: 0; }
.scroll-road__truck { position: absolute; left: 0; bottom: 0; width: 1.25rem; height: 1.25rem; color: var(--white); }
.scroll-road__truck .icon { display: block; width: 100%; height: 100%; }
@supports (animation-timeline: scroll()) {
  .scroll-road__fill { animation: scroll-progress linear both; animation-timeline: scroll(root); }
  .scroll-road__lane { display: block; animation: road-truck linear both; animation-timeline: scroll(root); }
}
@keyframes scroll-progress { to { transform: scaleX(1); } }
@keyframes road-truck { from { transform: translateX(0.125rem); } to { transform: translateX(calc(100% - 1.375rem)); } }
@media (prefers-reduced-motion: reduce) { .scroll-road__lane { display: none !important; } }

@media (max-width: 1279px) {
  .header-contact__text { display: none; }
}
/* Below 1200px the full menu no longer fits on one line, so it moves into the drawer. */
@media (max-width: 1199px) {
  .primary-nav { display: none; }
  .site-header__logo { margin-right: auto; }
  .menu-toggle {
    display: grid; place-items: center; width: 3rem; height: 3rem;
    border: 1px solid rgb(255 255 255 / 0.35); border-radius: 50%; background: transparent; color: var(--white);
  }
}
@media (max-width: 1023px) {
  .header-contact, .site-header__cta { display: none; }
}

/* Mobile drawer (<dialog>) */
.mobile-nav {
  margin: 0 0 0 auto; padding: 1.25rem var(--gutter) 2rem;
  width: min(100%, 420px); max-width: none; height: 100dvh; max-height: none;
  border: 0; background: var(--ink-950); color: var(--white); overflow-y: auto;
}
.mobile-nav[open] { display: flex; flex-direction: column; gap: var(--space-6); animation: drawer-in var(--dur-2) var(--ease-out); }
.mobile-nav::backdrop { background: rgb(10 13 18 / 0.6); }
@keyframes drawer-in { from { transform: translateX(100%); } }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__logo { width: 132px; }
.mobile-nav__list { list-style: none; display: grid; }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 0.875rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.1);
  color: var(--white); font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; text-decoration: none;
  list-style: none; cursor: pointer;
}
.mobile-nav__link::-webkit-details-marker { display: none; }
.mobile-nav__link .icon { width: 1.25rem; height: 1.25rem; transition: transform var(--dur-2) var(--ease-out); }
.mobile-nav__group[open] > summary .icon { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; display: grid; gap: var(--space-1); padding: var(--space-3) 0 var(--space-4) var(--space-4); }
.mobile-nav__sub a { display: block; padding: var(--space-2) 0; color: rgb(255 255 255 / 0.82); text-decoration: none; }
.mobile-nav__sub a:hover { color: var(--white); }
.mobile-nav__contact { display: grid; gap: var(--space-3); font-size: var(--fs-small); color: rgb(255 255 255 / 0.82); }
.mobile-nav__contact p { display: flex; gap: 0.625rem; align-items: flex-start; }
.mobile-nav__contact a { display: inline-flex; gap: 0.625rem; align-items: center; color: inherit; text-decoration: none; }
.mobile-nav__contact .icon { width: 1.125rem; height: 1.125rem; margin-top: 0.15em; color: var(--red-500); }
.mobile-nav__heading { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--white); }
.mobile-nav > .btn { align-self: flex-start; }

/* ==========================================================================
   footer
   ========================================================================== */
.site-footer { position: relative; background: var(--ink-950); color: rgb(255 255 255 / 0.72); font-size: var(--fs-small); }
/* Road edge: asphalt strip with dashed lane markings (spec 2026-10-13 §3.4). */
.site-footer::before {
  content: ""; display: block; height: 14px;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.45) 0 28px, transparent 28px 60px) center / 100% 2px no-repeat, var(--ink-800);
}
.site-footer a { color: rgb(255 255 255 / 0.72); text-decoration: none; transition: color var(--dur-1); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(4rem, 6vw, 6rem) var(--space-7); }
.site-footer__brand { display: grid; gap: 1.25rem; align-content: start; }
.site-footer__logo { width: 170px; }
.site-footer__heading { margin-bottom: 1.25rem; font-size: 1.25rem; font-weight: 700; color: var(--white); }
.site-footer__links { list-style: none; display: grid; gap: var(--space-3); }
.site-footer__social { list-style: none; display: flex; gap: 0.625rem; }
.site-footer__social .icon-btn { border-color: rgb(255 255 255 / 0.25); color: var(--white); }
.site-footer__phone { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.25rem; }
.site-footer__phone-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--red-600); color: var(--white); }
.site-footer__phone-number { display: block; font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: var(--white); }
.site-footer__label { display: block; margin-bottom: var(--space-1); color: var(--white); font-weight: 600; }
.site-footer__item { margin-bottom: var(--space-4); }
.site-footer__credit { display: flex; justify-content: center; padding-bottom: var(--space-7); }
.site-footer__credit img { width: 220px; opacity: 0.85; }
.site-footer__bottom { padding-block: var(--space-5); border-top: 1px solid rgb(255 255 255 / 0.1); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); }
.site-footer a.site-footer__credit-link { color: var(--red-500); }
.site-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2) 1.25rem; }

@media (max-width: 1023px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}


/* Tables inside FAQ answers (e.g. Drayage container weights). Cells wrap only at spaces, so "~44,000" never splits. */
.faq-item__a table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.faq-item__a th, .faq-item__a td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.faq-item__a th { color: var(--ink-950); font-weight: 600; }
.faq-item__a thead th { border-bottom: 2px solid var(--red-600); }
@media (max-width: 479px) {
  .faq-item__a table { font-size: var(--fs-xs); }
  .faq-item__a th, .faq-item__a td { padding: var(--space-2) var(--space-1); }
}

/* Defined forms (partials/form.php): grid of fields, sections, choice groups, steps. */
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); }
.field--full, .form__section { grid-column: 1 / -1; }
.form__section { margin: var(--space-4) 0 0; padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-border); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink-950); }
.form__step, .field-group, .field--choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.form__step { display: grid; gap: var(--space-5); }
.field-group { display: grid; gap: var(--space-3); }
.field-group > legend, .field--choices > legend { margin-bottom: var(--space-2); padding: 0; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; color: var(--ink-950); }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.field__hint { font-size: var(--fs-xs); color: var(--color-text-muted); }
.input[type="file"] { padding: 0.5rem; }
.form__progress { display: grid; gap: var(--space-2); }
.form__progress[hidden], .form__step-nav[hidden], .form__step[hidden], .form [data-step-submit][hidden] { display: none; }
.form__progress-label { font-size: var(--fs-small); font-weight: 600; color: var(--ink-950); }
.form__bar { height: 6px; overflow: hidden; border-radius: var(--radius-pill); background: var(--gray-200); }
.form__bar span { display: block; height: 100%; background: var(--blue-600); transition: width var(--dur-1) var(--ease-out); }
.form__step-nav { display: flex; justify-content: space-between; gap: var(--space-3); }
.form__step-nav [data-step-next]:only-child { margin-left: auto; }
.form-block__inner { display: grid; gap: var(--space-7); max-width: 56rem; }
.form-card { padding: clamp(var(--space-5), 4vw, var(--space-8)); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md); }
.form-card__title { margin-bottom: var(--space-5); font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink-950); }
@media (max-width: 639px) {
  .form__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .form__bar span { transition: none; }
}
.form__subsection { grid-column: 1 / -1; margin: var(--space-2) 0 0; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--blue-900); }
.form__notice { padding: var(--space-4) 1.25rem; border-radius: var(--radius-sm); background: var(--color-bg-alt); font-size: var(--fs-small); line-height: 1.6; }
.form__notice a { color: var(--blue-700); font-weight: 600; }
.terms-box { max-height: 18rem; overflow-y: auto; margin-bottom: var(--space-3); padding: var(--space-4) 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg-alt); font-size: var(--fs-small); line-height: 1.6; }
.terms-box p + p { margin-top: var(--space-3); }
.terms-box:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
