/* ============================================================
   OUTLAW EQUIPMENT RENTAL — style.css
   Order matches the page: tokens → base → components →
   00 preloader → 01 nav → 02 hero → 03 stats → 04 mission →
   05 pillars → 06 delivery → 07 fleet → 08 story → 09 job log →
   10 service area → 11 final cta → 12 footer →
   responsive → reduced motion
   ============================================================ */

/* ------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------ */
:root {
  /* Core */
  --black:        #0A0A0A;
  --steel-900:    #141414;
  --steel-700:    #242424;
  --grey-500:     #6E6E6E;
  --grey-300:     #A9A9A9;
  --grey-100:     #E4E2DF;
  --white:        #FAFAF8;

  /* Accent — hazard orange */
  --orange:       #FF5A1F;
  --orange-deep:  #C63C08;

  /* Type */
  --font-display: 'Archivo', 'Arial Black', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Scale */
  --t-hero:  clamp(1.75rem, 4.2vw, 5rem);
  --t-h1:    clamp(2.75rem, 8.5vw, 9rem);
  --t-h2:    clamp(2rem, 5vw, 4.5rem);
  --t-h3:    clamp(1.25rem, 2.2vw, 2rem);
  --t-body:  clamp(1rem, 1.15vw, 1.25rem);
  --t-mono:  0.6875rem;

  /* Rhythm */
  --gutter: 5vw;
  --rule: 1px solid var(--steel-700);
  --radius: 0;
  --section-pad: clamp(6rem, 16vh, 12rem);

  /* Easing */
  --ease-out-hard: cubic-bezier(0.19, 1, 0.22, 1);      /* ~power4.out */
  --ease-inout:    cubic-bezier(0.45, 0, 0.55, 1);      /* ~power2.inOut */
}

/* ------------------------------------------------------------
   BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--black);
  color: var(--grey-100);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* film grain — always on, fixed, above everything but the preloader */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

img, video, canvas { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
table { border-collapse: collapse; }

a { color: inherit; text-decoration: none; }

/* underline that wipes in from the left */
.nav-links a, .footer-col a, .final-sms, .machine-call {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left calc(100% - 0.05em);
  transition: background-size 0.35s var(--ease-out-hard);
  padding-bottom: 0.15em;
}
.nav-links a:hover, .footer-col a:hover, .final-sms:hover, .machine-call:hover {
  background-size: 100% 1px;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

::selection { background: var(--orange); color: var(--black); }

.skip-link {
  position: fixed;
  top: 0; left: 0;
  z-index: 10001;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1.25rem 0.75rem;
  transform: translateY(-110%);
}
/* :focus-visible only (not plain :focus) — iOS Safari can latch a
   regular :focus onto this link after a tap and never blur it,
   leaving it stuck visible over the status bar. */
.skip-link:focus-visible { transform: translateY(0); }

/* ------------------------------------------------------------
   COMPONENTS — mono utility, data plate, hydraulic headline, button
   ------------------------------------------------------------ */
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* force a slashed zero so a phone number's 0's can't read as 8's */
  font-variant-numeric: slashed-zero;
}

/* data plate — stamped machine label */
.plate {
  display: inline-block;
  position: relative;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
  border: 1px solid var(--steel-700);
  padding: 0.6rem 0.9rem;
}
.plate::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  border-top: 6px solid var(--orange);
  border-right: 6px solid transparent;
}
.plate-light {
  border-color: #C7C3BC;
  color: #6B675F;
}

/* hydraulic reveal headline */
.hyd {
  position: relative;
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.86;
  color: var(--white);
}
.hyd .hyd-clip { display: inline-block; }
.hyd .hyd-edge {
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--orange);
  opacity: 0;              /* shown only while the reveal runs */
  pointer-events: none;
}

.section-title { font-size: var(--t-h2); margin: 1.75rem 0 0; }

