/* ==========================================================================
   PACCAR 2026 demo — tokens verbatim from brand/tokens.css
   ========================================================================== */

:root {
  /* Verified brand (paccar.com, 2026-08-06) */
  --paccar-blue: #0053BF;
  --paccar-blue-ui: #2a7ee5;
  --paccar-blue-dark: #034498;
  --gray-900: #333333;
  --gray-700: #454545;
  --gray-400: #999999;
  --red-accent: #a41027;
  --peterbilt-red: #8f0101;
  /* Provisional (nameplate sites blocked scraping) */
  --kenworth-red: #C8102E;
  --daf-blue: #00529C;
  /* Demo-derived */
  --asphalt: #0B0E13;
  --steel: #10151D;
  --paper: #F5F6F8;
  --silver: #9AA3AF;
  --paccar-blue-bright: #3D82DD;
  --paccar-navy: #002B63;
  /* Type */
  --font-display: "Barlow Condensed", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  /* Shape */
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.25);
  --container: 1320px;

  /* Additional page tokens */
  --white: #FFFFFF;
  --ink: #10151D;
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --bleed: max(24px, calc((100vw - var(--container)) / 2 + 24px));
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

html, body { overflow-x: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  background: var(--paccar-blue);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transition: top 0.2s var(--ease-reveal);
}
.skip-link:focus {
  top: 12px;
}

/* Visible focus states everywhere */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--paccar-blue-bright);
  outline-offset: 3px;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}
.section--light .eyebrow,
.nameplates .eyebrow,
.parts-financial .eyebrow,
.news .eyebrow {
  color: var(--paccar-blue-dark);
}
.eyebrow--sm { margin-bottom: 0.75rem; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.section-title--sm {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  max-width: 24ch;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Noise + fallback media treatment
   ========================================================================== */

.media-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--steel), var(--asphalt) 70%);
  aspect-ratio: 16 / 10;
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--fill { position: absolute; inset: 0; aspect-ratio: auto; }

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.media-frame--fallback img { display: none; }
.media-frame--fallback {
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(0, 83, 191, 0.22), transparent 55%),
    linear-gradient(155deg, var(--steel), var(--asphalt) 75%);
  border-top: 3px solid var(--paccar-blue);
}
.media-frame--fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 34px);
}


/* ==========================================================================
   Nav
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  transition: background-color 0.3s var(--ease-reveal), backdrop-filter 0.3s var(--ease-reveal), border-color 0.3s var(--ease-reveal);
}
.site-nav.is-scrolled {
  background-color: rgba(11, 14, 19, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 14, 19, 0.55);
}
.site-nav:not(.is-scrolled) .utility-strip { background: rgba(11, 14, 19, 0.35); }
.utility-strip__row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 34px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 72px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--silver);
  padding: 0.4rem 0.1rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  border-color: var(--paccar-blue-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn--solid {
  background: var(--paccar-blue);
  color: var(--white);
}
.btn--solid:hover { background: var(--paccar-blue-dark); }
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn--nav {
  min-height: 40px;
  padding: 0 1.25rem;
  font-size: 0.875rem;
}
.btn--light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.link-out {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--paccar-blue);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: gap 0.2s, border-color 0.2s;
}
.link-out:hover,
.link-out:focus-visible { gap: 0.65rem; border-color: currentColor; }
.section--dark .link-out,
.nameplate-panel .link-out { color: var(--paccar-blue-bright); }

/* ==========================================================================
   Sections general
   ========================================================================== */

.section {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  position: relative;
}
.section--dark {
  background: var(--asphalt);
  color: var(--white);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.section--light { background: var(--paper); color: var(--ink); }

.section > .wrap { position: relative; z-index: 1; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--asphalt);
}
.hero__media { z-index: 0; }
.hero__img {
  transform: scale(1.06);
  transition: transform 1.8s var(--ease-reveal);
}
.hero.is-settled .hero__img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .hero__img { transform: none; transition: none; }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,14,19,0.97) 0%, rgba(11,14,19,0.93) 38%, rgba(11,14,19,0.80) 60%, rgba(11,14,19,0.32) 82%, rgba(11,14,19,0.45) 100%),
    linear-gradient(0deg, rgba(11,14,19,0.90) 0%, rgba(11,14,19,0) 45%),
    linear-gradient(180deg, rgba(11,14,19,0.75) 0%, rgba(11,14,19,0) 22%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  padding-top: 10rem;
  max-width: var(--container);
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 900px;
}
.hero__subline {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--silver);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   The record
   ========================================================================== */

.record .section-title { margin-bottom: 3.5rem; color: var(--white); }

