/* ══════════════════════════════════════════════════════════════════════════
   HEFYR v9 "PLATES" - design layer over styles.css (v8 Ink & Canvas)
   Photoreal plates of industrial plants, an instrument layer drawn on the asset,
   Palantir-scale display type and a handful of Off+Brand moments on the
   landing page. Brand palette unchanged (Source of Truth section 17): canvas,
   ink, one rust accent, gold for the second series. Load AFTER styles.css.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --night-0: #080A0D;            /* deepest plate black */
  --on: #F2EFE9;                 /* text on plates */
  --on-2: rgba(242, 239, 233, .82);
  --on-3: rgba(242, 239, 233, .64);
  --on-line: rgba(242, 239, 233, .16);
  --fs-display: clamp(38px, min(4.7vw, 8vh), 74px);
  --fs-h2: clamp(32px, 3.9vw, 58px);
  --fs-lead: clamp(17px, 1.3vw, 20px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --rail-h: 0px;                 /* v9: the telemetry rail is retired */
  --chrome-h: calc(var(--header-h) + var(--rail-h));
}

/* ── 1 · Type: Archivo (wide, engineered) for display, Inter for reading ─ */
@font-face { font-family: 'Archivo'; src: url('fonts/ArchivoVar.woff2') format('woff2-variations'), url('fonts/ArchivoVar.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
:root { --font-display: 'Archivo', 'Inter', 'Inter Fallback', system-ui, sans-serif; --wide: 108%; }
h1, h2, .h2, .d2, .statement-t, .vision-t, .pr-v { font-optical-sizing: auto; }
.h2, .head-row h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.03em; font-weight: 580; font-stretch: 106%; }
.head-row h2 { max-width: 16ch; }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.eyebrow { font-size: 12px; letter-spacing: .16em; }
.statement-t { font-size: clamp(30px, 4.1vw, 62px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 540; font-stretch: 104%; }
.vision-t { font-size: clamp(50px, 9vw, 150px); line-height: .94; letter-spacing: -0.038em; font-weight: 620; font-stretch: 112%; max-width: 11ch; }
.pr-v { font-family: var(--font-display); font-size: clamp(60px, 7.2vw, 116px); font-weight: 520; letter-spacing: -0.045em; font-stretch: 112%; }
.d2 { font-weight: 580; letter-spacing: -0.032em; font-stretch: 106%; }
.ind-card h3, .tile h3, .feature h3 { letter-spacing: -0.012em; font-stretch: 100%; }
.wordmark { font-stretch: 112%; }

/* ── 2 · Chrome over a night hero ──────────────────────────────────────── */
body.has-night-hero main { padding-top: 0; }
.site-header.on-hero { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.rail.on-hero { background: rgba(8, 10, 13, .22); border-bottom-color: rgba(242, 239, 233, .08); }
.rail.night-surface { --rail-bg: rgba(11, 14, 18, .72); }
.site-header.on-hero .nav-links a:not(:hover):not([aria-current]) { color: var(--on-2); }
.site-header.on-hero .kbd-hint, .site-header.on-hero .theme-mini, .site-header.on-hero .nav-burger { border-color: rgba(242, 239, 233, .22); }

/* ── 3 · Plate: the render, slowly alive ───────────────────────────────── */
.plate { position: relative; overflow: hidden; background: var(--night-0); isolation: isolate; margin: 0; }
.plate .pz { position: absolute; inset: 0; transform-origin: 0 50%; }            /* subject-aware base zoom (JS) */
.plate picture, .plate img { display: block; width: 100%; height: 100%; }
.plate img { position: absolute; inset: 0; object-fit: cover; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.plate.live img { animation: pl-push 9s cubic-bezier(.25, .1, .25, 1) both; }
@keyframes pl-push { from { transform: scale(1.012); } to { transform: scale(1.07); } }

/* ── 4 · Instrument layer: bracket, ping, leader, reading ──────────────── */
.inst { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.inst .brk { position: absolute; --c: 14px; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .55)); }
.inst .brk i { position: absolute; width: var(--c); height: var(--c); border: 0 solid rgba(242, 239, 233, .94); }
.inst .brk i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.inst .brk i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.inst .brk i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.inst .brk i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.inst .tag { position: absolute; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--on); white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .9); }
.inst .tag em { font-style: normal; color: rgba(242, 239, 233, .72); margin-left: 9px; }
.inst .ping { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--on); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 0 12px rgba(242, 239, 233, .45); }
.inst .ping::after { content: ''; position: absolute; inset: -3.5px; border-radius: 50%; border: 1px solid var(--on); opacity: 0; animation: pl-ping 2.6s ease-out 1.2s infinite; }
@keyframes pl-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(4.4); opacity: 0; } }
.inst svg.ldr { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.inst svg.ldr path { fill: none; stroke: rgba(242, 239, 233, .7); stroke-width: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .7)); }

/* the reading: frosted glass, readable over any part of any plate */
.chip { position: absolute; width: max-content; padding: 12px 16px 14px 14px; border-radius: 4px; color: var(--on);
  background: rgba(9, 12, 16, .64); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--on-line); box-shadow: 0 14px 36px rgba(0, 0, 0, .32); }
