/* ============================================================
   VANTAGE GEOSCIENCE — 2026 flagship
   Direction: "the survey flight" — mission-telemetry editorial.
   Ground (00) → Air (01) → Model (02). Scroll = altitude.
   ============================================================ */

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/plexmono-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/plexmono-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* boreal night */
  --bg: #0B0C0A;
  --bg-2: #101208;      /* lifted surface, moss-black */
  --bg-3: #15170F;
  --bone: #ECE8DF;      /* warm bone text */
  --bone-70: rgba(236, 232, 223, 0.70);
  --bone-45: rgba(236, 232, 223, 0.45);
  --bone-25: rgba(236, 232, 223, 0.25);
  --hair: rgba(236, 232, 223, 0.13);
  --hair-soft: rgba(236, 232, 223, 0.07);

  --gold: #D2A93C;
  --gold-bright: #F3DC8B;
  --gold-deep: #8A7430;
  --gold-08: rgba(210, 169, 60, 0.08);
  --gold-25: rgba(210, 169, 60, 0.25);

  --font-d: 'Archivo', 'Helvetica Neue', sans-serif;
  --font-m: 'Plex Mono', 'SF Mono', monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.65, 0.01, 0.05, 0.99);

  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --rail-w: 84px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-color: #2a2c22 var(--bg); }
