/* Welpak v9 — "drafting room" theme.
   ArtCraft rhythm (ruled frame, numbered section bars, big feature cells, mono labels,
   bold sans + italic accent) on Welpak's navy / silver / white CAD identity. */

:root {
  --navy: #0e0626;          /* logo plate */
  --navy-2: #1d1a4a;        /* hover / deep accent */
  --ink: #0d0c1d;
  --ink-2: #3b4256;
  --mute: #6a7186;
  --page: #eef0f3;          /* silver page */
  --paper: #fafbfc;         /* frame field */
  --white: #ffffff;
  --silver: #d5dee8;
  --silver-2: #e7ecf2;
  --rule: #d8dce3;
  --rule-2: #c3c9d3;
  --sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --frame: 1360px;
  --pad: clamp(20px, 3.2vw, 44px);
  --nav-h: 58px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; }
.skip:focus { top: 10px; }

.mono { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.sq { display: inline-block; width: 7px; height: 7px; background: var(--navy); margin-right: 10px; vertical-align: 1px; }
.sq--light { background: #fff; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.012em; }

.progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: stretch;
  background: rgba(250, 251, 252, .9);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav.is-scrolled { background: rgba(250, 251, 252, .96); }
.logo { display: flex; align-items: center; gap: 12px; padding: 0 22px; border-right: 1px solid var(--rule); text-decoration: none; }
.logo img { width: 34px; height: auto; }
.logo span { font: 600 15px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }
.nav__links { display: flex; align-items: center; gap: 4px; padding: 0 14px; flex: 1; }
.nav__links a, .nav__phone {
  font: 400 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-2); padding: 6px 9px; transition: background .2s, color .2s;
}
.nav__links a:hover { color: var(--navy); background: var(--silver-2); }
.nav__links a[aria-current="true"] { background: var(--navy); color: #fff; }
.nav__phone { display: flex; align-items: center; padding: 0 20px; border-left: 1px solid var(--rule); color: var(--ink); }
.nav__phone:hover { background: var(--silver-2); }
.nav__call {
  display: flex; align-items: center; padding: 0 26px;
  background: var(--navy); color: #fff; text-decoration: none;
  font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase;
  transition: background .2s;
}
.nav__call:hover { background: var(--navy-2); }
.nav__call .short { display: none; }
.nav__toggle { display: none; }

@media (max-width: 1080px) {
  .nav__phone { display: none; }
}
@media (max-width: 900px) {
  .nav__toggle {
    display: flex; align-items: center; justify-content: center;
    width: var(--nav-h); border: 0; border-left: 1px solid var(--rule); background: transparent; cursor: pointer;
  }
  .nav__burger, .nav__burger::before, .nav__burger::after { display: block; width: 18px; height: 1.5px; background: var(--navy); position: relative; transition: transform .25s, background .25s, top .25s; }
  .nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; }
  .nav__burger::before { top: -6px; } .nav__burger::after { top: 6px; }
  .nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__burger::before { top: 0; transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__burger::after { top: 0; transform: rotate(-45deg); }
  .logo { flex: 1; border-right: 0; padding: 0 18px; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 18px;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { font-size: 13px; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
  .nav__call { padding: 0 18px; }
  .nav__call .long { display: none; } .nav__call .short { display: inline; }
}

/* ---------- Right-hand section index (ArtCraft-style) ---------- */
.toc {
  position: fixed; z-index: 40; right: 18px; top: 50%; transform: translateY(-50%);
  display: none; flex-direction: column; align-items: flex-end; gap: 6px;
  opacity: 0; transition: opacity .35s;
}
.toc.is-on { opacity: 1; }
.toc a { font: 400 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #9aa1b2; text-decoration: none; transition: color .2s, transform .3s var(--ease); }
.toc a:hover { color: var(--navy); }
.toc a[aria-current="true"] { color: var(--navy); font-weight: 500; transform: translateX(-6px); }
.toc a[aria-current="true"]::after { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--navy); margin-left: 8px; vertical-align: 3px; }
@media (min-width: 1640px) { .toc { display: flex; } }

/* ---------- Frame ---------- */
.frame {
  max-width: var(--frame); margin: 0 auto;
  background: var(--paper);
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
}
.block { border-top: 1px solid var(--rule); }
.sbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  height: 46px; padding: 0 var(--pad);
  border-bottom: 1px solid var(--rule);
  font: 400 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.sbar__r { color: #9aa1b2; }
.head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 64px; align-items: end;
  padding: clamp(56px, 8vw, 112px) var(--pad) clamp(40px, 5vw, 64px);
}
.head--wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
h2 {
  font: 600 clamp(2.35rem, 5.2vw, 4.6rem)/1.0 var(--sans);
  letter-spacing: -0.038em; color: var(--ink);
  text-wrap: balance;
}
h2 em { letter-spacing: -0.02em; font-weight: 500; }
.head p { color: var(--ink-2); font-size: 17px; max-width: 38ch; }
@media (max-width: 860px) {
  .head, .head--wide { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-2); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--paper { background: #fff; color: var(--navy); border-color: #fff; }
.btn--paper:hover { background: var(--silver); border-color: var(--silver); }
.btn--ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn .ic { font-family: var(--sans); font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero__media { position: relative; height: min(88vh, 860px); min-height: 560px; }
.hero__still img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { object-position: 60% 50%; }
#dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 5, 24, .78) 0%, rgba(8, 5, 24, .42) 42%, rgba(8, 5, 24, 0) 72%),
    linear-gradient(0deg, rgba(8, 5, 24, .7) 0%, rgba(8, 5, 24, 0) 46%);
}
.tick { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(231, 238, 246, .75); pointer-events: none; }
.tick--tl { top: 22px; left: 22px; border-top-width: 1px; border-left-width: 1px; }
.tick--tr { top: 22px; right: 22px; border-top-width: 1px; border-right-width: 1px; }
.tick--bl { bottom: 22px; left: 22px; border-bottom-width: 1px; border-left-width: 1px; }
.tick--br { bottom: 22px; right: 22px; border-bottom-width: 1px; border-right-width: 1px; }
.hero__coord { position: absolute; top: 26px; right: 52px; font: 400 10.5px var(--mono); letter-spacing: .18em; color: rgba(231, 238, 246, .7); }
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--pad) clamp(40px, 6vw, 76px);
  max-width: 980px;
  animation: rise 1s var(--ease) both .1s;
}
.hero__kicker { color: rgba(231, 238, 246, .85); margin-bottom: 22px; }
.hero h1 {
  font: 600 clamp(3rem, 7.6vw, 7.4rem)/.94 var(--sans);
  letter-spacing: -0.045em; color: #fff;
}
.hero h1 em { display: block; color: var(--silver); font-weight: 500; letter-spacing: -0.03em; }
.lede { margin-top: 24px; max-width: 46ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: rgba(240, 244, 249, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 22px; color: rgba(231, 238, 246, .62); font-size: 10.5px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .hero__media { height: 100svh; max-height: 860px; min-height: 620px; }
  .hero__scrim { background: linear-gradient(0deg, rgba(8, 5, 24, .92) 0%, rgba(8, 5, 24, .55) 48%, rgba(8, 5, 24, .1) 75%); }
  .hero__coord { display: none; }
  .tick { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__note span { display: block; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--white); border-top: 1px solid var(--rule); }
.marquee__track { display: flex; width: max-content; animation: ticker 56s linear infinite; }
.marquee__track > div { display: flex; }
.marquee__track span { padding: 15px 22px; font: 400 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.marquee__track span::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--navy); margin-right: 22px; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Proof ---------- */
.proof { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat { padding: 30px var(--pad) 34px 28px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.stat:first-child { padding-left: var(--pad); }
.stat:last-child { border-right: 0; }
.stat__k { color: #9aa1b2; font-size: 10.5px; }
.stat b { font: 600 clamp(2rem, 3.3vw, 3.1rem)/1 var(--sans); letter-spacing: -0.04em; color: var(--navy); display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.stat > span:last-child { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; max-width: 22ch; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2f9e6b; box-shadow: 0 0 0 0 rgba(47, 158, 107, .5); animation: pulse 2.2s infinite; flex: none; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,158,107,.45); } 70% { box-shadow: 0 0 0 9px rgba(47,158,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,158,107,0); } }
@media (max-width: 1100px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat:first-child { padding: 26px var(--pad); border-bottom: 1px solid var(--rule); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat--live { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------- Divisions (sheet grid) ---------- */
.index { display: none; }
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.poster { position: relative; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); display: flex; flex-direction: column; transition: background .3s; }
.poster:nth-child(4n) { border-right: 0; }
.poster:nth-last-child(-n+4) { border-bottom: 0; }
.poster img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 42%; background: #fff; border-bottom: 1px solid var(--rule); transition: transform .6s var(--ease), filter .4s; filter: contrast(1.02); }
.poster { overflow: hidden; }
.poster:hover { background: var(--white); }
.poster:hover img { transform: scale(1.035); }
.poster__meta { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; position: relative; background: inherit; z-index: 1; }
.poster__idx { font: 400 10.5px var(--mono); letter-spacing: .16em; color: #9aa1b2; }
.poster h3 { font: 500 20px/1.2 var(--sans); letter-spacing: -0.015em; color: var(--ink); }
.poster p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 8px; }
.chips li { font: 400 10.5px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.chips li:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--rule-2); }
@media (max-width: 1100px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster:nth-child(4n) { border-right: 1px solid var(--rule); }
  .poster:nth-child(2n) { border-right: 0; }
  .poster:nth-last-child(-n+4) { border-bottom: 1px solid var(--rule); }
  .poster:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 700px) {
  .index { display: flex; gap: 0; overflow-x: auto; border-top: 1px solid var(--rule); scrollbar-width: none; }
  .index::-webkit-scrollbar { display: none; }
  .index button { flex: 1 0 auto; min-width: 44px; height: 44px; border: 0; border-right: 1px solid var(--rule); background: transparent; font: 400 11px var(--mono); letter-spacing: .1em; color: var(--mute); cursor: pointer; }
  .index button[aria-current="true"] { background: var(--navy); color: #fff; }
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rail::-webkit-scrollbar { display: none; }
  .poster, .poster:nth-child(n) { flex: 0 0 82%; scroll-snap-align: start; border-bottom: 0; border-right: 1px solid var(--rule); }
  .poster img { aspect-ratio: 4 / 3.4; }
}

/* ---------- Capabilities (feature cells) ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.feature { display: flex; flex-direction: column; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; background: var(--paper); }
.feature:nth-child(2n) { border-right: 0; }
.feature:nth-last-child(-n+2) { border-bottom: 0; }
.feature__bar { display: flex; justify-content: space-between; padding: 13px 26px; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 10.5px; }
.feature__bar span:last-child { color: #9aa1b2; }
.feature__img { overflow: hidden; aspect-ratio: 16 / 10; background: var(--silver-2); border-bottom: 1px solid var(--rule); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.03); }
.feature__txt { padding: 26px 26px 34px; display: grid; gap: 10px; }
.feature h3 { font: 500 clamp(22px, 2vw, 28px)/1.15 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.feature__txt p { color: var(--ink-2); font-size: 16px; max-width: 52ch; }
.feature__plate { aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; border-bottom: 1px solid var(--rule); background:
  linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 28px 28px,
  var(--silver-2); transition: background-color .3s; }
.feature__plate img { width: 46%; height: auto; box-shadow: 0 24px 50px -24px rgba(14, 6, 38, .35); transform: rotate(-3deg); transition: transform .6s var(--ease); }
.feature--cta:hover .feature__plate img { transform: rotate(0) translateY(-6px); }
.feature--cta .arrow { display: inline-block; transition: transform .3s var(--ease); color: var(--navy); }
.feature--cta:hover .arrow { transform: translate(4px, -4px); }
@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--rule); }
  .feature:last-child { border-bottom: 0; }
}

/* ---------- Spec room ---------- */
.materials__layout { border-top: 1px solid var(--rule); }
.tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--rule); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 0 0 auto; padding: 16px var(--pad); border: 0; border-right: 1px solid var(--rule); background: transparent; cursor: pointer; font: 400 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); transition: background .2s, color .2s; }
.tabs button:hover { color: var(--navy); background: var(--silver-2); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.panel[hidden] { display: none; }
.panel > div { padding: clamp(32px, 4vw, 56px) var(--pad); border-right: 1px solid var(--rule); }
.panel h3 { font: 500 clamp(26px, 2.6vw, 34px)/1.1 var(--sans); letter-spacing: -0.025em; }
.panel > div > p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.spec-list { margin-top: 26px; border-top: 1px solid var(--rule); }
.spec-list li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.spec-list strong { font: 500 11px/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.spec-list span { color: var(--ink-2); }
.panel > .spec-list { margin: 0; padding: clamp(32px, 4vw, 56px) var(--pad); border-top: 0; align-self: start; }
.panel > .spec-list li:first-child { border-top: 1px solid var(--rule); }
.diagram { width: 100%; height: auto; padding: clamp(24px, 3.5vw, 52px); background:
  linear-gradient(var(--silver-2) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, var(--silver-2) 1px, transparent 1px) 0 0 / 24px 24px, var(--white); }
.diagram .liner, .diagram .medium, .diagram .line { fill: none; stroke-linecap: round; }
.diagram .liner, .diagram .line { stroke: var(--navy); stroke-width: 2.2; }
.diagram .medium { stroke: #5c6b86; stroke-width: 3; }
.diagram .medium--e { stroke-width: 2.2; }
.diagram .medium--c { stroke-width: 3.6; }
.diagram text { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; fill: var(--navy); }
.diagram .swatch-label { font-size: 12px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.flow span { padding: 9px 12px; border: 1px solid var(--rule-2); background: var(--white); font: 400 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.flow i { font-style: normal; color: var(--mute); }
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; }
  .panel > div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .spec-list li { grid-template-columns: 7.5rem 1fr; }
}

/* ---------- Heritage ---------- */
.heritage__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.essay { padding: clamp(56px, 7vw, 104px) var(--pad); border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 18px; }
.essay h2 { margin-bottom: 14px; }
.essay p { color: var(--ink-2); max-width: 48ch; }
.essay .pull { font: italic 500 clamp(22px, 2.1vw, 28px)/1.3 var(--serif); color: var(--navy); padding-left: 20px; border-left: 2px solid var(--navy); }
.heritage figure { position: relative; display: flex; flex-direction: column; }
.heritage figure img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; flex: 1; }
.heritage figcaption { display: flex; justify-content: space-between; padding: 13px 22px; border-top: 1px solid var(--rule); color: var(--mute); font-size: 10.5px; }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.timeline li { padding: 26px 24px 32px; border-right: 1px solid var(--rule); display: grid; gap: 6px; align-content: start; }
.timeline li:first-child { padding-left: var(--pad); }
.timeline li:last-child { border-right: 0; }
.timeline .mono { color: #9aa1b2; font-size: 10.5px; margin-bottom: 8px; }
.timeline strong { font: 500 18px var(--sans); letter-spacing: -0.01em; }
.timeline li > span:last-child { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) {
  .heritage__grid { grid-template-columns: 1fr; }
  .essay { border-right: 0; border-bottom: 1px solid var(--rule); }
  .heritage figure img { min-height: 0; aspect-ratio: 4 / 3; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline li, .timeline li:first-child { padding: 22px var(--pad); border-bottom: 1px solid var(--rule); }
  .timeline li:nth-child(2n) { border-right: 0; }
  .timeline li:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------- Fleet ---------- */
.dispatch { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px var(--pad); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); background: var(--white); }
.map-frame { background: var(--navy); overflow-x: auto; scrollbar-width: none; }
.map-frame::-webkit-scrollbar { display: none; }
.map-frame img { width: 100%; max-width: 1180px; margin: 0 auto; height: auto; padding: clamp(10px, 2vw, 28px) 0; }
.map-mobile { display: none; }
.map-hint { display: none; }
.quote { padding: clamp(40px, 5vw, 64px) var(--pad) 28px; font: italic 500 clamp(26px, 3vw, 40px)/1.2 var(--serif); color: var(--navy); letter-spacing: -0.015em; max-width: 30ch; }
.routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.routes li { padding: 24px 24px 30px; border-right: 1px solid var(--rule); }
.routes li:first-child { padding-left: var(--pad); }
.routes li:last-child { border-right: 0; }
.routes h3 { font: 500 18px/1.25 var(--sans); letter-spacing: -0.01em; }
.routes p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.map-note { padding: 13px var(--pad); border-top: 1px solid var(--rule); font: 400 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 800px) {
  .map-desktop { display: none !important; }
  .map-mobile { display: block; width: 100%; max-width: none; padding: 8px 0; }
  .routes { grid-template-columns: 1fr 1fr; }
  .routes li, .routes li:first-child { padding: 20px var(--pad); border-bottom: 1px solid var(--rule); }
  .routes li:nth-child(2n) { border-right: 0; }
  .routes li:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); counter-reset: s; }
.step { padding: 32px 28px 44px; border-right: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; transition: background .3s; }
.step:first-child { padding-left: var(--pad); }
.step:last-child { border-right: 0; }
.step:hover { background: var(--white); }
.step__num { color: var(--navy); font-size: 11px; display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.step__num::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.step h3 { font: 500 clamp(22px, 2vw, 27px)/1.15 var(--sans); letter-spacing: -0.02em; }
.step p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step:first-child { padding: 28px var(--pad) 34px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .step:last-child { border-bottom: 0; }
}

/* ---------- Trust / proof strip ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.trust-card { border-right: 1px solid var(--rule); background: var(--paper); }
.trust-card:last-child { border-right: 0; }
.trust-card__plate { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); border-bottom: 1px solid var(--rule); position: relative; }
.trust-card__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(1.05); mix-blend-mode: screen; opacity: .92; transition: transform .8s var(--ease); }
.trust-card:hover .trust-card__plate img { transform: scale(1.04); }
.trust-card > p:last-child { padding: 20px 26px 30px; color: var(--ink-2); font-size: 15.5px; }
.sectors { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.sectors span { flex: 1 1 0; text-align: center; padding: 18px 16px; border-right: 1px solid var(--rule); color: var(--navy); font-size: 11px; }
.sectors span:last-child { border-right: 0; }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .trust-card:last-child { border-bottom: 0; }
  .trust-card__plate { aspect-ratio: 16 / 9; }
  .sectors span { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--rule); }
  .sectors span:last-child { border-bottom: 0; }
}

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--navy); border-top: 1px solid var(--rule); min-height: clamp(440px, 46vw, 600px); display: flex; align-items: center; }
.cta__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,5,24,.86) 0%, rgba(8,5,24,.55) 48%, rgba(8,5,24,.12) 100%); }
.cta__in { position: relative; z-index: 1; padding: clamp(56px, 7vw, 96px) var(--pad); max-width: 900px; }
.cta__in .mono { color: rgba(231,238,246,.8); }
.cta h2 { color: #fff; margin-top: 18px; font-size: clamp(2.6rem, 6vw, 5.6rem); }
.cta h2 em { color: var(--silver); display: block; }
@media (max-width: 767px) {
  .cta::after { background: linear-gradient(0deg, rgba(8,5,24,.9) 0%, rgba(8,5,24,.55) 60%, rgba(8,5,24,.3) 100%); }
  .cta { align-items: flex-end; }
  .cta .btn { flex: 1 1 100%; }
}

/* ---------- Kit / form ---------- */
.kit__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.kit__copy { padding: clamp(48px, 6vw, 88px) var(--pad); border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 16px; }
.kit__copy > p { color: var(--ink-2); max-width: 36ch; }
.desk-phone { font: 600 clamp(2rem, 3.6vw, 3.2rem)/1 var(--sans); letter-spacing: -0.035em; color: var(--navy); text-decoration: none; margin-top: 10px; }
.desk-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kit__facts { margin-top: 18px; border-top: 1px solid var(--rule); }
.kit__facts div { display: grid; grid-template-columns: 7rem 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 11px; }
.kit__facts dt { color: #9aa1b2; }
.kit__facts dd a { text-decoration: none; }
.form-card { padding: clamp(32px, 4.5vw, 64px) var(--pad); background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field > span, .checks legend, .drop > span { font: 400 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--rule-2); border-radius: 0; background: var(--paper); font-size: 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(14, 6, 38, .08); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #a3263f; }
.field-error { color: #a3263f; font-size: 13px; min-height: 0; }
.field-error:empty { display: none; }
.form-alert { color: #a3263f; font-size: 14px; margin-bottom: 12px; }
.form-alert:empty { display: none; }
.checks { border: 0; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.checks legend { padding: 0 0 10px; }
.checks label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14.5px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); cursor: pointer; transition: background .2s; }
.checks label:hover { background: var(--paper); }
.checks input { accent-color: var(--navy); width: 16px; height: 16px; }
.drop { display: grid; gap: 8px; padding: 18px; border: 1px dashed var(--rule-2); background: var(--paper); cursor: pointer; }
.drop input { font-size: 14px; }
.drop small { color: var(--mute); font-size: 13px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--mute); max-width: 60ch; }
.success { display: grid; gap: 14px; justify-items: start; }
.success[hidden] { display: none; }
.success h3 { font: 500 28px/1.15 var(--sans); letter-spacing: -0.02em; }
.success p { color: var(--ink-2); }
@media (max-width: 900px) {
  .kit__layout { grid-template-columns: 1fr; }
  .kit__copy { border-right: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.footer { max-width: var(--frame); margin: 0 auto; background: var(--paper); border: 1px solid var(--rule); border-bottom: 0; }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); }
.footer__grid > div { padding: 40px 26px 48px; border-right: 1px solid var(--rule); }
.footer__grid > div:last-child { border-right: 0; }
.footer__brand { padding-left: var(--pad) !important; display: grid; gap: 14px; align-content: start; }
.footer__brand .logo-mark { width: 54px; height: auto; }
.footer__brand p { color: var(--ink-2); font-size: 15px; max-width: 34ch; }
.footer__brand .mono { color: #9aa1b2; font-size: 10.5px; }
.footer h2 { font-size: 10.5px; color: #9aa1b2; letter-spacing: .16em; margin-bottom: 16px; font-weight: 400; line-height: 1.5; }
.footer li { margin: 0 0 8px; }
.footer li a { text-decoration: none; color: var(--ink); font-size: 15px; transition: color .2s; }
.footer li a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px var(--pad); border-top: 1px solid var(--rule); color: #9aa1b2; font-size: 10.5px; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div { padding: 28px var(--pad); border-bottom: 1px solid var(--rule); }
  .footer__grid > div:nth-child(2n+1):not(:first-child) { border-right: 0; }
  .footer__brand { grid-column: 1 / -1; border-right: 0 !important; }
  .footer__grid > div:nth-child(3) h2:empty, .footer__grid > div:nth-child(4) h2 { }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee__track { transform: none; }
}

/* =====================================================================
   v9b — layered depth: fixed full-bleed cinematic stage, frame scrolls over it.
   ===================================================================== */
:root { --hp: 0; }

/* nav floats over the stage */
.nav { position: fixed; left: 0; right: 0; transition: background .35s, border-color .35s, color .35s; }
.nav:not(.is-scrolled) { background: linear-gradient(180deg, rgba(8,5,24,.55), rgba(8,5,24,0)); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: rgba(231,238,246,.14); }
.nav:not(.is-scrolled) .logo,
.nav:not(.is-scrolled) .nav__phone,
.nav:not(.is-scrolled) .nav__toggle { border-color: rgba(231,238,246,.14); }
.nav:not(.is-scrolled) .logo span,
.nav:not(.is-scrolled) .nav__phone { color: #fff; }
.nav:not(.is-scrolled) .nav__links a { color: rgba(240,244,249,.82); }
.nav:not(.is-scrolled) .nav__links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav:not(.is-scrolled) .nav__phone:hover { background: rgba(255,255,255,.08); }
.nav:not(.is-scrolled) .nav__call { background: #fff; color: var(--navy); }
.nav:not(.is-scrolled) .nav__burger,
.nav:not(.is-scrolled) .nav__burger::before,
.nav:not(.is-scrolled) .nav__burger::after { background: #fff; }
.nav:not(.is-scrolled) .nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
@media (max-width: 900px) {
  .nav:not(.is-scrolled) .nav__links a { color: var(--ink-2); }
  body.nav-open .nav { background: var(--paper); }
  body.nav-open .nav .logo span { color: var(--navy); }
  body.nav-open .nav .nav__burger::before, body.nav-open .nav .nav__burger::after { background: var(--navy); }
}

/* the stage: fixed behind everything */
.hero { background: transparent; overflow: visible; height: 100vh; height: 100svh; min-height: 620px; width: 100vw; margin-left: calc(50% - 50vw); z-index: 1; }
.hero__media { position: fixed; inset: 0; height: 100vh; min-height: 0; max-height: none; z-index: 0; background: var(--navy); overflow: hidden; }
.hero__media video, .hero__still img { transform: scale(calc(1.02 + var(--hp) * .06)); transform-origin: 62% 55%; will-change: transform; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(213,222,232,.07) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(90deg, rgba(213,222,232,.07) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(rgba(213,222,232,.035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(213,222,232,.035) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(120% 90% at 20% 70%, #000 10%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 20% 70%, #000 10%, transparent 75%);
  opacity: calc(.55 + var(--hp) * .45);
}
.hero__veil { position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 40%, rgba(14,6,38,.78), rgba(7,4,20,.96)); opacity: 0; pointer-events: none; }
.hero__content { position: absolute; z-index: 2; bottom: 0; transform: translate3d(0, calc(var(--hp) * -90px), 0); opacity: calc(1 - var(--hp) * 1.35); }
.hero > .tick, .hero__media .tick { z-index: 2; }
.hero__coord { z-index: 2; }
.hero__media .tick--tl, .hero__media .tick--tr { top: calc(var(--nav-h) + 18px); }
.hero__coord { top: calc(var(--nav-h) + 22px); }
/* scroll cue */
.hero::after {
  content: "SCROLL"; position: absolute; z-index: 2; right: var(--pad); bottom: clamp(40px, 6vw, 76px);
  font: 400 10px var(--mono); letter-spacing: .3em; color: rgba(231,238,246,.7);
  writing-mode: vertical-rl; padding-bottom: 64px;
  background: linear-gradient(rgba(231,238,246,.7), rgba(231,238,246,.7)) 50% 100% / 1px 52px no-repeat;
  opacity: calc(1 - var(--hp) * 3);
}
@media (max-width: 767px) { .hero::after { display: none; } }

/* the frame floats above */
.frame { background: transparent; border: 0; position: relative; z-index: 1; }
.frame > :not(.hero) {
  position: relative; z-index: 2; background: var(--paper);
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
}
.frame > .marquee { box-shadow: 0 -40px 80px -20px rgba(7,4,20,.55); border-top: 0; }
.footer { position: relative; z-index: 2; }
@media (min-width: 1361px) {
  .frame > :not(.hero) { border-left-color: rgba(213,222,232,.35); border-right-color: rgba(213,222,232,.35); }
}

/* gutters: drafting ruler with a live readout */
.ruler { display: none; }
@media (min-width: 1440px) {
  .ruler {
    display: block; position: fixed; z-index: 1; top: 0; bottom: 0; left: 0;
    width: calc((100vw - var(--frame)) / 2);
    background:
      linear-gradient(90deg, transparent calc(100% - 10px), rgba(213,222,232,.45) calc(100% - 10px)) 0 0 / 100% 12px,
      linear-gradient(90deg, transparent calc(100% - 20px), rgba(213,222,232,.6) calc(100% - 20px)) 0 0 / 100% 120px;
    background-repeat: repeat-y;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
    opacity: calc(var(--hp) * .9); pointer-events: none;
  }
  .ruler::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: rgba(213,222,232,.35); }
  .ruler__n { position: absolute; top: 50%; right: 26px; font: 400 10px var(--mono); letter-spacing: .14em; color: rgba(231,238,246,.85); transform: translateY(-50%); }
  .ruler__n::after { content: "%"; opacity: .6; margin-left: 2px; }
}
.toc a { color: rgba(231,238,246,.55); }
.toc a:hover, .toc a[aria-current="true"] { color: #fff; }
.toc a[aria-current="true"]::after { background: #fff; }

/* CTA is a window back onto the stage */
.frame > .cta { background: transparent; border-left-color: transparent; border-right-color: transparent; min-height: clamp(520px, 72vh, 760px); }
.cta::after { background: linear-gradient(90deg, rgba(8,5,24,.72) 0%, rgba(8,5,24,.28) 55%, rgba(8,5,24,0) 100%); }
.cta .tick { z-index: 1; }
.cta__in { z-index: 2; }

/* ---------- craft details ---------- */
/* faint drafting grid behind section heads, fading out */
.head { position: relative; }
.head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(14,6,38,.045) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(14,6,38,.045) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(70% 90% at 85% 30%, #000, transparent 70%);
          mask-image: radial-gradient(70% 90% at 85% 30%, #000, transparent 70%);
}
.head > * { position: relative; }
/* dimension line under every big heading */
.head h2::after {
  content: ""; display: block; width: min(320px, 60%); height: 9px; margin-top: 26px;
  background:
    linear-gradient(var(--navy), var(--navy)) 0 50% / 100% 1px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 0 0 / 1px 100% no-repeat,
    linear-gradient(var(--navy), var(--navy)) 100% 0 / 1px 100% no-repeat;
  opacity: .35; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s var(--ease) .2s;
}
.head.is-in h2::after, .no-js .head h2::after, .head:not(.rv) h2::after { transform: scaleX(1); }
/* section bar: tiny ruler ticks after the number */
.sbar > span:first-child::after {
  content: ""; display: inline-block; width: 56px; height: 7px; margin-left: 14px; vertical-align: 0;
  background: repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 8px);
}
/* registration marks on imagery */
.feature__img, .heritage figure, .trust-card__plate { position: relative; }
.feature__img::before, .feature__img::after,
.heritage figure::before, .heritage figure::after {
  content: ""; position: absolute; z-index: 1; width: 14px; height: 14px; pointer-events: none;
  border: 0 solid rgba(255,255,255,.9);
}
.feature__img::before, .heritage figure::before { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.feature__img::after, .heritage figure::after { top: 12px; right: 12px; border-top-width: 1px; border-right-width: 1px; }
/* metal sheen: silver italic type and navy buttons */
.hero h1 em, .cta h2 em {
  background: linear-gradient(100deg, #b9c5d4 0%, #eef3f8 22%, #ffffff 30%, #c9d3df 42%, #9fb0c4 60%, #e7eef6 80%, #c3cedb 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
  padding-right: .06em;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.stat b {
  background: linear-gradient(180deg, #2a2f63 0%, var(--navy) 55%, #3a4472 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat--live b { -webkit-text-fill-color: initial; }
.btn--navy, .nav__call { position: relative; overflow: hidden; isolation: isolate; }
.btn--navy::after, .nav.is-scrolled .nav__call::after, .btn--paper::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 66%);
  transform: translateX(-110%); transition: transform .8s var(--ease);
}
.btn--paper { position: relative; overflow: hidden; isolation: isolate; }
.btn--paper::after { background: linear-gradient(110deg, transparent 30%, rgba(14,6,38,.12) 48%, transparent 66%); }
.btn--navy:hover::after, .nav.is-scrolled .nav__call:hover::after, .btn--paper:hover::after { transform: translateX(110%); }
/* brushed-steel strip on the marquee */
.marquee { background: linear-gradient(180deg, #ffffff 0%, #f1f4f8 50%, #e9eef4 100%); }
/* depth on cards when hovered */
.feature, .poster, .trust-card, .step { transition: background .3s, box-shadow .4s var(--ease); }
.feature:hover, .poster:hover { box-shadow: inset 0 0 0 1px rgba(14,6,38,.12), 0 30px 60px -40px rgba(14,6,38,.35); z-index: 1; }
/* reveal */
.js .rv { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .feature.rv .feature__img img, .js .heritage figure.rv img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.js .feature.rv.is-in .feature__img img, .js .heritage figure.rv.is-in img { transform: scale(1); }
.js .feature.rv.is-in:hover .feature__img img { transform: scale(1.03); }

/* small fixes */
.essay h2 { font-size: clamp(2.3rem, 4.2vw, 3.9rem); }

@media (prefers-reduced-motion: reduce) {
  .hero__content { transform: none; opacity: 1; }
  .hero__media video, .hero__still img { transform: none; }
  .js .rv { opacity: 1; transform: none; }
}
.hero__content { animation: none; }
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .18s; }
.hero__content > :nth-child(4) { animation-delay: .26s; }
.hero__content > :nth-child(5) { animation-delay: .34s; }
.ruler { z-index: 3; }
.hero__content { opacity: calc(1 - var(--hp) * 1.9); }
.hero__coord, .hero__media .tick { opacity: calc(1 - var(--hp) * 1.6); }
.stat b { white-space: nowrap; }
.stat--live b { font-size: clamp(1.5rem, 2.3vw, 2.15rem); }
@media (max-width: 767px) { .sbar > span:first-child::after { display: none; } }

/* ---------- v10: 3D render stills on the drafting sheet ---------- */
.poster__fig { position: relative; margin: 0; overflow: hidden; background: #f3f5f8; border-bottom: 1px solid var(--rule); }
.poster__fig img { display: block; border-bottom: 0; background: #f3f5f8; object-position: 50% 50%; filter: saturate(.96) contrast(1.03); }
.poster__fig::before, .poster__fig::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid rgba(14,6,38,.38); pointer-events: none; z-index: 2; }
.poster__fig::before { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.poster__fig::after { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }
.poster__cap { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; justify-content: space-between; gap: 10px; z-index: 2; font: 400 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(14,6,38,.55); pointer-events: none; padding-right: 20px; }
.poster__cap span:last-child { text-align: right; }
.poster:hover .poster__fig img { transform: scale(1.045) translateY(-1%); }

.mat-fig { position: relative; margin: 0; display: flex; flex-direction: column; background: #f3f5f8; }
.mat-fig img { display: block; width: 100%; height: 100%; min-height: 340px; flex: 1; object-fit: cover; object-position: 50% 55%; }
.mat-fig::before, .mat-fig::after { content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid rgba(14,6,38,.38); pointer-events: none; }
.mat-fig::before { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.mat-fig::after { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.mat-fig figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 13px 22px; border-top: 1px solid var(--rule); background: var(--paper); color: var(--mute); font-size: 10.5px; letter-spacing: .14em; }
@media (max-width: 860px) { .mat-fig img { min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 700px) { .poster__cap span:last-child { display: none; } }

/* ---------- v11: Grok 3D stills in the trust section ---------- */
.trust-card__plate--still { margin: 0; background: #f3f5f8; }
.trust-card__plate--still img { display: block; filter: saturate(.96) contrast(1.03); mix-blend-mode: normal; opacity: 1; object-position: 50% 50%; }
.trust-card__plate--still::before, .trust-card__plate--still::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid rgba(14,6,38,.38); pointer-events: none; z-index: 2; }
.trust-card__plate--still::before { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.trust-card__plate--still::after { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }
@media (max-width: 860px) { .trust-card__plate--still { aspect-ratio: 4 / 3; } }

/* ---------- v12: restraint pass (less chrome, more human) ---------- */
/* solid silver italics instead of animated metal sheen */
.hero h1 em, .cta h2 em { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--silver); animation: none; padding-right: 0; }
/* plain navy figures */
.stat b { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--navy); }
/* no light-sweep on buttons */
.btn--navy::after, .nav.is-scrolled .nav__call::after, .btn--paper::after { content: none; }
/* hero: keep frame ticks, drop particle dust */
#dust { display: none; }
/* gutter ruler stays as a quiet edge, no live % readout */
.ruler__n { display: none; }
/* registration marks: only on the heritage photo, not every image */
.feature__img::before, .feature__img::after,
.poster__fig::before, .poster__fig::after,
.mat-fig::before, .mat-fig::after { content: none; }
/* drafting grid + dimension line only on the divisions head */
.head::before, .head h2::after { content: none; }
#divisions .head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(14,6,38,.035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(14,6,38,.035) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(70% 90% at 85% 30%, #000, transparent 70%);
          mask-image: radial-gradient(70% 90% at 85% 30%, #000, transparent 70%);
}
/* section-bar ruler ticks shorter */
.sbar > span:first-child::after { width: 28px; }
/* quieter FIG captions on division stills */
.poster__cap { color: rgba(14,6,38,.42); }
/* hover: gentle lift, no zoom on the stills */
.poster:hover .poster__fig img { transform: none; }
.feature:hover, .poster:hover { box-shadow: inset 0 0 0 1px rgba(14,6,38,.1); }
/* hero headline a touch smaller now it's a sentence */
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 6.4rem); }
.hero .lede { max-width: 46ch; }
.trust-card__plate--still::before, .trust-card__plate--still::after { content: none; }
.trust-card:hover .trust-card__plate img { transform: none; }
