/* ============================================================
   FLOODGATE DIGITAL — OPTION 7 "SIGNAL"
   Electric dreamscape: data as light in deep space.
   ============================================================ */

/* ---------------- self-hosted fonts (variable woff2) ---------------- */
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(assets/fonts/unbounded-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(assets/fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(assets/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --void: #06070E;
  --text: #EDF0FF;
  --muted: #8A93B8;
  --uv: #7B5CFF;
  --cyan: #4DE1FF;
  --magenta: #FF5CA8;
  --glass: rgba(255, 255, 255, 0.05);
  --line: rgba(125, 150, 255, 0.25);
  --line-dim: rgba(125, 150, 255, 0.14);
  --line-bright: rgba(125, 150, 255, 0.55);
  --grad: linear-gradient(92deg, var(--uv) 0%, var(--cyan) 100%);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-label: "Space Grotesk", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  background: var(--void);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Deep-blue radial center glow behind everything (also the WebGL fallback) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 750px at 50% 32%, rgba(38, 52, 120, 0.34), transparent 68%),
    radial-gradient(900px 700px at 78% 85%, rgba(72, 44, 130, 0.16), transparent 70%),
    var(--void);
}

html.no-webgl body::before {
  background:
    radial-gradient(1100px 750px at 50% 30%, rgba(48, 66, 150, 0.42), transparent 68%),
    radial-gradient(700px 520px at 22% 74%, rgba(123, 92, 255, 0.14), transparent 70%),
    radial-gradient(760px 560px at 80% 82%, rgba(77, 225, 255, 0.10), transparent 70%),
    var(--void);
}

::selection { background: rgba(123, 92, 255, 0.55); color: #FFFFFF; }

/* ---------- Signal canvas ---------- */

#signal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* ---------- Base layers ---------- */

main, .topbar, .rail, .footer { position: relative; z-index: 1; }

a { color: var(--cyan); text-decoration: none; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 18px;
  background: var(--void);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-260%);
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}

.hud-tag, .hud-label, .card-tag {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cyan); /* fallback if clip unsupported */
}

.text-bright { color: var(--text); font-weight: 500; }

/* Soft radial dim behind text zones so particles never fight copy */
.mask { position: relative; }
.mask::before {
  content: "";
  position: absolute;
  inset: -16% -22%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse closest-side, rgba(6, 7, 14, 0.95) 42%, rgba(6, 7, 14, 0) 85%);
}

/* ---------- HUD rules with tick marks ---------- */

.hud-rule {
  position: relative;
  height: 1px;
  margin: 0 auto;
  /* .sec-positioning is a flex column, where `margin: 0 auto` sizes the rule to its
     content instead of the section — it has to be told to span, or it reads as a stub */
  width: 100%;
  max-width: 1240px;
  background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.hud-rule::before {
  content: "";
  position: absolute;
  /* tick strip starts/ends on the content column's edges (.sec-inner, 1160px),
     so the ruler chrome sits on the same grid as the copy below it */
  left: max(0px, calc((100% - 1160px) / 2));
  right: max(0px, calc((100% - 1160px) / 2));
  top: -3px;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 72px);
  opacity: 0.7;
}
.hud-rule .hud-label {
  margin-top: 14px;
  padding: 3px 8px;
  background: rgba(6, 7, 14, 0.7);
  border-radius: 2px;
}
.sec-head { display: inline-block; }
/* one label per rule now — the right-hand "// SIGNAL: X" readout was cut */
/* label TEXT (not its box — it has 8px side padding) lands on the content-column
   left edge, same grid as the tick strip above and the copy below */
.hud-rule .hud-label:first-child { margin-left: max(-8px, calc((100% - 1160px) / 2 - 8px)); }

/* ---------- Topbar ---------- */

