/* Master Courrier — "Nocturne" design system
   Obsidian + ivory, champagne accent. Instrument Serif / Inter Tight / Geist Mono. */

:root {
  --obsidian: #0A0A0B;
  --graphite: #141417;
  --graphite-2: #1B1B1F;
  --hair: #2A2A2E;
  --ivory: #F3EEE5;
  --ivory-2: #E9E2D6;
  --ink: #121212;
  --ink-soft: #4A463F;
  --stone: #A39C90;
  --gold: #C8A36A;
  --gold-l: #E3C995;
  --gold-d: #7A5E32; /* gold text on ivory: 5.2:1 (AA for small text) */

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1360px;
  --r: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--obsidian); color: var(--ivory);
  font: 400 17px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-style: italic; }

.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .78em; letter-spacing: .02em; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- type ---------- */
.display {
  font: 400 clamp(46px, 8.4vw, 132px)/.94 var(--serif);
  letter-spacing: -.025em; text-wrap: balance;
}
.display em, .h2 em { color: var(--gold-l); }
.light .h2 em { color: var(--gold-d); }
.display-sm { font: 400 clamp(32px, 4.6vw, 64px)/1 var(--serif); letter-spacing: -.02em; }
.h2 { font: 400 clamp(38px, 5.6vw, 84px)/.98 var(--serif); letter-spacing: -.022em; text-wrap: balance; max-width: 16ch; }
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font: 500 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.ink { color: var(--gold-d); }
.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: #D9D3C8; max-width: 38ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ivory); --bd: rgba(243,238,229,.28);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 500 15px/1 var(--sans); letter-spacing: .01em; border-radius: var(--r); cursor: pointer;
  overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::after, .btn:focus-visible::after { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--ivory); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; gap: 6px; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 500; transition: color .3s; }
.link-arrow:hover { color: var(--gold); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .5s var(--ease), background .4s, backdrop-filter .4s; }
.nav-in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); max-width: var(--max); margin: auto; padding-inline: var(--gutter); }
.nav.is-scrolled { background: rgba(10,10,11,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); }
.logo .mono { width: 34px; height: 34px; color: var(--gold); flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font: 600 15px/1 var(--sans); letter-spacing: .32em; }
.logo-word i { font: 400 9.5px/1 var(--mono); letter-spacing: .5em; color: var(--stone); margin-top: 5px; font-style: normal; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { position: relative; font-size: 14px; color: #CFC8BC; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang { font: 500 12px/1 var(--mono); letter-spacing: .12em; padding: 8px 10px; border: 1px solid var(--hair); border-radius: var(--r); transition: border-color .3s, color .3s; }
.lang:hover { border-color: var(--gold); color: var(--gold); }
.nav-phone { font: 500 14px/1 var(--mono); color: #CFC8BC; }
.nav-phone:hover { color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--hair); border-radius: var(--r); position: relative; cursor: pointer; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease); }
.burger i:first-of-type { top: 17px; } .burger i:last-of-type { top: 25px; }
.burger[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.mnav { position: fixed; inset: var(--nav-h) 0 0; background: var(--obsidian); padding: 32px var(--gutter); display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav > a { font: 400 40px/1.25 var(--serif); border-bottom: 1px solid var(--hair); padding: 8px 0; }
.mnav > a.gold { color: var(--gold); }
.mnav-foot { margin-top: auto; display: flex; justify-content: space-between; padding-top: 24px; font-family: var(--mono); font-size: 14px; color: var(--stone); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--nav-h) + 40px); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero-media picture, .hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,10,11,.9) 0%, rgba(10,10,11,.55) 42%, rgba(10,10,11,.05) 75%),
  linear-gradient(0deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,0) 38%),
  linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 22%); }
