/* ══════════════════════════════════════════════════════════════
   In or Out RV Parts & Repair — main.css
   Light-mode editorial / industrial. Winnipeg, MB.
   ══════════════════════════════════════════════════════════════ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #F4F1EA;
  --paper-2:    #ECE7DC;
  --paper-3:    #E2DCCE;
  --ink:        #14120F;
  --ink-80:     #14120Fcc;
  --ink-55:     #14120F8c;
  --ink-35:     #14120F59;
  --ink-12:     #14120F1f;
  --ink-07:     #14120F12;
  /* Brand green, picked up from the gears in their existing logo.
     --brand is ~3:1 on paper: fine for large display type and graphics, but
     it fails WCAG AA for body-sized text, so small green text uses
     --brand-ink (~5:1) instead. On the ink sections --brand is ~5.5:1 and
     stays as-is. */
  --brand:      #399F43;
  --brand-ink:  #2A7532;
  /* Deep evergreen — the "in the shop" counterpart to the brand green. */
  --deep:       #17423C;

  --shell: min(1560px, 100% - 2 * var(--gut));
  --gut: clamp(1.1rem, 4vw, 4.5rem);

  --f-disp: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .02, .28, 1);

  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-disp);
  font-size: clamp(1rem, .94rem + .28vw, 1.12rem);
  line-height: 1.58;
  font-variation-settings: 'wght' 420, 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1; text-wrap: balance; font-weight: 400; }
p { text-wrap: pretty; }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 9999;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: var(--shell); margin-inline: auto; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-55);
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.8rem);
}
.eyebrow .num {
  color: var(--brand-ink);
  font-weight: 700;
}
.eyebrow .num::after {
  content: ''; display: inline-block;
  width: 2.2rem; height: 1px; background: var(--ink-12);
  vertical-align: middle; margin-left: .7rem;
}

.sec-head { margin-bottom: clamp(2.6rem, 5vw, 5rem); }
.sec-h {
  font-size: clamp(2rem, 1.1rem + 4vw, 4.9rem);
  font-variation-settings: 'wght' 560, 'wdth' 92;
  letter-spacing: -.03em;
  word-spacing: .06em;
  line-height: .98;
  max-width: 20ch;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  background: var(--bg); color: var(--fg);
  border-radius: 100px;
  font-size: .93rem;
  font-variation-settings: 'wght' 600;
  letter-spacing: -.01em;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), background .4s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--brand);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  border-radius: inherit;
}
.btn:hover::before { transform: none; }
.btn:hover { color: #fff; }
.btn--lg { padding: 1.15rem 2.1rem; font-size: 1rem; }
.btn--sm { padding: .68rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }

.link {
  display: inline-block;
  font-size: .88rem;
  font-variation-settings: 'wght' 560;
  color: var(--brand-ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.2px; background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .45s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.2px; }

/* ══════════ PRELOADER ══════════ */
.loader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--paper);
  display: grid; place-items: center;
}
.loader__inner { text-align: center; width: min(78vw, 520px); }
.loader__mark {
  display: flex; align-items: baseline; justify-content: center; gap: .3em;
  font-size: clamp(2.4rem, 9vw, 5rem);
  letter-spacing: -.045em;
  line-height: 1;
  margin-bottom: 2.2rem;
}
.loader__word {
  font-variation-settings: 'wght' 800, 'wdth' 84;
  opacity: 0; transform: translateY(.4em);
}
.loader__word[data-w="2"] { color: var(--brand); }
.loader__or {
  font-family: var(--f-serif); font-style: italic;
  font-size: .62em; color: var(--ink-55);
  opacity: 0;
}
.loader__bar {
  height: 2px; background: var(--ink-12);
  border-radius: 2px; overflow: hidden;
}
.loader__bar i {
  display: block; height: 100%; width: 0%;
  background: var(--brand);
}
.loader__pct {
  margin-top: .9rem;
  font-family: var(--f-mono); font-size: .72rem;
  letter-spacing: .14em; color: var(--ink-35);
}

/* ══════════ NAV ══════════ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 700;
  height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem);
  padding-inline: var(--gut);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--ink-07);
  opacity: 0; transition: opacity .5s var(--ease);
}
.nav.is-stuck::before { opacity: 1; }

.nav__brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.nav__logo { color: var(--ink); flex: none; }
.nav__logo svg { width: 32px; height: 32px; }
/* Meshed gears: the top one turns one way, the pair below turns the other. */
.nav__logo path {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.1s var(--ease);
}
.nav__brand:hover .g-top { transform: rotate(45deg); }
.nav__brand:hover .g-l,
.nav__brand:hover .g-r { transform: rotate(-45deg); }
.nav__name { display: flex; flex-direction: column; line-height: 1.06; }
.nav__name b {
  font-size: 1.02rem; font-variation-settings: 'wght' 700, 'wdth' 92;
  letter-spacing: -.025em;
}
.nav__name i {
  font-family: var(--f-mono); font-style: normal;
  font-size: .58rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-55);
}

