/* Northgate Haulage. One page: a film that plays as the page scrolls, then the business in plain sections. The type is
   the engineered pairing from the factory's font library: Archivo for display, Instrument Sans for text, IBM Plex Mono
   for small labels. Colours are variables below and nowhere else. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("./fonts/archivo-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("./fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("./fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --navy: #0b2038;
  --navy-deep: #061627;
  --blue: #176fb0;
  --blue-dark: #115b93;
  --blue-light: #6db6ec;
  --steel: #5f87a8;
  --off-white: #f6f8fa;
  --white: #ffffff;
  --amber: #f0a43a;
  --line: rgba(11, 32, 56, 0.14);
  --page-gutter: clamp(1.25rem, 4vw, 5rem);
  --section-space: clamp(5rem, 10vw, 9rem);
  --f-display: "Archivo", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--navy); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--f-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, blockquote { margin: 0; }
img, canvas, svg { display: block; }
button, a { font: inherit; color: inherit; }
a { text-decoration: none; }
button { color: inherit; }
::selection { background: rgba(23, 111, 176, 0.2); color: var(--navy); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 0.75rem; left: 0.75rem; padding: 0.7rem 1rem; border-radius: 6px; background: var(--white); color: var(--navy); font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* ------------------------------------------------------------------------------------------------ header */
.site-header {
  --header-text: #ffffff;
  --header-border: rgba(255, 255, 255, 0.22);
  --header-bg: rgba(6, 22, 39, 0.42);
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.85rem var(--page-gutter) 0;
  color: var(--header-text);
  transition: color 450ms ease;
}
.site-header[data-theme="light"] {
  --header-text: var(--navy);
  --header-border: rgba(11, 32, 56, 0.14);
  --header-bg: rgba(255, 255, 255, 0.86);
}
.site-header__inner {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr auto;
  align-items: center;
  min-height: 70px;
  padding: 0 0.7rem 0 0.65rem;
  border: 1px solid var(--header-border);
  border-radius: 10px;
  background: var(--header-bg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background-color 450ms ease, border-color 450ms ease;
}
.site-header__brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.3rem 1.25rem 0.3rem 0.45rem;
  transition: opacity 240ms ease;
}
.site-header__brand::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 34px;
  background: var(--header-border);
  content: "";
  transform: translateY(-50%);
}
.site-header__brand:hover { opacity: 0.82; }
.brand-mark { width: 26px; height: 26px; flex: none; color: var(--blue-light); transition: color 450ms ease; }
.site-header[data-theme="light"] .brand-mark { color: var(--blue); }
.brand-word { font-family: var(--f-display); font-size: 1.02rem; font-weight: 760; letter-spacing: -0.03em; white-space: nowrap; }
.brand-word span { font-weight: 480; opacity: 0.78; }
.site-header__desktop-nav { display: flex; justify-content: center; gap: clamp(1rem, 2vw, 2.1rem); padding: 0 1.5rem; }
.site-header__desktop-nav a { position: relative; padding: 0.55rem 0; font-size: 0.8rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; }
.site-header__desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.68;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}
.site-header__desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-header__desktop-cta .cta-button { min-height: 46px; }
.menu-button {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-button span { position: absolute; width: 22px; height: 1px; background: currentColor; transition: transform 240ms ease; }
.menu-button span:first-child { transform: translateY(-4px); }
.menu-button span:last-child { transform: translateY(4px); }
.mobile-nav-shell {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(6, 22, 39, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.mobile-nav-shell[data-open="true"] { opacity: 1; pointer-events: auto; }
.mobile-nav {
  display: flex;
  width: min(90vw, 440px);
  height: 100%;
  padding: 1.5rem;
  flex-direction: column;
  background: var(--off-white);
  color: var(--navy);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-nav-shell[data-open="true"] .mobile-nav { transform: translateX(0); }
.mobile-nav__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mobile-nav__topline button { min-height: 44px; padding: 0 0.25rem; border: 0; background: transparent; cursor: pointer; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.mobile-nav nav { display: flex; margin-top: 1rem; flex-direction: column; }
.mobile-nav nav a {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.mobile-nav nav a span { color: var(--steel); font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.06em; }
.mobile-nav__cta { margin-top: auto; }

/* ------------------------------------------------------------------------------------------------ buttons */
.cta-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  padding: 0.8rem 0.85rem 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.1;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.cta-button:hover { transform: translateY(-2px); }
.cta-button--primary { background: var(--blue); color: var(--white); }
.cta-button--primary:hover { background: var(--blue-dark); }
.cta-button--secondary { border-color: rgba(11, 32, 56, 0.42); background: transparent; color: var(--navy); }
.cta-button--secondary:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.cta-button--light { background: var(--white); color: var(--navy); }
.cta-button--light:hover { background: var(--off-white); }
.cta-button__arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.95rem;
  transition: transform 200ms ease;
}
.cta-button--secondary .cta-button__arrow, .cta-button--light .cta-button__arrow { background: rgba(11, 32, 56, 0.08); }
.cta-button:hover .cta-button__arrow { transform: translate(1px, -1px); }

/* ------------------------------------------------------------------------------------------------ the film */
.hero-sequence { position: relative; height: 820svh; background: var(--navy-deep); }
.hero-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  isolation: isolate;
}
.hero-stage__media, .hero-poster, .hero-film, .hero-readability-gradient, .hero-white-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { z-index: 0; object-fit: cover; object-position: center; }
.hero-film { z-index: 1; opacity: 0; }
.hero-sequence[data-ready="true"] .hero-film { opacity: 1; }
.hero-readability-gradient {
  z-index: 2;
  background: linear-gradient(90deg, rgba(6, 22, 39, 0.82) 0%, rgba(6, 22, 39, 0.63) 20%, rgba(6, 22, 39, 0.24) 45%, rgba(6, 22, 39, 0) 66%);
  transition: opacity 480ms ease;
}
.hero-white-overlay { z-index: 3; background: var(--white); opacity: 0; }

.timed-copy {
  --copy-lift: 0px;
  --copy-scale: 1;
  --bridge-progress: 0;
  --bridge-copy-color: var(--white);
  --bridge-support-color: rgba(255, 255, 255, 0.81);
  position: absolute;
  z-index: 10;
  top: 50%;
  left: var(--page-gutter);
  width: min(640px, calc(100vw - (var(--page-gutter) * 2)));
  color: var(--bridge-copy-color);
  transform: translateY(calc(-42% - var(--copy-lift))) scale(var(--copy-scale));
  transform-origin: left center;
  will-change: color, opacity, transform;
}
.timed-copy__content { position: relative; display: none; }
.timed-copy__content[data-active="true"] { display: block; animation: hero-copy-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.timed-copy__content::after {
  display: block;
  width: min(180px, 34vw);
  height: 2px;
  margin-top: 1.7rem;
  background: linear-gradient(90deg, var(--blue), rgba(23, 111, 176, 0));
  content: "";
  opacity: var(--bridge-progress);
  transform: scaleX(var(--bridge-progress));
  transform-origin: left;
}
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.timed-copy__eyebrow { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1.1rem; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.timed-copy__eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.timed-copy__headline {
  max-width: 640px;
  font-family: var(--f-display);
  font-size: clamp(2.7rem, 5.1vw, 5.5rem);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}
.timed-copy__support { max-width: 530px; margin: 1.5rem 0 0; color: var(--bridge-support-color); font-size: clamp(0.98rem, 1.2vw, 1.15rem); line-height: 1.6; }
.timed-copy__support--mobile { display: none; }
.hero-sequence[data-phase="fade"] .hero-scroll-cue,
.hero-sequence[data-phase="handoff"] .hero-scroll-cue,
.hero-sequence[data-phase="end-card"] .hero-scroll-cue { opacity: 0; }
@media (min-width: 881px) {
  .hero-sequence[data-cue="matched"] .hero-readability-gradient {
    background: linear-gradient(270deg, rgba(6, 22, 39, 0.82) 0%, rgba(6, 22, 39, 0.63) 22%, rgba(6, 22, 39, 0.2) 50%, rgba(6, 22, 39, 0) 72%);
  }
  .hero-sequence[data-cue="matched"] .timed-copy {
    top: 44%;
    right: var(--page-gutter);
    left: auto;
    width: min(720px, calc(100vw - (var(--page-gutter) * 2)));
    text-align: right;
    transform-origin: right center;
  }
  .hero-sequence[data-cue="matched"] .timed-copy__headline,
  .hero-sequence[data-cue="matched"] .timed-copy__support { margin-left: auto; }
}

.hero-end-card-wrap {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 7rem var(--page-gutter) 2.5rem;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-end-card { display: flex; width: min(760px, 100%); align-items: center; flex-direction: column; text-align: center; }
.hero-end-card__rule { width: 1px; height: clamp(28px, 5vh, 54px); margin-bottom: clamp(1rem, 2vh, 1.8rem); background: linear-gradient(var(--blue), rgba(23, 111, 176, 0)); }
.hero-end-card__wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(1rem, 2vh, 1.7rem);
  color: var(--navy);
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 760;
  letter-spacing: -0.035em;
}
.hero-end-card__wordmark .brand-mark { width: clamp(30px, 2.6vw, 40px); height: auto; color: var(--blue); }
.hero-end-card__eyebrow { margin: 0 0 0.9rem; color: var(--blue); font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-end-card__headline {
  color: var(--navy);
  font-family: var(--f-display);
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-wrap: balance;
}
.hero-end-card__support { margin: 1.25rem 0 0; color: rgba(11, 32, 56, 0.68); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-end-card__actions { display: flex; justify-content: center; gap: 0.75rem; margin-top: clamp(1.6rem, 3vh, 2.4rem); }

.hero-scroll-cue {
  position: absolute;
  z-index: 15;
  right: var(--page-gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 240ms ease;
}
.hero-scroll-cue i { position: relative; display: block; width: 34px; height: 1px; overflow: hidden; background: rgba(255, 255, 255, 0.3); }
.hero-scroll-cue i::after { position: absolute; inset: 0; background: var(--white); content: ""; animation: scroll-cue 1.7s ease-in-out infinite; transform: translateX(-100%); }
@keyframes scroll-cue { 50%, 100% { transform: translateX(100%); } }

/* Reduced motion, or no film: the hero is one screen, the last frame behind the end card on a white panel. */
.hero-sequence[data-static="true"] { height: 100svh; }
.hero-sequence[data-static="true"] .hero-film,
.hero-sequence[data-static="true"] .timed-copy,
.hero-sequence[data-static="true"] .hero-scroll-cue,
.hero-sequence[data-static="true"] .hero-readability-gradient { display: none; }
.hero-sequence[data-static="true"] .hero-white-overlay { opacity: 0.35; background: var(--navy-deep); }
.hero-sequence[data-static="true"] .hero-end-card-wrap { opacity: 1; pointer-events: auto; padding-top: 7.5rem; }
.hero-sequence[data-static="true"] .hero-end-card { width: min(720px, 100%); padding: clamp(1.5rem, 4vw, 3.8rem); border-radius: 12px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 32px 90px rgba(6, 22, 39, 0.28); }

/* ------------------------------------------------------------------------------------------------ sections */
.trust-strip { position: relative; z-index: 4; border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip__inner { display: grid; max-width: 1680px; margin: 0 auto; grid-template-columns: repeat(4, 1fr); padding: 0 var(--page-gutter); }
.trust-strip__item { display: flex; min-height: 128px; align-items: center; gap: 1.1rem; padding: 1.5rem clamp(1rem, 2.4vw, 2.3rem); border-left: 1px solid var(--line); }
.trust-strip__item:last-child { border-right: 1px solid var(--line); }
.trust-strip__item span { color: var(--blue); font-family: var(--f-mono); font-size: 0.68rem; }
.trust-strip__item p { font-size: clamp(0.85rem, 1vw, 0.98rem); font-weight: 600; line-height: 1.35; }

.content-section { max-width: 1680px; margin: 0 auto; padding: var(--section-space) var(--page-gutter); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr); align-items: end; gap: 3rem; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.section-kicker { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 1.1rem; color: var(--blue); font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.section-kicker::before { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); content: ""; }
.section-kicker--light { color: rgba(255, 255, 255, 0.7); }
.section-heading h2, .industries-section h2, .about-section h2, .partnership h2, .contact-section h2 {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 5.9vw, 6.6rem);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 0.95;
  text-wrap: balance;
}
.section-heading > p { margin: 0 0 0.5rem; color: rgba(11, 32, 56, 0.65); font-size: 1.02rem; line-height: 1.7; }

.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.vehicle-card {
  position: relative;
  min-height: 330px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 280ms ease, color 280ms ease;
}
.vehicle-card::before {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(23, 111, 176, 0.15);
  border-radius: 50%;
  content: "";
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.vehicle-card:hover { background: var(--navy); color: var(--white); }
.vehicle-card:hover::before { transform: scale(1.25); }
.vehicle-card__topline { display: flex; justify-content: space-between; color: var(--blue); font-family: var(--f-mono); font-size: 0.72rem; }
.vehicle-card:hover .vehicle-card__topline { color: var(--blue-light); }
.vehicle-card h3 { max-width: 11ch; margin: clamp(5rem, 9vw, 8rem) 0 0; font-family: var(--f-display); font-size: clamp(1.7rem, 2.8vw, 2.7rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.vehicle-card p { max-width: 30ch; margin: 1.1rem 0 0; color: rgba(11, 32, 56, 0.62); font-size: 0.92rem; line-height: 1.55; transition: color 280ms ease; }
.vehicle-card:hover p { color: rgba(255, 255, 255, 0.68); }

.industries-section { display: grid; grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); padding: var(--section-space) var(--page-gutter); background: var(--navy); color: var(--white); }
.industries-section__intro { position: sticky; top: 130px; align-self: start; }
.industries-section__intro h2 { max-width: 8ch; font-size: clamp(3rem, 5.3vw, 6rem); }
.industries-section__intro > p:last-child { max-width: 46ch; margin: 2rem 0 0; color: rgba(255, 255, 255, 0.62); line-height: 1.7; }
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.industry-card { display: flex; min-height: 250px; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.5rem); flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.17); border-right: 1px solid rgba(255, 255, 255, 0.17); transition: background-color 260ms ease; }
.industry-card:nth-child(even) { border-right: 0; }
.industry-card:hover { background: rgba(255, 255, 255, 0.06); }
.industry-card span { color: var(--amber); font-family: var(--f-mono); font-size: 0.7rem; }
.industry-card h3 { max-width: 13ch; margin: 4rem 0 0; font-family: var(--f-display); font-size: clamp(1.55rem, 2.5vw, 2.6rem); font-weight: 600; letter-spacing: -0.042em; line-height: 1.05; }

.about-section { display: grid; max-width: 1680px; margin: 0 auto; grid-template-columns: 0.3fr 1fr 0.72fr; gap: clamp(2rem, 6vw, 6rem); padding: var(--section-space) var(--page-gutter); }
.about-section__number { color: var(--steel); font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; }
.about-section__copy h2 { max-width: 10ch; font-size: clamp(3rem, 5vw, 5.8rem); }
.about-section__copy > p:last-child { max-width: 56ch; margin: 2rem 0 0; color: rgba(11, 32, 56, 0.63); font-size: 1.04rem; line-height: 1.8; }
.about-section__principles { align-self: end; border-top: 1px solid var(--line); }
.about-section__principles p { display: grid; grid-template-columns: 2.6rem 1fr; padding: 1.25rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.about-section__principles span { color: var(--blue); font-family: var(--f-mono); font-size: 0.7rem; }

.partnership { display: grid; grid-template-columns: 1fr 1fr; }
.partnership__panel { display: flex; min-height: 620px; align-items: flex-start; justify-content: flex-end; padding: clamp(3rem, 7vw, 7rem) var(--page-gutter); flex-direction: column; }
.partnership__panel--customer { background: var(--blue); color: var(--white); }
.partnership__panel--haulier { background: var(--off-white); }
.partnership h2 { max-width: 8ch; font-size: clamp(3.1rem, 5.3vw, 6rem); }
.partnership__panel > p:not(.section-kicker) { max-width: 46ch; margin: 1.8rem 0 2.2rem; color: currentColor; line-height: 1.7; opacity: 0.74; }

.contact-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); padding: var(--section-space) var(--page-gutter); background: var(--navy-deep); color: var(--white); }
.contact-section__intro h2 { max-width: 9ch; font-size: clamp(3rem, 5.3vw, 6rem); }
.contact-section__intro > p:last-child { max-width: 47ch; margin: 2rem 0 0; color: rgba(255, 255, 255, 0.62); line-height: 1.7; }
.contact-grid { border-top: 1px solid rgba(255, 255, 255, 0.16); font-style: normal; }
.contact-grid a, .contact-grid > div { display: grid; grid-template-columns: minmax(90px, 0.28fr) 1fr; align-items: center; gap: 1.5rem; padding: 1.55rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.contact-grid span { color: rgba(255, 255, 255, 0.5); font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-grid strong { overflow-wrap: anywhere; font-family: var(--f-display); font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 500; letter-spacing: -0.02em; }
.contact-grid a strong { transition: color 180ms ease; }
.contact-grid a:hover strong { color: var(--blue-light); }
.contact-grid__connect { padding-right: 1.2rem !important; padding-left: 1.2rem !important; background: rgba(23, 111, 176, 0.15); }
.contact-grid__connect strong { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.contact-grid__connect i { color: var(--blue-light); font-style: normal; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; padding: 3rem var(--page-gutter); border-top: 1px solid rgba(255, 255, 255, 0.12); background: var(--navy-deep); color: var(--white); }
.site-footer > div:first-child p { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.site-footer > div:first-child span { display: block; margin-top: 0.35rem; color: rgba(255, 255, 255, 0.48); font-size: 0.78rem; }
.site-footer__links { display: flex; gap: 1.4rem; font-size: 0.8rem; font-weight: 600; }
.site-footer__legal { color: rgba(255, 255, 255, 0.4); font-size: 0.72rem; text-align: right; }

/* ------------------------------------------------------------------------------------------------ narrower screens */
@media (max-width: 1180px) {
  .site-header__inner { grid-template-columns: minmax(190px, 220px) 1fr auto; }
  .site-header__desktop-nav { gap: 1rem; }
  .site-header__desktop-nav a { font-size: 0.72rem; }
  .site-header__desktop-cta .cta-button { display: none; }
  .section-heading, .industries-section, .contact-section { grid-template-columns: 1fr 1fr; }
  .vehicle-card { min-height: 290px; }
  .about-section { grid-template-columns: 0.2fr 1fr; }
  .about-section__principles { grid-column: 2; }
}
@media (max-width: 880px) {
  .site-header { padding-top: 0.7rem; }
  .site-header__inner { display: flex; min-height: 62px; justify-content: space-between; padding-right: 0.35rem; }
  .site-header__brand { min-height: 48px; padding-right: 0.3rem; }
  .site-header__brand::after { display: none; }
  .site-header__desktop-nav, .site-header__desktop-cta { display: none; }
  .menu-button { display: flex; }
  .timed-copy { top: auto; bottom: clamp(5rem, 11vh, 7.5rem); transform: translateY(calc(0px - var(--copy-lift))) scale(var(--copy-scale)); }
  .timed-copy__headline { max-width: 10ch; font-size: clamp(2.5rem, 8vw, 4.5rem); }
  .trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .trust-strip__item:nth-child(3), .trust-strip__item:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading, .industries-section, .contact-section { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: 1fr 1fr; }
  .industries-section__intro { position: static; }
  .industries-section__intro h2 { max-width: 10ch; }
  .about-section { grid-template-columns: 1fr; }
  .about-section__number, .about-section__principles { grid-column: auto; }
  .partnership { grid-template-columns: 1fr; }
  .partnership__panel { min-height: 520px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer__legal { text-align: left; }
}
@media (max-width: 640px) {
  :root { --page-gutter: 1.1rem; --section-space: 5.5rem; }
  .hero-stage { min-height: 520px; }
  /* A phone shows the film whole, letterboxed on navy, and the copy under it. */
  .hero-poster { object-fit: contain; }
  .hero-readability-gradient { background: linear-gradient(0deg, rgba(6, 22, 39, 0.9) 0%, rgba(6, 22, 39, 0.42) 34%, rgba(6, 22, 39, 0) 64%); }
  .timed-copy { bottom: 4.7rem; width: calc(100% - 2.2rem); }
  .timed-copy__eyebrow { margin-bottom: 0.8rem; font-size: 0.62rem; }
  .timed-copy__headline { max-width: 11ch; font-size: clamp(2.15rem, 11vw, 3.3rem); line-height: 0.97; }
  .timed-copy__support { max-width: 35ch; margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.45; }
  .timed-copy__support--desktop { display: none; }
  .timed-copy__support--mobile { display: block; }
  .hero-end-card-wrap { padding: 6.2rem 1.1rem 1rem; }
  .hero-end-card__rule { height: 24px; margin-bottom: 0.7rem; }
  .hero-end-card__wordmark { margin-bottom: 0.75rem; }
  .hero-end-card__eyebrow { margin-bottom: 0.6rem; font-size: 0.6rem; }
  .hero-end-card__headline { max-width: 9ch; font-size: clamp(2.15rem, 11vw, 3.3rem); }
  .hero-end-card__support { max-width: 28ch; margin-top: 0.8rem; font-size: 0.9rem; line-height: 1.4; }
  .hero-end-card__actions { width: 100%; margin-top: 1.15rem; flex-direction: column; gap: 0.55rem; }
  .hero-end-card__actions .cta-button { width: 100%; min-height: 48px; }
  .hero-scroll-cue { right: auto; left: 1.1rem; bottom: 1.45rem; }
  .trust-strip__inner { grid-template-columns: 1fr; }
  .trust-strip__item { min-height: 90px; padding: 1.2rem 0.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .trust-strip__item:nth-child(2) { border-top: 1px solid var(--line); }
  .section-heading { gap: 1.5rem; }
  .section-heading h2, .industries-section h2, .about-section h2, .partnership h2, .contact-section h2 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .vehicle-grid, .industry-grid { grid-template-columns: 1fr; }
  .vehicle-card { min-height: 260px; }
  .vehicle-card h3 { margin-top: 4.5rem; }
  .industry-card { min-height: 210px; border-right: 0; }
  .industries-section { gap: 3rem; }
  .partnership__panel { min-height: 500px; }
  .contact-grid a, .contact-grid > div { grid-template-columns: 1fr; gap: 0.5rem; }
  .site-footer__links { flex-direction: column; gap: 0.7rem; }
}
/* A short screen: a phone on its side, a laptop window pulled low, or the gallery card's 640 by 360 capture. The stage
   is the screen's own height rather than a taller minimum, which put the copy and the end card's buttons below the
   fold, and the copy and the end card are sized to the height, so everything the film says stays on screen. */
@media (max-height: 560px) {
  .hero-stage { min-height: 0; }
  .timed-copy,
  .hero-sequence[data-cue="matched"] .timed-copy { top: auto; bottom: clamp(1.4rem, 7vh, 2.6rem); transform: translateY(calc(0px - var(--copy-lift))) scale(var(--copy-scale)); }
  .timed-copy__eyebrow { margin-bottom: 0.55rem; }
  .timed-copy__headline { font-size: clamp(1.75rem, min(9vh, 6vw), 3.2rem); line-height: 0.97; }
  .timed-copy__support { max-width: 42ch; margin-top: 0.6rem; font-size: 0.85rem; line-height: 1.4; }
  .hero-scroll-cue { left: auto; right: var(--page-gutter); bottom: 1.1rem; }
  .hero-end-card-wrap { padding: 4.6rem var(--page-gutter) 0.8rem; }
  .hero-end-card__rule { display: none; }
  .hero-end-card__wordmark { margin-bottom: 0.45rem; font-size: 1.1rem; }
  .hero-end-card__wordmark .brand-mark { width: 24px; }
  .hero-end-card__eyebrow { margin-bottom: 0.4rem; font-size: 0.6rem; }
  .hero-end-card__headline { max-width: none; font-size: clamp(1.7rem, 8.5vh, 3rem); }
  .hero-end-card__support { display: none; }
  .hero-end-card__actions { width: auto; margin-top: 0.9rem; flex-direction: row; gap: 0.55rem; }
  .hero-end-card__actions .cta-button { width: auto; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
}
/* The factory's recorder (?record=1, see site.js): each captured frame is one exact position, so nothing is mid-fade. */
[data-record="true"] *, [data-record="true"] *::before, [data-record="true"] *::after { transition: none !important; animation-duration: 0s !important; animation-delay: 0s !important; }
