/* AIMRIS — variant C, "Hi-vis".
   Cinematic camera chapters over a white Swiss page. The one ornament is the
   chapter rail: segmented two-tone retroreflective tape (amber | silver | amber),
   lit from the top down as you descend through the cameras. */

:root {
  --ink: #14151a;
  --ink-2: #24262d;
  --paper: #ffffff;
  --band: #f5f5f4;
  --line: #e3e3e1;
  --line-2: #cfcecb;
  --muted: #474b51;
  --muted-2: #62656c;

  --amber: #f5a800;
  --amber-hot: #ffb733;
  --amber-press: #d98c00;
  --gold: #a26a05;
  --navy: #18345d;

  --alert: #c8382a;
  --alert-ui: #ba3327;
  --clear: #16764a;
  --clear-ui: #16764a;
  --error: #7a1a10;

  /* retroreflective tape */
  --tape: #a9aeb1;
  --tape-hi: #c9cdcf;
  --tape-lo: #8d9295;
  --tape-lit: #f6f8f9;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad: clamp(16px, 4.4vw, 72px);
  --header-h: 64px;
  --rail-h: 0px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --focus: var(--amber);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--tape) var(--ink);
  background: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber); color: var(--ink); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--tape); border: 3px solid var(--ink); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

img, video, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 600;
  border-radius: 4px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 0; border-radius: 4px; cursor: pointer;
  font-family: var(--font); font-size: 15px; font-weight: 650; line-height: 1;
  letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-hot); }
.btn-amber:active { background: var(--amber-press); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .72); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2d3038; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--pad);
  color: #fff;
  /* a backing over bright footage: the header reads at any point of any clip */
  background: rgba(20, 21, 26, .55);
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.brand { display: inline-flex; align-items: center; border-radius: 2px; margin-right: auto; }
.logo { width: 104px; height: auto; aspect-ratio: 97 / 32; color: #fff; overflow: visible; }
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  font-size: 15px; font-weight: 550; text-decoration: none;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
}
.site-nav a:hover { border-bottom-color: currentColor; }
.header-cta { min-height: 40px; padding: 0 16px; font-size: 14.5px; }