html, body { background: var(--bg); }
body {
  font-family: var(--font-d);
  font-weight: 380;
  color: var(--bone);
  font-size: clamp(1rem, 0.93rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: #0B0C0A; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

main { position: relative; z-index: 2; }

/* ---------- shared micro-type ---------- */
.mono-cap {
  font-family: var(--font-m);
  font-size: clamp(0.6rem, 0.55rem + 0.15vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--bone-45);
  text-transform: uppercase;
}
.kicker {
  font-family: var(--font-m);
  font-size: clamp(0.62rem, 0.58rem + 0.15vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--bone-45);
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
}
.kicker b { color: var(--gold); font-weight: 500; }
.kicker::after { content: ''; height: 1px; width: clamp(2rem, 6vw, 5rem); background: var(--gold-25); }
.kicker > span { min-width: 0; }
.lede {
  font-size: clamp(1.06rem, 0.95rem + 0.5vw, 1.4rem);
  font-weight: 330;
  line-height: 1.55;
  color: var(--bone-70);
  max-width: 34em;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-m);
  font-size: clamp(0.68rem, 0.63rem + 0.18vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 1.7em;
  border: 1px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
              background-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn svg { width: 0.95em; height: 0.95em; transition: transform 0.35s var(--ease-out); }
.btn span { position: relative; z-index: 1; }
.btn-gold { background: var(--gold); color: #131208; border-color: var(--gold); }
@media (hover: hover) {
  .btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
  .btn-gold:hover svg { transform: translateY(2px); }
  .btn-gold[href^="mailto"]:hover svg, .btn-gold[data-jump]:hover svg { transform: translateX(3px); }
}
.btn-gold:active { transform: translateY(1px); }
.btn-ghost { border-color: var(--hair); color: var(--bone-70); }
.btn-ghost::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--bone);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-out);
}
@media (hover: hover) {
  .btn-ghost:hover { color: #131208; border-color: var(--bone); }
  .btn-ghost:hover::before { transform: scaleY(1); }
}
.btn-big { font-size: clamp(0.8rem, 0.7rem + 0.5vw, 1.05rem); padding: 1.2em 2em; }

/* ============================================================
   PRELOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease-io), visibility 0.7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { width: min(320px, 72vw); display: flex; flex-direction: column; gap: 1.1rem; }
.loader-mark { width: 44px; opacity: 0.9; }
.loader-tele {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-m); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.18em; color: var(--bone-45);
}
.loader-alt { color: var(--gold); }
.loader-bar { height: 1px; background: var(--hair-soft); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0%; background: var(--gold); transition: width 0.25s linear; }

/* ============================================================
   TELEMETRY RAIL (desktop)
   ============================================================ */
.rail {
  position: fixed; top: 0; bottom: 0; left: 0; width: var(--rail-w);
  z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease 0.2s;
}
body.ready .rail { opacity: 1; }
.rail-line {
  position: relative; width: 1px; height: min(46vh, 420px);
  background: var(--hair-soft);
}
.rail-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: var(--gold);
}
.rail-stops {
  position: absolute;
  width: 1px; height: min(46vh, 420px);
  pointer-events: none;
}
.rail-stop {
  position: absolute; left: 50%;
  width: 5px; height: 5px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--bg);
  border: 1px solid var(--bone-25);
  transition: border-color 0.3s, background-color 0.3s;
}
/* 7 stops: top · ground · services · air · model · reporting · contact */
.rail-stop:nth-child(1) { top: 0%; }
.rail-stop:nth-child(2) { top: 16.667%; }
.rail-stop:nth-child(3) { top: 33.333%; }
.rail-stop:nth-child(4) { top: 50%; }
.rail-stop:nth-child(5) { top: 66.667%; }
.rail-stop:nth-child(6) { top: 83.333%; }
.rail-stop:nth-child(7) { top: 100%; }
.rail-stop.hit { background: var(--gold); border-color: var(--gold); }
.rail-read {
  position: absolute; bottom: clamp(1.2rem, 4vh, 2.6rem);
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  font-family: var(--font-m); font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.2em; color: var(--bone-45);
  writing-mode: vertical-rl; text-orientation: mixed;
}
.rail-alt b { color: var(--gold); font-weight: 500; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1rem, 2.2vw, 1.6rem) var(--pad-x);
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease, padding 0.5s ease;
}
.nav.scrolled {
  background: rgba(11, 12, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.8rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--hair-soft);
}
.nav-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-brand img { width: 30px; }
.nav-word {
  font-family: var(--font-d); font-weight: 740; font-stretch: 118%;
  font-size: 0.86rem; letter-spacing: 0.14em;
}
.nav-word em { font-style: normal; font-weight: 320; font-stretch: 100%; color: var(--bone-45); margin-left: 0.45em; }
.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav-links a {
  position: relative;
  font-family: var(--font-m); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  color: var(--bone-70);
  padding: 0.3em 0;
  transition: color 0.3s;
}
.nav-links a i { font-style: normal; color: var(--bone-25); margin-right: 0.55em; transition: color 0.3s; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
@media (hover: hover) {
  .nav-links a:hover { color: var(--bone); }
  .nav-links a:hover i { color: var(--gold); }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav-links a.active { color: var(--bone); }
.nav-links a.active i { color: var(--gold); }
.nav-burger {
  display: none;
  flex-direction: column; gap: 7px;
  padding: 6px 2px;
}
.nav-burger span { width: 26px; height: 1.5px; background: var(--bone); transition: transform 0.4s var(--ease-out), opacity 0.3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 12, 10, 0.96);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
  visibility: hidden; opacity: 0;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
.menu.open { visibility: visible; opacity: 1; }
.menu-links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu-links a {
  font-family: var(--font-d); font-weight: 780; font-stretch: 122%;
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 1.18;
  text-decoration: none; text-transform: uppercase;
  letter-spacing: -0.01em;
  opacity: 0; transform: translateY(1.2rem);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.menu-links a i { font-family: var(--font-m); font-style: normal; font-weight: 500; font-size: 0.4em; color: var(--gold); vertical-align: 0.5em; margin-right: 0.5em; letter-spacing: 0; }
.menu.open .menu-links a { opacity: 1; transform: none; }
.menu.open .menu-links a:nth-child(1) { transition-delay: 0.05s; }
.menu.open .menu-links a:nth-child(2) { transition-delay: 0.1s; }
.menu.open .menu-links a:nth-child(3) { transition-delay: 0.15s; }
.menu.open .menu-links a:nth-child(4) { transition-delay: 0.2s; }
.menu.open .menu-links a:nth-child(5) { transition-delay: 0.25s; }
@media (hover: hover) { .menu-links a:hover { color: var(--gold); } }
.menu-fine { position: absolute; bottom: 2rem; font-family: var(--font-m); font-size: 0.58rem; letter-spacing: 0.2em; color: var(--bone-25); }

/* ============================================================
   TERRAIN CANVAS (hero + Act I backdrop)
   ============================================================ */
.gl-terrain {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100vh; height: 100svh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
body.terrain-live .gl-terrain { opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad-x) clamp(4rem, 9vh, 7rem);
}
.hero::after { /* readability scrim over terrain */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,12,10,0.55) 0%, rgba(11,12,10,0.05) 30%,
                            rgba(11,12,10,0.05) 55%, rgba(11,12,10,0.82) 100%);
}
.hero-inner { max-width: 1680px; }
.hero-over {
  font-family: var(--font-m); font-size: clamp(0.58rem, 0.5rem + 0.2vw, 0.72rem);
  font-weight: 500; letter-spacing: 0.24em; color: var(--bone-70);
  margin-bottom: clamp(1.4rem, 3vh, 2.4rem);
}
.hero-title {
  font-weight: 830; font-stretch: 125%;
  font-size: clamp(4rem, 14.2vw, 13rem);
  line-height: 0.86;
  letter-spacing: -0.022em;
  text-transform: uppercase;
  margin-left: -0.045em;
  margin-bottom: clamp(2rem, 4.5vh, 3.4rem);
}
.ht-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ht-word { display: inline-block; }
.hero-title .gold { color: var(--gold); font-weight: inherit; }
.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem); flex-wrap: wrap;
}
.hero-sub { max-width: 30em; font-size: clamp(1rem, 0.92rem + 0.4vw, 1.28rem); font-weight: 340; color: var(--bone-70); }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-tele {
  position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: clamp(1.1rem, 2.6vh, 1.8rem);
  display: flex; align-items: center; gap: 1.4rem;
  font-family: var(--font-m); font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.18em; color: var(--bone-45);
  border-top: 1px solid var(--hair-soft);
  padding-top: 0.9rem;
}
.ht-sep { flex: 0 0 3px; height: 3px; background: var(--gold); transform: rotate(45deg); }
.ht-scroll { margin-left: auto; color: var(--gold); animation: pulse-dim 2.6s ease-in-out infinite; }
@keyframes pulse-dim { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ============================================================
   ACTS — shared
   ============================================================ */
.act { position: relative; }
.act-head { padding: clamp(6rem, 14vh, 10rem) var(--pad-x) clamp(3rem, 6vh, 5rem); max-width: 1680px; }
.act h2, .breather-line {
  font-weight: 700; font-stretch: 112%;
  font-size: clamp(2.1rem, 1.2rem + 4.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  max-width: 15em;
}
.act h3 {
  font-weight: 640; font-stretch: 108%;
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2.1rem);
  line-height: 1.12; letter-spacing: -0.012em;
}
.act .lede { margin-top: clamp(1.2rem, 2.6vh, 2rem); }

/* word-split reveal plumbing (JS wraps words) */
.ws .w { display: inline-block; overflow: hidden; vertical-align: top; }
.ws .wi { display: inline-block; }

/* ============================================================
   ACT I — GROUND
   ============================================================ */
.act-ground {
  background: linear-gradient(180deg,
    rgba(11,12,10,0.0) 0%, rgba(11,12,10,0.62) 12%,
    rgba(11,12,10,0.88) 34%, var(--bg) 60%);
}
.ground-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.6rem);
  row-gap: clamp(3.5rem, 8vh, 6rem);
  padding: 0 var(--pad-x) clamp(6rem, 12vh, 10rem);
  max-width: 1680px;
  align-items: start;
}
.g-photo { position: relative; overflow: hidden; border-radius: 2px; }
.g-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
@media (hover: hover) { .g-photo:hover img { transform: scale(1.045); } }
.g-photo .mono-cap {
  position: absolute; left: 0.9rem; bottom: 0.8rem;
  color: var(--bone);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.g-photo::after { /* survey tick frame */
  content: ''; position: absolute; inset: 0.55rem;
  border: 1px solid rgba(236,232,223,0.16);
  pointer-events: none;
}
.g-photo-a { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 3 / 4; }
.g-manifest { grid-column: 7 / 13; grid-row: 1; padding-top: clamp(1rem, 4vh, 3rem); }
.g-photo-b { grid-column: 6 / 13; grid-row: 2; aspect-ratio: 16 / 9; }
.g-mgmt { grid-column: 1 / 5; grid-row: 2; }

.mini-kick {
  font-family: var(--font-m); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.22em; color: var(--gold);
  margin-bottom: 1.2rem;
}
.manifest { list-style: none; }
.manifest li {
  display: grid; grid-template-columns: minmax(9.5em, 0.8fr) 2fr;
  gap: 1rem; align-items: baseline;
  padding: 1.05em 0.4em;
  border-top: 1px solid var(--hair-soft);
  position: relative;
  transition: background-color 0.3s, padding-left 0.35s var(--ease-out);
}
.manifest li:last-child { border-bottom: 1px solid var(--hair-soft); }
.manifest b {
  font-family: var(--font-m); font-weight: 500;
  font-size: clamp(0.78rem, 0.72rem + 0.25vw, 0.95rem);
  letter-spacing: 0.14em;
}
.manifest span { color: var(--bone-45); font-weight: 340; font-size: 0.95em; }
.manifest li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 0.45em; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
@media (hover: hover) {
  .manifest li:hover { background: var(--gold-08); padding-left: 1.1em; }
  .manifest li:hover::before { transform: scaleX(1); }
  .manifest li:hover span { color: var(--bone-70); }
}
/* full service index — sits in the Act 00 header so the whole offer is
   visible before the descent (links jump ahead for anyone who won't scroll) */
.svc-index {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.9em 1.8em;
  margin-top: clamp(1.8rem, 3.4vh, 2.8rem);
  font-family: var(--font-m);
  font-size: clamp(0.6rem, 0.55rem + 0.15vw, 0.72rem);
  font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.svc-index .svc-here { color: var(--bone-45); }
.svc-index .svc-here::before { content: '● '; color: var(--gold); font-size: 0.7em; vertical-align: 0.15em; }
.svc-index a {
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--gold-25); padding-bottom: 0.25em;
  transition: color 0.3s, border-color 0.3s;
}
.svc-index a i { font-style: normal; color: var(--bone-45); margin-left: 0.4em; }
@media (hover: hover) {
  .svc-index a:hover { color: var(--gold-bright); border-color: var(--gold); }
}

.g-mgmt h3 { margin-bottom: 1.4rem; }
.tick-list { list-style: none; margin-bottom: 2rem; }
.tick-list li {
  position: relative;
  padding: 0.62em 0 0.62em 1.7em;
  color: var(--bone-70); font-weight: 350;
  border-top: 1px solid transparent;
}
.tick-list li::before {
  content: ''; position: absolute; left: 0.2em; top: 1.18em;
  width: 0.55em; height: 0.55em;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ============================================================
   ACT I·V — SERVICES (field ops + technical support)
   Same photo-grid language as Act 00: portrait photo + ledger,
   then mirrored wide photo + tick list.
   ============================================================ */
.act-services { background: var(--bg); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.6rem);
  row-gap: clamp(3.5rem, 8vh, 6rem);
  padding: 0 var(--pad-x) clamp(6rem, 12vh, 10rem);
  max-width: 1680px;
  align-items: start;
}
.s-photo-a { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 3 / 4; }
.s-fieldsvc { grid-column: 7 / 13; grid-row: 1; padding-top: clamp(1rem, 4vh, 3rem); }
.s-photo-b { grid-column: 6 / 13; grid-row: 2; aspect-ratio: 16 / 9; }
.s-techsvc { grid-column: 1 / 5; grid-row: 2; }
.s-fieldsvc h3, .s-techsvc h3 { margin-bottom: 1.4rem; }

.ops-ledger { list-style: none; }
.ops-ledger li {
  display: grid; grid-template-columns: 4.4em minmax(11em, 0.95fr) 1.35fr;
  gap: 1rem; align-items: baseline;
  padding: 0.95em 0.4em;
  border-top: 1px solid var(--hair-soft);
  position: relative;
  transition: background-color 0.3s, padding-left 0.35s var(--ease-out);
}
.ops-ledger li:last-child { border-bottom: 1px solid var(--hair-soft); }
.ops-ledger i {
  font-style: normal; font-family: var(--font-m); font-weight: 500;
  font-size: 0.62rem; letter-spacing: 0.16em; color: var(--gold);
}
.ops-ledger b {
  font-family: var(--font-m); font-weight: 500;
  font-size: clamp(0.72rem, 0.67rem + 0.22vw, 0.88rem);
  letter-spacing: 0.12em;
}
.ops-ledger span { color: var(--bone-45); font-weight: 340; font-size: 0.92em; }
.ops-ledger li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 0.45em; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
@media (hover: hover) {
  .ops-ledger li:hover { background: var(--gold-08); padding-left: 1.1em; }
  .ops-ledger li:hover::before { transform: scaleX(1); }
  .ops-ledger li:hover span { color: var(--bone-70); }
}

/* ============================================================
   BREATHERS
   ============================================================ */
.breather {
  position: relative;
  background: var(--bg);
  padding: clamp(9rem, 22vh, 15rem) var(--pad-x);
  display: flex; justify-content: center;
}
.breather::after, .contact::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
}
.breather-line {
  font-weight: 260; font-stretch: 105%;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--bone);
  max-width: 20em;
}
.breather::before {
  content: ''; position: absolute; top: 0; left: 50%;
  width: 1px; height: clamp(3rem, 8vh, 5rem);
  background: linear-gradient(180deg, var(--gold-25), transparent);
}