.chip .k { display: flex; align-items: center; gap: 8px; font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-2); white-space: nowrap; }
.chip .k::before { content: ''; width: 6px; height: 6px; background: var(--c-rust-bright); flex: none; }
.chip .v { margin-top: 8px; font: 560 34px/1 var(--font-display); font-stretch: 110%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; font-optical-sizing: auto; }
.chip .v small { font-size: 15px; font-weight: 500; color: var(--on-3); margin-left: 6px; letter-spacing: 0; }
.chip .m { margin-top: 6px; font-size: 13px; line-height: 1.3; color: var(--on-2); max-width: 24ch; }
.chip .s { margin-top: 11px; display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-3); white-space: nowrap; }
.st-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; }
.st-dot.meas { background: var(--on); box-shadow: 0 0 0 3px rgba(242, 239, 233, .14); }
.st-dot.mod { border: 1.5px solid var(--c-gold); }
.chip svg.spark { display: block; margin-top: 10px; width: 150px; height: 22px; overflow: visible; }
/* v9.4: on landscape tablets the hero copy fills the frame; the reading drops its trace to keep its distance */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) { .hx .chip svg.spark { display: none; } }
.spark path { fill: none; stroke: var(--on); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.spark .band { fill: rgba(242, 239, 233, .08); stroke: none; }
.spark circle { fill: var(--c-rust-bright); }
.chip.sm { padding: 10px 13px 11px 11px; }
.chip.sm .k { font-size: 10.5px; }
.chip.sm .v { margin-top: 7px; font-size: 27px; }
.chip.sm .v small { font-size: 12.5px; }
.chip.sm .s { margin-top: 8px; font-size: 10.5px; }

/* entrance: the reading is acquired, then drawn */
.inst .brk, .inst .chip, .inst .ping, .inst .tag { opacity: 0; }
.inst.on .brk { animation: acq .6s var(--ease-out) var(--d0, .25s) both; }
.inst.on .ping, .inst.on .tag { animation: fade .3s ease var(--d1, .7s) both; }
.inst.on .chip { animation: rise .65s var(--ease-out) var(--d2, .85s) both; }
.inst.on svg.ldr path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw .55s ease var(--d3, .55s) forwards; }
@keyframes acq { from { opacity: 0; transform: scale(1.22); } to { opacity: 1; transform: none; } }
/* acquisition sweep: one line of light passes down the bracket as it locks */
.inst .scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(242, 239, 233, .85) 30%, rgba(242, 239, 233, .85) 70%, transparent);
  box-shadow: 0 0 12px rgba(242, 239, 233, .5); }
.inst.on .scan { animation: scan 1.15s cubic-bezier(.45, 0, .2, 1) calc(var(--d0, .25s) + .3s) both; }
@keyframes scan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: .9; } 100% { top: 100%; opacity: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ── 5 · Home hero ─────────────────────────────────────────────────────── */
.hx { position: relative; height: 100svh; min-height: 660px; overflow: hidden; background: var(--night-0); color: var(--on); isolation: isolate; }
.hx-plates { position: absolute; inset: 0; z-index: 0; }
.hx-plates .plate { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hx-plates .plate.is-on { opacity: 1; }
.hx-scrim, .ph-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 10, 13, .84) 0%, rgba(8, 10, 13, .6) 27%, rgba(8, 10, 13, .18) 50%, rgba(8, 10, 13, 0) 64%),
              linear-gradient(180deg, rgba(8, 10, 13, .66) 0%, rgba(8, 10, 13, 0) 20%, rgba(8, 10, 13, 0) 56%, rgba(8, 10, 13, .82) 100%); }
.hx-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(128px, 15vh, 168px); pointer-events: none; }
.hx-copy .container-wide > * { pointer-events: auto; }
.hx .eyebrow, .ph .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--c-rust-bright); }
.hx .eyebrow::before, .ph .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; flex: none; }
.hx h1 { margin: 0; color: var(--on); font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; font-weight: 560; font-stretch: var(--wide); max-width: 11.6em; text-wrap: balance; }
.hx h1 .hl, .ph h1 .hl, .vision-t .hl { color: var(--c-rust-bright); }
.hx-sub { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 3vh, 30px); margin-top: clamp(20px, 3vh, 28px); }
.hx-sub .lead { margin: 0; max-width: 50ch; color: var(--on-2); }
.hx .btn-ghost, .ph .btn-ghost { border-color: rgba(242, 239, 233, .42); color: var(--on); }
.hx .btn-ghost:hover, .ph .btn-ghost:hover { border-color: var(--on); background: rgba(242, 239, 233, .08); }
.hx-foot { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding-bottom: 22px; }
.hx-foot .container-wide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: end; }
.hx-reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 18px; }
.hx-reel button { position: relative; display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; min-height: 58px; padding: 14px 0 0; background: none; border: 0; text-align: left; cursor: pointer;
  font: 400 12.5px/1.4 var(--font-ui); color: var(--on-3); transition: color .4s var(--ease); }
.hx-reel button b { display: block; font-size: 13.5px; font-weight: 600; color: inherit; letter-spacing: -0.005em; }
.hx-reel button span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-reel button::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(242, 239, 233, .2); }
.hx-reel button i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--on); transform: scaleX(0); transform-origin: left center; }
.hx-reel button.is-on { color: var(--on); }
.hx-reel button.is-on i { animation: hx-fill var(--dur, 7s) linear forwards; }
.hx-reel button.done i { transform: none; background: rgba(242, 239, 233, .45); }
.hx.paused .hx-reel button.is-on i, .hx.held .hx-reel button.is-on i { animation-play-state: paused; }
.hx-reel button:hover { color: var(--on); }
.hx-reel button:focus-visible { outline-offset: 4px; }
@keyframes hx-fill { to { transform: scaleX(1); } }
.hx-ctl { display: flex; align-items: center; gap: 14px; padding-bottom: 6px; }
.hx-note { margin: 0; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-3); white-space: nowrap; }
.hx-pause { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(242, 239, 233, .3); background: rgba(8, 10, 13, .3); color: var(--on);
  display: inline-grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s; }
.hx-pause:hover { border-color: var(--on); background: rgba(242, 239, 233, .08); }
.hx-pause svg { width: 12px; height: 12px; }
.hx-pause .ic-play { display: none; }
.hx.paused .hx-pause .ic-play { display: block; }
.hx.paused .hx-pause .ic-pause { display: none; }

/* ── 6 · Landing intro (first visit in a session) ──────────────────────────
   The plant boots as an instrument: a dial of ticks fills around the mark, a
   mechanical counter rolls to 100 and a short log checks itself off. Then the
   dial opens like an aperture onto the plant, and the opening widens until it
   is the whole screen. */
.intro { position: fixed; inset: 0; z-index: 1000; background: var(--night-0); color: var(--on); animation: intro-safety 0s linear 7s forwards; }
html:not(.js) .intro, html.intro-seen .intro, html.no-intro .intro { display: none; }
@keyframes intro-safety { to { visibility: hidden; pointer-events: none; } }
.intro::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(ellipse 60% 52% at 50% 46%, rgba(217, 116, 79, .07), transparent 70%),
              linear-gradient(rgba(242, 239, 233, .035) 1px, transparent 1px) 0 0 / 100% 64px; }