.hero-in { position: relative; z-index: 1; padding-bottom: clamp(32px, 6vh, 64px); }
.hero .display { max-width: 6.4em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #6BCB8B; box-shadow: 0 0 0 0 rgba(107,203,139,.6); animation: ping 2.2s infinite; }
.status.is-closed i { background: var(--stone); animation: none; }
.hero .eyebrow::before { display: none; }
.hero .eyebrow .sep { color: var(--stone); }
.clock { color: var(--ivory); font-size: 1em; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(107,203,139,0); } 100% { box-shadow: 0 0 0 0 rgba(107,203,139,0); } }
.hero-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(243,238,229,.16); padding-block: 22px 30px; }
.hero-facts li { display: flex; flex-direction: column; gap: 2px; padding-right: 16px; }
.hero-facts li + li { padding-left: 24px; border-left: 1px solid rgba(243,238,229,.12); }
.hero-facts b { font: 400 clamp(22px, 2.2vw, 30px)/1.1 var(--serif); }
.hero-facts span { font-size: 13px; color: var(--stone); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 110px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; font: 500 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- light sections ---------- */
.light { background: var(--ivory); color: var(--ink); }
.h2.ink, .light .h2 { color: var(--ink); }

/* ---------- manifesto ---------- */
.manifesto { padding-block: clamp(96px, 16vw, 200px); }
.mf-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.mf-text { font: 400 clamp(30px, 3.7vw, 54px)/1.14 var(--serif); letter-spacing: -.015em; }
.mf-text .w { opacity: .16; transition: opacity .2s; }
.mf-sign { display: flex; align-items: center; gap: 16px; margin-top: 40px; font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.rule { width: 48px; height: 1px; background: currentColor; }
.mf-media { aspect-ratio: 4/5; overflow: hidden; background: var(--obsidian); }

/* reveal mask */
.reveal { clip-path: inset(0 0 0 0); }
.js .reveal { clip-path: inset(100% 0 0 0); }
.js .reveal > * { transform: scale(1.18); }

/* ---------- services ---------- */
.services { padding-top: clamp(96px, 14vw, 180px); padding-bottom: clamp(72px, 10vw, 140px); background: var(--obsidian); }
.sv-head { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: clamp(48px, 6vw, 80px); }
.sv-head .h2 { max-width: 14ch; }
.sv-intro { max-width: 44ch; color: var(--stone); margin-top: 28px; font-size: 18px; }
.sv-rail { overflow: hidden; }
.sv-track { display: flex; gap: 24px; padding-inline: var(--gutter); width: max-content; will-change: transform; }
.sv-card { width: min(34vw, 470px); flex: none; background: var(--graphite); border: 1px solid var(--hair); transition: border-color .5s var(--ease); }
.sv-card:hover { border-color: rgba(200,163,106,.5); }
.sv-img { aspect-ratio: 4/3; overflow: hidden; }
.sv-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter 1.2s; filter: saturate(.92); }
.sv-card:hover .sv-img img { transform: scale(1.1); filter: saturate(1.05); }
.sv-body { padding: 28px 28px 34px; }
.sv-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; color: var(--gold); }
.tag { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); border: 1px solid var(--hair); padding: 7px 10px; border-radius: 100px; }
.sv-card h3 { font: 400 clamp(28px, 2.4vw, 36px)/1.05 var(--serif); margin-bottom: 14px; }
.sv-card p { color: var(--stone); font-size: 16px; }

/* ---------- method: live Montréal map (pinned on desktop, sticky map on phones) ---------- */
.method { position: relative; background: var(--obsidian); border-block: 1px solid var(--hair); }
.md-pin { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.md-stage { position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 50%, #111114 0%, #0A0A0B 70%); }
.md-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.md-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.86) 28%, rgba(10,10,11,.2) 52%, rgba(10,10,11,0) 70%),
  linear-gradient(0deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,0) 25%), linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 18%); }