/* ============================================================
   ACT II — AIR (pinned drone scene)
   ============================================================ */
.act-air { background: var(--bg); }
.air-runway {
  position: relative;
  height: 1150vh; /* scroll runway — long holds on callouts + scan */
}
.air-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.gl-drone { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.air-head {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
  pointer-events: none;
}
.air-head .kicker { margin-bottom: 1.6rem; }
.air-head h2 { max-width: 9em; }

/* callouts */
.callout {
  position: absolute; top: 0; left: 0;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}
.co-dot {
  position: absolute; top: -3px; left: -3px;
  width: 7px; height: 7px;
  background: var(--gold); transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(210,169,60,0.8);
}
.co-line {
  position: absolute; top: 0; left: 4px;
  height: 1px; width: var(--len, 120px);
  background: linear-gradient(90deg, var(--gold), var(--gold-25));
  transform-origin: left;
}
.co-card {
  position: absolute; top: 0; left: calc(var(--len, 120px) + 14px);
  transform: translateY(-50%);
  width: clamp(250px, 27vw, 360px);
  padding: 1.35rem 1.5rem;
  background: rgba(11, 12, 10, 0.82);
  border: 1px solid var(--hair);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
}
.callout.flip .co-line { left: auto; right: 4px; background: linear-gradient(270deg, var(--gold), var(--gold-25)); }
.callout.flip .co-card { left: auto; right: calc(var(--len, 120px) + 14px); }
/* mobile: dot on anchor, card docked at stage bottom */
.callout.co-m { inset: 0; }
.callout.co-m .co-line { display: none; }
.callout.co-m .co-dot { top: 0; left: 0; }
.callout.co-m .co-card {
  position: absolute; top: auto; bottom: 7vh;
  left: 1.1rem; right: 1.1rem; width: auto;
  transform: none;
}
.co-card h4 {
  font-family: var(--font-m); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.18em; color: var(--gold);
  margin-bottom: 0.55em;
}
.co-card p { font-size: 0.98rem; font-weight: 620; color: #F7F4EC; line-height: 1.5; }

/* scan phase caption */
.air-scan {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  gap: 0.9rem;
  padding-bottom: 11vh;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}
.air-scan .mono-cap { color: var(--gold); animation: pulse-dim 1.6s ease-in-out infinite; }
.air-scan-line {
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.6rem);
  font-weight: 340; color: var(--bone);
  max-width: 30em;
}

/* ---------- deliverables ---------- */
.maps { position: relative; background: var(--bg); padding: clamp(5rem, 10vh, 8rem) var(--pad-x) clamp(6rem, 12vh, 10rem); }
.maps-head { max-width: 1680px; margin-bottom: clamp(2.6rem, 6vh, 4.5rem); }
.maps-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  max-width: 1680px;
}
.map-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--hair-soft);
  border-radius: 2px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.4s;
}
@media (hover: hover) { .map-card:hover { border-color: var(--gold-25); } }
.mc-ortho { grid-column: 1 / -1; }
.mc-terrain { grid-column: 1 / 7; }
.mc-roads { grid-column: 7 / 13; }
.mc-stock { grid-column: 1 / -1; }
.mc-media { position: relative; overflow: hidden; aspect-ratio: 16 / 8.4; }
/* sheet cards carry their sheet's native aspect, so nothing is cropped */
.mc-ortho .mc-media { aspect-ratio: 1800 / 744; }
.mc-terrain .mc-media, .mc-roads .mc-media { aspect-ratio: 1800 / 1018; }
.mc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
@media (hover: hover) {
  .map-card:hover .mc-media img { transform: scale(1.05); }
}
/* Real map sheets: the card art is a document, exported at its native aspect.
   Leave it whole — no measurement-grid overlay on top of a sheet that already
   carries one, and no hover zoom to crop the title block. */
.mc-sheet .mc-media::after { display: none; }
@media (hover: hover) {
  .map-card.mc-sheet:hover .mc-media img { transform: none; }
}
.mc-sheet .mc-media { cursor: zoom-in; }
.mc-sheet .mc-media:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---- enlarge a sheet ------------------------------------------------- */
.sheet-view {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(6, 7, 5, 0.92);
  opacity: 0; transition: opacity 0.28s var(--ease-out);
}
.sheet-view.is-open { display: flex; opacity: 1; }
.sheet-view img {
  width: 100vw; height: auto;
  max-height: 100vh; object-fit: contain;
  display: block;
  cursor: default;
}
.sheet-view-close {
  position: absolute; top: clamp(0.7rem, 2vw, 1.6rem); right: clamp(0.7rem, 2vw, 1.6rem);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11, 12, 10, 0.72);
  border: 1px solid var(--gold-25);
  color: var(--bone); font-size: 1.35rem; line-height: 1;
  cursor: pointer; transition: background 0.25s, border-color 0.25s;
}
.sheet-view-close:hover { background: rgba(210, 169, 60, 0.16); border-color: var(--gold); }
body.sheet-open { overflow: hidden; }
.mc-media::after { /* grid overlay = "measured" feel */
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(236,232,223,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236,232,223,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.mc-body {
  padding: clamp(1rem, 1.5vw, 1.35rem) clamp(1.1rem, 1.7vw, 1.5rem)
           clamp(0.9rem, 1.3vw, 1.15rem);
  display: flex; flex-direction: column; gap: 0.35rem; flex: 1;
}
.mc-body h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.55rem); line-height: 1.15; }
.mc-body p { color: var(--bone-70); font-weight: 340; font-size: 0.95em; max-width: 46em; line-height: 1.5; }
.mc-body .mono-cap { margin-top: auto; padding-top: 0.7rem; color: var(--bone-25); }
.mc-stock .mc-media-stock {
  aspect-ratio: 16 / 8.4;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 65%, var(--gold-08), transparent 65%),
    var(--bg-3);
}
.stock-svg { width: min(70%, 420px); }
.stock-svg .ct { stroke: var(--gold); opacity: 0.75; }
.stock-svg .ct1 { stroke-width: 1; opacity: 0.35; }
.stock-svg .ct2 { stroke-width: 1; opacity: 0.5; }
.stock-svg .ct3 { stroke-width: 1.2; opacity: 0.65; }
.stock-svg .ct4 { stroke-width: 1.2; opacity: 0.85; }
.stock-svg .ct5 { stroke-width: 1.4; }
.stock-svg .ct-base { stroke: var(--bone-25); stroke-width: 1; stroke-dasharray: 5 7; }
.stock-read { color: var(--bone-45); }
.stock-read b { color: var(--gold); font-weight: 500; font-size: 1.5em; letter-spacing: 0.05em; }

/* ============================================================
   ACT III — MODEL (Vantage Core)
   ============================================================ */
.act-model { background: var(--bg); }
.model-head h2.core-word {
  font-weight: 870; font-stretch: 125%;
  font-size: clamp(2.7rem, 0.9rem + 6.9vw, 7.6rem);
  line-height: 0.92; letter-spacing: -0.02em;
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 700px) { .model-head h2.core-word { white-space: normal; } }
.core-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  text-stroke: 1.5px var(--gold);
}
@media (max-width: 600px) { .core-outline { -webkit-text-stroke-width: 1px; } }

.model-pinwrap { position: relative; height: 1400vh; /* 5 product phases + intro/outro at Air's beat rhythm */ }
.model-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}
.gl-core { position: absolute; inset: 0; width: 100%; height: 100%; }