/* desktop: the bar sits at the top of the page and scrolls away with it —
   the right-edge rail carries navigation from there on */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: linear-gradient(180deg, rgba(6, 7, 14, 0.85), rgba(6, 7, 14, 0));
  pointer-events: none;
}
.topbar-mark {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text);
}
.topbar-link {
  pointer-events: auto;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.topbar-link:hover {
  border-color: var(--line-bright);
  box-shadow: 0 0 18px rgba(77, 225, 255, 0.18);
}
.topbar-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-link--ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.topbar-link--ghost:hover {
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

/* ---------- Progress rail ---------- */

.rail {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.rail-name {
  writing-mode: vertical-rl;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cyan);
  min-height: 74px;
}
.rail-dots {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rail-dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.rail-dot span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.rail-dot:hover span { background: rgba(125, 150, 255, 0.4); }
.rail-dot.is-active span {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(77, 225, 255, 0.8);
  transform: scale(1.25);
}

/* ---------- Sections ---------- */

.sec {
  position: relative;
  padding: 96px 32px;
}

.sec-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 72px;
}

/* HERO */

.sec-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
}
.hero-inner { max-width: 1200px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 122px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  margin: 6px 0 30px;
}
.wordmark-line { display: block; }
/* letterspace the short line so the lockup reads as one carved monolith;
   negative margin cancels the trailing space so centering stays true */
.wordmark-line.grad { letter-spacing: 0.46em; margin-right: -0.46em; }
.hero-line {
  font-size: clamp(17px, 1.5vw, 21px);
  color: #A6AECF;
  max-width: 560px;
  margin: 0 auto 34px;
}
.sec-hero .hud-tag {
  display: inline-block;
  max-width: 100%;
  letter-spacing: 0.3em;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid var(--line-dim);
  background: rgba(6, 7, 14, 0.85);
}

.descend {
  position: absolute;
  left: 50%;
  bottom: 34px;
  bottom: max(34px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.descend-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.descend-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: descend-pulse 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes descend-pulse {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
.descend:hover { color: var(--text); }

/* POSITIONING */

.sec-positioning { min-height: 82vh; min-height: 82svh; display: flex; flex-direction: column; justify-content: center; }
.sec-positioning .sec-inner { max-width: 980px; text-align: center; }
.statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(27px, 4vw, 52px);
  line-height: 1.28;
  margin-bottom: 34px;
}
.statement-line { display: inline-block; }
.statement-sub {
  font-size: clamp(17px, 1.35vw, 19px);
  color: #A6AECF;
  max-width: 660px;
  margin: 0 auto;
}

/* SECTION TITLES */

.sec-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.3vw, 44px);
  line-height: 1.24;
  margin-bottom: 30px;
}

/* SERVICES */

.sec-services { min-height: 100vh; min-height: 100svh; }
/* four long thin bars, stacked. Each row: identity block | teaser | toggle,
   with the disclosure panel spanning the full width underneath. */
.cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 44px;
}
.card {
  display: block;
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.045)), rgba(8, 10, 19, 0.88);
  border: 1px solid var(--line-dim);
  border-radius: 4px;
  padding: 20px 26px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover, .card:focus-within {
  border-color: var(--line-bright);
  box-shadow: 0 0 32px rgba(123, 92, 255, 0.12), inset 0 0 24px rgba(77, 225, 255, 0.03);
  transform: translateY(-2px);
}
/* the three-column bar lives in its own grid. The disclosure panel stays a
   plain block child of .card — its 0fr->1fr height animation collapses to
   nothing if it is a grid item in an auto-sized row. */
.card-row {
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 40px;
}
.card-tag { margin-bottom: 8px; min-height: 15px; }
.card:hover .card-tag { color: var(--cyan); }
.card-title {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.card-copy {
  color: #A6AECF;
  font-size: 15px;
  line-height: 1.5;
}
.card .disclose {
  margin: 0;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  gap: 8px;
}
.card .disclose-panel .disclose-body { padding-top: 22px; max-width: 780px; }
.spec-note { color: var(--muted); font-style: italic; }
.spec-note + .spec-h { margin-top: 18px; }

/* corner brackets */
.bracketed { border-radius: 2px; }
.bracketed::before, .bracketed::after,
.bracketed .corners::before, .bracketed .corners::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  pointer-events: none;
  transition: border-color 0.3s ease;
}
.bracketed::before { top: -1px; left: -1px; border-top: 1px solid var(--line-bright); border-left: 1px solid var(--line-bright); }
.bracketed::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--line-bright); border-right: 1px solid var(--line-bright); }
.bracketed .corners::before { top: -1px; right: -1px; border-top: 1px solid var(--line-bright); border-right: 1px solid var(--line-bright); }
.bracketed .corners::after { bottom: -1px; left: -1px; border-bottom: 1px solid var(--line-bright); border-left: 1px solid var(--line-bright); }
.bracketed:hover::before, .bracketed:hover::after,
.bracketed:hover .corners::before, .bracketed:hover .corners::after {
  border-color: var(--cyan);
}