/* button — hard-edged orange block */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  background: var(--orange);
  color: var(--black);
  border: 1px solid var(--orange);
  font-family: 'Black Ops One', var(--font-mono);
  font-weight: 400;
  font-size: calc(var(--t-mono) + 0.125rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  font-variant-numeric: slashed-zero;
  transition: background 0.25s var(--ease-inout), color 0.25s var(--ease-inout), padding 0.25s var(--ease-inout);
}
.btn .glyph { width: 12px; height: 12px; flex: none; }
.btn:hover {
  background: var(--black);
  color: var(--orange);
  border-color: var(--orange);
  padding-left: calc(1.5rem + 2px);
  padding-right: calc(1.5rem - 2px);
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1.2rem 2rem; font-size: 0.8125rem; }
.btn-lg:hover { padding-left: calc(2rem + 2px); padding-right: calc(2rem - 2px); }
.btn-outline { background: transparent; color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--black); }

/* ------------------------------------------------------------
   00 · PRELOADER
   ------------------------------------------------------------ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  width: min(360px, 70vw);
}
.preloader-mark {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--white);
}
.preloader-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--steel-700);
  position: relative;
  overflow: hidden;
}
.preloader-rule-fill {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
}
.preloader-pct { color: var(--grey-500); font-variant-numeric: tabular-nums; }
.preloader.is-done { display: none; }

/* ------------------------------------------------------------
   01 · FIXED NAV
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem var(--gutter);
  transition: background 0.4s var(--ease-inout), padding 0.4s var(--ease-inout), border-color 0.4s var(--ease-inout);
  border-bottom: 1px solid transparent;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  /* full legal name is much longer than a short mark — scale with viewport
     so it never wraps or crowds the nav links / call button */
  font-size: clamp(0.6rem, 1.1vw, 1.1rem);
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
  transition: font-size 0.4s var(--ease-inout);
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-100);
}
.nav-call {
  padding: 0.75rem 1.1rem;
  /* flat black backing — the hero's dawn sky is bright enough to swallow
     orange-on-transparent. Same device as the data plates, no gradient. */
  background: rgba(10, 10, 10, 0.55);
  color: var(--orange);
}
.nav-call:hover { background: var(--orange); color: var(--black); }
.nav.is-solid .nav-call { background: var(--orange); color: var(--black); }
.nav.is-solid .nav-call:hover { background: var(--black); color: var(--orange); }
.nav.is-solid {
  background: var(--black);
  border-bottom-color: var(--steel-700);
  padding: 0.8rem var(--gutter);
}
.nav.is-solid .nav-wordmark { font-size: clamp(0.55rem, 0.95vw, 0.9rem); }

/* ------------------------------------------------------------
   02 · HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-video, .delivery-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;                       /* fades in over the poster on canplay */
  transition: opacity 0.8s var(--ease-inout);
}
.hero-video.is-ready, .delivery-video.is-ready { opacity: 1; }
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
  transform: scale(1.04);   /* pushes the blurred edge outside the frame */
}
.scrub-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;                    /* enabled only by the canvas fallback */
}
.media-multiply {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.4;                     /* flat black multiply — no gradients */
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* top floor keeps content clear of the fixed nav when the stack grows
     taller than the viewport; bottom floor keeps the buttons clear of the
     plate/gauge/scroll-cta stack pinned to the bottom — 16vh alone isn't
     enough on shorter viewports */
  padding: 7rem var(--gutter) max(16vh, 15rem);
}
.hero-title {
  font-size: var(--t-hero);
  margin-left: -0.045em;            /* hang the left edge flush to the gutter */
  overflow-wrap: break-word;        /* safety net: a single long word can't run off-screen */
}
.hero-launch-banner {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--t-h3);
  line-height: 1.25;
  color: var(--white);
  background: rgba(255, 90, 31, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--orange);
  padding: 0.6rem 1rem;
  margin-top: 1.5rem;
  max-width: 60ch;
  animation: launch-pulse 2s ease-in-out infinite;
}
@keyframes launch-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); }
}
.hero-sub {
  max-width: 60ch;
  color: var(--grey-100);
  margin-top: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.4rem;
}
.hero-cta { margin-top: 0; }
.hero-plate {
  position: absolute;
  left: var(--gutter);
  bottom: 6rem;
  z-index: 2;
  background: rgba(10, 10, 10, 0.55);
}
.scroll-gauge {
  position: absolute;
  right: var(--gutter);
  bottom: 6rem;
  z-index: 2;
  width: 1px;
  height: 110px;
  background: var(--grey-500);
  overflow: hidden;
}
.scroll-gauge-seg {
  position: absolute;
  left: 0;
  width: 1px;
  height: 26px;
  background: var(--orange);
  animation: gauge-travel 2.4s linear infinite;
}
/* explicit "there's more below" cue — the gauge above is a decorative
   accent, this is the actual functional wayfinding, especially for
   mobile where nothing else signals the fleet is one scroll away */