.intro.ap { -webkit-mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent var(--ap, 0px), #000 calc(var(--ap, 0px) + 1px));
  mask-image: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), transparent var(--ap, 0px), #000 calc(var(--ap, 0px) + 1px)); }
.intro-core { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 24px; }
.intro-dial-w { position: relative; width: clamp(164px, 21vmin, 212px); aspect-ratio: 1; opacity: 0; transform: scale(.94); transition: opacity .8s var(--ease-out), transform 1.2s var(--ease-out); }
.intro.go .intro-dial-w { opacity: 1; transform: none; }
.intro-dial { display: block; width: 100%; height: 100%; overflow: visible; }
.intro-dial line { stroke: rgba(242, 239, 233, .15); stroke-width: 1.15; stroke-linecap: round; transition: stroke .3s ease; }
.intro-dial line.mj { stroke-width: 1.6; }
.intro-dial line.on { stroke: rgba(242, 239, 233, .78); }
.intro-dial line.hd { stroke: var(--c-rust-bright); stroke-width: 2; }
.intro-dial .ring { fill: none; stroke: rgba(242, 239, 233, .13); stroke-width: 1; }
.intro-dial .orbit { fill: none; stroke: rgba(242, 239, 233, .34); stroke-width: 1; stroke-dasharray: 1 7; transform-origin: 120px 120px; animation: intro-orbit 36s linear infinite; }
@keyframes intro-orbit { to { transform: rotate(360deg); } }
.intro-logo { position: absolute; left: 50%; top: 50%; width: 21%; height: auto; transform: translate(-50%, -50%); transition: opacity .35s ease, transform .5s var(--ease-out); }
.intro-word { margin: 0; font: 600 12.5px/1 var(--font-display); font-stretch: 125%; letter-spacing: .56em; padding-left: .56em; color: var(--on); opacity: 0; transition: opacity .8s ease .2s; }
.intro.go .intro-word { opacity: 1; }
.intro-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 4vw, 56px) clamp(28px, 4.4vh, 48px); display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; transition: opacity .3s ease; }
.intro-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: min(430px, 100%); font: 500 11px/1.25 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-3); }
.intro-log li { display: flex; align-items: center; gap: 12px; opacity: .3; transition: opacity .35s ease, color .35s ease; }
.intro-log li::after { content: ''; order: 1; flex: 1 1 auto; min-width: 18px; border-bottom: 1px dotted rgba(242, 239, 233, .24); transform: translateY(-3px); }
.intro-log li b { font-weight: 500; color: inherit; }
.intro-log .st { order: 2; flex: none; width: 22px; display: grid; justify-items: end; }
.intro-log li.run { opacity: 1; color: var(--on); }
.intro-log li.done { opacity: .72; }
.intro-log li.done .st::before { content: 'OK'; color: var(--c-rust-bright); }
.intro-log li.run .st::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(242, 239, 233, .22); border-top-color: var(--c-rust-bright); animation: intro-spin .7s linear infinite; }
@keyframes intro-spin { to { transform: rotate(360deg); } }
.intro-tag { margin: 14px 0 0; font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-3); opacity: .75; }
.intro-read { margin: 0; display: grid; justify-items: end; gap: 10px; }
.intro-read .k { font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-3); }
.intro-read .v { display: flex; align-items: flex-start; gap: 6px; }
.intro-n { display: flex; font: 600 clamp(30px, 2.8vw, 40px)/1 var(--font-display); font-stretch: 112%; font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--on); }
.intro-n .od { display: block; height: 1.16em; overflow: hidden; margin-block: -.08em;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 .12em, #000 1.04em, transparent 1.16em); mask-image: linear-gradient(180deg, transparent 0, #000 .12em, #000 1.04em, transparent 1.16em); }
.intro-n .od-s { display: block; padding-top: .08em; will-change: transform; }
.intro-n .od-s i { display: block; height: 1em; font-style: normal; text-align: center; }
.intro-read small { font: 500 12px/1 var(--font-mono); color: var(--on-3); padding-top: 3px; }
.intro-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(242, 239, 233, .1); }
.intro-bar::after { content: ''; position: absolute; inset: -3px 0 0; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(25% - .5px), rgba(242, 239, 233, .35) calc(25% - .5px), rgba(242, 239, 233, .35) calc(25% + .5px), transparent calc(25% + .5px),
    transparent calc(50% - .5px), rgba(242, 239, 233, .35) calc(50% - .5px), rgba(242, 239, 233, .35) calc(50% + .5px), transparent calc(50% + .5px),
    transparent calc(75% - .5px), rgba(242, 239, 233, .35) calc(75% - .5px), rgba(242, 239, 233, .35) calc(75% + .5px), transparent calc(75% + .5px)); }
.intro-bar i { position: absolute; inset: 0; background: var(--c-rust-bright); transform: scaleX(var(--p, 0)); transform-origin: left center; }
.intro-rim { position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
  border: 1px solid rgba(242, 239, 233, .7); box-shadow: 0 0 0 1px rgba(217, 116, 79, .18), 0 0 34px rgba(217, 116, 79, .22); }
/* closing: the words go first, the mark steps back, then the dial opens */
.intro.closing .intro-foot, .intro.closing .intro-word { opacity: 0; transition: opacity .3s ease; }
.intro.closing .intro-logo { opacity: 0; transform: translate(-50%, -50%) scale(.82); }
.intro.wide .intro-dial-w { opacity: 0; transform: scale(1.06); transition: opacity .4s ease, transform .9s var(--ease-io); }
.intro.wide .intro-rim { opacity: 1; }
.intro.wide::before { opacity: 0; transition: opacity .5s ease; }
/* the hero waits under the intro, then lands */
.hx-plates { transition: transform 1.9s var(--ease-io); transform-origin: 62% 50%; }
html.intro-run .hx-plates { transform: scale(1.12); }
@media (max-width: 760px) {
  .intro-core { top: 40%; }
  .intro-foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .intro-read { justify-items: start; grid-auto-flow: column; align-items: end; justify-content: space-between; order: -1; }
  .intro-read .k { order: 2; }
}