.stat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  column-gap: clamp(3rem, 7vw, 7rem);
  background: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
}
.stat {
  background: none;
  padding: 0;
}
.stat:first-child {
  grid-column: 1;
  grid-row: 1 / span 3;
}
.stat:first-child .stat__number {
  font-size: clamp(5rem, 12vw, 10.5rem);
  letter-spacing: -0.06em;
  margin-bottom: 1.25rem;
}
.stat:first-child .stat__label { font-size: 1.5rem; }
.stat:first-child .stat__context { max-width: 34ch; }
.stat:not(:first-child) {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(9ch, auto) 1fr;
  column-gap: 2rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.stat:nth-child(2) { border-top: none; padding-top: 0; }
.stat:not(:first-child) .stat__number {
  grid-row: 1 / span 2;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  letter-spacing: -0.04em;
  margin-bottom: 0;
}
.stat:not(:first-child) .stat__label { grid-column: 2; margin-bottom: 0.25rem; }
.stat:not(:first-child) .stat__context { grid-column: 2; }
.stat__number {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.stat__context {
  font-size: 0.9375rem;
  color: var(--silver);
  line-height: 1.55;
}

/* ==========================================================================
   Nameplates
   ========================================================================== */

.nameplates__header { margin-bottom: 3rem; }
.nameplates .section-title { color: var(--ink); }

.nameplates__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.nameplate-panel--kenworth, .nameplate-panel--peterbilt, .nameplate-panel--daf { margin-top: 0; }
.nameplate-panel--kenworth { --marque: var(--kenworth-red); }
.nameplate-panel--peterbilt { --marque: var(--peterbilt-red); }
.nameplate-panel--daf { --marque: var(--daf-blue); }
.nameplate-panel {
  background: var(--asphalt);
  border: none;
  display: flex;
  flex-direction: column;
}
.nameplate-panel__field {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  border-top: 6px solid var(--marque);
  background: linear-gradient(155deg, var(--steel), var(--asphalt) 78%);
}
/* rgba fallback (equal specificity to the generic rule via :where, so @supports below can win the cascade) */
:where(.nameplate-panel--kenworth) .nameplate-panel__field { background: radial-gradient(115% 80% at 12% 0%, rgba(200,16,46,0.30), transparent 62%), linear-gradient(155deg, var(--steel), var(--asphalt) 78%); }
:where(.nameplate-panel--peterbilt) .nameplate-panel__field { background: radial-gradient(115% 80% at 12% 0%, rgba(143,1,1,0.34), transparent 62%), linear-gradient(155deg, var(--steel), var(--asphalt) 78%); }
:where(.nameplate-panel--daf) .nameplate-panel__field { background: radial-gradient(115% 80% at 12% 0%, rgba(0,82,156,0.34), transparent 62%), linear-gradient(155deg, var(--steel), var(--asphalt) 78%); }
@supports (background: color-mix(in srgb, red 30%, transparent)) {
  .nameplate-panel__field {
    background:
      radial-gradient(115% 80% at 12% 0%, color-mix(in srgb, var(--marque) 30%, transparent), transparent 62%),
      linear-gradient(155deg, var(--steel), var(--asphalt) 78%);
  }
}
/* Product photography, self-hosted. Sits above the gradient field, below the marque name.
   The gradient stays as the fallback if an image ever fails to load. */
.nameplate-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* Scrim so the marque name stays legible over any photo */
.nameplate-panel__field::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, rgba(11,14,19,0.92) 0%, rgba(11,14,19,0.55) 26%, rgba(11,14,19,0.06) 55%, rgba(11,14,19,0.10) 100%);
}
.nameplate-panel__field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 34px);
}
.nameplate-panel__name {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--white);
  margin: 0;
}
.nameplate-panel__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.nameplate-panel__fact {
  color: var(--silver);
  margin-bottom: auto;
  padding-bottom: 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.nameplate-panel .link-out { color: var(--paccar-blue-bright); }

/* ==========================================================================
   Technology
   ========================================================================== */

.technology .section-title { color: var(--white); margin-bottom: 4rem; }

.tech-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.tech-row:last-child { padding-bottom: 0; }
.tech-row--reverse { grid-template-columns: 1fr 0.9fr; }
.tech-row--reverse .tech-row__media { order: 2; }
.tech-row--reverse .tech-row__text { order: 1; }

.tech-row__media { aspect-ratio: 4 / 3; width: calc(100% + var(--bleed)); margin-left: calc(var(--bleed) * -1); }
.tech-row--reverse .tech-row__media { margin-left: 0; margin-right: calc(var(--bleed) * -1); }

.tech-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.tech-row__text p { color: var(--silver); margin-bottom: 0.9rem; }
.tech-row__fact {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  border-left: 2px solid var(--paccar-blue);
  padding-left: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   Parts & Financial
   ========================================================================== */

.parts-financial__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  column-gap: 0;
}
.parts-financial__col--parts { border-right: 1px solid rgba(16, 21, 29, 0.12); padding-right: 4rem; }
.parts-financial__col--financial { padding-left: 4rem; }
.parts-financial .section-title--sm { color: var(--ink); }
.parts-financial p { color: var(--gray-700); margin-bottom: 1.25rem; }

.fact-list { display: flex; flex-direction: column; gap: 0.6rem; }
.fact-list li {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--paccar-blue-dark);
  padding-left: 1.1rem;
  position: relative;
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 1px;
  background: var(--paccar-blue);
}