/* HUD */
.hud { position: absolute; inset: clamp(0.9rem, 2.4vw, 2.2rem); pointer-events: none; }
.hud-corner { position: absolute; width: 22px; height: 22px; border: 1px solid var(--bone-25); }
.hc-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hc-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hc-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hc-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud-top, .hud-bottom {
  position: absolute; left: 2.2rem; right: 2.2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.hud-top { top: 3.4rem; }
.hud-bottom { bottom: 0.35rem; }
.hud-title { font-family: var(--font-m); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; color: var(--bone-70); }
.hud-chip {
  font-family: var(--font-m); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.16em;
  color: var(--gold); border: 1px solid var(--gold-25); border-radius: 2px;
  padding: 0.45em 0.8em;
  background: rgba(11,12,10,0.6);
}
.hud-read { font-family: var(--font-m); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.18em; color: var(--bone-45); }
.hud-layers { display: flex; gap: 0.5rem; pointer-events: auto; }
.hl {
  font-family: var(--font-m); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.14em;
  padding: 0.5em 0.85em;
  border: 1px solid var(--hair);
  border-radius: 2px;
  color: var(--bone-45);
  background: rgba(11,12,10,0.6);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.hl.on { color: var(--gold); border-color: var(--gold-25); background: var(--gold-08); }
@media (hover: hover) { .hl:hover { border-color: var(--gold); color: var(--gold); } }
.hud-hint {
  position: absolute; left: 2.2rem; bottom: 2.4rem;
  font-family: var(--font-m); font-size: 0.56rem; font-weight: 500;
  letter-spacing: 0.18em; color: var(--bone-25);
  opacity: 0; transition: opacity 0.6s;
}
.model-pin.interactive .hud-hint { opacity: 1; }
.gl-core { cursor: grab; }
.gl-core.dragging { cursor: grabbing; }

/* ---- hole labels + hover tooltip ---- */
.hole-labels { position: absolute; inset: 0; pointer-events: none; }
.hole-label {
  position: absolute; top: 0; left: 0;
  font-family: var(--font-m); font-size: 0.56rem; font-weight: 500;
  letter-spacing: 0.12em; color: var(--bone-70);
  background: rgba(11, 12, 10, 0.66);
  border: 1px solid var(--hair-soft);
  border-radius: 2px;
  padding: 0.3em 0.55em;
  transform: translate(-50%, -130%);
  opacity: 0;
  will-change: transform;
  white-space: nowrap;
}
.hole-label.hot { color: #35d07f; border-color: rgba(53, 208, 127, 0.4); }
.hole-tip {
  position: absolute; top: 0; left: 0; z-index: 8;
  font-family: var(--font-m); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--bone);
  background: rgba(11, 12, 10, 0.9);
  border: 1px solid var(--hair);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  padding: 0.6em 0.85em;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.hole-tip b { color: var(--gold); font-weight: 500; }
.hole-tip .tl { display: block; color: var(--bone-70); margin-top: 0.35em; }

/* ---- inspector panel (Drill Manager style) ---- */
.inspector {
  position: absolute; top: 50%; right: clamp(1.2rem, 3vw, 3rem);
  transform: translateY(-50%);
  width: clamp(250px, 24vw, 320px);
  pointer-events: none;
}
.ins-sec {
  position: absolute; top: 0; right: 0; width: 100%;
  transform: translateY(-50%);
  background: rgba(13, 14, 11, 0.88);
  border: 1px solid var(--hair);
  border-top: 2px solid var(--gold);
  border-radius: 2px;
  padding: 1.15rem 1.25rem 1.05rem;
  opacity: 0;
  will-change: opacity, transform;
}
.ins-sec h5 {
  font-family: var(--font-m); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.16em; color: var(--bone);
  margin-bottom: 0.9rem;
}
.ins-sec h5 b { color: var(--gold); font-weight: 500; }
.ins-row {
  display: flex; justify-content: space-between; align-items: center; gap: 0.8rem;
  font-family: var(--font-m); font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.42em 0;
  border-top: 1px solid var(--hair-soft);
  color: var(--bone-45);
}
.ins-row b { color: var(--bone); font-weight: 500; text-align: right; }
.ins-row b.ok { color: #35d07f; }
.ins-row b.dim { color: var(--bone-25); }
.ins-live { display: inline-flex; align-items: center; gap: 0.5em; color: #35d07f !important; }
.ins-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #35d07f;
  animation: pulse-dim 1.2s ease-in-out infinite;
}
.ins-note {
  font-family: var(--font-d); font-size: 0.8rem; font-weight: 620;
  color: #F7F4EC; line-height: 1.45;
  margin-top: 0.9rem;
}
/* lith swatches */
.sw { width: 12px; height: 12px; border-radius: 2px; flex: 0 0 12px; }
.sw-ovb { background: #6b5a3e; }
.sw-bslt { background: #3e5e8a; }
.sw-arg { background: #7a8471; }
.sw-qv { background: #e8e4d8; }
.sw-grd { background: #a08a96; }
.ins-sec[data-phase="p3"] .ins-row { justify-content: flex-start; color: var(--bone-70); }
/* cut-off chips */
.ins-cut {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-m); font-size: 0.56rem; letter-spacing: 0.12em;
  color: var(--bone-45);
  padding-top: 0.2rem;
}
.cut {
  font-family: var(--font-m); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.1em;
  padding: 0.45em 0.7em;
  border: 1px solid var(--hair);
  border-radius: 2px;
  color: var(--bone-45);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.cut.on { color: var(--gold); border-color: var(--gold-25); background: var(--gold-08); }
@media (hover: hover) { .cut:hover { border-color: var(--gold); color: var(--gold); } }
.ins-sec[data-phase="p4"] .ins-cut { pointer-events: auto; }

/* ---- best intercepts popup (spreadsheet) ---- */
.intpop {
  position: absolute; left: clamp(1.2rem, 3vw, 3rem); bottom: clamp(4.2rem, 9vh, 6rem);
  width: min(400px, 86vw);
  background: rgba(13, 14, 11, 0.92);
  border: 1px solid var(--hair);
  border-radius: 2px;
  opacity: 0; transform: translateY(14px);
  will-change: opacity, transform;
}
.intpop-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-m); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.16em; color: var(--bone);
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--hair-soft);
}
.intpop table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-m); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.08em;
}
.intpop th {
  text-align: left; color: var(--bone-25); font-weight: 500;
  padding: 0.55em 1rem 0.4em;
}
.intpop td { color: var(--bone-70); padding: 0.42em 1rem; border-top: 1px solid var(--hair-soft); }
.intpop td.hi { color: var(--gold); }
.intpop tr:hover td { background: var(--gold-08); }

/* features */
.model-features {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.8rem);
  padding: clamp(5rem, 11vh, 9rem) var(--pad-x);
  max-width: 1680px;
}
.feat { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--hair-soft); }
.feat:nth-child(1) { grid-column: 1 / 6; }
.feat:nth-child(2) { grid-column: 6 / 9; }
.feat:nth-child(3) { grid-column: 9 / 13; }
.feat-n { display: block; color: var(--gold); margin-bottom: 1.1rem; }
.feat h3 { margin-bottom: 0.9rem; }
.feat p { color: var(--bone-70); font-weight: 340; font-size: 0.98em; }
.schema { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.sc-chip {
  font-family: var(--font-m); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.12em;
  padding: 0.55em 0.8em;
  border: 1px solid var(--hair);
  border-radius: 2px;
  color: var(--bone-45);
}
.sc-chip.gold { color: var(--gold); border-color: var(--gold-25); background: var(--gold-08); }
.sc-chip.dim { border-style: dashed; color: var(--bone-25); }

/* ---- capabilities: six cards + a disclosure list ---------------------- */
.caps { padding: 0 var(--pad-x) clamp(3rem, 6vh, 4.5rem); max-width: 1680px; }
.caps .kicker { margin-bottom: clamp(1.4rem, 3vh, 2.2rem); }

.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.8rem) clamp(1.4rem, 2.6vw, 2.8rem);
}
/* same editorial treatment as .feat — a hairline and a number, no box */
.cap {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hair-soft);
  transition: border-color 0.4s;
}
@media (hover: hover) { .cap:hover { border-top-color: var(--gold-25); } }
.cap-n { display: block; color: var(--gold); margin-bottom: 1.1rem; }
.cap h4 {
  font-weight: 640; font-stretch: 108%;
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.42rem);
  line-height: 1.12; margin-bottom: 0.5rem;
}
.cap-lead { color: var(--bone); font-weight: 560; font-size: 0.97em; margin-bottom: 0.7rem; }
.cap-body { color: var(--bone-70); font-weight: 340; font-size: 0.96em; line-height: 1.6; }