/* ── 7 · Line reveal (headlines) and scrubbed statement ────────────────── */
[data-split] .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .ln > span { display: block; transform: translate3d(0, 108%, 0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 85ms + var(--d, 0ms)); }
[data-split].in .ln > span { transform: none; }
.rise { transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.rise.in { transform: none; }
[data-scrub] .w { opacity: var(--o, .14); transition: opacity .25s linear; }
/* until a script lifts them; the delayed fill shows them anyway if it never does */
html.js [data-split]:not(.in):not(.is-split), html.js .rise:not(.in) { opacity: 0; animation: js-safety 0s linear 4s forwards; }
html.js .rise.in { opacity: 1; }
@keyframes js-safety { to { opacity: 1; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── 8 · Marquee band: the industries, at scale ────────────────────────── */
.mq { position: relative; background: var(--night-0); color: var(--on); padding-block: clamp(26px, 3.6vw, 48px) clamp(30px, 4vw, 56px); overflow: hidden; border-top: 1px solid rgba(242, 239, 233, .07); }
.mq-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 28px; flex-wrap: wrap; margin-bottom: clamp(16px, 2.2vw, 26px); }
.mq-k { margin: 0; font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-3); }
.mq-k b { color: var(--on); font-weight: 500; }
.mq-vp { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 70s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-row { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); padding-right: clamp(22px, 3vw, 46px); margin: 0; padding-left: 0; list-style: none;
  font: 600 clamp(40px, 6vw, 96px)/1.05 var(--font-display); font-stretch: 116%; letter-spacing: -0.035em; white-space: nowrap; }
.mq-row span { color: rgba(242, 239, 233, .26); transition: color .35s var(--ease); }
.mq-row span:hover { color: var(--on); }
.mq-row i { width: .14em; height: .14em; background: var(--c-rust-bright); flex: none; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }

/* ── 9 · Industry tiles ────────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 3.4vw, 52px) clamp(18px, 2vw, 28px); }
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tile .plate { aspect-ratio: 16 / 10.2; border-radius: 6px; }
.tile .plate img { transition: transform 1.4s var(--ease-out); transform: scale(1.012); }
.tile:hover .plate img, .tile:focus-within .plate img { transform: scale(1.05); }
.tile .plate::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 13, .38) 0%, rgba(8, 10, 13, 0) 30%, rgba(8, 10, 13, 0) 58%, rgba(8, 10, 13, .74) 100%); }
.tile .foot { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 12px; margin: 0; display: flex; justify-content: space-between; gap: 12px;
  font: 500 11px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-2); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.tile .foot span:last-child { color: var(--on-3); }
.tile .inst .brk { --c: 11px; transition: inset .5s var(--ease-out); }
.tile .chip { transition: transform .5s var(--ease-out); }
.tile:hover .chip { transform: translateY(-2px); }
.tile-k { margin: 22px 0 8px; display: flex; align-items: center; gap: 10px; font: 600 12px/1.2 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); font-feature-settings: 'case', 'tnum'; }
.tile-k .ix { font-family: var(--font-mono); font-weight: 500; letter-spacing: .04em; color: var(--text-dim); }
.tile h3 { margin: 0; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.24; font-weight: 600; color: var(--text); text-wrap: balance; }
.tile p.t { margin: 9px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--text-muted); }
.tile .link-arrow { margin-top: 16px; align-self: flex-start; }
.tile-cover { position: absolute; inset: 0; z-index: 5; border-radius: 8px; } /* the whole tile is the link; the visible link is the one in the tab order */
.tile .link-arrow { position: relative; z-index: 6; }
.tile:has(.link-arrow:focus-visible) { outline: 2px solid var(--accent-bright); outline-offset: 6px; border-radius: 8px; }
.tile:has(.link-arrow:focus-visible) .link-arrow { outline: none; }
.tile.in-view .plate { animation: tile-in 1.1s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes tile-in { from { clip-path: inset(18% 0 0 0 round 6px); } to { clip-path: inset(0 0 0 0 round 6px); } }
.tiles-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 18px; flex-wrap: wrap; margin-top: clamp(28px, 3vw, 40px); padding-top: 18px; border-top: 1px solid var(--line); }
.tiles-foot .sec-note { margin: 0; }

/* ── 10 · Page heroes on a plate (every inner page) ────────────────────── */
.page-hero.ph { position: relative; min-height: clamp(580px, 88svh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding: calc(var(--chrome-h) + 56px) 0 clamp(40px, 6vh, 76px); border-bottom: 0; background: var(--night-0); color: var(--on); }
.ph > .plate, .ph > .hx-plates { position: absolute; inset: 0; z-index: 0; }
.ph .container-wide { position: relative; z-index: 3; width: 100%; }
.page-hero.ph h1 { color: var(--on); font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; font-weight: 560; font-stretch: var(--wide); max-width: 12em; }
.page-hero.ph h1.wide { max-width: 13.5em; font-size: clamp(36px, min(4.4vw, 7.6vh), 68px); }
.page-hero.ph .lead { color: var(--on-2); max-width: 54ch; margin-top: 24px; }
.page-hero.ph .hero-meta { color: var(--on-3); margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(242, 239, 233, .14); max-width: 860px; }
.page-hero.ph .hero-meta b { color: var(--on); }
.ph-ctl { position: absolute; z-index: 4; right: clamp(20px, 4vw, 56px); bottom: clamp(18px, 3vh, 28px); display: flex; align-items: center; gap: 14px; }
.ph-note { position: absolute; z-index: 3; right: clamp(20px, 4vw, 56px); bottom: clamp(18px, 3vh, 28px); margin: 0; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-3); }

/* industries page: each of the six on its plate */
.feature > .plate.fx { aspect-ratio: 16 / 10; border-radius: 6px; }
.feature:nth-of-type(even) > .plate.fx { order: 2; }
.feature .plate.fx::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 13, .34) 0%, rgba(8, 10, 13, 0) 32%, rgba(8, 10, 13, 0) 62%, rgba(8, 10, 13, .66) 100%); }
.feature .plate.fx .foot { position: absolute; z-index: 3; left: 14px; bottom: 12px; margin: 0; font: 500 11px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-2); }