.hero-scroll-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem var(--gutter) 1.4rem;
  color: var(--orange);
  text-align: center;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85), transparent);
  transition: color 0.2s var(--ease-inout);
}
.hero-scroll-cta:hover { color: var(--white); }
.hero-scroll-cta span.mono {
  font-size: calc(var(--t-mono) + 0.125rem);
  font-weight: 700;
}
.hero-scroll-cta-arrow {
  width: 20px;
  height: 11px;
  animation: hero-scroll-bounce 1.6s ease-in-out infinite;
}
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes gauge-travel {
  from { top: -26px; }
  to   { top: 110px; }
}

/* ------------------------------------------------------------
   QUOTE MODAL — "Request a Quote" form triggered from the hero
   ------------------------------------------------------------ */
.quote-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10002;
  align-items: center;
  justify-content: center;
  padding: 5vh var(--gutter);
}
.quote-modal.is-open { display: flex; }
.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
}
.quote-modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--steel-900);
  border: 1px solid var(--steel-700);
  padding: clamp(2rem, 4vw, 3rem);
}
.quote-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--steel-700);
  color: var(--grey-300);
  cursor: pointer;
  transition: color 0.2s var(--ease-inout), border-color 0.2s var(--ease-inout);
}
.quote-modal-close svg { width: 12px; height: 12px; }
.quote-modal-close:hover { color: var(--orange); border-color: var(--orange); }
.quote-modal-title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-top: 1.25rem;
}
.quote-modal-sub { color: var(--grey-300); margin-top: 0.75rem; max-width: 42ch; }
.quote-form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.quote-field { display: flex; flex-direction: column; gap: 0.5rem; }
.quote-field[hidden] { display: none; }
.quote-field label {
  color: var(--white);
  font-size: 0.75rem;
}
.quote-optional { text-transform: none; letter-spacing: 0; color: var(--grey-500); }
.quote-field input, .quote-field select, .quote-field textarea {
  appearance: none;
  -webkit-appearance: none;
  background: var(--black);
  border: 1px solid var(--steel-700);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease-inout);
}
.quote-field textarea {
  resize: vertical;
  min-height: 4.5rem;
}
.quote-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23A9A9A9' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px 6px;
  padding-right: 2.25rem;
}
.quote-field input::placeholder, .quote-field textarea::placeholder { color: var(--grey-500); }
.quote-field input:focus, .quote-field select:focus, .quote-field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.quote-checklist-field {
  border: none;
  padding: 0;
  margin: 0;
}
.quote-checklist-field legend {
  color: var(--white);
  font-size: 0.75rem;
  padding: 0;
  margin-bottom: 0.5rem;
}
.quote-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
.quote-checklist .quote-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--steel-700);
  background: var(--black);
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.25;
  color: var(--white);
  transition: border-color 0.2s var(--ease-inout);
}
.quote-checklist .quote-check:hover { border-color: var(--grey-500); }
.quote-check:has(input:checked) { border-color: var(--orange); }
.quote-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1px solid var(--steel-700);
  background: var(--black);
  position: relative;
  cursor: pointer;
}
.quote-check input[type="checkbox"]:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.quote-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.quote-check input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: var(--orange);
}
.quote-checklist-error {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-top: 0.7rem;
}
.quote-checklist-error[hidden] { display: none; }
.quote-submit { justify-content: center; margin-top: 0.5rem; cursor: pointer; }
.quote-submit:disabled { opacity: 0.55; cursor: default; }
.quote-submit:disabled:hover {
  background: var(--orange);
  color: var(--black);
  padding-left: calc(2rem + 2px);
  padding-right: calc(2rem - 2px);
}
.quote-form-status {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--grey-300);
  min-height: 1em;
}
.quote-form-status.is-error { color: var(--orange); }
.quote-form-status.is-success { color: var(--grey-100); }