/* ==========================================================================
   Careers
   ========================================================================== */

.careers__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(3rem, 5vw, 4rem) 24px;
}
.careers .section-title--sm { color: var(--white); }
.careers__text p { color: var(--silver); max-width: 56ch; }
.careers__text { max-width: 720px; }

/* ==========================================================================
   News
   ========================================================================== */

.news-list { border-top: 1px solid rgba(16, 21, 29, 0.12); }
.news-item {
  display: flex;
  gap: 2rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(16, 21, 29, 0.12);
}
.news-item__date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--paccar-blue-dark);
  min-width: 8ch;
  flex-shrink: 0;
}
.news-item__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--asphalt);
  color: var(--silver);
  padding-top: 4.5rem;
  position: relative;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.wordmark--footer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.site-footer__address {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--silver);
}
.site-footer__heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1rem;
  opacity: 0.7;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.site-footer__col a {
  font-size: 0.9375rem;
  color: var(--white);
  opacity: 0.85;
}
.site-footer__col a:hover { opacity: 1; color: var(--paccar-blue-bright); }

.site-footer__legal {
  padding: 1.75rem 24px 2.25rem;
}
.site-footer__legal p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--silver);
  opacity: 0.6;
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-reveal), transform 0.5s var(--ease-reveal);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .nameplates__grid { grid-template-columns: 1fr 1fr; }
  .nameplate-panel--daf { grid-column: 1 / -1; margin-top: 1.5rem; }
  .nameplate-panel--kenworth,
  .nameplate-panel--peterbilt { margin-top: 0; }
  .nameplate-panel--daf .media-frame--tall { aspect-ratio: 21 / 9; }

  .tech-row, .tech-row--reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .tech-row--reverse .tech-row__media,
  .tech-row--reverse .tech-row__text { order: initial; }
  .tech-row__media,
  .tech-row--reverse .tech-row__media {
    width: calc(100% + var(--bleed) * 2);
    margin-left: calc(var(--bleed) * -1);
    margin-right: calc(var(--bleed) * -1);
  }

  .parts-financial__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .parts-financial__col--parts { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(16,21,29,0.12); padding-bottom: 2.5rem; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 106px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(11, 14, 19, 0.97);
    backdrop-filter: blur(14px);
    padding: 2rem 24px;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-reveal);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.25rem; }
  .nav-toggle { display: flex; }
  .btn--nav { display: none; }

  .stat-grid { grid-template-columns: 1fr; }
  .stat:not(:first-child) { grid-column: 1; grid-template-columns: 1fr; }
  .stat:not(:first-child) .stat__number { grid-row: auto; }
  .stat:not(:first-child) .stat__label,
  .stat:not(:first-child) .stat__context { grid-column: 1; }

  .hero__content { padding-top: 8rem; }
}

@media (max-width: 640px) {
  .stat { border-bottom: 1px solid rgba(255,255,255,0.08); }

  .nameplates__grid { grid-template-columns: 1fr; }
  .nameplate-panel--daf { grid-column: auto; }
  .nameplate-panel--daf .media-frame--tall,
  .nameplate-panel--kenworth .media-frame--tall,
  .nameplate-panel--peterbilt .media-frame--tall { aspect-ratio: 4 / 3; }

  .site-footer__grid { grid-template-columns: 1fr; }

  .careers__row { grid-template-columns: 1fr; justify-items: start; }

  .news-item { flex-direction: column; gap: 0.35rem; }

  .utility-strip__row { font-size: 0.625rem; }
}

/* QA capture mode: pins viewport-height sections so tall headless captures don't inflate them */
html.capture-mode .hero { min-height: 900px; height: 900px; }