/* bracketed sub-system list */
.bracket-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}
.bracket-list li {
  position: relative;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 14px;
  border-left: 1px solid var(--line-bright);
  border-right: 1px solid var(--line-bright);
  background:
    linear-gradient(90deg, var(--line-bright) 0 7px, transparent 7px) top left / 100% 1px no-repeat,
    linear-gradient(90deg, var(--line-bright) 0 7px, transparent 7px) bottom left / 100% 1px no-repeat,
    linear-gradient(270deg, var(--line-bright) 0 7px, transparent 7px) top right / 100% 1px no-repeat,
    linear-gradient(270deg, var(--line-bright) 0 7px, transparent 7px) bottom right / 100% 1px no-repeat;
}

/* disclosure */
.disclose {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 18px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.disclose:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(77, 225, 255, 0.16);
}
.disclose-icon { font-size: 14px; line-height: 1; transition: transform 0.3s ease; }
.disclose[aria-expanded="true"] .disclose-icon { transform: rotate(45deg); }

/* height is driven from JS (measured scrollHeight) — the 0fr/1fr grid trick
   resolves the track to zero here, so the panel never opened */
.disclose-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}
.disclose-panel .disclose-body {
  visibility: hidden;
  transition: visibility 0s linear 0.45s;
}
.disclose-panel.is-open .disclose-body { visibility: visible; transition-delay: 0s; }
.disclose-body p { color: #A6AECF; font-size: 15.5px; margin-bottom: 14px; }
.disclose-body p:last-child { margin-bottom: 4px; }
.spec-h {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 20px 0 8px;
}

/* RECEPTIONIST EMPHASIS */

.sec-receptionist { min-height: 96vh; min-height: 96svh; display: flex; flex-direction: column; justify-content: center; }
.sec-inner-split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
}
.split-copy { max-width: 560px; }
.body-copy { color: #A6AECF; margin-bottom: 18px; max-width: 54ch; }
.chip-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.chip {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}
.split-space {
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ripple-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3em;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid var(--line-dim);
  background: rgba(6, 7, 14, 0.85);
}
.ripple-tag::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(77, 225, 255, 0.8);
  animation: live-blink 1.1s steps(2, jump-none) infinite;
}
@keyframes live-blink {
  0% { opacity: 1; }
  100% { opacity: 0.15; }
}

/* PROOF */