/* ── 11 · Vision on a plate ────────────────────────────────────────────── */
.vision.has-plate { background: var(--night-0); isolation: isolate; }
.vision.has-plate::before { z-index: 1; background: linear-gradient(90deg, rgba(8, 10, 13, .9) 0%, rgba(8, 10, 13, .66) 46%, rgba(8, 10, 13, .38) 100%),
  linear-gradient(180deg, rgba(8, 10, 13, .5) 0%, rgba(8, 10, 13, 0) 30%, rgba(8, 10, 13, 0) 70%, rgba(8, 10, 13, .7) 100%); }
.vision.has-plate > .plate { position: absolute; inset: 0; z-index: 0; }
.vision.has-plate .container-wide { z-index: 2; }

/* ── 12 · Small refinements across the site ────────────────────────────── */
.head-row { margin-bottom: clamp(36px, 4.4vw, 64px); }
.head-row .lead { font-size: clamp(16.5px, 1.2vw, 19px); }
.proof-row { border-top-color: var(--text); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; }

/* ── 13 · Phones and tablets ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-reel button span { display: none; }
}
/* short laptop screens: the headline gives up a little height, the lead a little width */
@media (max-height: 820px) and (min-width: 761px) {
  :root { --fs-display: clamp(36px, min(4.6vw, 6.9vh), 66px); }
  .hx-sub .lead { max-width: 60ch; }
  .hx .eyebrow, .ph .eyebrow { margin-bottom: 16px; }
}

/* stacked heroes: phones, and tablets held upright - the plate takes the top band, the copy sits below it */
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .hx { height: auto; min-height: 100svh; display: flex; flex-direction: column; }
  .hx-plates { position: relative; inset: auto; height: clamp(320px, 50svh, 560px); flex: none; }
  .hx-scrim { bottom: auto; height: clamp(320px, 50svh, 560px);
    background: linear-gradient(180deg, rgba(8, 10, 13, .66) 0%, rgba(8, 10, 13, 0) 30%, rgba(8, 10, 13, 0) 62%, var(--night-0) 100%); }
  .hx-copy { position: relative; bottom: auto; margin-top: -36px; padding-bottom: 24px; }
  .hx h1 { font-size: clamp(32px, 6.6vw, 58px); line-height: 1.03; letter-spacing: -0.035em; }
  .hx-sub { margin-top: 18px; }
  .hx-foot { position: relative; padding-bottom: 18px; }
  .hx-foot .container-wide { grid-template-columns: minmax(0, 1fr) auto; }
  .hx-reel { gap: 6px; }
  .hx-reel button { min-height: 44px; padding-top: 0; }
  .hx-reel button::before, .hx-reel button i { top: 21px; }
  .hx-reel button b, .hx-reel button span { display: none; }
  .hx-note { display: none; }
  .page-hero.ph { min-height: 0; display: block; padding: 0 0 40px; }
  .ph > .plate, .ph > .hx-plates { position: relative; inset: auto; height: clamp(300px, 46svh, 520px); }
  .ph-scrim { bottom: auto; height: clamp(300px, 46svh, 520px);
    background: linear-gradient(180deg, rgba(8, 10, 13, .66) 0%, rgba(8, 10, 13, 0) 32%, rgba(8, 10, 13, 0) 64%, var(--night-0) 100%); }
  .ph .container-wide { margin-top: -28px; }
  .page-hero.ph h1, .page-hero.ph h1.wide { font-size: clamp(31px, 6.4vw, 56px); line-height: 1.04; }
  .ph-note { display: none; }
  .ph-ctl { bottom: auto; top: calc(clamp(300px, 46svh, 520px) - 58px); right: 14px; }
  .ph-ctl .hx-note { display: none; }
}
@media (max-width: 900px) { .hx-reel button b, .hx-reel button span { display: none; } .hx-reel button { min-height: 44px; } }
@media (max-width: 760px) {
  .hx h1 { font-size: clamp(32px, 8.6vw, 40px); line-height: 1.04; }
  .hx-sub .lead { font-size: 15.5px; }
  .hx .hero-actions { width: 100%; flex-direction: column; }
  .hx .hero-actions .btn { width: 100%; }
  .tiles { grid-template-columns: 1fr; gap: 40px; }
  .tile .foot span:last-child { display: none; }
  .page-hero.ph h1, .page-hero.ph h1.wide { font-size: clamp(31px, 8.4vw, 40px); line-height: 1.05; }
  .mq-row { font-size: 40px; }
  .feature:nth-of-type(even) > .plate.fx { order: 0; }
  .chip .v { font-size: 30px; }
}

/* ── 16 · The problem: four leaks, and the gap between the systems ─────────
   Report-like on the canvas: four leak cards with one big number each, why it
   leaks, and one plant-sized example; then a night panel that draws the gap:
   every system's line runs toward the crew and stops short. */