/* ------------------------------------------------------------
   ATTACHMENT LIGHTBOX — image popup for the attachment tiles
   ------------------------------------------------------------ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10002;
  align-items: center;
  justify-content: center;
  padding: 5vh var(--gutter);
}
.lightbox.is-open { display: flex; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.9);
}
.lightbox-panel {
  position: relative;
  width: min(900px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--steel-900);
  border: 1px solid var(--steel-700);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--steel-700);
  color: var(--grey-300);
  cursor: pointer;
  transition: color 0.2s var(--ease-inout), border-color 0.2s var(--ease-inout);
}
.lightbox-close svg { width: 12px; height: 12px; }
.lightbox-close:hover { color: var(--orange); border-color: var(--orange); }
.lightbox-img { display: block; width: 100%; height: auto; border: 1px solid var(--steel-700); }
.lightbox-caption {
  margin-top: 1rem;
  color: var(--orange);
  font-size: calc(var(--t-mono) * 1.5);
}

/* ------------------------------------------------------------
   03 · STATS STRIP
   ------------------------------------------------------------ */
.stats {
  background: var(--black);
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.marquee {
  overflow: hidden;
  border-bottom: var(--rule);
  padding: 0.55rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-size: 0.625rem;
  color: rgba(228, 226, 223, 0.3);
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.stats-grid {
  display: grid;
  /* minmax(0,…) so the display-face numerals can't set a min-content floor
     that pushes the grid wider than the viewport at small widths */
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 3.2rem 2rem 2.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.stat + .stat { border-left: var(--rule); }
.stat-num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat-suffix { color: var(--orange); }
/* A bracketed token ("[YEARS]") is 3–4× wider than the digits it stands for,
   which blows the cell apart at display size. This holds it in place until
   real numbers land — see the EDIT note in index.html. */
.stat-num--token { font-size: clamp(1.35rem, 3.2vw, 3rem); }
.stat-label { color: var(--grey-500); max-width: 22ch; }

/* ------------------------------------------------------------
   04 · MISSION
   ------------------------------------------------------------ */
.mission {
  background: var(--black);
  padding: var(--section-pad) var(--gutter);
}
.mission-statement {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-size: var(--t-h1);
  color: var(--white);
  margin-top: 3.5rem;
}
.mission-line { display: block; }
.mission-statement .accent { color: var(--orange); font-style: normal; }
/* word-mask spans injected by initSplitText() */
.mission-statement .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.mission-statement .i { display: inline-block; }
.mission-body {
  margin-top: 4.5rem;
  max-width: 48ch;
  font-size: 1.125rem;
  color: var(--grey-300);
}

/* ------------------------------------------------------------
   05 · THREE PILLARS
   ------------------------------------------------------------ */
.pillars {
  border-top: var(--rule);
  padding-top: var(--section-pad);
}
.pillars-plate { margin: 0 var(--gutter) 3rem; }
.pillar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(4rem, 12vw) 1fr;
  align-items: baseline;
  gap: 2rem;
  padding: 3.6rem var(--gutter);
  border-top: var(--rule);
  overflow: hidden;
}
.pillar:last-child { border-bottom: var(--rule); }
.pillar-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s var(--ease-inout);
  pointer-events: none;
}
/* 50/50 side-by-side split — two half-width panes instead of one image.
   Absolutely positioned (not flex + height:100%) — WebKit/Safari has known
   bugs collapsing percentage-height flex children when the flex container
   itself is sized via inset:0 rather than an explicit height. */
.pillar-bg-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background-size: cover;
  background-position: center;
}
.pillar-bg-half:first-child { left: 0; }
.pillar-bg-half:last-child { right: 0; }
.pillar-num {
  position: relative;
  color: var(--grey-500);
  transition: color 0.3s var(--ease-inout);
}
.pillar-text { position: relative; max-width: 56ch; }
.pillar-title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  font-size: var(--t-h2);
  color: var(--white);
}
.pillar-text p { margin-top: 1.4rem; color: var(--grey-300); }
.pillar-rule {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--orange);
  transition: width 0.6s var(--ease-out-hard);
}
.pillar:hover .pillar-bg, .pillar.is-active .pillar-bg { opacity: 0.25; }
.pillar:hover .pillar-num, .pillar.is-active .pillar-num { color: var(--orange); }
.pillar:hover .pillar-rule, .pillar.is-active .pillar-rule { width: 100%; }