.site-header[data-mode="light"] {
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header[data-mode="light"] .logo { color: var(--navy); }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: #120f16;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
/* Scrim in the aerial's own darks (night city, #120f16), only where the type sits. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 95% at 0% 100%, rgba(18, 15, 22, .92) 0%, rgba(18, 15, 22, .78) 34%, rgba(18, 15, 22, .34) 62%, rgba(18, 15, 22, 0) 82%);
}
.hero-copy { max-width: none; margin: 0; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(40px, 7vh, 80px); }
.hero-title {
  font-weight: 900; font-stretch: 62%;
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: .86; letter-spacing: 0;
  text-transform: uppercase;
  max-width: 10.4em; text-wrap: balance;
}
.hero-lead {
  margin-top: clamp(18px, 2.2vw, 28px);
  max-width: 34em;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5;
  color: rgba(255, 255, 255, .9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 32px); }
.hero-journal { margin-top: clamp(22px, 3vh, 32px); }
.hero-note {
  position: absolute; right: var(--pad); bottom: 20px;
  font-size: 12.5px; line-height: 1; color: rgba(255, 255, 255, .88);
  padding: 6px 9px; border-radius: 3px; background: rgba(18, 15, 22, .72);
}

/* ------------------------------------------------------------ chapters */
.chapters { position: relative; background: var(--ink); color: #fff; }

.chapter { position: relative; background: rgb(var(--scrim)); }
.stage { position: relative; }
.media { position: relative; overflow: hidden; background: rgb(var(--scrim)); }
.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: 0; }
.scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hud {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hud > span { padding: 6px 8px; border-radius: 2px; background: rgb(var(--scrim) / .78); white-space: nowrap; }
.hud-cam { display: inline-flex; align-items: center; gap: 7px; }
.hud-cam::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hud-ai { font-family: var(--font); font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .88); }

.statement {
  font-weight: 900; font-stretch: 62%;
  font-size: clamp(46px, 6vw, 112px);
  line-height: .86; letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.body {
  margin-top: clamp(14px, 1.6vw, 20px);
  font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  max-width: 31em;
  text-wrap: pretty;
}

/* journal readout: a short stack of rows, newest on top */
.journal { position: relative; margin-top: clamp(18px, 2vw, 24px); height: 92px; max-width: 470px; }
.jrow {
  position: absolute; inset: 0 0 auto 0;
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px;
  height: 76px; padding: 6px 12px 6px 6px;
  background: rgba(17, 18, 22, .9);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 40px -24px rgba(0, 0, 0, .7);
  color: #fff;
  transform-origin: 50% 100%;
  transform: translateY(calc(var(--k, 0) * 8px)) scale(calc(1 - var(--k, 0) * .04));
  opacity: calc(1 - var(--k, 0) * .38);
  transition: transform .45s var(--ease-out), opacity .45s var(--ease-out);
}
@supports (backdrop-filter: blur(1px)) {
  .jrow { background: rgba(17, 18, 22, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.jthumb { position: relative; width: 96px; height: 64px; border-radius: 2px; overflow: hidden; background: #24262b; }
.jthumb canvas { width: 100%; height: 100%; }
.jthumb::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.jtext { min-width: 0; }
.jmeta {
  display: flex; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.2; color: rgba(255, 255, 255, .74);
  font-variant-numeric: tabular-nums;
}
.jtitle {
  margin-top: 4px; font-size: 15px; font-weight: 650; line-height: 1.2;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.jdetail { margin-top: 2px; font-size: 13px; line-height: 1.25; color: rgba(255, 255, 255, .76); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jstatus {
  align-self: start; margin-top: 5px;
  font-size: 12px; font-weight: 650; line-height: 1; padding: 5px 7px; border-radius: 2px;
  background: var(--alert-ui); color: #fff;
}
.jrow[data-status="logged"] .jstatus { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.jrow[data-kind="entry"] .jstatus { background: var(--clear-ui); box-shadow: none; }

/* the authored moment: the row is written left to right, the photo flashes as it is taken */
.jrow.is-new { animation: jwrite .7s var(--ease-out) both; }
.jrow.is-new .jthumb::after { animation: jflash .55s ease-out .08s both; }
@keyframes jwrite {
  from { clip-path: inset(0 100% 0 0 round 4px); }
  to { clip-path: inset(0 0 0 0 round 4px); }
}
@keyframes jflash { from { opacity: .9; } to { opacity: 0; } }

/* operations chapter: two camera tiles, each with its own journal */
.ops-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tile { min-width: 0; }
.tile-media { aspect-ratio: 16 / 9; border-radius: 4px; }
.tile-hud { position: absolute; z-index: 3; top: 8px; left: 8px; right: 8px; }
.tile .journal { max-width: none; margin-top: 12px; }
.tile-h { margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.tile-p { margin-top: 4px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 40em; }
.ops-note { margin-top: 16px; font-size: 12.5px; color: rgba(255, 255, 255, .74); }

/* ---- cinematic layout: landscape screens from 900px */
@media (min-width: 900px) and (min-aspect-ratio: 7/5) {
  .chapter { height: 120vh; }
  .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .chapter:not(.chapter-ops) .media { position: absolute; inset: 0; }
  .stage > .hud {
    position: absolute; z-index: 4;
    top: calc(var(--header-h) + 16px); right: calc(var(--pad) + 36px);
    justify-content: flex-end; max-width: 46%;
  }
  .stage > .hud > .hud-ai { flex-basis: 100%; display: flex; justify-content: flex-end; background: none; padding: 0; }
  .hud-ai > span { padding: 6px 8px; border-radius: 2px; background: rgb(var(--scrim) / .78); }
  .copy { position: absolute; z-index: 4; width: min(46vw, 640px); }
  .chapter[data-side="tl"] .copy { left: var(--pad); top: calc(var(--header-h) + clamp(28px, 6vh, 64px)); }
  .chapter[data-side="bl"] .copy { left: var(--pad); bottom: clamp(28px, 6vh, 64px); }
  /* PPE: lift the copy so the zone label in the bottom-left corner stays readable */
  .chapter[data-lift] .copy { bottom: 13vh; }

  /* the empty slot the next row is written into */
  .chapter .journal:empty::before {
    content: "Journal · " attr(data-cam);
    position: absolute; inset: 0 0 auto 0; height: 76px;
    display: flex; align-items: center; padding: 0 14px;
    border: 1px dashed rgba(255, 255, 255, .3); border-radius: 4px;
    font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .74);
  }

  /* scrims sampled from each clip's own darks (--scrim), placed only behind the type */
  .chapter[data-side="tl"] .scrim {
    background:
      radial-gradient(130% 120% at 0% 0%, rgb(var(--scrim) / .9) 0%, rgb(var(--scrim) / .78) 30%, rgb(var(--scrim) / .4) 52%, rgb(var(--scrim) / 0) 72%),
      linear-gradient(to bottom, rgb(var(--scrim) / .55) 0, rgb(var(--scrim) / 0) 150px);
  }
  .chapter[data-side="bl"] .scrim {
    background:
      radial-gradient(130% 125% at 0% 100%, rgb(var(--scrim) / .9) 0%, rgb(var(--scrim) / .78) 30%, rgb(var(--scrim) / .4) 52%, rgb(var(--scrim) / 0) 72%),
      linear-gradient(to bottom, rgb(var(--scrim) / .55) 0, rgb(var(--scrim) / 0) 150px);
  }
  .statement { text-shadow: 0 2px 30px rgb(var(--scrim) / .45); }
  .body { text-shadow: 0 1px 14px rgb(var(--scrim) / .6); }

  /* operations: the tiles shrink with the window height so the whole wall fits on one screen */
  .chapter-ops .stage { display: flex; align-items: center; }
  .ops { max-width: none; padding-top: calc(var(--header-h) + 20px); padding-bottom: 20px; padding-right: calc(var(--pad) + 36px); }
  .ops .statement { margin-bottom: clamp(16px, 3vh, 28px); }
  .ops-grid { max-width: calc((100vh - 420px) * 32 / 9 + 24px); }
}

/* ---- stacked layout: phones, tablets and 4:3 screens.
   Order: statement, camera, journal row, body. */
@media not all and (min-width: 900px) and (min-aspect-ratio: 7/5) {
  :root { --header-h: 56px; --rail-h: 32px; }
  .chapter { padding: 40px 0 44px; scroll-margin-top: calc(var(--header-h) + var(--rail-h)); }
  .chapter + .chapter { border-top: 1px solid rgba(255, 255, 255, .16); }
  .chapters { padding-top: var(--rail-h); }
  .stage { display: flex; flex-direction: column; }
  .copy { display: contents; }
  .statement { order: 1; padding: 0 var(--pad); margin-bottom: 18px; font-size: clamp(42px, 11.6vw, 84px); }
  .stage > .hud { order: 2; padding: 0 var(--pad) 10px; color: rgba(255, 255, 255, .88); }
  .stage > .hud > span { background: none; padding: 0 10px 0 0; }
  .stage > .hud > .hud-ai { margin-left: auto; padding-right: 0; }
  .media { order: 3; aspect-ratio: 16 / 9; }
  .chapter .journal { order: 4; margin: 14px var(--pad) 0; max-width: none; transition: height .45s var(--ease-out), margin .45s var(--ease-out); }
  .chapter .journal:empty { height: 0; margin-top: 0; }
  .body { order: 5; padding: 0 var(--pad); margin-top: 14px; max-width: calc(36em + 2 * var(--pad)); }
  .chapter-ops .statement, .ops .statement { padding: 0; }
  .ops-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tile .journal { margin: 12px 0 0; }
  .tile-h { margin-top: 12px; }
  .site-header { background: rgba(20, 21, 26, .94); }
}

/* ---- the tape rail */
.rail {
  position: fixed; z-index: 40;
  display: flex;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.rail.is-on { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.seg { position: relative; display: block; flex: 1 1 0; border-radius: 1px; }
.tape {
  position: absolute; overflow: hidden; border-radius: 1px;
  /* glass-bead retroreflective face between two fluorescent edges */
  background:
    radial-gradient(circle, rgba(255, 255, 255, .55) 0 .55px, transparent .9px) 0 0 / 3px 3px,
    linear-gradient(var(--tape-dir, 90deg), var(--tape-lo), var(--tape-hi) 50%, var(--tape-lo));
}
.tape::before {
  /* lit: the same face catching light, swept in as you scroll through the chapter */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .9) 0 .55px, transparent .9px) 0 0 / 3px 3px,
    linear-gradient(var(--tape-dir, 90deg), #e4e8ea, var(--tape-lit) 50%, #e4e8ea);
  transform: scaleY(var(--p, 0)); transform-origin: 50% 0;
}
.tape::after {
  /* fluorescent amber edges */
  content: ""; position: absolute; inset: 0;
  border: 0 solid var(--amber);
}
.seg.is-current .tape { box-shadow: 0 0 14px rgba(255, 255, 255, .38), 0 0 2px rgba(255, 255, 255, .6); }
.seg-label, .rail-stop-label {
  position: absolute; white-space: nowrap; pointer-events: none;
  font-size: 13px; font-weight: 600; line-height: 1;
  padding: 7px 10px; border-radius: 3px; background: var(--ink); color: #fff;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .15s ease;
}
.seg:hover .seg-label, .seg:focus-visible .seg-label,
.rail-stop:hover .rail-stop-label, .rail-stop:focus-visible .rail-stop-label { opacity: 1; }
.seg:focus-visible, .rail-stop:focus-visible { outline-offset: 2px; outline-color: #F5A800; }
.rail-stop { position: relative; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.rail-stop svg {
  width: 22px; height: 22px; padding: 3px; border-radius: 2px;
  background: var(--amber); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.rail-stop:hover svg { background: var(--amber-hot); }

@media (min-width: 900px) and (min-aspect-ratio: 7/5) {
  .rail {
    right: max(10px, calc(var(--pad) - 40px)); top: 50%;
    transform: translateY(-50%);
    flex-direction: column; gap: 7px;
    width: 40px; height: min(60vh, 540px);
  }
  .tape { top: 0; bottom: 0; left: 9px; width: 22px; }
  .tape::after { border-left-width: 5px; border-right-width: 5px; }
  .seg-label, .rail-stop-label { right: 44px; top: 50%; transform: translateY(-50%); }
  .rail-stop { flex: 0 0 36px; margin-top: 6px; }
}
@media not all and (min-width: 900px) and (min-aspect-ratio: 7/5) {
  .rail {
    left: 0; right: 0; top: var(--header-h);
    height: var(--rail-h); padding: 0 var(--pad);
    gap: 4px; background: rgba(20, 21, 26, .94);
    align-items: stretch;
  }
  .seg { min-height: 28px; }
  .tape { left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px; --tape-dir: 180deg; }
  .tape::before { transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
  .tape::after { border-top-width: 2.5px; border-bottom-width: 2.5px; }
  .seg-label { display: none; }
  .rail-stop { flex: none; gap: 6px; padding-left: 8px; color: var(--amber); font-size: 12.5px; font-weight: 650; }
  .rail-stop svg { width: 18px; height: 18px; padding: 2px; }
  .rail-stop-label { position: static; opacity: 1; padding: 0; background: none; box-shadow: none; color: inherit; font-size: inherit; }
}

/* ------------------------------------------------------------ pilot band */
.band {
  background: var(--amber); color: var(--ink);
  padding-block: clamp(64px, 8vw, 120px);
  scroll-margin-top: var(--header-h);
  --focus: var(--ink);
}
.band-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px clamp(32px, 5vw, 80px); align-items: end; }
.band-line { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #2a2410; max-width: 32em; margin-bottom: 24px; }

/* ------------------------------------------------------------ white Swiss sections */
.sec { padding-block: clamp(88px, 10vw, 152px); background: var(--paper); color: var(--ink); scroll-margin-top: var(--header-h); }
.sec-band { background: var(--band); }
.h2 {
  font-weight: 900; font-stretch: 64%;
  font-size: clamp(44px, 6.2vw, 104px);
  line-height: .88; letter-spacing: 0;
  text-transform: uppercase;
  max-width: 11.5em; text-wrap: balance;
}
.lead {
  margin-top: clamp(20px, 2.2vw, 30px);
  max-width: 40em;
  font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--muted);
  text-wrap: pretty;
}
.h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 750; line-height: 1.15; letter-spacing: -.005em; }
.num { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }

/* how it works */
.how-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  margin-top: clamp(48px, 6vw, 88px);
}
.film { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #d9dbdc; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  font-size: 12.5px; font-weight: 550; line-height: 1;
  padding: 7px 9px; border-radius: 3px;
  background: rgba(20, 21, 26, .78); color: #fff;
}
.pipe { position: relative; display: grid; gap: 34px; }
.pipe::before {
  content: ""; position: absolute; left: 23px; top: 30px; bottom: 30px; width: 2px; background: var(--ink);
}
.pipe-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.pipe-icon {
  width: 48px; height: 48px; border-radius: 4px;
  display: grid; place-items: center;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink);
}
.pipe-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.pipe-icon .dot { fill: var(--ink); stroke: none; }
.pipe-step.is-ours .pipe-icon { background: var(--amber); }
.pipe-step h3 { font-size: 20px; font-weight: 750; line-height: 1.2; margin-top: 2px; }
.pipe-step p { margin-top: 6px; color: var(--muted); font-size: 16.5px; line-height: 1.55; max-width: 34em; }

.spec {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(56px, 7vw, 104px);
  border-top: 2px solid var(--ink);
}
.spec-row { display: grid; grid-template-columns: 11em 1fr; gap: 20px; padding: 20px 0 22px; border-bottom: 1px solid var(--line-2); }
.spec dt { font-weight: 700; font-size: 16px; line-height: 1.45; }
.spec dd { font-size: 16.5px; line-height: 1.5; color: var(--muted); }

/* review loop */
.review-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
  margin-top: clamp(48px, 6vw, 88px);
}
.record {
  display: grid; grid-template-columns: minmax(0, 1fr);
  background: var(--paper); border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 0 var(--line-2), 0 30px 70px -40px rgba(26, 28, 31, .32);
}
.record-photo { position: relative; background: #c7c9ca; aspect-ratio: 16 / 9; overflow: hidden; }
.record-photo img { width: 100%; height: 100%; object-fit: cover; }
.record-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; background: #1b1c20; }
.record-photo.is-playing .mark { display: none; }
.record-photo:not(.is-playing) .record-video, .record-photo:not(.is-playing) .aimris-overlay { display: none; }
.mark {
  --c: var(--alert);
  position: absolute;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 14px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 0 / 2px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 14px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 2px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 14px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 2px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 14px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 2px 14px no-repeat,
    rgba(200, 56, 42, .12);
  outline: 1px solid rgba(200, 56, 42, .45);
}
.mark-tag {
  position: absolute; left: -1px; bottom: calc(100% + 3px);
  font-family: var(--mono); font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap;
  padding: 4px 5px; border-radius: 2px; background: var(--alert); color: #fff;
}
.record-clip {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 11px 0 9px; border: 0; border-radius: 3px; cursor: pointer;
  font-size: 13px; font-weight: 650; line-height: 1;
  background: rgba(20, 21, 26, .84); color: #fff;
  transition: background-color .15s ease;
}
.record-clip:hover { background: var(--ink); }
.record-clip svg { width: 13px; height: 13px; fill: currentColor; }
.record-clip .i-stop, .record-clip[aria-pressed="true"] .i-play { display: none; }
.record-clip[aria-pressed="true"] .i-stop { display: inline; }
.record-body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: start;
  padding: clamp(18px, 2vw, 26px);
}
.record-meta {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); font-variant-numeric: tabular-nums;
}
.record-title { font-size: 22px; font-weight: 750; line-height: 1.2; margin-top: 6px; }
.record-detail { margin-top: 2px; font-size: 15px; color: var(--muted); }
.record-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.record-state { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.state {
  font-size: 13px; font-weight: 700; line-height: 1; padding: 6px 9px; border-radius: 3px;
  background: var(--alert-ui); color: #fff;
}
.state[data-state="investigation"], .state[data-state="action"] { background: var(--amber); color: var(--ink); }
.state[data-state="closed"] { background: var(--clear-ui); color: #fff; }
.state[data-state="dismissed"] { background: var(--line); color: var(--ink); }
.record-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.record-actions .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.record-action-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 7px; }
.record-action-field[hidden], .record-action-done[hidden] { display: none; }
.record-action-field label { font-size: 14px; font-weight: 650; }
.example-tag { margin-left: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted-2); }
.record-action-field input {
  width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: 4px; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 15.5px;
}
.record-action-field input:hover { box-shadow: inset 0 0 0 1.5px var(--muted-2); }
.record-action-field input:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.record-action-done { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15.5px; }
.record-action-done .state-label { font-size: 14px; font-weight: 650; color: var(--muted); }
.record-note { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted-2); }

.flow { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.flow-step {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  padding: 18px 0 20px; border-bottom: 1px solid var(--line-2);
}
.flow-n {
  width: 32px; height: 32px; border-radius: 3px; margin-top: 1px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; line-height: 1;
  box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--muted-2);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.flow-step h3 { font-size: 19px; font-weight: 750; line-height: 1.25; }
.flow-step p { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.flow-step.is-done .flow-n { background: var(--ink); color: #fff; box-shadow: none; }
.flow-step.is-current .flow-n { background: var(--amber); color: var(--ink); box-shadow: none; }

/* rollout */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(48px, 6vw, 88px);
}
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step-n {
  display: block;
  font-weight: 900; font-stretch: 62%; font-size: clamp(64px, 6.4vw, 104px); line-height: .8;
  color: var(--ink);
}
.step h3 { margin-top: 22px; font-size: 20px; font-weight: 750; line-height: 1.2; }
.step p { margin-top: 8px; font-size: 16.5px; line-height: 1.55; color: var(--muted); max-width: 22em; }
.steps-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(40px, 5vw, 64px); }
.steps-cta p { font-size: 15.5px; color: var(--muted); max-width: 30em; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .h2 { position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 2px; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.45vw, 21px); font-weight: 650; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background:
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 16px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 2px 16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #000; }
.faq details p { padding: 0 2px 22px; max-width: 38em; font-size: 17px; color: var(--muted); }

/* in development (compact) */
.sec-compact { padding-block: clamp(56px, 7vw, 104px); }
.next-title {
  font-weight: 900; font-stretch: 64%; text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(30px, 3.4vw, 52px); line-height: .9;
}
.next-list { margin-top: clamp(24px, 3vw, 36px); border-top: 2px solid var(--ink); }
.next-item {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 20px clamp(24px, 4vw, 56px);
  align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line-2);
}
.next-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 21px; font-weight: 750; line-height: 1.25; }
.next-text p { margin-top: 8px; max-width: 36em; color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.film-scene { background: #1b2028; --scrim: 17 22 28; }
.film-hud {
  position: absolute; z-index: 3; right: 10px; bottom: 10px;
  display: flex; gap: 5px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.film-hud span { padding: 5px 6px; border-radius: 2px; background: rgba(17, 22, 28, .8); }
.preview-tag {
  position: absolute; z-index: 3; left: 10px; top: 10px;
  font-size: 12.5px; font-weight: 700; line-height: 1;
  padding: 6px 8px; border-radius: 3px; background: var(--amber); color: var(--ink);
}
.chip-dev {
  display: inline-block;
  font-size: 12px; font-weight: 650; line-height: 1; letter-spacing: 0;
  padding: 5px 7px; border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold);
}
.ask { padding: 16px 16px 14px; border-radius: 6px; background: var(--band); }
.ask-label { font-size: 13px; font-weight: 650; color: var(--muted); }
.ask-list { margin-top: 6px; }
.ask-list li { padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; line-height: 1.4; }
.ask-field {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 5px 0 12px; height: 42px; border-radius: 4px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: var(--muted-2); font-size: 14.5px;
}
.ask-field svg { width: 32px; height: 32px; padding: 7px; border-radius: 3px; background: var(--line); fill: none; stroke: var(--muted-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* demo request */
.demo {
  padding-block: clamp(88px, 10vw, 152px);
  background: var(--amber); color: var(--ink);
  scroll-margin-top: var(--header-h);
  --focus: var(--ink);
}
.demo .lead { color: #2a2410; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.demo-direct { margin-top: 24px; font-size: 17px; font-weight: 550; }
.demo-direct a { font-weight: 700; text-decoration-thickness: 2px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 650; line-height: 1.2; }
.opt { margin-left: 4px; font-size: 13px; font-weight: 500; color: #3a3115; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .select select {
  width: 100%; height: 50px; padding: 0 14px;
  border: 0; border-radius: 4px; background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(20, 21, 26, .55);
  font-size: 16.5px; caret-color: var(--ink);
  transition: box-shadow .15s ease, background-color .15s ease;
}
.field input:hover, .select select:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.field input:focus-visible, .select select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); background: #fff4f1; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.hint { margin-top: -8px; font-size: 13.5px; color: #3a3115; }
.hint.is-error { color: var(--error); font-weight: 650; }
.err { font-size: 13.5px; font-weight: 650; color: var(--error); }
.err:empty { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; }
.check input {
  appearance: none; -webkit-appearance: none; margin: 1px 0 0; width: 24px; height: 24px; border-radius: 3px;
  background: #fff; box-shadow: inset 0 0 0 1.5px rgba(20, 21, 26, .55); cursor: pointer; display: grid; place-items: center;
}
.check input:checked { background: var(--ink); box-shadow: none; }
.check input:checked::after { content: ""; width: 6px; height: 11px; margin-top: -3px; border-right: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber); transform: rotate(45deg); }
.check input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); background: #fff4f1; }
.check label { font-size: 15.5px; font-weight: 500; line-height: 1.45; cursor: pointer; }
.check .err { grid-column: 2; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form-note { font-size: 14px; color: #3a3115; max-width: 26em; }
.form-status { font-size: 15.5px; font-weight: 600; }
.form-status:empty { display: none; }

/* footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .86); padding: clamp(56px, 7vw, 96px) 0 40px; font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px; align-items: start; }
.brand-footer .logo { width: 128px; color: #fff; }
.footer-line { grid-column: 1; grid-row: 2; max-width: 24em; margin-top: -8px; color: rgba(255, 255, 255, .74); }
.footer-h { font-size: 13px; font-weight: 650; color: rgba(255, 255, 255, .66); margin-bottom: 10px; }
.footer a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.footer a:hover { border-bottom-color: var(--amber); color: #fff; }
.footer .brand-footer { border: 0; }
.langs { display: grid; gap: 6px; }
.langs a[aria-current] { color: var(--amber); border-bottom-color: var(--amber); }
.footer-note { margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 62em; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .74); }
.footer-legal { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .74); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1099px) {
  .site-nav { display: none; }
}
@media (max-width: 960px) {
  .how-grid, .review-grid, .faq-grid, .demo-grid, .band-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .h2 { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .spec { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-top .brand-footer, .footer-line { grid-column: 1 / -1; }
  .footer-line { grid-row: auto; }
}
@media (max-width: 899px) {
  .hero-copy { padding-bottom: 20px; }
  .hero-note { position: static; align-self: flex-start; margin: 0 var(--pad) 22px; }
}
@media (max-width: 699px) {
  .next-item { grid-template-columns: minmax(0, 1fr); }
  .next-text { order: -1; }
}
@media (max-width: 599px) {
  .logo { width: 88px; }
  .header-cta { min-height: 38px; padding: 0 13px; font-size: 14px; }
  .site-header { gap: 12px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-video { object-position: 24% 40%; }
  .hero-scrim {
    background:
      linear-gradient(to top, rgba(18, 15, 22, .95) 0%, rgba(18, 15, 22, .86) 48%, rgba(18, 15, 22, .3) 70%, rgba(18, 15, 22, 0) 84%);
  }
  .jrow { grid-template-columns: 84px 1fr auto; gap: 10px; height: 84px; }
  .jthumb { width: 84px; height: 60px; }
  .journal { height: 100px; }
  .jtitle { font-size: 14.5px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .record-body { grid-template-columns: minmax(0, 1fr); }
  .record-ctrl { align-items: flex-start; }
  .record-actions { justify-content: flex-start; }
  .steps-cta .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chapter { height: auto !important; }
  .stage { position: relative !important; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 900px) and (min-aspect-ratio: 7/5) {
  .stage { height: 100vh; }
}