.pb { overflow: clip; }
.pb-head { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: 18px clamp(28px, 5vw, 88px); align-items: end; margin-bottom: clamp(36px, 4.4vw, 64px); }
.pb-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.pb-t { max-width: 25ch; font-size: clamp(32px, 4vw, 58px); line-height: 1.04; }
.pb-lead { margin: 0 0 .5em; max-width: 34ch; color: var(--text-muted); }
.pb-lead b { color: var(--text); font-weight: 600; }
.leaks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
/* the cards share their rows, so every number, reason and example lines up across the four */
.leak { position: relative; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; min-width: 0; padding: 24px 24px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .4s ease, transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.leak::before { content: ''; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease-out); }
.leak:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(35, 42, 51, .35); }
.leak:hover::before { transform: scaleX(1); }
.lk-h { display: flex; align-items: center; gap: 12px; }
.lk-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent-08); }
.lk-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lk-h h3 { margin: 0; font: 600 11.5px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lk-n { margin-left: auto; font: 500 11px/1 var(--font-mono); color: var(--text-dim); letter-spacing: .08em; }
.lk-v { margin: 26px 0 10px; display: flex; align-items: baseline; font: 600 clamp(46px, 4.4vw, 70px)/.94 var(--font-display); font-stretch: 108%; letter-spacing: -0.035em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lk-v small { margin-left: .06em; font-size: .4em; font-weight: 560; letter-spacing: -0.01em; color: var(--text-muted); }
.lk-v sub { font-size: .7em; vertical-align: -0.2em; }
.lk-s { margin: 0; font-size: 15px; line-height: 1.52; color: var(--text-muted); }
.lk-s b { color: var(--text); font-weight: 600; }
.lk-k { margin: 0 0 7px; font: 600 10.5px/1.3 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.lk-why { margin-top: 20px; padding: 13px 15px 14px; background: var(--surface-2); border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0; }
.lk-why p:last-child { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.lk-eg { align-self: end; }
.lk-eg::before { content: ''; display: block; margin: 22px 0 16px; border-top: 1px dashed var(--line-strong); }
.lk-eg p:last-child, .lk-list { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.lk-eg em, .gap-foot em { font-style: normal; font: 600 1.18em/1 var(--font-display); font-stretch: 104%; letter-spacing: -0.01em; color: var(--accent); white-space: nowrap; }
.lk-list { list-style: none; padding: 0; display: grid; gap: 3px; }
.lk-list li { display: flex; justify-content: space-between; gap: 12px; }

.gap { position: relative; margin-top: 14px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); overflow: hidden; color: var(--on);
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  background: radial-gradient(ellipse 60% 70% at 88% 40%, rgba(217, 116, 79, .1), transparent 70%),
              linear-gradient(rgba(242, 239, 233, .03) 1px, transparent 1px) 0 0 / 100% 40px,
              linear-gradient(90deg, rgba(242, 239, 233, .03) 1px, transparent 1px) 0 0 / 40px 100%, #0C1015; }
.gap .eyebrow { color: var(--c-rust-bright); margin-bottom: 18px; }
.gap-t { margin: 0; font: 560 clamp(26px, 2.7vw, 42px)/1.1 var(--font-display); font-stretch: 104%; letter-spacing: -0.024em; color: var(--on); text-wrap: balance; }
.gap-t .hl { color: var(--c-rust-bright); }
.gap-viz { position: relative; display: grid; grid-template-columns: minmax(250px, 1.6fr) minmax(36px, .8fr) clamp(50px, 5vw, 84px) auto; align-items: center; }
.gap-sys { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; position: relative; z-index: 1; }
.gap-sys li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 1px solid var(--on-line); border-radius: 8px; background: rgba(12, 16, 21, .9); }
.gap-sys span { text-align: right; }
.gap-sys { grid-column: 1; grid-row: 1; }
.gap-zone { grid-column: 3; grid-row: 1; }
.gap-crew { grid-column: 4; grid-row: 1; }
.gap-sys b { font: 600 13.5px/1.2 var(--font-ui); color: var(--on); }
.gap-sys span { font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-3); }
.gap-zone { align-self: stretch; position: relative; margin: 0 8px; border-inline: 1px dashed rgba(217, 116, 79, .45);
  background: repeating-linear-gradient(-45deg, rgba(217, 116, 79, .07) 0 1px, transparent 1px 9px); }
.gap-zone span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; font: 600 10.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-rust-bright); background: #0C1015; padding: 4px 8px; }
.gap-crew { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 120px; }
.gap-crew i { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(242, 239, 233, .55); font: 600 22px/1 var(--font-display); font-style: normal; color: var(--on); }
.gap-crew i::before { content: '?'; }
.gap-crew i::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--c-rust-bright); opacity: 0; }
.gap-viz.on .gap-crew i::after { animation: gap-ring 2.6s var(--ease-out) infinite; }
@keyframes gap-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.gap-crew b { margin-top: 6px; font: 600 15px/1.2 var(--font-ui); color: var(--on); }
.gap-crew span { font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-3); }
.gap-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gap-lines path { fill: none; stroke: rgba(217, 192, 149, .45); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 200ms); }
.gap-viz.on .gap-lines path { stroke-dashoffset: 0; }
.gap-lines .end { fill: #0C1015; stroke: rgba(217, 192, 149, .8); stroke-width: 1.2; opacity: 0; transition: opacity .4s ease; transition-delay: calc(var(--i, 0) * 90ms + 1300ms); }
.gap-viz.on .gap-lines .end { opacity: 1; }
.gap-lines .pulses { opacity: 0; transition: opacity .6s ease 1.6s; }
.gap-viz.on .gap-lines .pulses { opacity: 1; }
.gap-lines .pulses circle { fill: var(--c-gold-bright); }
.gap-foot { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 28px; align-items: baseline; padding-top: 24px; border-top: 1px solid var(--on-line); }
.gap-k { margin: 0; font: 600 11px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-bright); white-space: nowrap; }
.gap-foot p:last-child { margin: 0; max-width: 92ch; font-size: 16px; line-height: 1.6; color: var(--on-2); }
.gap-foot em { color: var(--c-gold-bright); }
.pb-src { margin: 20px 0 0; max-width: 128ch; font-size: 12px; line-height: 1.55; color: var(--text-dim); }
@media (max-width: 1180px) {
  .leaks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gap { grid-template-columns: minmax(0, 1fr); }
  .pb-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .leaks { grid-template-columns: minmax(0, 1fr); }
  .leak { padding: 22px 20px 20px; }
  .gap { padding: 26px 20px 24px; }
  .gap-viz { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 72px 56px auto; }
  .gap-sys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gap-sys li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .gap-sys span { text-align: left; }
  .gap-sys { grid-column: 1; grid-row: 1; }
  .gap-zone { grid-column: 1; grid-row: 3; }
  .gap-crew { grid-column: 1; grid-row: 4; padding-top: 14px; }
  .gap-zone { margin: 8px 0; border-inline: 0; border-block: 1px dashed rgba(217, 116, 79, .45); }
  .gap-zone span { transform: translate(-50%, -50%); }
  .gap-sys li { padding: 9px 10px; }
  .gap-foot { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .gap-lines path { stroke-dashoffset: 0; transition: none; }
  .gap-lines .end { opacity: 1; transition: none; }
  .gap-viz.on .gap-crew i::after { animation: none; }
}

/* ── 15 · Hero scroll: the plant becomes its own model ─────────────────────
   The hero holds for one screen of scrolling. The copy lifts away, a scan line
   passes down the plate and leaves the plant drawn as its model (gold line work:
   gold means modelled), and one line says what happened. Phones and upright
   tablets get the scan alone, on the plate band, without the hold. */
.hx-pin { position: relative; }
.hx-pin.on { height: calc(100svh + var(--pin, 100svh)); }
.hx-pin.on > .hx { position: sticky; top: 0; }
.hx-pin.on .hx-plates .plate { transform: scale(var(--hz, 1)); transform-origin: var(--hox, 62%) var(--hoy, 50%); will-change: transform; }
.plate .mvw { position: absolute; inset: 0; z-index: 1; pointer-events: none; clip-path: inset(0 0 calc(100% - var(--scan, 0%)) 0); }
.hx-scrim { opacity: var(--scrim-o, 1); }
.hx-copy { opacity: var(--copy-o, 1); transform: translate3d(0, var(--copy-y, 0px), 0); }
.hx-foot .container-wide { opacity: var(--foot-o, 1); }
.hx.modelling .hx-copy .container-wide > *, .hx.modelling .hx-foot { pointer-events: none; }
.hx.modelling .hx-copy, .hx.modelling .hx-foot .container-wide { visibility: var(--copy-vis, visible); }
.hx-scan { position: absolute; z-index: 2; left: 0; right: 0; top: var(--scan-y, 0px); height: 0; pointer-events: none; opacity: var(--scan-o, 0); }
.hx-scan::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 16vh, 160px);
  background: linear-gradient(180deg, rgba(217, 192, 149, 0), rgba(217, 192, 149, .08)); }