.cap-list { margin-top: clamp(2rem, 4vh, 3rem); border-top: 1px solid var(--hair-soft); }
.cl-item { border-bottom: 1px solid var(--hair-soft); }
.cl-head {
  width: 100%; display: grid; align-items: center;
  grid-template-columns: auto minmax(11rem, 16rem) 1fr auto;
  gap: clamp(0.7rem, 2vw, 1.6rem);
  padding: clamp(0.95rem, 1.7vw, 1.3rem) 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  color: var(--bone); font: inherit;
  transition: color 0.3s;
}
@media (hover: hover) { .cl-head:hover { color: var(--gold); } }
.cl-head:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.cl-n { color: var(--gold); }
.cl-t { font-weight: 560; font-stretch: 108%; font-size: clamp(1rem, 0.93rem + 0.32vw, 1.18rem); }
.cl-lead { color: var(--bone-45); font-weight: 340; font-size: 0.92em; }
.cl-ico { position: relative; width: 13px; height: 13px; flex: none; }
.cl-ico::before, .cl-ico::after {
  content: ''; position: absolute; background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.cl-ico::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.cl-ico::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.cl-item.is-open .cl-ico::after { transform: translateX(-50%) scaleY(0); }

/* height is driven by GSAP — a CSS 0fr/1fr transition freezes at an
   interpolated pixel value if it's interrupted mid-flight */
.cl-panel { height: 0; overflow: hidden; }
.cl-inner p {
  color: var(--bone-70); font-weight: 340; font-size: 0.95em; line-height: 1.6;
  max-width: 68ch; padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

.caps-note {
  margin-top: clamp(1.6rem, 3vh, 2.4rem);
  color: var(--bone-45); font-weight: 340; font-size: 0.95em;
}

/* teaser form used on the main page — the full write-up lives on
   vantage-core.html, so Act III only signals breadth and points there */
.caps-teaser-h {
  font-weight: 640; font-stretch: 108%;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2.1rem);
  line-height: 1.1; margin-bottom: clamp(1.4rem, 3vh, 2rem);
}
.caps-index {
  list-style: none; display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem clamp(1.2rem, 2.4vw, 2.4rem);
  border-top: 1px solid var(--hair-soft);
  padding-top: clamp(1.2rem, 2.4vh, 1.8rem);
}
.caps-index li {
  position: relative; padding-left: 1rem;
  color: var(--bone-70); font-weight: 340; font-size: 0.95em;
}
.caps-index li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; background: var(--gold); opacity: 0.75;
}
.caps-cta { margin-top: clamp(1.8rem, 4vh, 2.8rem); }

@media (max-width: 1180px) { .caps-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .caps-index { grid-template-columns: 1fr; } }

@media (max-width: 1180px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cl-head { grid-template-columns: auto 1fr auto; row-gap: 0.25rem; }
  .cl-n, .cl-t, .cl-ico { grid-row: 1; }
  .cl-lead { grid-row: 2; grid-column: 2 / 3; }
}

.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin: 0 var(--pad-x) clamp(6rem, 12vh, 9rem);
  padding: clamp(1.8rem, 3.6vw, 3rem);
  border: 1px solid var(--hair-soft);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  background: var(--bg-2);
  max-width: calc(1680px - 2 * var(--pad-x));
}
.cta-strip p {
  font-weight: 560; font-stretch: 108%;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.9rem);
  line-height: 1.2; max-width: 22em;
}

/* ============================================================
   FINAL PHASE — REPORTING · DISCLOSURE · COMMUNICATIONS
   ============================================================ */
.act-report { background: var(--bg); }
.report-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.8rem);
  padding: 0 var(--pad-x) clamp(6rem, 12vh, 10rem);
  max-width: 1680px;
}
.rep-card {
  grid-column: span 6;
  padding: clamp(1.8rem, 3.6vw, 3rem);
  border: 1px solid var(--hair-soft);
  border-top: 2px solid var(--gold);
  border-radius: 2px;
  background: var(--bg-2);
}
.rep-card h3 { margin: 1rem 0 0.9rem; }
.rep-card p { color: var(--bone-70); font-weight: 340; font-size: 0.98em; }
.rep-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }

/* ============================================================
   CONTACT / FOOTER
   ============================================================ */
.contact {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 18% 0%, rgba(210, 169, 60, 0.06), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--hair-soft);
  overflow: hidden;
}
.contact-inner {
  padding: clamp(7rem, 16vh, 12rem) var(--pad-x) clamp(5rem, 10vh, 8rem);
  max-width: 1680px;
}
.contact h2 {
  font-weight: 730; font-stretch: 116%;
  font-size: clamp(2.6rem, 1.4rem + 6vw, 6.4rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 12em;
}
.contact-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: clamp(2rem, 4.5vh, 3.2rem); }
.footer { position: relative; padding: 0 var(--pad-x) 2rem; }
.footer-watermark {
  position: absolute; right: -0.06em; bottom: -0.24em;
  font-weight: 900; font-stretch: 125%;
  font-size: clamp(6rem, 22vw, 22rem);
  line-height: 1; letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 232, 223, 0.07);
  pointer-events: none; user-select: none;
}
.footer-row {
  position: relative;
  display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap;
  border-top: 1px solid var(--hair-soft);
  padding-top: 1.6rem;
}
.footer-row img { width: 26px; opacity: 0.85; }
.footer-row p { font-size: 0.8rem; color: var(--bone-45); font-weight: 350; }
.footer-log { margin-left: auto; }
.to-top { letter-spacing: 0.16em; color: var(--bone-45); transition: color 0.3s; padding: 0.4em 0; }
@media (hover: hover) { .to-top:hover { color: var(--gold); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .rail { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .ground-grid, .svc-grid { grid-template-columns: 1fr; row-gap: clamp(2rem, 5vh, 3.5rem); }
  .g-photo-a, .g-manifest, .g-photo-b, .g-mgmt,
  .s-photo-a, .s-fieldsvc, .s-photo-b, .s-techsvc { grid-column: 1 / -1; grid-row: auto; }
  .g-photo-a, .s-photo-a { aspect-ratio: 4 / 3; }
  .report-grid { grid-template-columns: 1fr; }
  .rep-card { grid-column: 1 / -1; }
  .maps-grid { grid-template-columns: 1fr; }
  .mc-ortho, .mc-terrain, .mc-roads, .mc-stock { grid-column: 1 / -1; }
  .model-features { grid-template-columns: 1fr; }
  .feat:nth-child(n) { grid-column: 1 / -1; }
  .callout .co-card { width: min(78vw, 340px); }
  .hud-title { display: none; }
  .air-runway { height: 900vh; }
  .model-pinwrap { height: 1000vh; }
  .inspector {
    top: auto; bottom: 4.6rem; right: 0.9rem; left: 0.9rem;
    transform: none; width: auto;
  }
  .ins-sec { transform: none; }
  .ins-note { display: none; }
  .intpop { display: none; }
  .hud-hint { display: none; }
}
@media (max-width: 600px) {
  .hero { padding-bottom: 2.4rem; }
  .hero-title { font-size: clamp(2.9rem, 16.8vw, 4.9rem); font-stretch: 118%; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-tele {
    position: static;
    margin-top: 2rem;
    gap: 0.8rem; flex-wrap: wrap;
  }
  .ht-scroll { margin-left: 0; width: 100%; }
  .ops-ledger li { grid-template-columns: 3.6em 1fr; }
  .ops-ledger span { grid-column: 2; }
  .hud-layers { flex-wrap: wrap; justify-content: flex-end; }
  .cta-strip { border-left-width: 2px; }
}

/* ============================================================
   DEBUG STAGE ISOLATION (?stage=air|model — screenshot aid)
   ============================================================ */
body.dbg-air main > section:not(#air), body.dbg-air .gl-terrain, body.dbg-air .maps { display: none; }
body.dbg-air .air-runway { height: 100vh; }
body.dbg-model main > section:not(#model), body.dbg-model .gl-terrain { display: none; }
body.dbg-model .model-pinwrap { height: 100vh; }
body.dbg-model .model-head, body.dbg-model .model-features, body.dbg-model .cta-strip { display: none; }
/* ?flat=1 — collapse vh scenery so tall-viewport captures show all DOM content */
body.dbg-flat .hero { min-height: 560px; }
body.dbg-flat .gl-terrain { display: none; }
body.dbg-flat .air-runway, body.dbg-flat .model-pinwrap { height: auto; }
body.dbg-flat .air-stage, body.dbg-flat .model-pin { height: 420px; position: relative; }
body.dbg-flat .breather { padding: 4rem 1rem; }
body.dbg-flat .act-head { padding-top: 4rem; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .air-runway, .model-pinwrap { height: auto; }
  .air-stage, .model-pin { position: relative; height: 70vh; }
  .air-head { position: relative; inset: auto; height: auto; padding: 4rem var(--pad-x); }
  .air-scan { display: none; }
  .callout { display: none; }
  .ht-scroll { animation: none; }
}

/* ============================================================
   VANTAGE CORE — product page (vantage-core.html)
   Reuses the shared nav, buttons, HUD and footer; everything
   below is specific to this page's layout.
   ============================================================ */
.vc-page { background: var(--bg); }
.vc-page main { position: relative; z-index: 2; }

/* ---------- hero ---------- */
.vc-hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: end;
  padding: 0 var(--pad-x) clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.vc-stage { position: absolute; inset: 0; z-index: 0; }
.vc-stage::after {          /* keep the copy legible over the model */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,12,10,0.72) 0%, rgba(11,12,10,0.18) 34%,
              rgba(11,12,10,0.30) 62%, rgba(11,12,10,0.92) 100%);
}
.vc-stage.interactive { cursor: grab; }
.vc-stage canvas.dragging { cursor: grabbing; }
.vc-hero-copy { position: relative; z-index: 2; max-width: 60ch; }
.vc-title {
  font-weight: 660; font-stretch: 112%;
  font-size: clamp(2.4rem, 1.5rem + 4.4vw, 5.4rem);
  line-height: 0.98; letter-spacing: -0.015em;
  margin: 0.7rem 0 1.1rem;
}
.vc-lede { color: var(--bone-70); font-weight: 340; max-width: 48ch; }
.vc-hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: clamp(1.6rem, 3vh, 2.4rem); }

/* ---------- problem band ---------- */
.vc-band { padding: clamp(5rem, 12vh, 9rem) var(--pad-x); border-top: 1px solid var(--hair-soft); }
.vc-band-inner { max-width: 1680px; }
.vc-h2 {
  font-weight: 640; font-stretch: 108%;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem);
  line-height: 1.08; margin: 0.8rem 0 1.2rem; max-width: 22ch;
}
.vc-body { color: var(--bone-70); font-weight: 340; max-width: 62ch; }
.vc-flow {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.8rem);
  margin-top: clamp(2.6rem, 6vh, 4.5rem);
}
.vc-flow-step { padding-top: 1.4rem; border-top: 1px solid var(--hair-soft); }
.vc-flow-step .mono-cap { display: block; color: var(--gold); margin-bottom: 0.9rem; }
.vc-flow-step h3 { font-weight: 620; font-stretch: 108%; font-size: 1.15rem; margin-bottom: 0.45rem; }
.vc-flow-step p { color: var(--bone-70); font-weight: 340; font-size: 0.95em; }