.nav__links { display: flex; gap: clamp(1rem, 2vw, 2.1rem); }
.nav__links a {
  position: relative; font-size: .88rem;
  font-variation-settings: 'wght' 500;
  color: var(--ink-80);
  padding-block: .3rem;
  transition: color .3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.4px; background: var(--brand);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-current::after { transform: none; transform-origin: 0 50%; }

.nav__burger {
  display: none; width: 44px; height: 44px;
  margin-right: -10px;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 11px; width: 22px; height: 1.6px;
  background: var(--ink); border-radius: 2px;
  transition: transform .45s var(--ease), opacity .3s;
}
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 690;
  background: var(--paper);
  padding: calc(var(--nav-h) + 2rem) var(--gut) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-100%);
  transition: transform .7s var(--ease-io);
}
.drawer[hidden] { display: flex; }
.drawer:not(.is-open) { visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__links { display: flex; flex-direction: column; }
.drawer__links a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .55em 0;
  font-size: clamp(2rem, 11vw, 3.4rem);
  font-variation-settings: 'wght' 640, 'wdth' 88;
  letter-spacing: -.035em; line-height: 1;
  border-bottom: 1px solid var(--ink-07);
  opacity: 0; transform: translateY(20px);
}
.drawer.is-open .drawer__links a { opacity: 1; transform: none; transition: opacity .6s var(--ease) var(--d, 0s), transform .6s var(--ease) var(--d, 0s); }
.drawer__links em {
  font-family: var(--f-mono); font-style: normal;
  font-size: .62rem; letter-spacing: .1em; color: var(--brand);
}
.drawer__foot p {
  margin-top: 1.1rem; font-size: .84rem; color: var(--ink-55);
  font-family: var(--f-mono); line-height: 1.7;
}

/* ══════════ HERO ══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 3rem) var(--gut) clamp(2rem, 5vh, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__video, .hero__gl {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__gl { display: none; }
.hero.is-gl .hero__video { opacity: 0; }
.hero.is-gl .hero__gl { display: block; }

/* Warm paper scrim — light enough to keep the footage alive, heavy where
   the type sits (bottom-left) and at the very bottom where it meets the page. */
.hero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(105% 78% at 4% 100%,
      color-mix(in srgb, var(--paper) 84%, transparent) 0%,
      color-mix(in srgb, var(--paper) 42%, transparent) 46%,
      transparent 74%),
    linear-gradient(to bottom,
      color-mix(in srgb, var(--paper) 64%, transparent) 0%,
      color-mix(in srgb, var(--paper) 14%, transparent) 15%,
      color-mix(in srgb, var(--paper) 4%,  transparent) 40%,
      color-mix(in srgb, var(--paper) 46%, transparent) 82%,
      var(--paper) 100%);
}
.hero__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom, transparent 0 3px, rgba(20,18,15,.022) 3px 4px);
  mix-blend-mode: multiply;
}

.hero__body { position: relative; max-width: 1300px; }
.eyebrow--hero { margin-bottom: clamp(1.1rem, 2vw, 1.8rem); }