.hx-scan i { position: absolute; left: 0; right: 0; top: -.5px; height: 1px;
  background: linear-gradient(90deg, rgba(217, 192, 149, 0), rgba(217, 192, 149, .85) 16%, var(--c-rust-bright) 50%, rgba(217, 192, 149, .85) 84%, rgba(217, 192, 149, 0));
  box-shadow: 0 0 14px rgba(217, 116, 79, .6), 0 0 2px rgba(217, 116, 79, .9); }
.hx-scan span { position: absolute; right: clamp(20px, 4vw, 56px); bottom: 10px; display: flex; gap: 10px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-gold-bright); white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.hx-scan span b { font-weight: 500; color: var(--on); font-variant-numeric: tabular-nums; }
.hx-model { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(128px, 15vh, 168px); pointer-events: none;
  opacity: var(--cap-o, 0); transform: translate3d(0, var(--cap-y, 34px), 0); }
.hx-model .eyebrow { color: var(--c-gold-bright); }
.hx-model .eyebrow::before { background: var(--c-gold-bright); }
.hx-model-t { margin: 0; color: var(--on); font: 560 var(--fs-display)/1.02 var(--font-display); font-stretch: var(--wide); letter-spacing: -0.03em; max-width: 9.6em; text-wrap: balance;
  text-shadow: 0 2px 28px rgba(8, 10, 13, .9), 0 0 2px rgba(8, 10, 13, .6); }
.hx-model .eyebrow, .hx-model-k { text-shadow: 0 1px 12px rgba(8, 10, 13, .95); }
.hx-model-t .hl { color: var(--c-gold-bright); }
.hx-model-k { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 11px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-3); }
.hx-model-k span { display: inline-flex; align-items: center; gap: 8px; }
.hx-model-k i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.hx-model-k .meas i { background: var(--on); }
.hx-model-k .mod i { border: 1.5px solid var(--c-gold-bright); }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .hx-model { display: none; }
  .hx-scan span { bottom: 8px; right: 14px; }
}

/* ── 17 · v9.4 The eighteen: one visual and the name each ───────────────
   Two rows of plates drift in opposite directions (each row doubled by
   plates.js for a seamless loop, clones hidden from assistive tech). Not
   links, by design (CEO review 2026-11-26). Hover holds the drift. */
.ib { position: relative; background: var(--night-0); color: var(--on); padding-block: clamp(56px, 7vw, 112px); overflow: hidden; border-top: 1px solid rgba(242, 239, 233, .07); }
.ib-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.2vw, 44px); }
.ib-t { margin: 0; font: 520 clamp(26px, 3.1vw, 46px)/1.04 var(--font-display); font-stretch: var(--wide); letter-spacing: -0.03em; color: var(--on-3); }
.ib-t b { color: var(--on); font-weight: 620; }
.ib-k { margin: 0; display: flex; gap: 22px; font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-3); }
.ib-k b { color: var(--c-rust-bright); font-weight: 500; margin-left: 5px; }
.ib-vp { --g: clamp(10px, 1.1vw, 16px); display: grid; gap: var(--g); overflow-x: auto; scrollbar-width: none; }
.ib-vp::-webkit-scrollbar { display: none; }
.js .ib-vp { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ib-row { display: flex; gap: var(--g); padding: 0 var(--g) 0 0; margin: 0; width: max-content; list-style: none; }
.ib.on .ib-row { animation: ib 150s linear infinite; }
.ib.on .ib-row.rev { animation-direction: reverse; animation-duration: 170s; }
.ib-vp:hover .ib-row { animation-play-state: paused; }
@keyframes ib { to { transform: translate3d(-50%, 0, 0); } }
.ib-tile { position: relative; flex: none; width: clamp(236px, 25vw, 400px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #0e1116; isolation: isolate; }
.ib-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); filter: saturate(.9) brightness(.9); transition: transform 1.4s var(--ease-out), filter .7s var(--ease-out); }
.ib-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(242, 239, 233, .06);
  background: linear-gradient(180deg, rgba(8, 10, 13, 0) 44%, rgba(8, 10, 13, .8) 100%); }
.ib-tile:hover img { transform: scale(1.06); filter: none; }
.ib-n { position: absolute; z-index: 1; left: clamp(14px, 1.2vw, 18px); bottom: clamp(11px, 1vw, 15px); font: 600 clamp(16px, 1.3vw, 20px)/1.1 var(--font-display); font-stretch: 104%; letter-spacing: -0.01em; color: var(--on); text-shadow: 0 1px 14px rgba(8, 10, 13, .55); }
@media (max-width: 760px) { .ib-tile { width: 64vw; } .ib-k { gap: 16px; } }