/* ---------- capabilities ---------- */
.vc-caps { padding: 0 var(--pad-x) clamp(4rem, 9vh, 7rem); max-width: 1680px; }
.vc-caps-head { padding: clamp(3rem, 7vh, 5rem) 0 clamp(1.5rem, 3vh, 2.5rem); }

.vc-group { padding: clamp(2.6rem, 6vh, 4.5rem) 0; border-top: 1px solid var(--hair-soft); }
.vc-group-head { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vh, 3rem); }
.vc-group-n { display: block; color: var(--gold); margin-bottom: 0.8rem; }
.vc-group-head h3 {
  font-weight: 640; font-stretch: 108%;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  line-height: 1.1; margin-bottom: 0.5rem;
}
.vc-group-head > p { color: var(--bone-70); font-weight: 340; font-size: 0.98em; }

.vc-feats { display: flex; flex-direction: column; gap: clamp(1.6rem, 3vh, 2.4rem); }
.vc-feat { padding-top: 1.4rem; border-top: 1px solid var(--hair-soft); transition: border-color 0.4s; }
@media (hover: hover) { .vc-feat:hover { border-top-color: var(--gold-25); } }
.vc-feat-n { display: block; color: var(--gold); margin-bottom: 0.9rem; }
.vc-feat h4 {
  font-weight: 640; font-stretch: 108%;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.12; margin-bottom: 0.4rem;
}
.vc-feat-lead { color: var(--bone); font-weight: 560; font-size: 0.97em; margin-bottom: 0.6rem; }
.vc-feat p { color: var(--bone-70); font-weight: 340; font-size: 0.95em; line-height: 1.6; }
.vc-note {
  margin-top: 0.7rem; padding-left: 0.9rem;
  border-left: 2px solid var(--gold-25);
  color: var(--bone-45) !important; font-size: 0.88em !important;
}

/* ---------- product pillars ---------- */
:root {
  --pil-pad: clamp(4.5rem, 11vh, 8.5rem);   /* space above/below a pillar   */
  --pil-gap: clamp(2.4rem, 5.5vh, 4rem);    /* head -> figure               */
  --pil-sub: clamp(2.8rem, 6.5vh, 5rem);    /* figure -> the block after it */
}

.vc-pillar { padding: var(--pil-pad) 0; border-top: 1px solid var(--hair-soft); }
.vc-pillar + .vc-pillar { padding-top: var(--pil-pad); }

/* heading left, copy right — a pillar uses the full measure */
.vc-pillar-head,
.vc-caps-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 5.5rem);
  align-items: start;
  max-width: none;
  margin-bottom: var(--pil-gap);
}
.ph-l { position: relative; }
.ph-r { max-width: 54ch; }

/* eyebrow: gold number + a rule that runs out to the column edge */
.vc-pillar-n {
  display: flex; align-items: center; gap: 0.85rem;
  color: var(--gold); margin-bottom: 1.15rem;
}
.vc-pillar-n::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--gold-25), transparent);
}
.vc-pillar-head h3 {
  font-weight: 660; font-stretch: 106%;
  font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.45rem);
  line-height: 1.08; letter-spacing: -0.005em;
  max-width: 18ch;
}
.vc-pillar-lead {
  color: var(--bone); font-weight: 560;
  font-size: clamp(1.02rem, 0.96rem + 0.32vw, 1.22rem);
  line-height: 1.36; margin-bottom: 0.85rem;
}
.ph-r > p:last-child {
  color: var(--bone-70); font-weight: 340; font-size: 0.97em; line-height: 1.66;
}

/* ---------- framed product shots ---------- */
.vc-fig { display: flex; flex-direction: column; }
.vc-fig-tag { display: block; color: var(--gold); margin-bottom: 0.8rem; }
.vc-shot {
  position: relative;
  padding: clamp(0.3rem, 0.55vw, 0.55rem);
  background:
    linear-gradient(180deg, rgba(236, 232, 223, 0.075), rgba(236, 232, 223, 0.012) 42%),
    var(--bg-2);
  border: 1px solid rgba(236, 232, 223, 0.11);
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(236, 232, 223, 0.06) inset,
    0 42px 90px -34px rgba(0, 0, 0, 0.95),
    0 8px 26px -14px rgba(0, 0, 0, 0.8);
}
.vc-shot img {
  display: block; width: 100%; height: auto;
  border-radius: 9px;
}
.vc-fig figcaption {
  margin-top: 1.15rem; padding-left: 0.95rem;
  border-left: 2px solid var(--gold-25);
  color: var(--bone-45); font-weight: 340;
  font-size: 0.9em; line-height: 1.5; max-width: 74ch;
}

/* ---------- record spec block ---------- */
.vc-detail {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.8rem, 4.5vw, 4.5rem);
  align-items: start;
  margin-top: var(--pil-sub);
  padding-top: var(--pil-sub);
  border-top: 1px solid var(--hair-soft);
}
.vc-detail .vc-shot { max-width: 23rem; }
.vc-detail-copy { max-width: 58ch; }
.vc-detail-copy .vc-pillar-lead { margin-bottom: 0.7rem; }
.vc-detail-copy > p { color: var(--bone-70); font-weight: 340; font-size: 0.97em; line-height: 1.66; }

.rec-list { margin-top: clamp(1.4rem, 3vh, 2rem); border-top: 1px solid var(--hair-soft); }
.rec-list.ai-jobs { margin-top: var(--pil-sub); }
.rec-list > div {
  display: grid; grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: clamp(0.7rem, 1.6vw, 1.6rem);
  padding: 0.82rem 0; border-bottom: 1px solid var(--hair-soft);
}
.rec-list dt {
  color: var(--gold); font-family: var(--font-m);
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding-top: 0.42em;
}
.rec-list dd { color: var(--bone-70); font-weight: 340; font-size: 0.93em; line-height: 1.55; max-width: 80ch; }

/* side-by-side figures — kept for two-up slots */
.vc-figpair {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
  align-items: start;
}