/* ------------------------------------------------------------
   06 · DELIVERY & PICKUP — pinned scrub
   ------------------------------------------------------------ */
.delivery { background: var(--black); }
.delivery-stage {
  position: relative;
  height: 100dvh;
  overflow: hidden;
}
.delivery-media { position: absolute; inset: 0; background: url("assets/img/delivery-poster.jpg") center / cover no-repeat; }
.delivery-lines {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 var(--gutter);
}
.delivery-line {
  font-size: clamp(2.5rem, 8vw, 9rem);
  text-align: center;
}
/* once JS takes over, the three lines stack in the same spot and cross-fade */
.delivery.js-scrub .delivery-lines { display: block; }
.delivery.js-scrub .delivery-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  opacity: 0;
}
.delivery-plate {
  position: absolute;
  left: var(--gutter);
  bottom: 2rem;
  z-index: 2;
  background: rgba(10, 10, 10, 0.55);
}

/* ------------------------------------------------------------
   07 · THE FLEET
   ------------------------------------------------------------ */
.fleet {
  padding: var(--section-pad) var(--gutter);
  border-top: var(--rule);
}
.fleet-film {
  position: relative;
  margin-top: 4rem;
  border: var(--rule);
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: url("assets/img/fleet-poster.jpg") center / cover no-repeat;
}
.fleet-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease-inout);
}
.fleet-video.is-ready { opacity: 1; }
.fleet-film-plate {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(10, 10, 10, 0.55);
}
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.machine {
  border: var(--rule);
  background: var(--steel-900);
  display: flex;
  flex-direction: column;
}
.machine-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-bottom: var(--rule);
}
.machine-name {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  font-size: var(--t-h3);
  color: var(--white);
}
.machine-tag { color: var(--grey-500); flex: none; }
.machine-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: var(--rule);
}
/* "photo coming soon" placeholder — same box as .machine-photo, no image yet */
.machine-photo--pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--steel-900);
  color: var(--grey-500);
  position: relative;
}
.machine-photo--pending::before,
.machine-photo--pending::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--orange) 0 6px, var(--steel-900) 6px 12px);
  opacity: 0.6;
}
.machine-photo--pending::before { top: 0; }
.machine-photo--pending::after { bottom: 0; }
.machine-photo--pending-icon {
  width: 44px;
  height: 44px;
  color: var(--orange);
  animation: pending-pulse 2.4s ease-in-out infinite;
}
.machine-photo--pending span { letter-spacing: 0.2em; }
@keyframes pending-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.machine-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-top: var(--rule);
  border-bottom: var(--rule);
  color: var(--grey-100);
  padding: 1.1rem 1.75rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.machine-toggle .chevron {
  width: 10px;
  height: 6px;
  transition: transform 0.4s var(--ease-inout);
}
.machine-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.machine-drawer { overflow: hidden; }  /* height animated by JS; open by default for no-JS */
.spec-table, .rate-table { width: 100%; }
.spec-table th, .spec-table td, .rate-table th, .rate-table td {
  font-weight: 500;
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.85rem 1.75rem;
  border-bottom: var(--rule);
}
.spec-table th, .rate-table th { color: var(--grey-500); width: 55%; }
.spec-table td, .rate-table td { color: var(--grey-100); text-align: right; font-variant-numeric: tabular-nums; }
.rate-table td { color: var(--white); }
.machine-call {
  display: block;
  color: var(--orange);
  font-size: 0.8125rem;      /* orange stays ≥18px only at display sizes; links get letterspacing bump instead */
  padding: 1.3rem 1.75rem;
  margin-top: auto;
}
.attachments { margin-top: 4rem; }
.attachments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.25rem;
  color: var(--grey-300);
}
.attachment-tile {
  display: inline-flex;
  align-items: baseline;
  border: var(--rule);
  padding: 0.9rem 1.35rem;
  font-size: calc(var(--t-mono) * 1.5);
  color: var(--orange);
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-inout), background-color 0.2s var(--ease-inout);
}
.attachment-tile:hover, .attachment-tile:focus-visible { border-color: var(--orange); background: rgba(255, 255, 255, 0.04); }
.attachment-view {
  color: var(--grey-500);
  font-size: 0.6em;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease-inout);
}
.attachment-tile:hover .attachment-view, .attachment-tile:focus-visible .attachment-view { color: var(--orange); }
.attachment-tier { margin-top: 2rem; }
.attachment-tier:first-of-type { margin-top: 1.5rem; }
.attachment-tier-title { color: var(--white); font-size: calc(var(--t-mono) + 0.125rem); }
.attachment-tier .attachments-list { margin-top: 0.85rem; }
.attachment-note {
  margin-top: 0.85rem;
  color: var(--grey-500);
  font-size: 0.8125rem;
  max-width: 48ch;
}
.attachment-discount-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: var(--rule);
  color: var(--white);
  font-size: 0.9375rem;
}
.fleet-cta {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

/* ------------------------------------------------------------
   08 · STORY — the single light section
   ------------------------------------------------------------ */
.story {
  background: var(--grey-100);
  color: #1A1916;
  padding: var(--section-pad) var(--gutter);
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.story-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid #C7C3BC;
}
.story-portrait figcaption { margin-top: 1rem; }
.story .section-title { color: #0A0A0A; margin-bottom: 3rem; }
.story-text p {
  font-size: 1.25rem;
  line-height: 1.65;
  max-width: 52ch;
  color: #33312C;
}
.story-text p + p { margin-top: 1.6em; }
.story-sign {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B675F;
  margin-top: 3rem;
}

/* ------------------------------------------------------------
   09 · THE JOB LOG + testimonials
   ------------------------------------------------------------ */
.joblog {
  border-top: var(--rule);
  padding-top: var(--section-pad);
}
.joblog-head {
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.joblog-head .section-title { flex-basis: 100%; }
.joblog-hint { color: var(--grey-500); }
.joblog-scrollzone { position: relative; }   /* height set by JS on desktop */
.joblog-viewport {
  overflow: hidden;
  padding: 4rem 0;
  cursor: grab;
}
.joblog-viewport.is-dragging { cursor: grabbing; }
.joblog-track {
  display: flex;
  gap: 2.5vw;
  padding: 0 var(--gutter);
  width: max-content;
}
.job { flex: none; width: clamp(300px, 38vw, 620px); }
.job img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: var(--rule);
}
.job figcaption { margin-top: 1rem; }
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 var(--gutter) var(--section-pad);
  margin-top: 2rem;
}
.testimonial {
  border: var(--rule);
  min-height: 240px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.testimonial-quote { color: var(--grey-300); font-size: 1.0625rem; }
.testimonial-quote.is-empty {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* ------------------------------------------------------------
   10 · SERVICE AREA
   ------------------------------------------------------------ */
.service-area {
  background: var(--black);
  border-top: var(--rule);
  padding: var(--section-pad) var(--gutter);
}
.towns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  border-top: var(--rule);
  border-left: var(--rule);
  color: var(--grey-100);
  font-size: clamp(0.8125rem, 1.1vw, 1rem);
}
.towns li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 2.6rem;
  border-bottom: var(--rule);
  border-right: var(--rule);
}
.towns li::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 50%;
  width: 8px;
  height: 2px;
  margin-top: -1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--ease-out-hard);
}
.towns li.is-in::before { transform: scaleX(1); }
.service-note {
  margin-top: 3rem;
  color: var(--grey-300);
}
.faq {
  background: var(--black);
  border-top: var(--rule);
  padding: var(--section-pad) var(--gutter);
}
.faq-list {
  margin-top: 4rem;
  border-top: var(--rule);
}
.faq-item {
  padding: 2.25rem 0;
  border-bottom: var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.faq-item dt {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--white);
}
.faq-item dd {
  color: var(--grey-100);
  font-size: 1.0625rem;
  max-width: 56ch;
}
.faq-jobs { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-jobs li { color: var(--grey-100); }
.faq-jobs strong { color: var(--orange); }

/* ------------------------------------------------------------
   11 · FINAL CTA
   ------------------------------------------------------------ */
.final-cta {
  min-height: 100dvh;
  background: var(--black);
  border-top: var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2.75rem;
  padding: var(--section-pad) var(--gutter);
}
.final-eyebrow { color: var(--grey-500); }
.final-phone {
  font-size: clamp(2.6rem, 7.8vw, 10.5rem);
  white-space: nowrap;
  font-variant-numeric: slashed-zero;
}
.final-phone .hyd-clip {
  background-image: linear-gradient(90deg, var(--orange) 0 50%, var(--white) 50% 100%);
  background-size: 205% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 0.6s var(--ease-out-hard);
}
.final-phone-link:hover .hyd-clip,
.final-phone-link:focus-visible .hyd-clip { background-position: 0% 0; }
.final-line { color: var(--grey-300); }
.final-sms { color: var(--grey-100); }

/* ------------------------------------------------------------
   12 · FOOTER
   ------------------------------------------------------------ */
.footer { border-top: var(--rule); }
.footer-grid {
  display: grid;
  /* TEMP: 3 columns while the hours column is hidden in index.html —
     revert to "2fr 1fr 1fr 1fr" when it comes back. */
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4rem var(--gutter);
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--grey-500);
}
.footer-col a { color: var(--grey-100); }
.footer-wordmark {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--white);
}
.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem var(--gutter);
  border-top: var(--rule);
  font-size: 0.625rem;
  color: var(--grey-500);
}
.hazard-rule {
  height: 4px;
  background: repeating-linear-gradient(45deg, var(--orange) 0 6px, var(--black) 6px 12px);
}