.sec-proof { min-height: 100vh; min-height: 100svh; }
.press { margin: 10px 0 54px; }
.press-label {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.press-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.press-chip {
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), rgba(8, 10, 19, 0.85);
  border: 1px solid var(--line-dim);
  padding: 13px 24px;
  color: #C6CCE8;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.press-chip:hover { border-color: var(--line-bright); color: var(--text); }

.clients { margin: -20px 0 54px; }
/* flex, not grid — the last row grows to fill so an odd client count leaves
   no dead cell */
.client-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line-dim);
  border: 1px solid var(--line-dim);
}
.client-list li {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  min-height: 64px;
  background: rgba(8, 10, 19, 0.88);
  padding: 14px 18px;
  color: #A6AECF;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s ease, background 0.3s ease;
}
.client-list li:hover { color: var(--text); background: rgba(123, 92, 255, 0.08); }

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}
.stats { display: flex; flex-direction: column; gap: 40px; }
.stat { display: flex; align-items: baseline; gap: 26px; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(58px, 7vw, 104px);
  line-height: 1;
  background: linear-gradient(100deg, var(--uv) 0%, var(--cyan) 55%, #B3F0FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cyan);
  flex-shrink: 0;
}
.stat-caption { color: var(--text); font-size: 17px; max-width: 34ch; }
.stat-note { color: var(--muted); font-size: 14.5px; max-width: 52ch; border-left: 1px solid var(--line); padding-left: 18px; }

.video-panel {
  width: 100%;
  max-width: 400px;
  justify-self: end;
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line-dim);
  border-radius: 4px;
  padding: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.video-frame { position: relative; border-radius: 2px; overflow: hidden; background: #000; }
.video-frame video { display: block; width: 100%; height: auto; }
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(77, 225, 255, 0.6);
  background: rgba(6, 7, 14, 0.72);
  color: var(--cyan);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.play-btn svg { margin-left: 3px; }
.play-btn:hover {
  box-shadow: 0 0 28px rgba(77, 225, 255, 0.45);
  transform: scale(1.06);
  background: rgba(6, 7, 14, 0.85);
}
.play-btn.is-hidden { display: none; }
.video-caption {
  font-size: 13px;
  color: var(--muted);
  padding: 12px 4px 4px;
  line-height: 1.5;
}
.video-caption-hud {
  display: block;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--cyan);
  margin-bottom: 4px;
}

/* CONTACT */

.sec-contact { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.sec-inner-narrow { max-width: 640px; }
.contact-panel {
  position: relative;
  background: rgba(9, 11, 21, 0.82);
  border: 1px solid var(--line-dim);
  border-radius: 4px;
  padding: 40px 46px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
}
.contact-panel .body-copy { margin: 0 auto 26px; }
.contact-form { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.field label {
  display: block;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #A6AECF;
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dim);
  border-radius: 3px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(77, 225, 255, 0.18), 0 0 22px rgba(77, 225, 255, 0.12);
}
.form-error { color: var(--magenta); font-size: 14.5px; }
.submit-btn {
  align-self: center;
  margin-top: 8px;
  background: var(--grad);
  color: #06070E;
  border: none;
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 15px 40px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.submit-btn:hover {
  box-shadow: 0 0 34px rgba(77, 225, 255, 0.4);
  transform: translateY(-1px);
}
/* honeypot - off-screen rather than display:none, which some bots skip */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* once sent, the panel shows the confirmation ALONE - the headline and intro have
   done their job, and leaving them above a "received" message reads as clutter */
.contact-panel.is-sent .sec-title,
.contact-panel.is-sent .body-copy { display: none; }
.contact-panel.is-sent { padding-top: 46px; padding-bottom: 46px; }
.form-success { padding: 40px 0 30px; }
.success-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.success-copy { color: #A6AECF; }

/* FOOTER */

.footer { padding: 70px 32px 46px; text-align: center; }
.footer-mark {
  margin-top: 40px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--muted);
}
.footer-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--muted);
  opacity: 0.75;
  text-decoration: none;
}
.footer-link:hover { color: var(--text); opacity: 1; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .card-row { grid-template-columns: minmax(0, 250px) minmax(0, 1fr) auto; column-gap: 28px; }
  .proof-grid { grid-template-columns: 1fr; gap: 44px; }
  .video-panel { justify-self: start; }
}

@media (max-width: 900px) {
  .rail { display: none; }
  .sec-inner-split { grid-template-columns: 1fr; }
  .split-space { min-height: 220px; }

  /* the rail is gone here, so the bar has to stay put. Scrim lives on a
     pseudo-element and is masked to nothing at its lower edge, so the page
     softens out behind the bar instead of hitting a hard opaque band. */
  .topbar { position: fixed; background: none; }
  .topbar::before {
    content: "";
    position: absolute;
    inset: 0 0 -30px 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 7, 14, 0.8) 0%, rgba(6, 7, 14, 0.5) 50%, rgba(6, 7, 14, 0) 100%);
    opacity: 0.6;
    transition: opacity 0.35s ease;
  }
  .topbar.is-stuck::before { opacity: 1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .sec { padding: 72px 20px; }
  .cards { gap: 10px; }
  /* too narrow for three columns — stack the bar's internals */
  .card { padding: 20px 22px; }
  .card-row {
    grid-template-columns: 1fr;
    align-items: start;
    row-gap: 12px;
  }
  .card .disclose { justify-self: start; }
  .card .disclose-panel .disclose-body { padding-top: 16px; }
  .wordmark { font-size: clamp(38px, 11.5vw, 64px); }
  .stat { flex-direction: column; gap: 8px; }
  .stat-num { font-size: clamp(56px, 17vw, 76px); }
  .contact-panel { padding: 34px 22px 36px; }
  .topbar { padding: 16px 20px; }
  .topbar-link--ghost { display: none; }
  /* footer label only - scoped to .footer so it can never match the section
     labels, which must stay visible at every width */
  .footer .hud-label { display: none; }
  .video-panel { max-width: 100%; }
  .mask::before { inset: -8% -6%; }
}

/* ---------- Print: reveals fail open ---------- */

@media print {
  .js-reveal, .statement-line {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .descend-line { animation: none; opacity: 0.7; }
}