/* ---------- also in the platform ---------- */
.also-list { border-top: 1px solid var(--hair-soft); margin-bottom: clamp(2.4rem, 5vh, 3.6rem); }
.also-list > div {
  display: grid; grid-template-columns: minmax(9rem, 15rem) 1fr;
  gap: clamp(0.8rem, 2vw, 2.4rem);
  padding: 1.15rem 0; border-bottom: 1px solid var(--hair-soft);
}
.also-list dt {
  color: var(--bone); font-weight: 620; font-stretch: 104%;
  font-size: 0.97em; padding-top: 0.05em;
}
.also-list dd { color: var(--bone-70); font-weight: 340; font-size: 0.93em; line-height: 1.58; max-width: 80ch; }
.also-note { color: var(--bone-45); }

/* ---------- reveal ---------- */
.vc-pillar { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.vc-pillar.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .vc-pillar-head,
  .vc-caps-head { grid-template-columns: 1fr; gap: clamp(0.9rem, 2vh, 1.5rem); }
  .vc-pillar-head h3 { max-width: 24ch; }
  .ph-r { max-width: 62ch; }
  .vc-detail { grid-template-columns: 1fr; gap: clamp(1.4rem, 3vh, 2.2rem); }
  .vc-detail .vc-shot { max-width: 22rem; }
}
@media (max-width: 900px) {
  .vc-figpair { grid-template-columns: 1fr; }
  .also-list > div,
  .rec-list > div { grid-template-columns: 1fr; gap: 0.35rem; }
  .vc-shot { border-radius: 10px; }
  .vc-shot img { border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .vc-pillar { opacity: 1; transform: none; }
}


/* ---------- AI diagram: data flowing left to right ---------- */
/* Runs only once the pillar has been revealed, so it never animates off-screen
   before the reader gets there. One 5.5s cycle: inputs light in sequence, the
   core takes it, outputs light in sequence. */
@keyframes dgFlowNode {
  0%   { border-color: var(--hair); box-shadow: none; color: var(--bone-70); }
  5%   { border-color: var(--gold-25); color: var(--bone);
         box-shadow: 0 0 0 1px var(--gold-08), 0 12px 28px -18px rgba(210, 169, 60, 0.55); }
  17%  { border-color: var(--hair); box-shadow: none; color: var(--bone-70); }
  100% { border-color: var(--hair); box-shadow: none; color: var(--bone-70); }
}
@keyframes dgFlowCore {
  0%, 100% { border-color: var(--gold-25);
             box-shadow: 0 0 0 1px rgba(210, 169, 60, 0.06), 0 18px 40px -22px rgba(210, 169, 60, 0.35); }
  16%      { border-color: rgba(210, 169, 60, 0.55);
             box-shadow: 0 0 0 1px rgba(210, 169, 60, 0.24), 0 24px 58px -20px rgba(210, 169, 60, 0.62); }
  32%      { border-color: var(--gold-25);
             box-shadow: 0 0 0 1px rgba(210, 169, 60, 0.06), 0 18px 40px -22px rgba(210, 169, 60, 0.35); }
}
@keyframes dgWire { to { background-position: 13px 0; } }

.vc-pillar.is-in .vc-diagram .dg-node {
  animation: dgFlowNode 5.5s var(--ease-io) infinite;
}
.vc-pillar.is-in .vc-diagram .dg-col:first-of-type .dg-node:nth-of-type(1) { animation-delay: 0s; }
.vc-pillar.is-in .vc-diagram .dg-col:first-of-type .dg-node:nth-of-type(2) { animation-delay: 0.16s; }
.vc-pillar.is-in .vc-diagram .dg-col:first-of-type .dg-node:nth-of-type(3) { animation-delay: 0.32s; }
.vc-pillar.is-in .vc-diagram .dg-col:first-of-type .dg-node:nth-of-type(4) { animation-delay: 0.48s; }
.vc-pillar.is-in .vc-diagram .dg-col--out .dg-node:nth-of-type(1) { animation-delay: 1.75s; }
.vc-pillar.is-in .vc-diagram .dg-col--out .dg-node:nth-of-type(2) { animation-delay: 1.91s; }
.vc-pillar.is-in .vc-diagram .dg-col--out .dg-node:nth-of-type(3) { animation-delay: 2.07s; }
.vc-pillar.is-in .vc-diagram .dg-col--out .dg-node:nth-of-type(4) { animation-delay: 2.23s; }
.vc-pillar.is-in .vc-diagram .dg-core { animation: dgFlowCore 5.5s var(--ease-io) infinite 0.85s; }
.vc-pillar.is-in .vc-diagram .dg-hub::before,
.vc-pillar.is-in .vc-diagram .dg-hub::after { animation: dgWire 0.85s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .vc-pillar.is-in .vc-diagram .dg-node,
  .vc-pillar.is-in .vc-diagram .dg-core,
  .vc-pillar.is-in .vc-diagram .dg-hub::before,
  .vc-pillar.is-in .vc-diagram .dg-hub::after { animation: none; }
}

/* ---------- contact section (product page) ---------- */
.vc-contact {
  padding: var(--pil-pad) var(--pad-x) clamp(3rem, 7vh, 5rem);
  max-width: 1680px;
  border-top: 1px solid var(--hair-soft);
}
.vc-contact-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 5.5rem);
  align-items: start;
}
@media (max-width: 980px) {
  .vc-contact-head { grid-template-columns: 1fr; gap: clamp(0.9rem, 2vh, 1.5rem); }
}

/* ---------- contact form (both pages) ---------- */
.vform { margin-top: clamp(2rem, 5vh, 3.4rem); max-width: 48rem; }
.vform-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.vfield { display: flex; flex-direction: column; gap: 0.55rem; min-width: 0; }
.vfield--wide { grid-column: 1 / -1; }
.vfield label {
  font-family: var(--font-m); font-size: 0.64rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-45);
}
.vfield label .req { color: var(--gold); }
.vform input,
.vform select,
.vform textarea {
  width: 100%;
  font-family: var(--font-d); font-size: 0.97rem; font-weight: 340;
  color: var(--bone);
  background: rgba(236, 232, 223, 0.035);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 0.85em 0.95em;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
.vform textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
.vform select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--bone-45) 50%),
                    linear-gradient(135deg, var(--bone-45) 50%, transparent 50%);
  background-position: right 1.15rem center, right 0.85rem center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.vform select option { background: var(--bg-2); color: var(--bone); }