/* floating mobile call button */
.float-call {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 950;
  width: 56px;
  height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--black);
  border: 1px solid var(--orange);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease-inout), transform 0.35s var(--ease-inout);
  pointer-events: none;
}
.float-call .glyph { width: 20px; height: 20px; }
.float-call.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1023px) {
  .fleet-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-portrait { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-item { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 767px) {
  :root { --gutter: 6vw; }

  body::after { opacity: 0.02; }

  .quote-checklist { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-call { padding: 0.7rem 1rem; }
  .nav-call-num { display: none; }

  /* keyboard-only skip link has no reachable "tab" gesture on touch */
  .skip-link { display: none; }

  /* every tap target clears 44px */
  .nav-call, .nav-wordmark { min-height: 44px; }
  .nav-wordmark { display: inline-flex; align-items: center; }
  .footer-col a, .final-sms {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-col { gap: 0.25rem; }

  .hero-title { font-size: clamp(1.5rem, 7.5vw, 2.75rem); }
  .hero-content { padding-bottom: max(20vh, 16rem); min-width: 0; }
  .hero-launch-banner { font-size: 1rem; padding: 0.5rem 0.8rem; margin-top: 1.75rem; }
  .hero-sub { margin-top: 1.75rem; }
  .hero-plate { bottom: 9.5rem; }
  .scroll-gauge { bottom: 9.5rem; height: 80px; }
  .hero-scroll-cta { padding: 0.85rem var(--gutter) 1.1rem; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 2.2rem 1.4rem 2rem; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: none; }
  .stat:nth-child(even) { border-left: var(--rule); }
  .stat:nth-child(n+3) { border-top: var(--rule); }

  .pillar { grid-template-columns: 1fr; gap: 1rem; padding: 2.6rem var(--gutter); }

  .fleet-film { aspect-ratio: 4 / 5; }

  /* job log becomes a native horizontal swipe */
  .joblog-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .job { scroll-snap-align: start; width: 78vw; }

  .towns { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-call { display: flex; }

  .final-phone { font-size: clamp(1.75rem, 9vw, 3.5rem); white-space: normal; }
}

/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .scroll-gauge-seg { animation: none; top: 42px; }
  .towns li::before { transition: none; transform: scaleX(1); }
  .pillar-bg, .pillar-rule, .machine-toggle .chevron { transition: none; }
  .hyd .hyd-edge { display: none; }
  .machine-photo--pending-icon { animation: none; }
  .hero-scroll-cta-arrow { animation: none; }
  .hero-launch-banner { animation: none; }
}