.hero__title {
  font-size: clamp(2.7rem, 1rem + 9.1vw, 10rem);
  line-height: .86;
  letter-spacing: -.045em;
  word-spacing: .1em;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__big { font-variation-settings: 'wght' 760, 'wdth' 82; }
.hero__big--out { color: var(--brand); }

.hero__sub {
  max-width: 46ch;
  font-size: clamp(1rem, .9rem + .5vw, 1.28rem);
  color: var(--ink-80);
  line-height: 1.52;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ══════════ TICKER ══════════ */
.ticker {
  background: var(--ink); color: var(--paper);
  padding: .95rem 0; overflow: hidden;
  position: relative; z-index: 2;
}
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__set {
  display: flex; align-items: center; gap: 1.6rem;
  padding-right: 1.6rem;
  font-size: clamp(.9rem, 1.5vw, 1.15rem);
  font-variation-settings: 'wght' 560, 'wdth' 96;
  letter-spacing: -.015em; white-space: nowrap;
}
.ticker__set i { color: var(--brand); font-style: normal; font-size: .6em; }

/* ══════════ STATEMENT ══════════ */
.statement { padding: clamp(4.5rem, 12vh, 10rem) 0 clamp(3rem, 7vh, 6rem); }
.statement__h {
  font-size: clamp(1.55rem, .8rem + 3.1vw, 3.7rem);
  font-variation-settings: 'wght' 480, 'wdth' 95;
  letter-spacing: -.028em;
  word-spacing: .05em;
  line-height: 1.08;
  max-width: 26ch;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.statement__h em {
  font-family: var(--f-serif); font-style: italic;
  font-variation-settings: normal;
  color: var(--brand);
}
.statement__grid {
  display: grid; gap: clamp(2rem, 4vw, 3.4rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--ink-12);
  padding-top: clamp(2rem, 4vw, 3.2rem);
}
.statement__col h3 {
  font-size: 1.06rem;
  font-variation-settings: 'wght' 660;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
}
.statement__col h3::before {
  content: ''; display: block;
  width: 26px; height: 2.5px; background: var(--brand);
  margin-bottom: 1rem;
}
.statement__col p { color: var(--ink-55); font-size: .97rem; }

/* ══════════ TWO LANES ══════════ */
.lanes {
  padding: clamp(3.5rem, 9vh, 7rem) 0 clamp(4rem, 10vh, 8rem);
  background:
    radial-gradient(90% 60% at 6% 6%, rgba(57,159,67,.10), transparent 60%),
    radial-gradient(85% 60% at 96% 96%, rgba(23,66,60,.12), transparent 62%),
    var(--paper);
}

.lane {
  display: grid;
  /* Equal columns so both lanes lay their list out identically, whichever
     side the copy sits on. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.lane + .lane {
  margin-top: clamp(3.5rem, 8vw, 7rem);
  padding-top: clamp(3.5rem, 8vw, 7rem);
  border-top: 1px solid var(--ink-12);
}
/* Second lane mirrors the first so the pair reads as a spread. */
.lane--in .lane__fig { order: -1; }

.lane__h {
  font-size: clamp(2.2rem, 1rem + 5.4vw, 6rem);
  line-height: .88;
  letter-spacing: -.05em;
  word-spacing: .12em;
  font-variation-settings: 'wght' 780, 'wdth' 80;
  margin-bottom: clamp(1.1rem, 2vw, 1.8rem);
}
.lane__h span { display: block; }
.lane--out .lane__h span:last-child { color: var(--brand); }
.lane--in  .lane__h span:last-child { color: var(--deep); }

.lane__lede {
  font-size: clamp(1rem, .92rem + .4vw, 1.2rem);
  color: var(--ink-80); max-width: 42ch;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.lane__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .1rem 1.6rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
  border-top: 1px solid var(--ink-12);
}
.lane__list li {
  display: flex; align-items: baseline; gap: .8rem;
  padding: .78rem 0;
  border-bottom: 1px solid var(--ink-07);
  font-size: .96rem;
  font-variation-settings: 'wght' 500;
}
.lane__list span {
  font-family: var(--f-mono); font-size: .62rem;
  letter-spacing: .06em; flex: none;
}
.lane--out .lane__list span { color: var(--brand-ink); }
.lane--in  .lane__list span { color: var(--deep); }

.lane__fig { position: relative; margin: 0; }
.lane__fig img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 30px 70px -34px rgba(20,18,15,.45);
}
.lane__fig figcaption {
  margin-top: .9rem;
  font-family: var(--f-mono); font-size: .68rem;
  letter-spacing: .04em; color: var(--ink-35);
}

/* ══════════ SERVICES ══════════ */
.services { padding: clamp(4.5rem, 12vh, 10rem) 0; }
.svc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  border-top: 1px solid var(--ink-12);
}
.svc__i {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.8rem) clamp(1.2rem, 2vw, 2rem) clamp(2.2rem, 4vw, 3.4rem);
  border-bottom: 1px solid var(--ink-12);
  border-right: 1px solid var(--ink-12);
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.svc__i::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform .6s var(--ease);
}
.svc__i:hover::before { transform: none; }
.svc__i:hover { color: var(--paper); }
.svc__i:hover i { color: var(--brand); }
.svc__i:hover p { color: color-mix(in srgb, var(--paper) 66%, transparent); }
.svc__i i {
  display: block;
  font-family: var(--f-mono); font-style: normal;
  font-size: .66rem; letter-spacing: .14em;
  color: var(--brand); margin-bottom: clamp(2.4rem, 5vw, 4rem);
  transition: color .5s var(--ease);
}
.svc__i h3 {
  font-size: clamp(1.15rem, 1rem + .55vw, 1.6rem);
  font-variation-settings: 'wght' 620, 'wdth' 94;
  letter-spacing: -.028em;
  margin-bottom: .7rem;
}
.svc__i p {
  font-size: .93rem; color: var(--ink-55);
  transition: color .5s var(--ease);
  max-width: 34ch;
}

/* ══════════ PROCESS ══════════ */
.proc { position: relative; background: var(--ink); color: var(--paper); }
.proc__pin {
  display: flex; flex-direction: column;
  gap: clamp(2rem, 5vh, 4rem);
  padding-block: clamp(3.5rem, 9vh, 7rem);
}
.proc .eyebrow { color: color-mix(in srgb, var(--paper) 52%, transparent); }
.proc .eyebrow .num::after { background: color-mix(in srgb, var(--paper) 20%, transparent); }
.proc .sec-h { color: var(--paper); }
.proc__head { margin: 0 auto; }

/* All four steps sit side by side and fit the viewport; below 860px the same
   row turns into a swipeable carousel (see the responsive block). */
.proc__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
  width: var(--shell);
  margin-inline: auto;
}
.proc__card {
  padding: clamp(1.4rem, 2.2vw, 2.4rem);
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--paper) 13%, transparent);
  display: flex; flex-direction: column; gap: .9rem;
}
.proc__n {
  font-family: var(--f-mono); font-size: .7rem;
  letter-spacing: .16em; color: var(--brand);
  margin-bottom: clamp(1.6rem, 3.5vw, 3rem);
}
.proc__card h3 {
  font-size: clamp(1.25rem, 1rem + .9vw, 1.85rem);
  font-variation-settings: 'wght' 640, 'wdth' 92;
  letter-spacing: -.03em;
}
.proc__card p {
  color: color-mix(in srgb, var(--paper) 62%, transparent);
  font-size: .96rem;
}