.vform input::placeholder, .vform textarea::placeholder { color: var(--bone-25); }
.vform input:focus-visible,
.vform select:focus-visible,
.vform textarea:focus-visible {
  outline: none;
  border-color: var(--gold-25);
  background: rgba(236, 232, 223, 0.06);
  box-shadow: 0 0 0 3px var(--gold-08);
}
.vform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vform-actions {
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.8rem);
  flex-wrap: wrap; margin-top: clamp(1.3rem, 3vh, 1.9rem);
}
.vform .btn { border-radius: 8px; }
.vform .btn[disabled] { opacity: 0.55; pointer-events: none; }
.vform-status {
  font-family: var(--font-m); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-45);
}
.vform-status.is-ok { color: #7fd6a2; }
.vform-status.is-err { color: #e2705c; }
.vform-alt { color: var(--bone-45); font-size: 0.9em; font-weight: 340; }
.vform-alt a { color: var(--bone-70); text-decoration: none; border-bottom: 1px solid var(--gold-25); }
.vform-alt a:hover { color: var(--gold); }

@media (max-width: 700px) {
  .vform-grid { grid-template-columns: 1fr; }
  .vform-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- close ---------- */
.vc-close { padding-top: clamp(1rem, 3vh, 2rem); }
.vc-close .footer-row a { color: var(--bone-45); text-decoration: none; transition: color 0.3s; }
.vc-close .footer-row a:hover { color: var(--gold); }

/* ---------- reveal ---------- */
.vc-group, .vc-flow-step, .vc-caps-head, .vc-band-inner {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.vc-group.is-in, .vc-flow-step.is-in, .vc-caps-head.is-in, .vc-band-inner.is-in {
  opacity: 1; transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .vc-group, .vc-flow-step, .vc-caps-head, .vc-band-inner { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .vc-group-body { grid-template-columns: 1fr; }
  .vc-shot { position: static; }
  .vc-flow { grid-template-columns: 1fr; }
}

/* Small screens: the model stays as the backdrop, but its instrumentation
   goes. Drag-rotate is mouse-only in core3d, so the hint would be a lie, and
   the readout and layer chips collide with the hero buttons. Elements are
   hidden rather than removed — the scene writes into #hudRead every frame. */
@media (max-width: 760px) {
  .vc-hero .hud-bottom,
  .vc-hero .hud-hint,
  .vc-hero .hole-labels,
  .vc-hero .hole-tip { display: none; }
  .vc-hero .hud-top { top: 2.8rem; }
  .vc-stage::after {
    background: linear-gradient(180deg, rgba(11,12,10,0.62) 0%, rgba(11,12,10,0.30) 26%,
                rgba(11,12,10,0.86) 58%, rgba(11,12,10,0.97) 100%);
  }
  .vc-hero { align-items: end; padding-bottom: clamp(2.5rem, 6vh, 4rem); }
  .vc-hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- capability module types ----------------------------------
   Four groups, four different shapes. The point is that the eye never
   settles into a pattern: a diagram, a wide gallery, a side-by-side
   comparison, then a sequence. */

/* screenshot placeholders — swap for real captures when they arrive */
.vc-shot-ph {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(236,232,223,0.022) 0 12px, transparent 12px 24px),
    var(--bg-2);
  border: 1px dashed var(--hair);
  border-radius: 2px;
  color: var(--bone-25);
  text-align: center; padding: 1rem;
}

/* beats between groups — a breath, no image */
.vc-beat {
  border-top: 1px solid var(--hair-soft);
  border-bottom: 1px solid var(--hair-soft);
  padding: clamp(2.6rem, 7vh, 5rem) 0;
  margin: clamp(1rem, 3vh, 2rem) 0;
}
.vc-beat p {
  font-weight: 600; font-stretch: 108%;
  font-size: clamp(1.4rem, 1rem + 1.9vw, 2.6rem);
  line-height: 1.16; max-width: 26ch; color: var(--bone);
}

/* 01 — flow diagram */
.vc-diagram {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 2.6vw, 2.6rem); align-items: center;
  padding: clamp(1.8rem, 3.6vw, 3.2rem);
  border: 1px solid rgba(236, 232, 223, 0.11);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(236, 232, 223, 0.05), rgba(236, 232, 223, 0.008) 46%),
    var(--bg-2);
  box-shadow:
    0 1px 0 rgba(236, 232, 223, 0.06) inset,
    0 42px 90px -34px rgba(0, 0, 0, 0.95);
  margin-bottom: 0;
}
.dg-col { display: flex; flex-direction: column; gap: 0.6rem; }
.dg-lab { color: var(--bone-25); margin-bottom: 0.4rem; }
.dg-col--out { text-align: right; }
.dg-node {
  padding: 0.78em 1em;
  border: 1px solid var(--hair);
  border-radius: 8px;
  color: var(--bone-70); font-size: 0.92em; font-weight: 340;
  background: rgba(11, 12, 10, 0.35);
}
.dg-node.dg-dim { border-style: dashed; color: var(--bone-25); }
.dg-hub { position: relative; display: flex; justify-content: center; }
.dg-hub::before, .dg-hub::after {
  content: ''; position: absolute; top: 50%; width: clamp(0.8rem, 2.4vw, 2.4rem);
  height: 1px; background: var(--gold-25);
  background-image: linear-gradient(90deg, var(--gold-bright) 0 5px, transparent 5px 13px);
  background-size: 13px 1px; background-repeat: repeat-x;
}
.dg-hub::before { right: 100%; }
.dg-hub::after { left: 100%; }
.dg-core {
  display: flex; flex-direction: column; gap: 0.35rem; align-items: center; text-align: center;
  padding: clamp(1.1rem, 2.2vw, 1.7rem) clamp(1.2rem, 2.6vw, 2rem);
  border: 1px solid var(--gold-25); border-radius: 10px;
  background: var(--gold-08);
  box-shadow: 0 0 0 1px rgba(210, 169, 60, 0.06), 0 18px 40px -22px rgba(210, 169, 60, 0.35);
  min-width: min(15rem, 40vw);
}
.dg-core .mono-cap { color: var(--gold); }
.dg-core b { font-weight: 620; font-stretch: 108%; font-size: 1.05em; }
.dg-core-sub { color: var(--bone-45); font-size: 0.88em; font-weight: 340; }

/* 02 — wide gallery */
.vc-wide { margin-bottom: clamp(2rem, 4.5vh, 3.2rem); }
.vc-shot-ph--wide { aspect-ratio: 2600 / 1180; }
.vc-wide-strip {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.6rem, 1.4vw, 1.1rem); margin-top: clamp(0.6rem, 1.4vw, 1.1rem);
}
.vc-shot-ph--sm { aspect-ratio: 16 / 10; }
.vc-wide figcaption { margin-top: 0.8rem; color: var(--bone-25); }

/* 03 — before / after */
.vc-ba {
  display: grid; grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(1rem, 2.6vw, 2.4rem);
  margin-bottom: clamp(2rem, 4.5vh, 3.2rem);
  align-items: stretch;
}
.ba-side { display: flex; flex-direction: column; }
.ba-lab { color: var(--bone-25); margin-bottom: 0.7rem; }
.ba-side--after .ba-lab { color: var(--gold); }
.ba-table {
  width: 100%; border-collapse: collapse; flex: 1;
  font-family: var(--font-m); font-size: 0.72rem;
  background: var(--bg-2); border: 1px solid var(--hair-soft);
}
.ba-table th, .ba-table td {
  padding: 0.62em 0.8em; text-align: left;
  border-bottom: 1px solid var(--hair-soft);
  color: var(--bone-45); font-weight: 400;
}
.ba-table th { color: var(--bone-25); letter-spacing: 0.1em; }
.ba-table td:last-child { text-align: right; }
.ba-shot { height: 100%; min-height: 14rem; }
.ba-cap { margin-top: 0.7rem; color: var(--bone-25); font-size: 0.88em; }
.ba-side--after .ba-cap { color: var(--bone-70); }

/* 04 — sequence + output */
.vc-split {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.4rem, 3.4vw, 3.2rem); align-items: start;
  margin-bottom: clamp(2rem, 4.5vh, 3.2rem);
}
.vc-steps { display: flex; flex-direction: column; }
.vc-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  padding: clamp(0.9rem, 1.8vw, 1.25rem) 0;
  border-bottom: 1px solid var(--hair-soft);
}
.vc-step:first-child { border-top: 1px solid var(--hair-soft); }
.vc-step .mono-cap { color: var(--gold); }
.vc-step p { color: var(--bone-70); font-weight: 340; font-size: 0.96em; }
.vc-shot-ph--page { aspect-ratio: 4 / 3; }
.vc-out figcaption { margin-top: 0.7rem; color: var(--bone-25); }

/* feature rows under each module */
.vc-feats--pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.8rem); }
.vc-feats--trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.6vw, 2.4rem); }
.vc-feat--lead .vc-feat-lead { color: var(--gold); }
.vc-feat--lead h4 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem); }

/* ---------- spec block ---------- */
.vc-spec { padding-top: clamp(2.6rem, 6vh, 4.5rem); border-top: 1px solid var(--hair-soft); }
.vc-spec-head { margin-bottom: clamp(1.6rem, 3.4vh, 2.4rem); }
.vc-spec-head h3 {
  font-weight: 640; font-stretch: 108%;
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.9rem); margin-top: 0.6rem;
}
.spec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
  margin-bottom: clamp(2rem, 4.5vh, 3.2rem);
}
.spec-item { padding-top: 1.2rem; border-top: 1px solid var(--hair-soft); }
.spec-item h4 { font-weight: 620; font-stretch: 108%; font-size: 1.08rem; margin-bottom: 0.5rem; }
.spec-item p { color: var(--bone-70); font-weight: 340; font-size: 0.93em; line-height: 1.55; }

.spec-facts { border-top: 1px solid var(--hair-soft); }
.spec-facts > div {
  display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: clamp(0.8rem, 2vw, 2rem);
  padding: 0.85rem 0; border-bottom: 1px solid var(--hair-soft);
}
.spec-facts dt { color: var(--gold); font-family: var(--font-m); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 0.25em; }
.spec-facts dd { color: var(--bone-70); font-weight: 340; font-size: 0.95em; }

@media (max-width: 1000px) {
  .vc-feats--trio, .spec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .vc-diagram { grid-template-columns: 1fr; }
  .dg-col--out { text-align: left; }
  .dg-hub::before, .dg-hub::after { display: none; }
  .vc-ba, .vc-split, .vc-feats--pair, .vc-feats--trio,
  .spec-grid, .vc-wide-strip { grid-template-columns: 1fr; }
  .spec-facts > div { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* placeholder frames that now hold real imagery */
.vc-shot-ph.has-img {
  background: none; border: 1px solid var(--hair-soft); padding: 0; overflow: hidden;
}
.vc-shot-ph.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* placeholder panels: label plus the pixel size that slot expects */
.vc-shot-ph { flex-direction: column; gap: 0.5rem; }
.ph-dims { color: var(--bone-25); opacity: 0.7; font-size: 0.62rem; }