.map-t { font-family: var(--mono); fill: #8F887C; letter-spacing: .18em; paint-order: stroke; stroke: #0A0A0B; stroke-width: 3px; stroke-linejoin: round; }
.map-t.big { fill: #6F695F; font-weight: 500; letter-spacing: .5em; }
.map-t.water { font-family: var(--serif); font-style: italic; letter-spacing: .04em; fill: #5d5a55; }
.map-t.pin { fill: var(--ivory); letter-spacing: .08em; }
.md-route-plan { fill: none; stroke: #C8A36A; stroke-opacity: .28; stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.md-route { fill: none; stroke: #E3C995; stroke-width: 3px; stroke-linecap: round; stroke-linejoin: round; }
.md-route-glow { fill: none; stroke: #C8A36A; stroke-width: 10; stroke-opacity: .55; stroke-linecap: round; }
.md-shield rect { fill: #0A0A0B; stroke: #C8A36A; stroke-width: 1.4; }
.md-shield text { font: 600 13px var(--mono); fill: #E3C995; }
.md-shield { opacity: 0; transition: opacity .5s var(--ease); }
.md-shield.is-on { opacity: 1; }
.md-ring { fill: #0A0A0B; stroke: #E3C995; stroke-width: 2.2; }
.md-core { fill: #E3C995; }
.md-dest { fill: #C8A36A; transition: r .6s var(--ease); }
.md-pin-dest.is-done .md-dest { r: 12px; }
.md-check { transform: scale(1.7); }
.md-check { fill: none; stroke: #0A0A0B; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.md-pin-dest.is-done .md-check { opacity: 1; }
.md-ring-pulse { fill: none; stroke: #E3C995; stroke-width: 1.5; transform-origin: 0 0; animation: mdPulse 2.2s var(--ease) infinite; }
.md-pin-dest .md-ring-pulse { animation-play-state: paused; opacity: 0; }
.md-pin-dest.is-done .md-ring-pulse { animation-play-state: running; opacity: 1; }
@keyframes mdPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.6); opacity: 0; } }
.md-arrow { fill: #F3EEE5; stroke: #0A0A0B; stroke-width: 1.2; stroke-linejoin: round; }
.md-truck { opacity: 0; transition: opacity .4s; }
.md-truck.is-on { opacity: 1; }

.md-layer { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: calc(var(--nav-h) + 8px); padding-bottom: 28px; pointer-events: none; }
.md-layer a, .md-layer button { pointer-events: auto; }
.md-copy { width: min(440px, 38%); }
.md-copy .h2 { max-width: 12ch; margin-bottom: 28px; font-size: clamp(38px, 4.2vw, 64px); }
.md-steps { display: flex; flex-direction: column; }
.md-step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(243,238,229,.1); opacity: .32; transition: opacity .6s var(--ease); }
.md-step.is-on { opacity: 1; }
.md-step.is-on .md-time { color: var(--gold); }
.md-time { padding-top: 6px; color: var(--stone); transition: color .6s; white-space: nowrap; }
.md-step h3 { font: 400 24px/1.15 var(--serif); margin-bottom: 3px; }
.md-step p { font-size: 14.5px; color: var(--stone); max-width: 40ch; }

.md-hud { position: absolute; z-index: 2; right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); bottom: 28px; width: 300px; padding: 18px 20px 16px; background: rgba(14,14,17,.72); border: 1px solid rgba(243,238,229,.1);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%); }
.md-status { display: flex; align-items: center; gap: 10px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ivory); margin-bottom: 14px; }
.md-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(200,163,106,.6); animation: ping 2s infinite; flex: none; }
.md-hud dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.md-hud dt { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.md-hud dd { font-size: 22px; color: var(--ivory); }
.md-hud dd small { font-size: 12px; color: var(--stone); }
.md-road { grid-column: 1 / -1; }
.md-road dd { font: 400 17px/1.3 var(--sans); color: var(--gold-l); min-height: 2.6em; }
.md-pallets { margin-top: 10px; font-size: 12px; color: var(--stone); }
.md-bar { position: relative; height: 2px; background: var(--hair); margin-top: 12px; }
.md-bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.md-cap { margin-top: 10px; font-size: 10.5px; color: #6E685F; letter-spacing: .06em; }

/* ---------- sectors ---------- */
.sectors { padding-block: clamp(96px, 14vw, 180px) clamp(72px, 10vw, 120px); overflow: hidden; }
.sectors .h2 { max-width: 18ch; }
.marquee { margin-block: clamp(56px, 7vw, 96px); border-block: 1px solid rgba(18,18,18,.14); padding-block: 26px; overflow: hidden; }
.mq-track { display: flex; width: max-content; gap: 40px; align-items: center; font: 400 clamp(34px, 4.4vw, 64px)/1 var(--serif); white-space: nowrap; animation: mq 50s linear infinite; }
.mq-track .dot { font-size: .3em; color: var(--gold-d); }
@keyframes mq { to { transform: translateX(-50%); } }
.sc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sc-duo figure { aspect-ratio: 3/2; overflow: hidden; }
.sc-duo figure:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }

/* ---------- fleet ---------- */
.fleet { position: relative; min-height: 110svh; display: flex; align-items: flex-end; overflow: hidden; padding-block: 160px clamp(64px, 8vw, 110px); }
.fl-media { position: absolute; inset: -10% 0; z-index: 0; }
.fl-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.96) 8%, rgba(10,10,11,.35) 55%, rgba(10,10,11,.7) 100%); }
.fl-in { position: relative; z-index: 1; }
.fl-in .h2 { max-width: 15ch; }
.fl-text { max-width: 48ch; color: #D2CBBF; margin-top: 26px; font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid rgba(243,238,229,.18); }
.stats > div { padding: 24px 20px 0 0; display: flex; flex-direction: column-reverse; gap: 8px; }
.stats > div + div { padding-left: 24px; border-left: 1px solid rgba(243,238,229,.12); }
.stats dd { font: 400 clamp(44px, 5vw, 76px)/1 var(--serif); color: var(--ivory); }
.stats dt { font-size: 13px; color: var(--stone); }

/* ---------- coverage ---------- */
.coverage { background: var(--obsidian); padding-block: clamp(96px, 14vw, 180px); }
.cv-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.cv-copy > p { color: var(--stone); margin-top: 26px; max-width: 44ch; font-size: 18px; }
.zones { margin-top: 40px; border-top: 1px solid var(--hair); }
.zones li { display: flex; gap: 20px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--hair); font-size: 18px; transition: padding .4s var(--ease), color .3s; }
.zones li:hover { padding-left: 10px; color: var(--gold-l); }
.zones .mono { color: var(--gold); }
.cv-media { aspect-ratio: 4/5; overflow: hidden; }

/* ---------- reviews ---------- */
.reviews { padding-block: clamp(96px, 14vw, 180px); }
.rv-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.rv-score { position: sticky; top: calc(var(--nav-h) + 40px); }
.score { display: flex; align-items: center; gap: 20px; margin: 40px 0 28px; }
.score b { font: 400 clamp(88px, 10vw, 150px)/.8 var(--serif); letter-spacing: -.04em; }
.score div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.stars { color: var(--gold-d); letter-spacing: .12em; font-size: 16px; }
.stars .off { color: rgba(18,18,18,.18); }
.rv-list { display: flex; flex-direction: column; }
.rv { padding: 34px 0; border-top: 1px solid rgba(18,18,18,.14); }
.rv blockquote { font: 400 clamp(24px, 2.4vw, 34px)/1.22 var(--serif); margin: 14px 0 16px; letter-spacing: -.01em; }
.rv-by { font-weight: 500; font-size: 15px; }
.rv-by span { color: var(--ink-soft); font-weight: 400; }
.rv-note { grid-column: 2; font-size: 13px; color: var(--ink-soft); }

/* ---------- quote ---------- */
.quote { background: var(--obsidian); padding-block: clamp(96px, 14vw, 180px); border-top: 1px solid var(--hair); }
.qt-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.qt-copy > p { color: var(--stone); margin-top: 26px; max-width: 40ch; font-size: 18px; }
.qt-info { margin-top: 48px; display: flex; flex-direction: column; }
.qt-info > div { padding: 20px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.qt-info dt { font: 500 11px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.qt-info dd { color: #DCD5CA; }
.qt-book { margin-top: 28px; }
.big-phone { font: 400 clamp(30px, 3vw, 40px)/1 var(--serif); color: var(--gold-l); }
.big-phone:hover { color: var(--ivory); }
.qt-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; background: var(--graphite); border: 1px solid var(--hair); padding: clamp(24px, 3.4vw, 48px); }
.f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.f-full { grid-column: 1 / -1; }
.f label, .seg legend { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.f input, .f select, .f textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #3A3A40; border-radius: 0;
  padding: 10px 0 12px; font-size: 17px; color: var(--ivory); transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.f select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C8A36A' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center / 12px; padding-right: 26px; cursor: pointer; }
.f select option { background: var(--graphite); color: var(--ivory); }
.f textarea { resize: vertical; min-height: 84px; }
.f input::placeholder, .f textarea::placeholder { color: #8A8377; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--gold); }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--gold); }
.f .is-invalid { border-color: #E07A6A; }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { margin-bottom: 10px; float: left; width: 100%; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; min-height: 42px; align-items: center; padding: 0 18px; border: 1px solid #3A3A40; border-radius: 100px; font-size: 14px; transition: all .3s var(--ease); }
.seg input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.consent { font-size: 12.5px; color: #8C857A; line-height: 1.5; }
.qt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-msg { font-size: 15px; color: var(--gold-l); }
.form-msg.is-err { color: #F0A193; }
.qt-form.is-sent .f, .qt-form.is-sent .consent, .qt-form.is-sent button { opacity: .35; pointer-events: none; }

/* ---------- footer ---------- */
.footer { background: var(--obsidian); border-top: 1px solid var(--hair); padding-top: clamp(72px, 10vw, 130px); }
.ft-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(56px, 7vw, 90px); }
.ft-tag { max-width: 14ch; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 40px; border-top: 1px solid var(--hair); }
.ft-grid p { color: #CFC8BC; font-size: 15px; }
.ft-l { font: 500 11px/1 var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--stone) !important; margin-bottom: 12px; }
.ft-grid a:hover { color: var(--gold); }
.ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px 36px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--stone); }
.ft-bottom a:hover { color: var(--gold); }

.sticky-call { display: none; }

/* ---------- 404 ---------- */
.nf-main { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 48px var(--gutter); max-width: var(--max); margin: auto; }
.nf-code { color: var(--gold); font-size: 14px; letter-spacing: .3em; }
.nf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.nf-cols > div { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.nf-cols p:not(.display-sm) { color: var(--stone); max-width: 40ch; }

/* ---------- motion prep (only when JS + motion allowed) ---------- */
.js [data-fade] { opacity: 0; transform: translateY(24px); }
.js .display[data-split], .js .h2[data-split] { visibility: hidden; }
.js .display[data-split].is-split, .js .h2[data-split].is-split { visibility: visible; }
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: inline-block; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 1023px) {
  /* method: map sticks under the nav; the steps scroll up underneath it */
  .md-pin { height: auto; min-height: 0; overflow: visible; }
  .md-stage { position: sticky; top: var(--nav-h); height: 62svh; z-index: 2; border-bottom: 1px solid var(--hair); }
  .md-shade { background: linear-gradient(180deg, rgba(10,10,11,.75) 0%, rgba(10,10,11,0) 20%), linear-gradient(0deg, rgba(10,10,11,.8) 0%, rgba(10,10,11,0) 35%); }
  .md-layer { display: block; height: auto; padding-top: 36px; padding-bottom: 48px; z-index: 1; }
  .md-copy { width: auto; }
  .md-step { min-height: 26svh; align-content: start; }
  .md-hud { left: var(--gutter); right: var(--gutter); bottom: 12px; width: auto; padding: 12px 14px; }
  .md-hud dl { grid-template-columns: auto auto 1fr; gap: 8px 16px; }
  .md-hud dd { font-size: 17px; }
  .md-road { grid-column: auto; }
  .md-road dd { font-size: 14px; min-height: 0; }
  .md-status { margin-bottom: 10px; }
  .md-pallets, .md-cap { display: none; }
  .sv-rail { overflow: visible; }
  .sv-track { flex-direction: column; width: auto; padding-inline: var(--gutter); }
  .sv-card { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .sv-img { aspect-ratio: auto; min-height: 260px; }
  .cv-grid, .qt-grid, .mf-grid, .rv-grid { grid-template-columns: 1fr; }
  .rv-score { position: static; }
  .rv-note { grid-column: 1; }
  .mf-media { aspect-ratio: 16/10; }
  .cv-media { aspect-ratio: 16/11; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav-right .btn { display: none; }
  .logo-word b { font-size: 13px; letter-spacing: .26em; }
  /* phones: stacked hero — the vertical clip fills the top, the headline starts where it fades to black */
  .hero { min-height: 0; padding-top: 52svh; }
  .hero-media { inset: 0 0 auto 0; height: 72svh; }
  .hero-media picture, .hero-poster, .hero-video { object-position: 50% 40%; }
  .hero-shade { background: linear-gradient(0deg, #0A0A0B 0%, rgba(10,10,11,.75) 22%, rgba(10,10,11,.15) 55%, rgba(10,10,11,.55) 100%); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; padding-bottom: 20px; }
  .hero-facts li + li { padding-left: 12px; }
  .hero-facts li { padding-right: 8px; }
  .hero-facts b { font-size: 18px; }
  .hero-facts span { font-size: 11.5px; line-height: 1.35; }
  .scroll-cue { display: none; }
  .sv-card { grid-template-columns: 1fr; }
  .sv-img { min-height: 0; aspect-ratio: 4/3; }
  .sv-body { padding: 22px 22px 28px; }
  .sv-meta { margin-bottom: 22px; }
  .sc-duo { grid-template-columns: 1fr; }
  .sc-duo figure:nth-child(2) { margin-top: 0; }
  .fleet { min-height: 0; padding-top: 55vh; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 22px 12px 20px 0; }
  .stats > div + div { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(243,238,229,.12); }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(243,238,229,.12); }
  .qt-form { grid-template-columns: 1fr; }
  .qt-info > div { grid-template-columns: 1fr; gap: 6px; }
  .ft-grid { grid-template-columns: 1fr; }
  .nf-cols { grid-template-columns: 1fr; gap: 40px; }
  .sticky-call {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
    display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px;
    background: var(--gold); color: var(--ink); border-radius: 100px; font-weight: 600; font-size: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.45); transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .sticky-call svg { width: 20px; height: 20px; fill: currentColor; }
  .sticky-call.is-on { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-fade] { opacity: 1; transform: none; }
  .js .reveal { clip-path: none; }
  .js .reveal > * { transform: none; }
  .js .display[data-split], .js .h2[data-split] { visibility: visible; }
  .mf-text .w { opacity: 1; }
  .md-step { opacity: 1; }
  .md-ring-pulse { animation: none; }
  .mq-track { animation: none; flex-wrap: wrap; width: auto; white-space: normal; padding-inline: var(--gutter); }
  .hero-video { display: none; }
}