/* ══════════ REVIEWS ══════════ */
.rev { padding: clamp(4.5rem, 12vh, 10rem) 0; background: var(--paper-2); }
.rev__grid {
  display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
}
.rev__q {
  background: var(--paper);
  border: 1px solid var(--ink-07);
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  position: relative;
}
.rev__q::before {
  content: '”';
  font-family: var(--f-serif); font-style: italic;
  font-size: 5rem; line-height: .8;
  color: var(--brand); opacity: .35;
  position: absolute; top: 1.1rem; right: 1.4rem;
}
.rev__q p {
  font-size: clamp(.97rem, .93rem + .18vw, 1.08rem);
  color: var(--ink-80); line-height: 1.62;
  margin-bottom: 1.6rem;
}
.rev__q footer {
  display: flex; flex-direction: column; gap: .18rem;
  padding-top: 1.1rem; border-top: 1px solid var(--ink-12);
}
.rev__q footer b {
  font-size: .96rem; font-variation-settings: 'wght' 660;
  letter-spacing: -.015em;
}
.rev__q footer span {
  font-family: var(--f-mono); font-size: .66rem;
  letter-spacing: .07em; color: var(--ink-35);
}

/* ══════════ CTA ══════════ */
.cta { padding: clamp(4.5rem, 12vh, 10rem) 0 clamp(3.5rem, 8vh, 7rem); }
.cta__h {
  font-size: clamp(1.9rem, 1rem + 4.2vw, 5.2rem);
  font-variation-settings: 'wght' 560, 'wdth' 90;
  letter-spacing: -.035em;
  word-spacing: .06em; line-height: .98;
  max-width: 18ch;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}
.cta__phone {
  display: block;
  font-size: clamp(2.3rem, .4rem + 9.4vw, 10.5rem);
  font-variation-settings: 'wght' 800, 'wdth' 76;
  letter-spacing: -.055em; line-height: .92;
  color: var(--brand);
  margin-bottom: clamp(2.8rem, 6vw, 5rem);
  padding-bottom: clamp(1.4rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--ink-12);
  white-space: nowrap;
  transition: color .5s var(--ease);
}
.cta__phone:hover { color: var(--ink); }