/* ── 18 · v9.4 What HEFYR is: one paragraph, read as you scroll ────────── */
.wh { padding-block: clamp(84px, 10vw, 156px); }
.wh .eyebrow { margin-bottom: clamp(18px, 2vw, 28px); }
.wh-t { margin: 0; max-width: 1180px; font: 520 clamp(27px, 3vw, 48px)/1.12 var(--font-display); font-stretch: 104%; letter-spacing: -0.026em; color: var(--text); text-wrap: pretty; }
.wh-t .hl { color: var(--c-rust-bright); }
[data-theme="daylight"] .wh-t .hl { color: var(--c-rust, var(--accent)); }
.wh-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; max-width: 1180px; margin-top: clamp(30px, 3.6vw, 52px); padding-top: clamp(20px, 2.2vw, 28px); border-top: 1px solid var(--line); }
.wh-foot .lead { margin: 0; max-width: 56ch; font-size: var(--fs-lead); color: var(--text-muted); }

/* ── 19 · v9.4 Founders strip (landing) and portraits (company) ─────────
   A portrait slot shows the founder's role until a photograph is dropped in
   as <img> inside .fs-ph / .f-ph (founders supply the photos). */
.fs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 2.8vw, 36px); }
.fs-head .eyebrow { margin-bottom: 14px; }
.fs-t { margin: 0; font: 580 clamp(26px, 2.7vw, 40px)/1.05 var(--font-display); font-stretch: var(--wide); letter-spacing: -0.03em; color: var(--text); }
.fs-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fs-p { display: grid; grid-template-columns: 60px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); }
.fs-p + .fs-p { padding-left: 18px; border-left: 1px solid var(--line); }
.fs-p b { grid-column: 2; align-self: end; font-size: 16.5px; font-weight: 600; color: var(--text); }
.fs-p > span:last-child { grid-column: 2; align-self: start; font-size: 14px; color: var(--text-muted); }
.fs-ph, .f-ph { position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(120% 100% at 28% 18%, #2a3037 0%, #0f1216 72%); color: rgba(242, 239, 233, .86); box-shadow: inset 0 0 0 1px rgba(242, 239, 233, .14); }
.fs-ph { grid-row: 1 / 3; width: 60px; height: 60px; border-radius: 50%; }
.fs-ph i, .f-ph i { font-style: normal; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; }
.fs-ph img, .f-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) {
  .fs-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-p:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .fs-row { grid-template-columns: minmax(0, 1fr); }
  .fs-p + .fs-p { padding-left: 0; border-left: 0; }
}
.founder { grid-template-columns: 112px minmax(0, 1fr); }
.f-ph { width: 112px; aspect-ratio: 4 / 5; border-radius: 3px; }
.f-ph i { font-size: 12px; }
.f-ph::after { content: ''; position: absolute; left: 12px; top: 12px; width: 18px; height: 2px; background: var(--c-rust-bright); }
@media (max-width: 560px) { .founder { grid-template-columns: 84px minmax(0, 1fr); } .f-ph { width: 84px; } }

/* ── 20 · v9.4 Industries on Platform: visual, four leaks, where data lives */
.ind-gh { display: flex; align-items: baseline; gap: 12px; margin: clamp(36px, 4vw, 56px) 0 clamp(16px, 1.8vw, 24px); font: 580 clamp(20px, 1.7vw, 26px)/1.1 var(--font-display); font-stretch: var(--wide); letter-spacing: -0.02em; color: var(--text); }
.ind-gh:first-of-type { margin-top: 0; }
.ind-gh span { font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; color: var(--text-dim); }
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.ind-card { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); overflow: hidden; scroll-margin-top: calc(var(--chrome-h) + 24px); }
.ind-fig { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0e1116; }
.ind-fig img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
.ind-card:hover .ind-fig img { transform: scale(1.035); }
.ind-fig::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 10, 13, 0) 50%, rgba(8, 10, 13, .78) 100%); }
.ind-fig figcaption { position: absolute; z-index: 1; left: 18px; bottom: 14px; font: 600 clamp(19px, 1.5vw, 23px)/1.1 var(--font-display); font-stretch: 104%; letter-spacing: -0.015em; color: var(--on); text-shadow: 0 1px 14px rgba(8, 10, 13, .55); }
.ind-leaks { margin: 0; padding: 18px 20px 6px; display: grid; gap: 10px; }
.ind-leaks div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
.ind-leaks dt { font: 500 10.5px/1.75 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.ind-leaks dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.ind-data { margin: 0; padding: 14px 20px 18px; display: flex; flex-wrap: wrap; gap: 6px; align-content: start; border-top: 1px dashed var(--line); }
.ind-data > b { flex-basis: 100%; margin-bottom: 2px; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.ind-data span { padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; line-height: 1.3; color: var(--text-muted); }
.ind-src { margin: clamp(24px, 2.6vw, 34px) 0 0; max-width: 128ch; font-size: 12px; line-height: 1.55; color: var(--text-dim); }
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .ind-grid { grid-template-columns: minmax(0, 1fr); } .ind-leaks div { grid-template-columns: 84px minmax(0, 1fr); } }

/* ── 14 · Reduced motion: every frame lands still ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .plate.live img { animation: none; transform: scale(1.02); }
  .inst .brk, .inst .chip, .inst .ping, .inst .tag { opacity: 1; animation: none !important; }
  .inst svg.ldr path { animation: none !important; stroke-dasharray: none; stroke-dashoffset: 0; }
  .inst .ping::after { animation: none; }
  .inst .scan { display: none; }
  [data-split] .ln > span, .rise { transform: none !important; opacity: 1 !important; transition: none !important; }
  [data-scrub] .w { opacity: 1 !important; }
  .mq-track { animation: none; }
  .ib-row { animation: none !important; }
  .js .ib-vp { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ib-tile img, .ind-fig img { transition: none; }
  .tile.in-view .plate { animation: none; }
  .hx-reel button.is-on i { animation: none; transform: none; }
  .intro { display: none; }
  .hx-scan, .hx-model, .plate .mvw { display: none; }
}