.cta__cols {
  display: grid; gap: clamp(1.8rem, 3vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cta__col h3 {
  font-family: var(--f-mono); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-35); margin-bottom: 1rem;
}
.cta__col p {
  font-size: 1rem; color: var(--ink-80);
  margin-bottom: .9rem; line-height: 1.55;
}

/* ══════════ FOOTER ══════════ */
.foot {
  background: var(--ink); color: var(--paper);
  padding: clamp(3rem, 7vh, 6rem) 0 clamp(6rem, 8vh, 3rem);
  overflow: hidden;
}
.foot__mark {
  display: flex; align-items: baseline; justify-content: center;
  gap: .18em;
  font-size: clamp(3.6rem, 15vw, 15rem);
  line-height: .86;
  letter-spacing: -.055em;
  font-variation-settings: 'wght' 820, 'wdth' 76;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
  user-select: none;
}
.foot__mark span:last-child { color: var(--brand); }
.foot__mark em {
  font-family: var(--f-serif); font-style: italic;
  font-variation-settings: normal;
  font-size: .42em; color: color-mix(in srgb, var(--paper) 45%, transparent);
}
.foot__row {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  justify-content: space-between;
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
  border-top: 1px solid color-mix(in srgb, var(--paper) 15%, transparent);
  font-family: var(--f-mono); font-size: .7rem;
  letter-spacing: .05em;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}
.foot__row a { color: var(--paper); }
.foot__row a:hover { color: var(--brand); }

/* ══════════ CALL BAR ══════════ */
.callbar {
  position: fixed; z-index: 600;
  left: 12px; right: 12px; bottom: 12px;
  display: none;
  align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem;
  background: var(--brand); color: #fff;
  border-radius: 100px;
  font-size: 1rem; font-variation-settings: 'wght' 660;
  letter-spacing: -.01em;
  box-shadow: 0 14px 34px -12px rgba(57,159,67,.6);
  transform: translateY(140%);
  transition: transform .6s var(--ease);
}
.callbar.is-in { transform: none; }

/* ══════════ GRAIN ══════════ */
.grain {
  position: fixed; inset: -120%; z-index: 5000;
  pointer-events: none; opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) }
  20% { transform: translate(-4%, 3%) }
  40% { transform: translate(3%, -4%) }
  60% { transform: translate(-3%, -2%) }
  80% { transform: translate(4%, 2%) }
}

/* ══════════ SCROLL-IN STATES ══════════ */
[data-fade] { opacity: 0; transform: translateY(22px); }
.is-ready [data-fade] { will-change: opacity, transform; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  .drawer { display: none !important; }
}

@media (max-width: 1100px) {
  /* Single column: heading leads, photo closes each lane. */
  .lane { grid-template-columns: 1fr; }
  .lane--in .lane__fig { order: 0; }
  .lane__fig img { aspect-ratio: 16 / 10; }
}

@media (max-width: 1100px) {
  .proc__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Narrow screens: the same row becomes a swipeable, snapping carousel. */
@media (max-width: 700px) {
  .proc__track {
    display: flex;
    /* `margin-inline: auto` from the desktop rule would shrink-wrap this
       column-flex child to its content and push the page sideways instead of
       scrolling — reset it and pin the track to the viewport width. */
    width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding-inline: var(--gut);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .5rem;
  }
  .proc__track::-webkit-scrollbar { display: none; }
  .proc__card {
    flex: 0 0 min(78vw, 340px);
    scroll-snap-align: center;
  }
  /* Trailing gutter so the last card can clear the right edge. */
  .proc__track::after {
    content: '';
    flex: 0 0 calc(var(--gut) - clamp(1rem, 2vw, 1.8rem));
  }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__call { display: none; }
  .nav__burger { display: block; }
  .callbar { display: flex; }
  .foot { padding-bottom: 6.5rem; }
}

@media (max-width: 620px) {
  .hero { min-height: 92svh; }
  .lane__list { grid-template-columns: 1fr; }
  /* Portrait crops the footage hard and the copy fills most of the frame,
     so the scrim runs the full height rather than hugging one corner. */
  .hero__wash {
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--paper) 60%, transparent) 0%,
      color-mix(in srgb, var(--paper) 20%, transparent) 20%,
      color-mix(in srgb, var(--paper) 58%, transparent) 46%,
      color-mix(in srgb, var(--paper) 82%, transparent) 74%,
      var(--paper) 100%);
  }
  .hero__cta .btn { flex: 1 1 100%; }
  .cta__phone { font-size: clamp(2rem, 12vw, 3.6rem); }
  .svc__i { border-right: 0; }
}

/* ══════════ REDUCED MOTION (media query or ?motion=off) ══════════ */
.motion-off { scroll-behavior: auto; }
.motion-off *, .motion-off *::before, .motion-off *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}
.motion-off [data-fade] { opacity: 1; transform: none; }
.motion-off .grain,
.motion-off .hero__scan { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-fade] { opacity: 1; transform: none; }
  .grain { display: none; }
  .hero__scan { display: none; }
}
