/* ============================================================
   Coverden | Fable v9 · "Corporate Sharp"
   Physical security for mission-critical infrastructure.
   Light, editorial, precise. One consistent system.
   ============================================================ */

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Light.woff2") format("woff2"), url("assets/fonts/Gilroy-Light.ttf") format("truetype");
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-SemiBold.woff2") format("woff2"), url("assets/fonts/Gilroy-SemiBold.ttf") format("truetype");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700; font-display: swap;
}

:root {
  --navy-deep: #03093b;
  --navy: #040d4c;
  --abyss: #02061e;
  --violet: #6f49fc;
  --violet-bright: #9d82ff;
  --lavender: #d0c5fb;
  --paper: #fbfbff;
  --mist: #f4f3fb;
  --ink: #0a0e2a;
  --muted: rgba(10, 14, 42, 0.62);
  --muted-light: rgba(251, 251, 255, 0.68);
  --line: rgba(10, 14, 42, 0.12);
  --line-strong: rgba(10, 14, 42, 0.2);
  --line-light: rgba(251, 251, 255, 0.16);

  --font-sans: "Gilroy", "Avenir Next", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --pad-x: clamp(24px, 6.5vw, 120px);
  --frame-gap: clamp(10px, 1.2vw, 18px);
  --maxw: 1320px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: clamp(14px, 1.8vw, 22px);

  --z-dock: 20;
  --z-float: 60;
  --z-progress: 70;
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 62%, #f3f1fb 100%);
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- type system ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 26px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--violet);
}

.display {
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  max-width: 20ch;
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--violet); }

p { text-wrap: pretty; }

.w-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.w-inner { display: inline-block; }

.word-particle { color: transparent; }
.word-particle.is-filled { color: var(--violet); transition: color 360ms ease; }
.no-js .word-particle { color: var(--violet); }
.particle-canvas { position: absolute; pointer-events: none; z-index: 2; }

/* ---------- scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-progress);
  width: 100%;
  height: 2px;
  background: var(--violet);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- nav: dark glass float (kept from v11) ---------- */

.float-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 8px 10px 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(251, 251, 255, 0.14);
  background: rgba(3, 9, 59, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(2, 6, 30, 0.35);
  transform: translate(-50%, -130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 520ms var(--ease-out), opacity 320ms ease;
}
.float-nav.is-in { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.float-glyph { display: flex; color: var(--violet); }
.float-glyph svg { width: 21px; height: 18px; }
.float-links { position: relative; display: flex; gap: clamp(6px, 1.2vw, 14px); }
.float-links a {
  position: relative;
  z-index: 1;
  padding: 8px 13px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(251, 251, 255, 0.74);
  transition: color 220ms ease;
}
.float-links a:hover, .float-links a.is-active { color: #fff; }
.nav-ink {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 100px;
  background: rgba(111, 73, 252, 0.32);
  opacity: 0;
  transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), opacity 220ms ease;
}
.nav-ink.is-on { opacity: 1; }
.float-cta {
  padding: 11px 18px;
  border-radius: 100px;
  background: var(--violet);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 200ms ease;
  will-change: transform;
}
.float-cta:hover { background: #5d38e8; }

/* ---------- hero: the carved field ---------- */

.hero {
  position: relative;
  padding: calc(var(--frame-gap) + clamp(64px, 8vh, 82px)) var(--frame-gap) var(--frame-gap);
}
.dock-nav {
  position: absolute;
  top: var(--frame-gap);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-dock);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: 13px clamp(22px, 3vw, 40px) 14px;
  border-radius: 100px;
  border: 1px solid rgba(10, 14, 42, 0.08);
  background: rgba(251, 251, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 460ms var(--ease-out), opacity 360ms ease;
}
.dock-nav a {
  position: relative;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 200ms ease;
}
.dock-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--violet);
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  transition: opacity 220ms ease, transform 360ms var(--ease-out);
}
.dock-nav a:hover { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .dock-nav a:hover::after {
    opacity: 0.85;
    transform: scaleX(1);
  }
}
.dock-nav.is-away { transform: translate(-50%, -140%); opacity: 0; }

.hero-stage { position: relative; }
.hero-field {
  position: relative;
  border-radius: clamp(24px, 3vw, 38px);
  overflow: hidden;
  height: clamp(560px, 86vh, 900px);
  background: #39404f;
}
.hero-field video,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero-field video {
  pointer-events: none;
}
.hero-poster {
  z-index: 1;
  pointer-events: none;
}
.hero-field.is-playing .hero-poster { opacity: 0; }
.hero-field video::-webkit-media-controls,
.hero-field video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

.hero-video-debug {
  position: fixed;
  z-index: 10000;
  inset: auto 10px 10px;
  max-width: 460px;
  margin: 0;
  padding: 12px;
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
  font: 11px/1.5 monospace;
  white-space: pre-wrap;
  pointer-events: none;
}
.hero-mark {
  position: absolute;
  z-index: 2;
  top: 9%;
  right: 7%;
  width: clamp(110px, 13vw, 210px);
  opacity: 0.3;
  mix-blend-mode: soft-light;
  pointer-events: none;
  -webkit-mask: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 100%);
  mask: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 100%);
}

/* copy sits in the carve, on paper */
.hero-copy {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  max-width: min(72%, 980px);
}
.hero-copy-main { padding: clamp(10px, 1.4vh, 20px) clamp(18px, 2vw, 30px) clamp(14px, 1.6vh, 22px) 6px; }
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
}
.wordmark {
  display: flex;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(3.4rem, 8.6vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  white-space: nowrap;
  will-change: transform;
}
.wordmark-img { width: clamp(300px, 40vw, 660px); height: auto; display: block; }
.hero-copy-sub {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 400px;
  padding: 4px clamp(18px, 2vw, 30px) clamp(16px, 2vh, 26px) 6px;
}
.hero-lede {
  font-family: var(--font-sans);
  letter-spacing: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-cta { display: flex; align-items: center; gap: 16px; }
.disc-btn {
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(111, 73, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  transition: background-color 200ms ease;
  will-change: transform;
}
.disc-btn:hover { background: #5d38e8; }
.disc-btn svg { width: 22px; height: 22px; transition: transform 280ms var(--ease-out); }
.disc-btn:hover svg { transform: translate(2px, -2px); }
.hero-cta-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--muted);
}

@media (min-width: 1181px) {
  .hero-copy-main {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .hero .hero-kicker {
    margin-bottom: 0;
    /* Add a small optical inset beneath the curved c in the wordmark. */
    margin-left: calc(clamp(300px, 40vw, 660px) * 0.161271 + 4px);
  }
  .hero-copy-sub {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    align-items: center;
    gap: 16px;
    width: min(33vw, 544px);
    max-width: none;
    padding-top: 22px;
    padding-right: 42px;
  }
  .hero-lede { font-size: 15px; }
  .hero-cta {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* the chip, carved into the bottom-right corner */
.hero-chip {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 6px 22px;
}
.hero-chip .chip-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #edeaf8;
  color: var(--ink);
}
.hero-chip .chip-thumb svg { width: 26px; }
.hero-chip .chip-text { display: grid; gap: 2px; width: max-content; }
.hero-chip strong { display: flex; justify-content: space-between; gap: 1px; font-size: 16px; font-weight: 700; line-height: 1.2; color: var(--ink); letter-spacing: 0; }
.hero-chip em {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
  transition: color 200ms ease;
}
.hero-chip:hover em { color: var(--violet); }

/* compact hero: stop reshaping the carve before it becomes visually accidental */
@media (max-width: 1180px) {
  .hero-stage {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) max-content max-content;
    grid-template-areas: "brand action badge" "field field field" "intro intro intro";
    align-items: center;
    gap: 18px 24px;
  }
  .hero-copy { display: contents; }
  .hero-copy-main { grid-area: brand; max-width: none; padding: 0 4px; }
  .hero-field { grid-area: field; height: clamp(340px, 52vh, 520px); border-radius: 22px; clip-path: none !important; }
  .hero-copy-sub { display: contents; }
  .hero-lede { grid-area: intro; max-width: 68ch; justify-self: start; }
  .hero-cta { grid-area: action; justify-self: end; gap: 10px; }
  .hero-cta .disc-btn { width: 48px; height: 48px; }
  .hero-chip { grid-area: badge; position: static; margin: 0; padding: 0; gap: 10px; }
  .hero-chip .chip-thumb { width: 40px; height: 40px; border-radius: 10px; }
  .hero-kicker { max-width: 32ch; margin-bottom: 12px; line-height: 1.6; }
  .wordmark-img { width: clamp(200px, 24vw, 290px); }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .hero-copy-main {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
  }
  .hero-kicker {
    max-width: none;
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: 0;
  }
  .hero-lede { justify-self: center; text-align: center; }
  .hero-chip { justify-self: end; margin-right: 11px; text-align: right; }
}

/* ---------- section frame ---------- */

.capabilities, .approach, .proof, .sectors {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ---------- manifesto + emblem window (kept from v11) ---------- */

.manifesto {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(64px, 8vw, 106px) var(--pad-x) clamp(44px, 5.5vw, 80px);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.manifesto .display { max-width: 24ch; }
.manifesto-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: 48px;
  max-width: 58ch;
}
.manifesto-cols p { color: var(--muted); }
.manifesto-cols p::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--violet);
}
.emblem-window { max-width: 480px; justify-self: end; width: 100%; }
.emblem-window-clip {
  position: relative;
  aspect-ratio: 408.36 / 341.59;
  clip-path: url(#emblemClip);
  overflow: hidden;
  background: var(--navy);
}
.emblem-window-clip > img:first-child {
  width: 100%;
  height: 124%;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.05);
}
.emblem-window-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(111, 73, 252, 0.22), rgba(4, 13, 76, 0.42));
  mix-blend-mode: multiply;
}
.window-logo {
  position: absolute;
  left: 50%;
  bottom: 13%;
  transform: translateX(-50%);
  width: clamp(86px, 9vw, 124px);
  filter: brightness(0) invert(1);
  opacity: 0.92;
  z-index: 1;
}
.emblem-window figcaption {
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.emblem-window figcaption span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
}
@media (max-width: 980px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .emblem-window { justify-self: start; }
}

/* ---------- stakes + facility (light) ---------- */

.stakes {
  position: relative;
  margin: 0 var(--frame-gap);
  padding: clamp(80px, 10vw, 150px) var(--pad-x);
  background:
    radial-gradient(120% 130% at 84% 22%, #ece8fb, rgba(236, 232, 251, 0) 58%),
    linear-gradient(165deg, #f4f2fc 0%, #eae6f9 100%);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.stakes-emblem {
  position: absolute;
  right: clamp(-60px, -2vw, 0px);
  top: clamp(60px, 8vw, 120px);
  width: clamp(280px, 34vw, 520px);
  opacity: 0.07;
  pointer-events: none;
  -webkit-mask: linear-gradient(205deg, #000 26%, transparent 74%);
  mask: linear-gradient(205deg, #000 26%, transparent 74%);
}
.stakes-inner { position: relative; max-width: var(--maxw); margin-inline: auto; }
.stakes .display { max-width: 18ch; }
.stakes-lede {
  margin-top: 28px;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
}
.stakes-top, .stakes-rack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); /* shared grid: both halves line up */
  gap: clamp(36px, 6vw, 96px);
}
.stakes-top {
  align-items: end;
}
.threat-index {
  border-top: 0;
}
.threat-index li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(10, 14, 42, 0.09);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.threat-index li:last-child { border-bottom: 0; }
.threat-index li::before {
  content: "";
  flex: 0 0 auto;
  width: 10px; height: 8px;
  background: var(--violet);
  opacity: 0.55;
  transform: translateY(-1px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 980px) {
  .stakes-top { grid-template-columns: 1fr; align-items: start; }
  .threat-index { max-width: 420px; }
}

/* the rack, folded into the stakes */
.stakes-rack {
  align-items: center;
  margin-top: clamp(40px, 5vw, 66px);
  padding-top: clamp(34px, 4.5vw, 54px);
}
.stakes-rack .cap-tag { color: var(--violet); }
.stakes-rack h3 {
  position: relative;
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.schematic-plate {
  position: relative;
  max-width: 360px;
  width: 100%;
  justify-self: end;
  aspect-ratio: 320 / 420;
  background: rgba(251, 251, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(10, 14, 42, 0.07), 0 24px 60px rgba(10, 14, 42, 0.08);
  padding: clamp(14px, 1.6vw, 24px) clamp(14px, 1.6vw, 24px) 62px;
}
.schematic-plate svg { width: 100%; height: 100%; }
[data-schematic] .s {
  stroke: rgba(4, 13, 76, 0.42);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s var(--ease-out);
}
[data-schematic].is-drawn .s { stroke-dashoffset: 0; }
[data-schematic] .sk-text text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  fill: var(--muted);
  opacity: 0;
  transition: opacity 600ms ease 1s;
}
[data-schematic].is-drawn .sk-text text { opacity: 1; }
.no-js [data-schematic] .s { stroke-dashoffset: 0; }
.no-js [data-schematic] .sk-text text { opacity: 1; }

@media (max-width: 980px) {
  .stakes-rack { grid-template-columns: 1fr; }
  .schematic-plate { justify-self: start; max-width: 320px; }
}

/* ---------- capabilities ---------- */

.capabilities {
  padding-top: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.cap-head {
  position: relative;
  padding-bottom: clamp(26px, 3vw, 40px);
}
.cap-head::after,
.cap:not(:last-child)::after,
.proof::before,
.sectors::before {
  content: "";
  position: absolute;
  height: 12px;
  background:
    linear-gradient(90deg, rgba(122, 91, 255, 0), rgba(122, 91, 255, 0.18), rgba(122, 91, 255, 0)),
    linear-gradient(90deg, rgba(10, 14, 42, 0), rgba(10, 14, 42, 0.14), rgba(10, 14, 42, 0));
  background-size: 100% 1px, 72% 1px;
  background-position: 0 3px, 100% 9px;
  background-repeat: no-repeat;
  opacity: 0.66;
  pointer-events: none;
  animation: trace-drift 4.8s var(--ease-out) infinite;
}
.cap-head::after,
.cap:not(:last-child)::after {
  left: 0;
  right: 0;
  bottom: 0;
}
.cap-sub { margin-top: 24px; color: var(--muted); max-width: 52ch; }

.cap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: stretch;
  padding: clamp(52px, 6.5vw, 100px) 0;
}
.cap-rev .cap-media { order: 2; }
.cap-rev .cap-copy { order: 1; }
.cap-copy { align-self: stretch; }
@media (min-width: 981px) {
  .cap-network { row-gap: 0; }
  .cap-network .cap-copy { grid-column: 1; grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; }
  .cap-network .cap-media { grid-column: 2; grid-row: 2; margin-top: 22px; }
}
.cap-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(340px, 30vw, 480px);
  background: var(--mist);
  box-shadow: 0 30px 70px rgba(10, 14, 42, 0.12);
}
.cap-media img {
  /* Keep the photo out of grid row sizing (Safari can inflate percentage heights). */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
}
.cap-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(10, 14, 42, 0.08);
  pointer-events: none;
}

/* per-row figure variants: one cutout language, placed uniquely */
/* perimeter: the lead panel. Light fill like The Stakes; blueprint, log and story read as one view */
.cap.cap-media-wide {
  grid-template-columns: minmax(0, 1.36fr) minmax(360px, 1fr);
  gap: clamp(28px, 3.4vw, 56px);
  align-items: center;
  margin: clamp(24px, 3vw, 40px) 0 clamp(8px, 1.5vw, 20px);
  padding: clamp(18px, 2.4vw, 36px);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 130% at 84% 22%, #ece8fb, rgba(236, 232, 251, 0) 58%),
    linear-gradient(165deg, #f4f2fc 0%, #eae6f9 100%);
}
.cap.cap-media-wide::after { display: none; }
.cap-media:has(.watch) { min-height: 0; aspect-ratio: auto; align-self: start; }
.cap-media-wide .cap-tag { margin-bottom: 16px; }
.cap-media-wide h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); max-width: 18ch; }
.cap-media-wide .cap-lede { margin-top: 14px; font-size: 1rem; }
.cap-media-wide .cap-media img { filter: saturate(0.66) hue-rotate(-8deg) contrast(1.03) brightness(1.02); }
.cap.cap-map-wide { grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr); }
.cap-map-wide .cap-copy { align-self: center; }
.cap-media.map {
  min-height: 0;
  width: 100%;
  align-self: stretch;
}

/* the caption chips that live in the carves */
.cap-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cap-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-bright);
  box-shadow: 0 0 8px rgba(157, 130, 255, 0.8);
  animation: chipPulse 2.6s ease-in-out infinite;
}
@keyframes chipPulse { 50% { opacity: 0.35; } }
.chip-bl { left: 0; bottom: 0; padding: 12px 18px 4px 2px; }
.chip-tr { right: 0; top: 0; padding: 4px 2px 12px 18px; }
[data-notch-tight] .chip-tr { padding: 2px 2px 7px 12px; font-size: 9.5px; letter-spacing: 0.14em; }
.chip-tl { left: 0; top: 0; padding: 4px 18px 12px 2px; }
.chip-br { right: 0; bottom: 0; padding: 12px 2px 4px 18px; }

/* until the carve lands (mobile, no-js): a quiet pill over the image */
[data-notch]:not(.is-carved) .cap-chip {
  padding: 8px 14px 8px 11px;
  border-radius: 100px;
  background: rgba(2, 6, 30, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(251, 251, 255, 0.9);
}
[data-notch]:not(.is-carved) .chip-bl { left: 14px; bottom: 14px; }
[data-notch]:not(.is-carved) .chip-tr { right: 14px; top: 14px; }
[data-notch]:not(.is-carved) .chip-tl { left: 14px; top: 14px; }
[data-notch]:not(.is-carved) .chip-br { right: 14px; bottom: 14px; }

.cap-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 26px;
}
.cap-tag span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}
.cap-tag { flex-wrap: wrap; row-gap: 6px; }
.cap-tag em { font-style: normal; color: var(--muted); }
.cap h3 em, .stakes-rack h3 em { font-style: normal; color: var(--violet); }
.cap h3 {
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.cap-lede {
  margin-top: 22px;
  max-width: 50ch;
  font-size: 1.05rem;
  color: var(--muted);
}
.cap-list {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
  max-width: 460px;
}
.cap-list li {
  padding: 13px 2px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.cap-list li:last-child { border-bottom: 0; }
.cap-list li::before {
  content: "";
  display: inline-block;
  width: 11px; height: 9px;
  margin-right: 13px;
  background: var(--violet);
  opacity: 0.75;
  vertical-align: middle;
  transform: translateY(-1px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity 240ms ease;
}
.cap-list li { transition: color 240ms ease; }
.cap-list li:hover { color: var(--violet); }
.cap-list li:hover::before { opacity: 1; }

/* perimeter: track record + grouped services, readable at a glance beside the live blueprint */
.cap-cred {
  display: grid;
  grid-template-columns: repeat(3, auto); justify-content: start;
  margin-top: 22px;
  max-width: 480px;
}
.cap-cred li { position: relative; padding: 14px 12px 2px; text-align: center; }
.cap-cred li + li { border-left: 1px solid var(--line); }
/* a slow scan light runs along each record's top rule, one after another: noticed, never loud */
.cap-cred li::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, rgba(111, 73, 252, 0) 0%, var(--violet) 50%, rgba(111, 73, 252, 0) 100%) no-repeat, var(--line);
  background-size: 40% 100%, 100% 1px;
  background-position: -60% 0, 0 0;
  animation: credScan 7.5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
.cap-cred li:nth-child(2)::before { animation-delay: 0.5s; }
.cap-cred li:nth-child(3)::before { animation-delay: 1s; }
@keyframes credScan { 0% { background-position: -60% 0, 0 0; } 22%, 100% { background-position: 160% 0, 0 0; } }
.cap-cred b { display: block; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
.cap-cred span { display: block; white-space: nowrap; margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.cap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); gap: 18px 22px; margin-top: 24px; max-width: 500px; }
.cap-group { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.cap-cols .cap-list { margin-top: 0; }
.cap-cols .cap-list li { padding: 8px 2px; font-size: 13.5px; }
.cap-cols .cap-list li { display: flex; align-items: baseline; } /* wrapped words hang under the first word, not the mark */
.cap-cols .cap-list li::before { flex: none; margin-right: 8px; transform: translateY(1px); }
/* key capability words: a quiet highlighter stroke */
.cap-media-wide strong { font-weight: 650; color: var(--ink); background: linear-gradient(transparent 64%, rgba(111, 73, 252, 0.14) 64%, rgba(111, 73, 252, 0.14) 92%, transparent 92%); }

/* ---------- approach ---------- */

.approach {
  padding-top: clamp(90px, 11vw, 150px);
  padding-bottom: clamp(90px, 11vw, 150px);
}
.steps-wrap { position: relative; margin-top: clamp(44px, 6vw, 76px); }
.steps-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; }
.steps-line path { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.steps li { padding-top: 28px; }
.steps li i {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--violet);
}
.steps h3 { margin-top: 14px; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.01em; }
.steps p { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.no-js .steps-line path { stroke-dashoffset: 0; }

/* ---------- proof ---------- */

.proof {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 56px);
  padding-top: clamp(60px, 7vw, 90px);
  padding-bottom: clamp(44px, 5.5vw, 80px);
}
.proof::before,
.sectors::before {
  left: var(--pad-x);
  right: var(--pad-x);
  top: 0;
}
.stat { position: relative; padding-top: 26px; border-top: 2px solid var(--violet); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}
.stat strong {
  display: block;
  font-weight: 300;
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat strong span { color: var(--violet); }
.stat-note { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 26ch; }

/* ---------- sectors ---------- */

.sectors {
  position: relative;
  padding-top: clamp(44px, 5.5vw, 80px);
  padding-bottom: clamp(100px, 13vw, 180px);
}
.sectors-sub { margin-top: 24px; color: var(--muted); max-width: 60ch; }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sector {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  background: var(--paper);
  transition: background-color 900ms ease;
}
.sector:hover { background: var(--mist); transition-duration: 240ms; }
.sector.is-lit { background: #f0edfc; }
.sector.featured h3 { color: var(--ink); }
.sector-i {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--violet);
}
.sector h3 {
  margin-top: 26px;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sector p { margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- footer ---------- */

.footer {
  position: relative;
  margin: var(--frame-gap);
  padding: clamp(32px, 4vw, 50px) var(--pad-x) clamp(18px, 2vw, 26px);
  background: linear-gradient(168deg, #1a2158 0%, #0e1342 100%);
  color: #fff;
  border-radius: var(--radius);
}
.footer-chip {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 4px 14px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms ease;
}
.footer-chip:hover { color: var(--violet); }
.footer-chip svg { width: 15px; color: var(--violet); }
.footer:not(.is-carved) .footer-chip { color: var(--lavender); padding: 18px 22px; }
.footer:not(.is-carved) .footer-chip svg { color: var(--lavender); }
.footer-cta {
  --footer-submit-size: 56px;
  --footer-form-gap: 12px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: clamp(32px, 5vw, 90px);
  align-items: end;
  padding-bottom: clamp(22px, 2.8vw, 36px);
  border-bottom: 1px solid var(--line-light);
}
.footer-cta .display { color: #fff; max-width: 16ch; }
@media (min-width: 900px) {
  .footer[data-notch="tr"] .footer-cta { padding-top: 24px; }
}
.footer-cta-copy p {
  margin-top: 18px;
  color: var(--muted-light);
  max-width: none;
  font-size: clamp(14px, 1vw, 15px);
  line-height: 1.58;
}
.footer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--footer-submit-size);
  gap: var(--footer-form-gap);
  align-items: center;
}
.footer-form .disc-btn { grid-column: 2; grid-row: 1; width: var(--footer-submit-size); height: var(--footer-submit-size); }
.footer-form .form-ack { grid-column: 1; max-width: none; }
.footer-form .footer-form-status { grid-column: 1 / -1; }
.form-verification { margin: 12px 0; }
.footer-form .form-verification { grid-column: 1; min-width: 0; }
/* Align supporting text with the email field border on every shared footer. */
.footer-form > :is(.footer-form-note, .form-ack, .footer-form-status) {
  padding-left: 0;
  text-align: left;
}
@media (max-width: 600px) {
  .footer-form .form-verification { grid-column: 1 / -1; }
}
.footer-form-note {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-bright);
}
.footer-form > .footer-form-note {
  grid-column: 1;
  width: 100%;
  margin-left: 0;
  text-align: left;
}
.form-ack {
  flex-basis: 100%;
  width: 100%;
  margin: -2px 0 0;
  max-width: 58ch;
  text-align: left;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(238, 236, 255, 0.62);
}
.form-ack a {
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-form-status {
  flex-basis: 100%;
  width: 100%;
  margin-top: 2px;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--violet-bright);
}
.footer-form-status strong {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-form-status.is-error {
  color: #d28a91;
}
.footer-form input {
  min-width: 0;
  width: 100%;
  height: 52px;
  border: 1px solid rgba(111, 73, 252, 0.55);
  border-radius: 7px;
  background: rgba(251, 251, 255, 0.07);
  padding: 0 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
/* Optical alignment for the rounded field edge. */
.footer-form input[type="email"] { position: relative; left: -2px; }
.footer-form input::placeholder { color: rgba(208, 197, 251, 0.75); }
.footer-form input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(111, 73, 252, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) repeat(3, minmax(110px, auto)) minmax(150px, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(24px, 3vw, 38px) 0;
}
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-light);
  max-width: 32ch;
}
.footer-grid h4,
.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 18px;
}
.footer-grid nav { display: flex; flex-direction: column; gap: 11px; }
.footer-grid nav a {
  position: relative;
  align-self: flex-start;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(251, 251, 255, 0.78);
  transition: color 200ms ease;
}
.footer-grid nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--violet-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.footer-grid nav a:hover { color: #fff; }
.footer-grid nav a:hover::after { transform: scaleX(1); }
.footer-contact .footer-mail {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lavender);
  border-bottom: 1px solid rgba(208, 197, 251, 0.35);
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
}
.footer-contact .footer-mail:hover { color: #fff; border-color: #fff; }
.footer-grid .footer-langs, .footer-langs { display: flex; flex-direction: row; gap: 16px; margin-top: 16px; }
.footer-langs a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  transition: color 200ms ease;
}
.footer-langs a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--violet-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.footer-langs a:hover { color: #fff; }
.footer-langs a:hover::after { transform: scaleX(1); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 251, 255, 0.5);
}

/* ---------- reveal defaults (JS adds visible state) ---------- */
/* nothing hidden by default: motion enhances an already-visible page */

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .cap { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 48px); padding: clamp(56px, 9vw, 90px) 0; }
  .cap-rev .cap-media, .cap-rev .cap-copy { order: 0; }
  .cap-media { aspect-ratio: 16 / 10; max-width: 560px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps-line { display: none; }
  .proof { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .wordmark { font-size: clamp(3.8rem, 16vw, 9rem); }
  .footer-cta { grid-template-columns: 1fr; align-items: start; }
  .footer-cta-copy p { width: calc(100% - var(--footer-submit-size) - var(--footer-form-gap)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .float-cta { display: none; }
  .dock-nav { gap: 14px; padding: 13px 18px 15px; width: max-content; max-width: calc(100% - 24px); }
  .dock-nav a { font-size: 11.5px; }
  .float-links a { padding: 7px 9px; font-size: 12px; }
  .proof { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --pad-x: clamp(24px, 6.5vw, 34px); }
  .float-nav {
    top: max(12px, env(safe-area-inset-top));
    width: calc(100vw - 32px);
    max-width: 680px;
    justify-content: center;
    padding: 9px 12px;
    will-change: transform, opacity;
    transition: transform 340ms var(--ease-out), opacity 240ms ease;
  }
  .float-nav.is-mobile-hidden {
    transform: translate(-50%, 0);
    opacity: 0;
    pointer-events: none;
  }
  .dock-nav.is-mobile-hidden {
    transform: translate(-50%, 0);
    opacity: 0;
    pointer-events: none;
  }
  .float-glyph { display: none; }
  .float-links {
    width: 100%;
    justify-content: center;
    gap: clamp(5px, 2vw, 10px);
  }
  .float-links .nav-ink {
    display: none;
  }
  .float-links a {
    padding: 8px clamp(5px, 1.6vw, 9px);
    border-radius: 0;
    font-size: clamp(11.5px, 3.05vw, 13px);
    white-space: nowrap;
  }
  .float-links a::after {
    content: "";
    position: absolute;
    left: clamp(5px, 1.6vw, 9px);
    right: clamp(5px, 1.6vw, 9px);
    bottom: 3px;
    height: 1px;
    background: rgba(251, 251, 255, 0.9);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 260ms var(--ease-out);
  }
  .float-links a.is-active::after {
    transform: scaleX(1);
  }
  .dock-nav {
    width: calc(100vw - 32px);
    max-width: 680px;
    justify-content: center;
    gap: clamp(8px, 2.4vw, 16px);
    padding-inline: 12px;
    overflow: hidden;
    will-change: transform, opacity;
    transition: transform 340ms var(--ease-out), opacity 240ms ease;
  }
  .dock-nav a {
    flex: 0 1 auto;
    min-width: 0;
    padding: 8px clamp(5px, 1.6vw, 9px);
    font-size: clamp(11.5px, 3.2vw, 13.5px);
    white-space: nowrap;
  }
  .svcb-hero {
    padding-top: max(112px, calc(env(safe-area-inset-top) + 94px));
  }

  .cap,
  .cap.cap-media-wide,
  .cap.cap-map-wide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 52px 0;
  }
  .cap-rev .cap-media,
  .cap-rev .cap-copy {
    order: 0;
  }
  .cap-media {
    width: 100%;
    min-height: 0;
    max-width: none;
    aspect-ratio: 4 / 3;
  }
  .cap-media img {
    height: 100%;
    transform: none;
  }
  .cap h3 {
    max-width: 11.5ch;
    font-size: clamp(2rem, 10.5vw, 2.75rem);
  }
  .cap-lede,
  .cap-list {
    max-width: none;
  }
  .cap-chip {
    max-width: calc(100% - 28px);
    overflow-wrap: anywhere;
  }

  .board {
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .tile,
  .t-01,
  .t-info,
  .t-wide,
  .t-managed {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
  .mg-groups {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    padding: 18px 0 12px;
  }
  .footer-grid h4,
  .footer-heading { margin-bottom: 10px; }
  .footer-grid nav { gap: 8px; }
  .footer {
    margin: 12px;
    padding-top: 24px;
    padding-bottom: 16px;
    border-radius: 24px;
  }
  .footer-chip { display: none; }
  .footer-cta {
    display: block;
    padding-bottom: 18px;
  }
  .footer-cta .display {
    max-width: 12ch;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.02;
  }
  .footer-cta-copy p {
    margin-top: 12px;
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.5;
  }
  .footer-form {
    margin-top: 16px;
    gap: 9px 10px;
  }
  .footer-form input {
    flex-basis: 100%;
    height: 46px;
  }
  .footer-form .disc-btn {
    width: 48px;
    height: 48px;
  }
  .footer-form-note {
    flex-basis: auto;
    font-size: 9.5px;
    letter-spacing: 0.13em;
  }
  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }
  .footer-brand {
    display: grid;
    gap: 10px;
  }
  .footer-brand img {
    width: 142px;
    height: auto;
  }
  .footer-brand p {
    margin-top: 0;
    max-width: none;
    font-size: 13px;
    line-height: 1.45;
  }
  .footer-grid nav {
    min-width: 0;
  }
  .footer-grid nav[aria-label="Capabilities"] {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
  }
  .footer-grid nav[aria-label="Capabilities"] .footer-heading {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .footer-grid nav[aria-label="Capabilities"] a:nth-of-type(1) {
    order: 2;
  }
  .footer-grid nav[aria-label="Capabilities"] a:nth-of-type(2) {
    order: 1;
  }
  .footer-grid nav[aria-label="Capabilities"] a:nth-of-type(3) {
    order: 4;
  }
  .footer-grid nav[aria-label="Capabilities"] a:nth-of-type(4) {
    order: 3;
  }
  .footer-grid nav a,
  .footer-contact .footer-mail {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .footer-grid nav a {
    font-size: 13px;
    line-height: 1.35;
  }
  .footer-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 9px 20px;
    padding-top: 4px;
  }
  .footer-contact .footer-heading {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    margin-bottom: 0;
    transform: translateY(1px);
  }
  .footer-contact .footer-mail {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    font-size: 12.5px;
  }
  .footer-contact .li-btn {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-top: 0;
    width: 28px;
    height: 28px;
  }
  .footer-contact .footer-langs {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: 0;
    gap: 12px;
  }
  .footer-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 13px;
    padding-top: 14px;
    font-size: 10.5px;
    letter-spacing: 0.07em;
    line-height: 1.5;
  }
  .footer-base span {
    display: inline-flex;
    flex-wrap: wrap;
  }
  .footer-compact .footer-base {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: center;
    align-items: center;
    gap: 5px 14px;
    margin-top: 4px;
    padding-top: 16px;
    text-align: center;
    font-size: 8.75px;
    letter-spacing: 0.055em;
    line-height: 1.45;
  }
  .footer-compact .footer-base span {
    justify-content: center;
  }
  .footer-compact .footer-base span:nth-child(3),
  .footer-compact .footer-base .fb-legal {
    grid-column: 1 / -1;
  }
  .footer-compact .footer-base .li-btn {
    width: 22px;
    height: 22px;
    border-radius: 7px;
  }
  .footer-compact .footer-base .li-btn svg {
    width: 11px;
    height: 11px;
  }
  .sector {
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
  }
  .tree {
    padding: 13px 14px 12px;
  }
  .tree-head {
    align-items: flex-start;
    white-space: normal;
  }
  .tree li {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    align-items: start;
    font-size: 10.5px;
    line-height: 1.45;
  }
  .tree li b {
    justify-self: start;
    margin-left: 20px;
  }
  .cap-media::before,
  .about-plate::before,
  .tile-inset-photo::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    z-index: 3;
    width: 30px;
    height: 30px;
    background: var(--bg);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    pointer-events: none;
  }
  .t-info .cap-chip {
    position: static;
    justify-self: start;
    align-self: start;
    margin-top: 4px;
    padding: 8px 14px 8px 11px;
    max-width: 100%;
  }
  [data-notch]:not(.is-carved) .t-info .cap-chip {
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .steps-line path { stroke-dashoffset: 0; }
  .scroll-progress { display: none; }
  .word-particle { color: var(--violet); }
}

/* ---------- services page: the board ---------- */

.svcb-hero {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--frame-gap) + clamp(48px, 6vh, 66px)) var(--pad-x) clamp(22px, 3vh, 30px);
}
.svcb-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.svcb-hero .hero-kicker { margin-bottom: 12px; text-align: left; }
.svc-title {
  font-weight: 700;
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.svc-title em { font-style: normal; color: var(--violet); }
.svc-lede { margin-top: 12px; max-width: 56ch; color: var(--muted); font-size: 15px; }
.svcb-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 2;
  text-align: right;
  color: var(--muted);
  white-space: nowrap;
}

.board {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--pad-x) clamp(48px, 6vh, 72px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.tile {
  position: relative;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 1.8vw, 26px);
  border-radius: 26px;
  background: rgba(10, 14, 42, 0.045);
}
.tile-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.tile-head span { color: var(--violet); }
.tile h2 {
  margin-top: 12px;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}
.tile-sub { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.tile-items { margin-top: auto; padding-top: 18px; list-style: none; }
.tile-items li {
  position: relative;
  padding: 6px 0 6px 21px;
  font-size: 13px;
  color: var(--ink);
}
.tile-items li::before {
  content: "";
  position: absolute;
  left: 1px; top: calc(6px + 0.72em);
  width: 11px; height: 9px;
  background: var(--violet);
  opacity: 0.75;
  transform: translateY(-50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.t-01 {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  background: linear-gradient(150deg, rgba(208, 197, 251, 0.38), rgba(208, 197, 251, 0.16));
}
.t-01 .tile-copy { display: flex; flex-direction: column; }

.plan-min { align-self: center; width: 100%; padding: 8px 2px 26px 0; }
.plan-min .plan-svg { display: block; width: 100%; height: auto; }
.plan-svg .ring {
  fill: none;
  stroke: rgba(4, 13, 76, 0.32);
  stroke-width: 1.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.plan-svg .r2 { transition-delay: 0.18s; }
.plan-svg .r3 { transition-delay: 0.36s; }
.plan-svg .r4 { stroke: var(--violet); stroke-width: 1.6; transition-delay: 0.54s; }
.plan-svg .rack-ticks {
  fill: none;
  stroke: rgba(111, 73, 252, 0.55);
  stroke-width: 1.1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s ease 1.05s;
}
.plan-svg .plan-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  fill: rgba(4, 13, 76, 0.48);
  opacity: 0;
  transition: opacity 0.8s ease 0.6s;
}
.plan-svg .route {
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.4, 0, 0.2, 1) 1.05s;
}
.plan-svg .ctrl circle { fill: var(--violet); opacity: 0; transition: opacity 0.6s ease 2.1s; }
.plan.drawn .ring, .plan.drawn .rack-ticks, .plan.drawn .route { stroke-dashoffset: 0; }
.plan.drawn .plan-label { opacity: 1; }
.plan.drawn .ctrl circle { opacity: 1; }

.t-cta { background: #040D4C; }
.t-cta .tile-head { color: rgba(251, 251, 255, 0.55); }
.t-cta .tile-head span { color: #D0C5FB; }
.t-cta h2 { color: #FBFBFF; }
.t-cta .tile-sub { color: rgba(251, 251, 255, 0.66); }
.disc-link {
  margin-top: auto;
  align-self: flex-start;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(111, 73, 252, 0.55);
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.disc-link svg { width: 20px; height: 20px; }
.disc-link:hover { transform: translate(2px, -2px); }

@media (max-width: 1180px) {
  .tile { grid-column: span 6; }
  .t-01 { grid-column: span 12; }
}
@media (max-width: 700px) {
  .tile, .t-01 { grid-column: span 12; }
  .t-01 { grid-template-columns: 1fr; }
  .plan-min { max-width: 320px; padding-bottom: 8px; }
  .svcb-hero-row { flex-direction: column; align-items: flex-start; }
  .svcb-meta { text-align: left; }
}

/* ---------- v20: groups, info card, tree, managed band, light footer ---------- */

.board-part { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; margin-top: clamp(34px, 5vh, 58px); }
.board-part:first-child { margin-top: 0; }
.board-part strong { order: 1; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; color: var(--violet); white-space: nowrap; }
.board-part::after { content: ""; order: 2; flex: 1; height: 1px; background: rgba(10, 14, 42, 0.12); align-self: center; }
.board-part span { order: 3; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.t-info {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(24px, 3vw, 56px);
  background: linear-gradient(205deg, rgba(208, 197, 251, 0.3) 0%, rgba(224, 219, 250, 0.14) 46%, rgba(251, 251, 255, 0.5) 100%);
}
.t-info h2 em { font-style: normal; color: var(--violet); }
@media (min-width: 900px) {
  /* Keep wrapped content above the bottom-corner caption and its curved cutout. */
  .t-info[data-notch] { padding-bottom: 80px; }
}

.t-wide { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 18px; }
.t-wide .tile-copy { display: flex; flex-direction: column; }

.tree { align-self: center; width: 100%; background: #fff; border: 1px solid rgba(10, 14, 42, 0.1); border-radius: 16px; padding: 14px 16px 12px; }
.tree-head { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(10, 14, 42, 0.1); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet); }
.tree ul { list-style: none; margin-top: 8px; }
.tree li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tree-line {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tree li i { font-style: normal; color: rgba(10, 14, 42, 0.35); white-space: pre; }
.tree li b { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.tree li b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.tree .ok { color: var(--muted); }
.tree .ok::before { background: rgba(4, 13, 76, 0.22); }
.tree .risk { color: var(--violet); }
.tree .risk::before { background: var(--violet); }
.tree li:nth-child(1) { transition-delay: 0.15s; }
.tree li:nth-child(2) { transition-delay: 0.3s; }
.tree li:nth-child(3) { transition-delay: 0.45s; }
.tree li:nth-child(4) { transition-delay: 0.6s; }
.tree li:nth-child(5) { transition-delay: 0.75s; }
.tree.drawn li { opacity: 1; transform: none; }

.t-managed { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.9fr); gap: clamp(24px, 3vw, 56px); }
.mg-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 32px); align-content: center; }
.mg-groups h3 { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet); padding-bottom: 9px; border-bottom: 1px solid rgba(10, 14, 42, 0.12); }
.mg-groups ul { list-style: none; margin-top: 9px; }
.mg-groups .tile-items { padding-top: 0; }
.mg-groups ul:not(.tile-items) li { padding: 3.5px 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; color: var(--muted); }

/* chips appear only once their notch is carved (kills the pill flash) */
@media (min-width: 901px) {
  [data-notch] .cap-chip { opacity: 0; transition: opacity 400ms ease 120ms; }
  [data-notch].is-carved .cap-chip { opacity: 1; }
}

/* hero watermark eases in after the film paints (kills the sky flash) */
@keyframes heroMarkIn { from { opacity: 0; } }
.hero-mark { animation: heroMarkIn 1100ms ease 600ms backwards; }

.footer-light {
  width: min(calc(100% - 2 * var(--frame-gap)), calc(var(--maxw) - 2 * var(--pad-x)));
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(208, 197, 251, 0.42), rgba(208, 197, 251, 0.16));
  color: var(--ink);
}
.footer-light .footer-cta { border-bottom-color: rgba(10, 14, 42, 0.14); }
.footer-light .footer-cta .display { color: var(--ink); }
.footer-light .footer-cta-copy p { color: var(--muted); }
.footer-light .footer-form input { background: #fff; color: var(--ink); border-color: rgba(111, 73, 252, 0.5); }
.footer-light .footer-form input::placeholder { color: rgba(4, 13, 76, 0.4); }
.footer-light .footer-form-note { color: var(--violet); }
.footer-light .form-ack { color: rgba(4, 13, 76, 0.58); }
.footer-light .footer-form-status { color: var(--violet); }
.footer-light .footer-form-status.is-error { color: #a4525a; }
.footer-light .footer-brand img { filter: none; opacity: 1; }
.footer-light .footer-brand p { color: var(--muted); }
.footer-light .footer-grid h4,
.footer-light .footer-heading { color: var(--violet); }
.footer-light .footer-grid nav a { color: rgba(4, 13, 76, 0.72); }
.footer-light .footer-grid nav a:hover { color: var(--ink); }
.footer-light .footer-contact .footer-mail { color: var(--violet); border-color: rgba(111, 73, 252, 0.4); }
.footer-light .footer-contact .footer-mail:hover { color: var(--ink); border-color: var(--ink); }
.footer-light .footer-langs a { color: var(--muted); }
.footer-light .footer-langs a:hover { color: var(--ink); }
.footer-light .footer-base { color: rgba(4, 13, 76, 0.5); border-top-color: rgba(10, 14, 42, 0.14); }
.footer-light .footer-chip, .footer-light:not(.is-carved) .footer-chip { color: var(--muted); }
.footer-light .footer-chip:hover { color: var(--violet); }

@media (max-width: 1180px) {
  .t-wide { grid-column: span 12; }
  .t-managed, .t-info { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .t-wide { grid-template-columns: 1fr; }
  .mg-groups { grid-template-columns: 1fr; }
  .board-part span { display: none; }
}

/* ---------- v21: field notes (blog) ---------- */

.s4 { grid-column: span 4; }
.s6 { grid-column: span 6; }
.s12 { grid-column: span 12; }
a.tile { text-decoration: none; color: inherit; }
a.tile h2 { transition: color 240ms ease; }
a.tile:hover h2 { color: var(--violet); }
.tile-hook { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.tile-go {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tile-go svg { width: 15px; height: 15px; color: rgba(10, 14, 42, 0.35); transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), color 240ms ease; }
a.tile:hover .tile-go svg { color: var(--violet); transform: translate(2px, -2px); }
.t-feat { background: linear-gradient(150deg, rgba(208, 197, 251, 0.38), rgba(208, 197, 251, 0.16)); }
.t-feat h2 { font-size: clamp(22px, 2.3vw, 30px); max-width: 30ch; }
.t-feat .tile-hook { max-width: 68ch; font-size: 14px; }

.article-head { max-width: 880px; margin-inline: auto; padding: calc(var(--frame-gap) + clamp(84px, 10vh, 108px)) var(--pad-x) clamp(28px, 4vh, 40px); }
.article-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px; }
.article-head h1 { font-weight: 700; font-size: clamp(2rem, 3.5vw, 2.9rem); line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); max-width: 24ch; }
.article-dek { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 58ch; }
.article-meta { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(10, 14, 42, 0.12); display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.article { max-width: 880px; margin-inline: auto; padding: 0 var(--pad-x) clamp(40px, 5vh, 56px); }
.article > * { max-width: 660px; }
.article p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.75; color: rgba(10, 14, 42, 0.82); }
.article h2 { margin: 36px 0 14px; font-size: 21px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.article .pull { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--violet); font-size: 19px; line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.article ul { margin: 0 0 18px; list-style: none; }
.article ul li { position: relative; padding: 5px 0 5px 25px; font-size: 15.5px; line-height: 1.6; color: rgba(10, 14, 42, 0.82); }
.article ul li::before { content: ""; position: absolute; left: 2px; top: calc(5px + 0.72em); width: 12px; height: 10px; background: var(--violet); opacity: 0.8; transform: translateY(-50%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat; }

.monday { position: relative; margin: 44px 0 0; max-width: 660px; background: linear-gradient(150deg, rgba(208, 197, 251, 0.34), rgba(208, 197, 251, 0.14)); border-radius: 22px; padding: clamp(22px, 2.6vw, 30px); }
.monday h2 { margin: 0 0 12px; font-size: 17px; }
.monday ul { margin: 0; }
.monday ul li { font-weight: 500; color: var(--ink); font-size: 14.5px; }

.article-nav { max-width: 880px; margin-inline: auto; padding: 0 var(--pad-x) clamp(48px, 6vh, 72px); display: flex; justify-content: space-between; gap: 18px; }
.article-nav a { display: flex; flex-direction: column; gap: 6px; max-width: 42%; text-decoration: none; }
.article-nav a span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.article-nav a strong { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); transition: color 240ms ease; }
.article-nav a:hover strong { color: var(--violet); }
.article-nav .next { text-align: right; align-items: flex-end; }

@media (max-width: 1180px) { .s4 { grid-column: span 6; } }
@media (max-width: 700px) { .s4, .s6 { grid-column: span 12; } .article-nav { flex-direction: column; } .article-nav a { max-width: none; } }

/* ---------- v22: case files + about ---------- */

.case-card {
  margin: 4px 0 30px;
  max-width: 660px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 30px;
  border: 1px solid rgba(10, 14, 42, 0.12);
  border-radius: 16px;
  padding: 16px 20px;
  background: #fff;
  box-shadow: 0 20px 50px -44px rgba(4, 13, 76, 0.4);
}
.case-row { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }
.case-row span { flex: 0 0 86px; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.case-row strong { font-weight: 500; color: var(--ink); }
.redact {
  position: relative;
  display: inline-block;
  min-width: var(--w, 11ch);
  height: 15px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(9, 16, 58, 0.85) 0 16px, rgba(9, 16, 58, 0.72) 16px 17px);
}
.redact i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 7.5px; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(208, 197, 251, 0.6); }

.about-plate {
  position: relative;
  width: min(calc(100% - 2 * var(--frame-gap)), calc(var(--maxw) - 2 * var(--pad-x)));
  margin: 0 auto clamp(16px, 2.4vh, 24px);
  border-radius: 26px;
  overflow: hidden;
  height: clamp(300px, 46vh, 500px);
}
.about-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: saturate(1.04) contrast(1.02); }
.about-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(111, 73, 252, 0.32) 0%, rgba(111, 73, 252, 0.1) 46%, rgba(208, 197, 251, 0.06) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.about-plate figcaption.plate-note {
  position: absolute;
  left: 22px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 251, 255, 0.85);
  text-shadow: 0 1px 10px rgba(4, 13, 76, 0.5);
}
@media (max-width: 700px) { .case-card { grid-template-columns: 1fr; } }

@media (max-width: 700px) {
  .article .cap-chip.chip-tr {
    display: none;
  }
}

/* v23: case card sizing inside article flow */
.article .case-card p { margin: 0; font-size: 11px; line-height: 1.5; }
.article .case-card .case-row span { font-size: 9.5px; }


/* ---------- v25 ---------- */


/* neutral grade for the user-supplied guard photo */
.cap-media-wide .cap-media img { filter: contrast(1.02); }

/* consent bar */
.consent {
  position: fixed;
  left: 50%; bottom: 18px;
  z-index: 90;
  transform: translate(-50%, 130%);
  opacity: 0;
  width: min(92vw, 640px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 20px;
  border-radius: 18px;
  background: rgba(251, 251, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(10, 14, 42, 0.12);
  box-shadow: 0 24px 60px -24px rgba(4, 13, 76, 0.35);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}
.consent.is-up { transform: translate(-50%, 0); opacity: 1; }
.consent p { flex: 1; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.consent p a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 8px; }
.consent-actions button {
  font: 600 12.5px/1 var(--font-sans);
  letter-spacing: 0.01em;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.consent-accept { background: var(--violet); color: #fff; }
.consent-accept:hover { background: #5d38e8; }
.consent-decline { background: transparent; color: var(--muted); border-color: rgba(10, 14, 42, 0.16); }
.consent-decline:hover { color: var(--ink); border-color: rgba(10, 14, 42, 0.34); }

/* footer legal row */
.footer-legal {
  display: flex;
  gap: 22px;
  justify-content: center;
  padding: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-legal a { color: rgba(251, 251, 255, 0.55); transition: color 200ms ease; }
.footer-legal a:hover { color: #fff; }
.footer-light .footer-legal a { color: rgba(4, 13, 76, 0.5); }
.footer-light .footer-legal a:hover { color: var(--ink); }

/* classy micro flags */
.flag {
  display: inline-block;
  width: 16px; height: 11px;
  margin-right: 9px;
  border-radius: 2.5px;
  vertical-align: -1px;
  box-shadow: inset 0 0 0 1px rgba(10, 14, 42, 0.14);
  opacity: 0.92;
}

/* photo tile (analyst) */
.tile-photo { position: relative; padding: 0; overflow: hidden; min-height: 280px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.9) contrast(1.02); }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(111, 73, 252, 0.18), rgba(111, 73, 252, 0) 55%); mix-blend-mode: screen; pointer-events: none; }
.s9 { grid-column: span 9; }
@media (max-width: 1180px) { .s9 { grid-column: span 12; } }

/* about rhythm: three clear parts */
.about-plate { margin-bottom: clamp(44px, 6.5vh, 76px); }
.about-plate img { transform: scaleX(-1); }
#who .t-info { margin-bottom: clamp(22px, 3.5vh, 44px); }

/* ---------- v26 ---------- */

/* sector consoles */
.sector { position: relative; }
.sector p { transition: opacity 320ms ease; }
.sector.is-logging p { opacity: 0.08; }
.sector-log {
  position: absolute;
  left: clamp(28px, 3vw, 44px);
  right: clamp(28px, 3vw, 44px);
  bottom: clamp(14px, 1.6vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(4, 13, 76, 0.62);
  pointer-events: none;
}
.sector-log span { display: block; animation: logIn 360ms ease both; }
.sector-log span::before { content: "› "; color: var(--violet); }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* puzzle continuity: a lip that would snap into the notch above */
.tile-tab::before {
  content: "";
  position: absolute;
  top: -13px;
  right: 24px;
  width: clamp(110px, 12vw, 175px);
  height: 13px;
  background: inherit;
  border-radius: 12px 12px 0 0;
}
@media (max-width: 900px) { .tile-tab::before { display: none; } }

/* compliance tile with the analyst at its side */
.tile-inset-photo { position: relative; border-radius: 14px; overflow: hidden; min-height: 240px; }
.tile-inset-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; filter: saturate(0.9) contrast(1.02); }
.tile-inset-photo img[data-parallax] {
  top: -6%;
  bottom: auto;
  height: 112%;
  will-change: transform;
}
.tile-inset-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(111, 73, 252, 0.16), rgba(111, 73, 252, 0) 55%); mix-blend-mode: screen; }

/* ---------- v27 ---------- */

/* map: plain artwork, top shade neutralized */
.cap-media.map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(251, 251, 255, 0.4), rgba(251, 251, 255, 0) 14%);
  pointer-events: none;
}

/* float CTA: one slow underline, no shake */
.float-cta { position: relative; }
.float-cta::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 9px;
  height: 1px;
  background: rgba(251, 251, 255, 0.9);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 140ms ease;
}
.float-cta:hover::after { opacity: 1; transform: scaleX(1); }

/* sectors: the title steps aside for the console */
.sector h3 { transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1); }
.sector.is-logging h3 { transform: translateY(-16px); }

/* blog: back to the board */
.back-disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid rgba(10, 14, 42, 0.18);
  color: var(--ink);
  transition: color 220ms ease, border-color 220ms ease, transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.back-disc svg { width: 17px; height: 17px; }
.back-disc:hover { color: var(--violet); border-color: rgba(111, 73, 252, 0.5); transform: translate(-2px, -2px); }

/* services tree: status tags */
.tree li b { padding: 2px 8px; border-radius: 6px; justify-content: flex-end; white-space: nowrap; }
.tree .ok { color: #47775a; background: rgba(76, 128, 94, 0.1); }
.tree .ok::before { background: #58936e; }
.tree .flag {
  display: inline-flex;
  width: auto;
  height: auto;
  margin-right: 0;
  border-radius: 6px;
  vertical-align: baseline;
  box-shadow: none;
  color: #a4525a;
  background: rgba(184, 85, 92, 0.1);
}
.tree .flag::before { background: #b8666c; }
.tree .risk { color: var(--violet); background: rgba(111, 73, 252, 0.09); animation: riskText 2.6s ease-in-out infinite; }
.tree .risk::before { animation: riskPulse 2.2s ease-in-out infinite; }
@keyframes riskPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes riskText { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }

/* ---------- v28 ---------- */

/* trusted-by band: stationary wordmarks with a quiet entrance */
.trust { position: relative; max-width: var(--maxw); margin-inline: auto; padding: clamp(30px, 4vh, 46px) var(--pad-x) clamp(42px, 6vh, 64px); }
.trust::after {
  content: "";
  position: absolute;
  right: var(--pad-x);
  bottom: 14px;
  width: min(28vw, 230px);
  height: 12px;
  background:
    linear-gradient(90deg, rgba(122, 91, 255, 0), rgba(122, 91, 255, 0.18), rgba(122, 91, 255, 0)),
    linear-gradient(90deg, rgba(10, 14, 42, 0), rgba(10, 14, 42, 0.14), rgba(10, 14, 42, 0));
  background-size: 100% 1px, 72% 1px;
  background-position: 0 3px, 100% 9px;
  background-repeat: no-repeat;
  opacity: 0.72;
  animation: trace-drift 4.8s var(--ease-out) infinite;
}
.trust-kicker { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; text-align: center; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 14px clamp(28px, 4vw, 56px); border-top: 1px solid rgba(10, 14, 42, 0.1); padding-top: 22px; }
.trust-row li { font-weight: 650; font-size: clamp(15px, 1.3vw, 18px); letter-spacing: -0.01em; color: rgba(4, 13, 76, 0.32); }
.trust-row li span { display: block; margin-top: 2px; font-weight: 500; font-size: 0.72em; letter-spacing: 0.02em; line-height: 1.3; color: rgba(4, 13, 76, 0.3); }
.trust-row li:has(span) { text-align: center; }

@keyframes trust-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .trust-row li, .trust-row li span { transition: color 900ms ease; }
  .trust-row li.is-lit { color: rgba(4, 13, 76, 0.78); }
  .trust-row li.is-lit span { color: rgba(4, 13, 76, 0.55); }
  .trust-kicker { animation: trust-appear 900ms ease both; }
  .trust-row li { animation: trust-appear 1000ms ease both; animation-delay: 120ms; }
  .trust-row li:nth-child(2) { animation-delay: 200ms; }
  .trust-row li:nth-child(3) { animation-delay: 280ms; }
  .trust-row li:nth-child(4) { animation-delay: 360ms; }
  .trust-row li:nth-child(5) { animation-delay: 440ms; }
  .trust-row li:nth-child(6) { animation-delay: 520ms; }
  .trust-row li:nth-child(7) { animation-delay: 600ms; }
}

/* approach breathes closer to governance */
.approach { padding-top: clamp(40px, 5vw, 68px); }

/* blog hover peek */
.tile-mid { flex: 1; display: grid; }
.tile-mid > * { grid-area: 1 / 1; }
.tile-peek { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 260ms; pointer-events: none; }
.tile-peek ul { list-style: none; margin-top: 8px; }
.tile-peek li { position: relative; padding: 2.5px 0 2.5px 16px; font-size: 12.5px; line-height: 1.5; color: rgba(4, 13, 76, 0.78); }
.tile-peek li::before { content: ""; position: absolute; left: 0; top: calc(2.5px + 0.68em); width: 10px; height: 8px; background: var(--violet); opacity: 0.75; transform: translateY(-50%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 408.36 341.59'%3E%3Cpath d='m332.72 190.95-128.54 74.21-128.5-74.21v-103.5L0 43.74v150.01c0 25.32 13.51 48.71 35.43 61.37l133.32 76.97c21.93 12.66 48.94 12.66 70.87 0l133.32-76.97c21.92-12.66 35.43-36.05 35.43-61.37V43.74l-75.64 43.71v103.5Z'/%3E%3Cpath d='M295.92 21.33 204.18 74.31 112.45 21.33 75.64 0v87.44l128.54 74.15 128.54-74.15V.07Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tile-tags { margin-top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); }
@media (hover: hover) {
  a.tile:hover .tile-hook { opacity: 0; visibility: hidden; transition-delay: 500ms, 680ms; }
  a.tile:hover .tile-peek { opacity: 1; visibility: visible; transform: none; transition-delay: 500ms, 500ms, 0s; }
  .tile-hook { transition: opacity 180ms ease, visibility 0s linear 0s; }
}

/* blog subject rail */
.board-filter { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 22px; padding-bottom: 4px; }
.board-filter button {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
  transition: color 220ms ease;
}
.board-filter button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1); }
.board-filter button:hover { color: var(--ink); }
.board-filter button.is-active { color: var(--violet); }
.board-filter button.is-active::after { transform: scaleX(1); }
.tile.is-filtered { display: none; }

/* legal links inline in trimmed footers */
.fb-legal a { color: inherit; transition: color 200ms ease; }
.footer .fb-legal a:hover { color: #fff; }
.footer-light .fb-legal a:hover { color: var(--ink); }

/* the LinkedIn mark: quiet square, violet when it matters */
.li-btn {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-left: 2px;
  vertical-align: -8px;
  border-radius: 8px;
  border: 1px solid rgba(251, 251, 255, 0.22);
  color: rgba(251, 251, 255, 0.62);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.li-btn svg { width: 13px; height: 13px; }
.li-btn:hover { color: #fff; background: #0A66C2; border-color: #0A66C2; transform: translateY(-1px); animation: liBrand 700ms ease 1.3s forwards; }
.footer-light .li-btn { border-color: rgba(4, 13, 76, 0.22); color: rgba(4, 13, 76, 0.55); }
.footer-light .li-btn:hover { color: #fff; background: #0A66C2; border-color: #0A66C2; animation: liBrand 700ms ease 1.3s forwards; }
@keyframes liBrand { to { background: var(--violet); border-color: var(--violet); } }
.footer-contact .li-btn { margin-top: 14px; width: 30px; height: 30px; }
.footer-contact .li-btn svg { width: 15px; height: 15px; }

/* contact page */
.contact-wrap { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--pad-x) clamp(48px, 6vh, 72px); display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.contact-plate { position: relative; border-radius: clamp(22px, 2.6vw, 32px); overflow: hidden; min-height: 480px; background: #cfd3de; }
.contact-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }
.contact-wrap { row-gap: 14px; }
.contact-plate { grid-column: 1; grid-row: 1; }
.contact-form { display: grid; grid-column: 2; grid-row: 1 / span 2; grid-template-rows: subgrid; }
.contact-fields, .contact-controls { display: flex; flex-direction: column; gap: 14px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { display: flex; flex-direction: column; gap: 6px; }
.f-field label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.f-field input, .f-field select, .f-field textarea {
  width: 100%;
  border: 1px solid rgba(10, 14, 42, 0.16);
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  font: 500 14.5px/1.4 var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.f-field select {
  min-height: 47px;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230a0e2a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
}
.f-field textarea { resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(111, 73, 252, 0.14); }
.f-err { display: none; font-size: 12px; color: #a4525a; }
.f-field.is-bad input, .f-field.is-bad textarea { border-color: rgba(184, 85, 92, 0.65); }
.f-field.is-bad .f-err, .f-consent.is-bad .f-err { display: block; }
.f-consent { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); }
.f-consent a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.f-consent input { accent-color: var(--violet); margin-right: 8px; }
.contact-ack { margin-top: -4px; color: rgba(4, 13, 76, 0.58); }
.f-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 4px; }
.f-actions .disc-btn { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; order: 2; }
.f-actions .disc-btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
}
.f-done {
  margin-top: -4px;
  text-align: right;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--violet);
}
.f-done strong {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; row-gap: 28px; } .contact-plate { min-height: 300px; } .contact-form { grid-column: 1; grid-row: auto; display: flex; flex-direction: column; gap: 14px; } .f-row { grid-template-columns: 1fr; } }

/* v30 */
.article-cta { max-width: 660px; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(10, 14, 42, 0.1); font-size: 14px; color: var(--muted); }
.article-cta a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* v31 */
.tile-sub-tags { margin-left: auto; font-size: 9.5px; letter-spacing: 0.16em; color: rgba(4, 13, 76, 0.42); }

/* v32 */
/* kill the first-paint flash: entrance elements start hidden once JS is on */
@media (prefers-reduced-motion: no-preference) {
  body:not(.no-js) [data-wordmark],
  body:not(.no-js) [data-hero-rise],
  body:not(.no-js) [data-carve-c],
  body:not(.no-js) [data-dock-nav] a { opacity: 0; }
}
/* article CTA with the house disc */
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.article-cta span { flex: 1; }
.cta-disc { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--violet); color: #fff; box-shadow: 0 12px 26px -12px rgba(111, 73, 252, 0.55); transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.cta-disc svg { width: 15px; height: 15px; }
.cta-disc:hover { transform: translate(2px, -2px); }
/* contact: Submit beside the disc, same line */
.f-actions .footer-form-note { flex-basis: auto; }

/* v34 */
.article-cta a.cta-disc { color: #fff; text-decoration: none; }
/* footer nav: wrap allowed, underline hugs each line exactly */
.footer-grid nav a { white-space: normal; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color 200ms ease, text-decoration-color 320ms ease; }
.footer-grid nav a::after { display: none; }
.footer-grid nav a:hover { text-decoration-color: var(--violet-bright); }
/* LinkedIn mark centered with its row */
.footer-base span { display: inline-flex; align-items: center; gap: 8px; }
.li-btn { vertical-align: middle; margin-left: 0; }
/* explicit Submit beside the disc */
.f-actions .footer-form-note { flex-basis: auto; color: var(--ink); font-weight: 600; letter-spacing: 0.14em; }

@media (min-width: 701px) and (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 28px;
    padding: 24px 0;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .footer-brand img { width: 142px; height: auto; }
  .footer-brand p { margin-top: 0; max-width: 52ch; font-size: 13px; line-height: 1.5; }
  .footer-grid > nav { min-width: 0; gap: 8px; }
  .footer-grid .footer-heading { margin-bottom: 4px; }
  .footer-grid nav a { font-size: 13px; line-height: 1.4; }
  .footer-contact {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .footer-contact .footer-heading { margin-bottom: 0; }
  .footer-contact .footer-mail { font-size: 13px; }
  .footer-contact .li-btn { margin-top: 0; }
  .footer-contact .footer-langs { margin-top: 0; margin-left: auto; }
  .footer-contact .footer-langs a { font-size: 11px; }
}

@media (max-width: 700px) {
  .svcb-hero {
    padding-top: max(136px, calc(env(safe-area-inset-top) + 116px));
  }
  .footer-cta {
    --footer-submit-size: 48px;
    --footer-form-gap: 10px;
    padding-bottom: 16px;
  }
  .footer-cta .display {
    max-width: 13ch;
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }
  .footer-cta-copy p {
    margin-top: 10px;
    max-width: none;
    font-size: 13.5px;
  }
  .footer-form-note {
    justify-self: start;
    text-align: left;
  }
  .footer-form .form-ack,
  .footer-form .footer-form-status {
    justify-self: start;
    text-align: left;
  }
  .footer-brand p {
    display: none;
  }
  .footer-contact .li-btn {
    margin-top: 0;
    width: 28px;
    height: 28px;
  }
  .tree li {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    align-items: start;
    font-size: 10.5px;
    line-height: 1.45;
  }
  .tree li b {
    justify-self: start;
    margin-left: 20px;
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .dock-nav {
    width: calc(100vw - 32px);
    max-width: 680px;
    gap: clamp(8px, 2.4vw, 16px);
    padding: 9px 12px;
  }
  .dock-nav a {
    -webkit-tap-highlight-color: transparent;
    border-radius: 999px;
    transition: background-color 180ms ease, color 180ms ease;
    font-size: clamp(11px, 3.05vw, 13px);
  }
  .dock-nav a:active {
    background: rgba(111, 73, 252, 0.1);
    color: var(--ink);
  }
  .svcb-hero {
    padding-top: max(80px, calc(env(safe-area-inset-top) + 66px));
  }
  .hero-field {
    height: clamp(360px, 50vh, 500px);
    border-radius: 28px;
  }
  @supports (clip-path: polygon(0 0)) {
    .hero-field {
      clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 78px),
        calc(100% - 178px) calc(100% - 78px),
        calc(100% - 178px) 100%,
        0 100%
      );
    }
  }
  .hero-copy-sub { order: 4; }
  .hero-chip {
    order: 3;
    position: relative;
    align-self: flex-end;
    margin-top: -58px;
    margin-bottom: 20px;
    padding: 10px 16px 0 14px;
    gap: 10px;
    z-index: 3;
  }
  .hero-chip .chip-thumb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .hero-chip strong { font-size: 14px; }
  .hero-chip em { font-size: 11.5px; }

  .cap-media img[data-parallax] {
    height: 112%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .trust {
    text-align: center;
    padding-top: 34px;
  }
  .trust-kicker {
    margin-bottom: 14px;
  }
  .trust-row {
    justify-content: center;
    gap: 12px 18px;
    padding-top: 18px;
  }
  .trust-row li {
    font-size: 14px;
  }
  .trust-row li:nth-child(6) {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.1;
  }
  .trust-row li:nth-child(6) span {
    display: block;
    margin-top: 0;
    font-size: 0.68em;
  }

  .consent {
    bottom: 10px;
    width: min(88vw, 360px);
    gap: 8px;
    padding: 8px 9px 8px 11px;
    border-radius: 13px;
  }
  .consent p {
    font-size: 10.5px;
    line-height: 1.3;
  }
  .consent-actions {
    gap: 5px;
  }
  .consent-actions button {
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 11px;
  }

  .board-part strong {
    color: var(--violet);
  }
  .tree .flag {
    animation: flagBlink 1.35s ease-in-out infinite;
  }
  @keyframes flagBlink {
    0%, 100% {
      color: #a4525a;
      background: rgba(184, 85, 92, 0.12);
      box-shadow: 0 0 0 0 rgba(184, 85, 92, 0);
    }
    50% {
      color: #8f3842;
      background: rgba(184, 85, 92, 0.22);
      box-shadow: 0 0 0 3px rgba(184, 85, 92, 0.08);
    }
  }

  .sector.featured h3 {
    color: var(--ink);
  }
  .sector.is-lit,
  .sector:hover {
    background: var(--paper);
  }
  .sector h3 {
    transition-duration: 980ms;
  }
  .sector.is-logging h3 {
    transform: translateY(-12px);
  }
  .sector-log {
    bottom: 10px;
    font-size: 10px;
  }
}

@media (max-width: 700px) {
  .hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "mark chip"
      "field field"
      "kicker kicker"
      "lede lede";
    align-items: center;
    gap: 15px 14px;
    padding-top: 4px;
  }
  .hero-copy {
    display: contents;
  }
  .hero-copy-main {
    display: contents;
  }
  .hero-kicker {
    grid-area: kicker;
    justify-self: center;
    max-width: none;
    padding: 0;
    margin: 2px 0 0;
    text-align: center;
    font-size: 9.5px;
    letter-spacing: 0.14em;
    line-height: 1.55;
  }
  .wordmark {
    grid-area: mark;
    align-self: end;
    padding-left: 4px;
  }
  .wordmark-img {
    width: clamp(148px, 42vw, 196px);
  }
  .hero-copy-sub {
    display: contents;
  }
  .hero-cta {
    display: none;
  }
  .hero-lede {
    grid-area: lede;
    max-width: none;
    width: calc(100% - 24px);
    margin-top: 0;
    margin-inline: auto;
    padding: 0;
    text-align: center;
    text-align-last: center;
    font-size: 13.8px;
    line-height: 1.55;
  }
  .hero-field {
    grid-area: field;
    height: auto;
    aspect-ratio: 1.58;
    margin-top: 2px;
    border-radius: 22px;
  }
  .hero-chip {
    grid-area: chip;
    position: static;
    justify-self: end;
    align-self: end;
    margin: 0 11px 0 0;
    padding: 0;
    gap: 7px;
  }
  .hero-chip .chip-thumb {
    display: none;
  }
  .hero-chip strong {
    font-size: 12px;
  }
  .hero-chip em {
    font-size: 9px;
    white-space: nowrap;
  }
  .hero-chip .chip-text {
    min-width: 0;
    text-align: left;
  }

  .f-field input,
  .f-field select,
  .f-field textarea {
    font-size: 16px;
  }

  .trust {
    position: relative;
    padding-bottom: clamp(38px, 10vw, 52px);
  }
  .trust::after {
    content: "";
    position: absolute;
    right: var(--pad-x);
    bottom: 12px;
    width: min(48vw, 190px);
    height: 12px;
    background:
      linear-gradient(90deg, rgba(122, 91, 255, 0), rgba(122, 91, 255, 0.18), rgba(122, 91, 255, 0)),
      linear-gradient(90deg, rgba(10, 14, 42, 0), rgba(10, 14, 42, 0.14), rgba(10, 14, 42, 0));
    background-size: 100% 1px, 72% 1px;
    background-position: 0 3px, 100% 9px;
    background-repeat: no-repeat;
    opacity: 0.72;
    animation: trace-drift 4.8s var(--ease-out) infinite;
  }

  .manifesto {
    padding-top: clamp(54px, 16vw, 72px);
  }

  .threat-index li:last-child {
    border-bottom: 0;
  }
  .threat-index,
  .threat-index li:first-child {
    border-top: 0 !important;
  }

  .approach {
    padding-top: 42px;
    padding-bottom: 52px;
  }
  .approach > .kicker {
    margin-bottom: 10px;
  }
  .approach .display {
    max-width: 12ch;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 0.98;
  }
  .steps-wrap {
    margin-top: 22px;
  }
  .steps {
    gap: 10px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 2px 14px;
    align-items: baseline;
    padding: 12px 0;
    border-top: 1px solid rgba(10, 14, 42, 0.1);
  }
  .steps li:last-child {
    border-bottom: 0;
  }
  .steps li i {
    grid-row: 1 / span 2;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .steps h3 {
    margin-top: 0;
    font-size: 1.08rem;
  }
  .steps p {
    margin-top: 2px;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-inline: var(--pad-x);
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(150deg, rgba(208, 197, 251, 0.34), rgba(251, 251, 255, 0.82));
    box-shadow: inset 0 0 0 1px rgba(10, 14, 42, 0.06);
  }
  .proof::before {
    display: none;
  }
  .stat {
    padding: 12px 10px;
    border-top: 0;
    border-radius: 15px;
    background: rgba(251, 251, 255, 0.68);
  }
  .stat-label {
    margin-bottom: 7px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }
  .stat strong {
    font-size: clamp(1.25rem, 6.8vw, 1.68rem);
    white-space: nowrap;
  }
  .stat-note {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.35;
  }
  .sectors {
    margin-top: 22px;
  }
}

@keyframes trace-drift {
  0%, 100% { transform: translateX(-8px); opacity: 0.42; }
  45% { transform: translateX(8px); opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  .trust::after {
    animation: none;
  }
}
/* article inline figure (F-01) */
.article-fig { position: relative; max-width: 660px; margin: 28px 0; border-radius: 20px; overflow: hidden; }
.article-fig img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 1207; filter: saturate(0.92); }
/* accessibility: skip link + visible focus */
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--violet); color: #fff; font: 600 13px/1 var(--font-sans); }
.skip-link:focus { left: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* ---------- site watch: light blueprint + live control feed (replaces the guard photo) ---------- */

.watch {
  --bp: 4, 13, 76;
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(40px, 6%, 52px) clamp(12px, 2.4%, 22px) clamp(12px, 2%, 18px);
  background:
    radial-gradient(70% 55% at 62% 38%, rgba(208, 197, 251, 0.35), rgba(208, 197, 251, 0) 70%),
    linear-gradient(168deg, #fbfbff 0%, #f3f1fb 100%);
  font-family: var(--font-sans);
}
.bp { display: block; width: 100%; height: auto; overflow: visible; }
.bp .bp-zone rect { stroke: none; }
.bp .z1b { fill: rgba(111, 73, 252, 0.035); }
.bp .z2 { fill: rgba(111, 73, 252, 0.06); } .bp .z3 { fill: rgba(111, 73, 252, 0.1); } .bp .z4 { fill: rgba(111, 73, 252, 0.2); }
.bp-thin * { fill: none; stroke: rgba(var(--bp), 0.28); stroke-width: 0.8; }
.bp-shell { fill: rgba(255, 255, 255, 0.55); stroke: var(--navy); stroke-opacity: 0.85; stroke-width: 1.6; }
.bp-wall line { stroke: rgba(var(--bp), 0.5); stroke-width: 1; }
.bp-door * { fill: none; stroke: rgba(var(--bp), 0.55); stroke-width: 0.8; } .bp-door .g { stroke: #f6f5fd; stroke-width: 3; }
.bp-racks rect { fill: url(#bp-rk); stroke: rgba(var(--bp), 0.45); stroke-width: 0.8; }
.bp-cage { fill: none; stroke: var(--violet); stroke-width: 1.2; stroke-dasharray: 4 3; }
.bp-ts line { stroke: rgba(var(--bp), 0.75); stroke-width: 1.4; }
.bp-ts .wing { stroke: var(--violet); stroke-width: 2; stroke-linecap: round; opacity: 0.35; transition: opacity 450ms ease, stroke 450ms ease; }
.bp-mt rect { fill: rgba(111, 73, 252, 0.12); stroke: var(--violet); stroke-width: 1; }
.bp-mt circle { fill: none; stroke: rgba(var(--bp), 0.5); stroke-width: 0.8; }
.bp-rd use { fill: var(--navy); transition: fill 250ms ease; }
.bp-cam .fov { stroke-width: 0.6; fill-opacity: 0.8; }
.bp-cam .dev { fill: #fff; stroke: var(--violet); stroke-width: 1.2; }
.bp-cam.is-flash .fov { animation: camFlash 900ms ease-out; }
@keyframes camFlash { 0% { fill-opacity: 1; stroke-width: 1.8; } 100% { fill-opacity: 0.8; stroke-width: 0.6; } }
.bp-cam text { font: 650 7.5px var(--font-sans); fill: var(--violet); letter-spacing: 0.02em; opacity: 0; transition: opacity 400ms ease; }
.bp-cam.on text { opacity: 1; }
.bp-cam.on .dev { fill: var(--violet); }
.bp-rd .on { fill: var(--violet); }
.bp-ts.ok .w2 { opacity: 0; } .bp-ts.deny .w2 { opacity: 1; stroke: #e5395d; }
.bp-cage.on { stroke: var(--navy); stroke-dasharray: none; }
.bp-text text { font: 650 8.5px var(--font-sans); letter-spacing: 0.01em; fill: rgba(var(--bp), 0.55); }
.bp-text .s { fill: var(--ink); font-size: 9.5px; } .bp-text .m { fill: rgba(var(--bp), 0.42); } .bp-text .v { fill: rgba(var(--bp), 0.38); }
.bp-zl text { font: 700 7px var(--font-sans); letter-spacing: 0.08em; fill: var(--violet); }
.bp-ping { fill: none; stroke: var(--violet); stroke-width: 1; }
/* people: top-down figure (shoulders + head), turns with the direction of travel */
.bp-ent .trail { fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.bp-ent .trail { vector-effect: non-scaling-stroke; stroke-width: 1.2px !important; stroke-dasharray: 0.5px 3.5px !important; opacity: 0.7; } /* every person: a faint dotted wake, same on screen at any zoom or device */
.bp-ent .u .trail { stroke: rgba(214, 131, 0, 0.55); stroke-dasharray: 2 3; } .bp-ent .g .trail { stroke: rgba(var(--bp), 0.35); }
.bp-ent .ring { fill: none; stroke-width: 0.8; transition: stroke 500ms ease, stroke-width 500ms ease; }
.bp-ent .u .ring { stroke: rgba(214, 131, 0, 0.55); stroke-dasharray: 2 2; } .bp-ent .g .ring { stroke: rgba(var(--bp), 0.3); }
.bp-ent .u .sh { fill: #fff; stroke: #d68300; stroke-width: 0.8; } .bp-ent .u .hd { fill: #d68300; }
.bp-ent .g .sh { stroke: var(--navy); } .bp-ent .g .cap { fill: #fff; stroke: var(--navy); stroke-width: 0.6; stroke-linejoin: round; }
.bp-ent .g .visor, .bp-ent .g .cb { fill: var(--navy); }
.bp-ent .g.resp .sh, .bp-ent .g.resp .cap { stroke: var(--violet); } .bp-ent .g.resp .visor, .bp-ent .g.resp .cb { fill: var(--violet); }
.bp-ent .cap, .bp-ent .visor, .bp-ent .cb { transition: fill 500ms ease, stroke 500ms ease; }
.bp-ent .s .badge { fill: #fff; stroke: var(--violet); stroke-width: 0.8; }
.bp-ent .tag rect { fill: #fff; stroke-width: 0.7; filter: drop-shadow(0 2px 4px rgba(4, 13, 76, 0.12)); }
.bp-ent .s .tag rect { stroke: rgba(111, 73, 252, 0.6); } .bp-ent .u .tag rect { stroke: rgba(214, 131, 0, 0.7); } .bp-ent .g .tag rect { stroke: rgba(var(--bp), 0.3); }
.bp-ent .sh, .bp-ent .hd { transition: fill 500ms ease, stroke 500ms ease; }
.bp .shield circle { fill: var(--navy); stroke: #fff; stroke-width: 0.8; transition: fill 500ms ease; }
.bp .shield use { fill: #fff; }
.bp-ent .g.resp .shield circle { fill: var(--violet); }
.bp-alarm { fill: none; stroke: rgb(var(--deny)); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.watch.is-alarm .bp-alarm { animation: doorAlarm 1.3s ease-out infinite; }
.watch.is-alarm .bp-alarm.a1 { animation-delay: 0.65s; }
@keyframes doorAlarm { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(3.4); } }
.bp-aicam { pointer-events: none; transition: opacity 400ms ease; }
.bp-aicam path { fill: none; stroke: #e5395d; stroke-linecap: round; }
.bp-aicam .glow { stroke-opacity: 0.22; filter: blur(1.5px); transition: stroke 500ms ease; }
.bp-aicam .glow.track { stroke: #e0a01e; } .bp-aicam .glow.ctrl { stroke: #2eaa78; }
.bp-aicam .glow.alarm { stroke: #e5395d; animation: camAlarm 0.9s ease-in-out infinite; }
@keyframes camAlarm { 50% { stroke-opacity: 0.5; } }
.bp-aicam .plate { fill: rgba(250, 250, 255, 0.86); stroke: rgba(4, 13, 76, 0.08); stroke-width: 0.4; }
.bp-aicam > circle { fill: #e5395d; animation: chipPulse 1.2s ease-in-out infinite; }
.bp-aicam > text { font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.06em; fill: var(--navy); font-variant-numeric: tabular-nums; }
.bp-ent .tag text { font: 650 7.5px var(--font-sans); fill: var(--ink); letter-spacing: 0.01em; }

/* control states: pastel green = granted, yellow = sent for analysis, red = denied */
.watch { --ok: 46, 170, 120; --flag: 224, 160, 30; --deny: 229, 57, 93; }
.bp-cam.ok .dev { fill: rgb(var(--ok)); stroke: rgb(var(--ok)); } .bp-cam.flag .dev { fill: rgb(var(--flag)); stroke: rgb(var(--flag)); } .bp-cam.deny .dev { fill: rgb(var(--deny)); stroke: rgb(var(--deny)); }
.bp-cam.ok text { fill: rgb(var(--ok)); } .bp-cam.flag text { fill: #b07a0c; } .bp-cam.deny text { fill: rgb(var(--deny)); }
.bp-rd .ok { fill: rgb(var(--ok)); } .bp-rd .flag { fill: rgb(var(--flag)); } .bp-rd .deny { fill: rgb(var(--deny)); }
.bp-mt.ok rect { fill: rgba(var(--ok), 0.2); stroke: rgb(var(--ok)); }
.bp-mt.deny rect { fill: rgba(var(--deny), 0.16); stroke: rgb(var(--deny)); }
.bp-cage.ok { stroke: rgb(var(--ok)); stroke-dasharray: none; fill: rgba(var(--ok), 0.08); }
.bp-ts .wing.ok { opacity: 0.15; stroke: rgb(var(--ok)); } .bp-ts .wing.deny { opacity: 1; stroke: rgb(var(--deny)); }
.bp-ping.ok { stroke: rgb(var(--ok)); } .bp-ping.flag { stroke: rgb(var(--flag)); } .bp-ping.deny { stroke: rgb(var(--deny)); }
.bp-ent .sh { fill: #fff; stroke-width: 0.7; }
.bp-ent .s .sh { stroke: var(--violet); } .bp-ent .s .hd { fill: var(--violet); } .bp-ent .s .trail { stroke: rgba(111, 73, 252, 0.3); }
.bp-ent .c .sh { stroke: var(--violet); stroke-dasharray: 1.6 1.2; } .bp-ent .c .hd { fill: var(--violet); } .bp-ent .c .trail { stroke: rgba(111, 73, 252, 0.3); stroke-dasharray: 1 2; }
.bp-ent .v .sh { stroke: #a08bf5; } .bp-ent .v .hd { fill: #a08bf5; } .bp-ent .v .trail { stroke: rgba(182, 166, 245, 0.6); }
.bp-ent .s .ring, .bp-ent .c .ring, .bp-ent .v .ring { stroke: rgba(111, 73, 252, 0.18); }
.bp-ent .u.flag .ring { stroke: rgb(var(--flag)); stroke-dasharray: none; stroke-width: 1.2; }
.bp-hard { fill: none; stroke: rgba(4, 13, 76, 0.16); stroke-width: 3; }
.bp-pir path { fill: rgba(111, 73, 252, 0.14); stroke: rgba(111, 73, 252, 0.55); stroke-width: 0.7; }
.bp-bio circle { fill: none; stroke: var(--violet); stroke-width: 0.9; }
.bp-ent .w .sh { stroke: #8d92a8; } .bp-ent .w .hd { fill: #8d92a8; } .bp-ent .w .trail { stroke: rgba(141, 146, 168, 0.4); } .bp-ent .w .ring { stroke: rgba(141, 146, 168, 0.25); }
.bp-legend .w { stroke: #8d92a8; } .bp-legend .rd, .bp-legend .shield circle { fill: var(--navy); } .bp-legend .bio { fill: none; stroke: var(--violet); }
.bp-legend text { font: 650 7.5px var(--font-sans); fill: rgba(4, 13, 76, 0.5); }
.bp-legend circle { fill: #fff; stroke-width: 1.1; } .bp-legend .a { stroke: var(--violet); } .bp-legend .c { stroke: var(--violet); stroke-dasharray: 1.4 1; } .bp-legend .v { stroke: #a08bf5; } .bp-legend .g { fill: var(--navy); } .bp-legend .u { fill: #fff; stroke: #d68300; }

.bp-area { fill: transparent; transition: fill 500ms ease; }
.bp-area.ok { fill: rgba(var(--ok), 0.13); } .bp-area.flag { fill: rgba(var(--flag), 0.14); } .bp-area.deny { fill: rgba(var(--deny), 0.13); }

.watch-feed {
  flex: none; margin-top: 10px; padding: 10px 14px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(4, 13, 76, 0.08), inset 0 0 0 1px rgba(4, 13, 76, 0.07);
  color: var(--ink);
}
.watch-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.watch-head p { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 12px; letter-spacing: -0.01em; color: var(--muted); }
.watch-head p span { margin-left: -4px; }
.watch-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px rgba(111, 73, 252, 0.6); animation: chipPulse 2.6s ease-in-out infinite; }
.watch-zones { list-style: none; display: flex; gap: 4px; }
.watch-zones li { font-weight: 700; font-size: 10px; letter-spacing: 0.06em; padding: 4px 8px; border-radius: 100px; color: rgba(4, 13, 76, 0.38); box-shadow: inset 0 0 0 1px rgba(4, 13, 76, 0.12); transition: background 400ms ease, color 400ms ease, box-shadow 400ms ease; }
.watch-zones li.is-on { background: var(--violet); color: #fff; box-shadow: 0 6px 14px rgba(111, 73, 252, 0.35); }
.watch-zones li.is-past { color: var(--violet); box-shadow: inset 0 0 0 1px rgba(111, 73, 252, 0.45); }
.watch-rows { position: relative; list-style: none; height: calc(3 * 38px); overflow: hidden; }
.watch-rows li {
  position: absolute; left: 0; right: 0; top: 0; height: 38px;
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 0 8px 0 10px; border-radius: 9px;
  border-top: 1px solid rgba(4, 13, 76, 0.06);
  transition: transform 650ms var(--ease-out), opacity 500ms ease, background 1.4s ease, box-shadow 1.4s ease;
}
.watch-rows li:nth-child(1) { transform: translateY(0); }
.watch-rows li:nth-child(2) { transform: translateY(38px); opacity: 0.8; }
.watch-rows li:nth-child(3) { transform: translateY(76px); opacity: 0.55; }
.watch-rows li:nth-child(n+4) { transform: translateY(114px); opacity: 0; }
.watch-rows li.is-in { transform: translateY(-12px); opacity: 0; }
.watch-feed { transition: background-color 700ms ease, box-shadow 700ms ease; }
.watch-feed.is-warn { background: #fff8e9; box-shadow: 0 14px 34px rgba(4, 13, 76, 0.08), inset 0 0 0 1px rgba(224, 160, 30, 0.4); }
.watch-feed.is-alert { background: #fff1f3; box-shadow: 0 14px 34px rgba(4, 13, 76, 0.08), inset 0 0 0 1px rgba(229, 57, 93, 0.4); }
.watch-life { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(4, 13, 76, 0.07); }
.watch-life ol { list-style: none; display: flex; flex: none; gap: 4px; }
.watch-life li { white-space: nowrap; font-weight: 650; font-size: 10.5px; padding: 3px 8px; border-radius: 100px; color: rgba(4, 13, 76, 0.38); box-shadow: inset 0 0 0 1px rgba(4, 13, 76, 0.1); transition: background-color 500ms ease, color 500ms ease, box-shadow 500ms ease; }
.watch-life li { --ph: 111, 73, 252; --phd: #5a35e6; }
.watch-life li:nth-child(1), .watch-life li:nth-child(2) { --ph: 224, 160, 30; --phd: #95650a; } /* detect, analyse: warning */
.watch-life li:nth-child(3) { --ph: 229, 57, 93; --phd: #c0264a; }                                /* contain: the breach */
.watch-life li:nth-child(4) { --ph: 46, 170, 120; --phd: #1d7f56; }                               /* recover: restored */
.watch-life li:nth-child(5) { --ph: 111, 73, 252; --phd: #5a35e6; }                               /* preserve: evidence */
.watch-life li:nth-child(6) { --ph: 4, 13, 76; --phd: #040d4c; }                                  /* sign-off: SOC lead */
.watch-life li.is-done { color: var(--phd); background: rgba(var(--ph), 0.08); box-shadow: inset 0 0 0 1px rgba(var(--ph), 0.35); }
.watch-life li.is-on { background: rgb(var(--ph)); color: #fff; box-shadow: 0 4px 12px rgba(var(--ph), 0.3); }
.watch-life li:nth-child(3).is-on { animation: containPulse 1.1s ease-in-out infinite; } /* contain: a discreet alarm beat */
@keyframes containPulse { 50% { box-shadow: 0 0 0 4px rgba(229, 57, 93, 0.2), 0 4px 14px rgba(229, 57, 93, 0.45); filter: brightness(1.12); } }
.watch-life li.is-pending { background: #fff; color: #95650a; box-shadow: inset 0 0 0 1px rgba(224, 160, 30, 0.6); animation: chipPulse 1.6s ease-in-out infinite; }
.watch-case { flex: 1 1 260px; min-width: 0; text-align: right; font-weight: 650; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 300ms ease; }
.watch-case.is-swap { opacity: 0; }
.bp-face path { fill: none; stroke: var(--navy); stroke-linecap: round; }
.bp-face rect { fill: var(--navy); } .bp-face text { font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.04em; fill: #fff; }
/* closing card: the Coverden mark cast over the darkened floor */
.bp-sign { pointer-events: none; }
.bp-sign .veil { fill: #2a2f78; opacity: 0.86; }
.bp-sign .mk { fill: #efeaff; }
.bp-sign .wm { font: 700 19px var(--font-sans); letter-spacing: 0.08em; fill: rgba(244, 241, 255, 0.92); }
.bp-sign .rule { stroke: rgba(201, 188, 255, 0.5); stroke-width: 0.6; }
.bp-sign.is-narrow .cs { font-size: 13px; letter-spacing: 0.12em; }
.bp-sign.is-narrow .dur { font-size: 11px !important; }
.bp-sign .dur { font-size: 7px !important; fill: rgba(225, 219, 255, 0.85) !important; }
.bp-sign .cs { font: 700 8.4px var(--font-mono, var(--font-sans)); letter-spacing: 0.14em; fill: rgba(240, 236, 255, 0.95); }
.bp-sign .glow { transform-box: fill-box; transform-origin: center; animation: signGlow 3.2s ease-in-out infinite; }
@keyframes signGlow { 50% { opacity: 0.65; transform: scale(1.06); } }
/* SOC video wall */
.bp-socwall > rect { fill: #0b1446; stroke: rgba(4, 13, 76, 0.9); stroke-width: 0.6; }
.bp-socwall text { font-family: var(--font-sans); font-weight: 600; fill: rgba(225, 229, 255, 0.62); }
.bp-socwall .wh { font-weight: 750; letter-spacing: 0.08em; fill: #b8a9ff; transition: fill 400ms ease; }
.bp-socwall .wt { fill: rgba(225, 229, 255, 0.38); font-variant-numeric: tabular-nums; }
.bp-socwall .wl.w { fill: #ffd27a; } .bp-socwall .wl.x { fill: #ff8fa3; } .bp-socwall .wl.k { fill: #cfc4ff; }
.bp-socwall .wl.is-new { font-weight: 700; }
.bp-socwall circle { fill: #7cf0b5; animation: chipPulse 2s ease-in-out infinite; }
.bp-socwall.is-alarm .wh { fill: #ff8fa3; } .bp-socwall.is-alarm circle { fill: #ff5a78; animation-duration: 0.7s; }
/* the protected asset and its racks */
.bp-asset { pointer-events: none; }
.bp-asset rect { fill: var(--navy); transition: fill 500ms ease; filter: drop-shadow(0 3px 6px rgba(4, 13, 76, 0.18)); }
.bp-asset path { fill: none; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }
.bp-asset text { font: 700 9.5px var(--font-sans); letter-spacing: 0.02em; fill: #fff; }
.bp-asset.is-alarm rect { fill: rgb(var(--deny)); }
.bp-racks rect { transition: stroke 600ms ease; }
.bp-racks.is-target rect { stroke: var(--navy); stroke-width: 1; }
.bp-leaf { stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; }
/* while the camera is in, room labels step back so the event reads */
.bp-text, .bp-zl, .bp-cam text { transition: opacity 600ms ease; }
.watch.is-zoom .bp-text, .watch.is-zoom .bp-zl { opacity: 0.25; }
.watch.is-zoom .bp-cam text { opacity: 0; }
.watch-rows li.is-new.g { background: rgba(var(--ok), 0.12); border-top-color: transparent; }
.watch-rows li.is-new.w { background: rgba(var(--flag), 0.13); border-top-color: transparent; }
.watch-rows li.is-new.x { background: rgba(var(--deny), 0.12); border-top-color: transparent; }
.watch-rows li.is-new.k { background: rgba(111, 73, 252, 0.1); border-top-color: transparent; }
.watch-rows time { font-size: 11.5px; font-variant-numeric: tabular-nums; color: rgba(4, 13, 76, 0.45); }
.watch-rows span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--muted); }
.watch-rows b { font-weight: 650; font-size: 13px; letter-spacing: -0.01em; color: var(--ink); margin-right: 8px; }
.watch-rows small { font-weight: 650; font-size: 10.5px; letter-spacing: 0.02em; color: var(--violet); white-space: nowrap; }
.watch-rows em { font-style: normal; font-weight: 650; font-size: 11px; padding: 4px 10px; border-radius: 100px; background: rgba(4, 13, 76, 0.06); color: rgba(4, 13, 76, 0.65); white-space: nowrap; }
.watch-rows .g em { background: rgba(var(--ok), 0.14); color: #1d7f56; }
.watch-rows .w em { background: rgba(var(--flag), 0.17); color: #95650a; }
.watch-rows .x em { background: rgba(var(--deny), 0.14); color: #c0264a; }
.watch-rows .k em { background: var(--violet); color: #fff; }
.bp-spot { transition: opacity 600ms ease; pointer-events: none; }
.bp-ent .u.stop .ring { stroke: rgb(var(--deny)); stroke-dasharray: none; stroke-width: 1.6; animation: stopPulse 1s ease-in-out infinite; }
.bp-ent .u.stop .sh { stroke: rgb(var(--deny)); } .bp-ent .u.stop .hd { fill: rgb(var(--deny)); }
.bp-ent .u.ctrl .ring { stroke: rgb(var(--ok)); stroke-dasharray: none; stroke-width: 1.2; }
.bp-ent .g.resp .ring { stroke: var(--violet); stroke-opacity: 0.8; stroke-width: 1.4; }
@keyframes stopPulse { 50% { stroke-opacity: 0.35; stroke-width: 3; } }

@media (max-width: 980px) {
  .cap.cap-media-wide, .cap.cap-map-wide { grid-template-columns: 1fr; } /* tablets: stack like the other sections */
  .cap-media-wide .cap-copy { display: contents; }
  .cap-media-wide .cap-tag, .cap-media-wide h3, .cap-media-wide .cap-lede { order: -1; }
  .cap-media-wide h3, .cap-media-wide .cap-lede { margin-top: -10px; }
}
@media (max-width: 980px) and (min-width: 701px) {
  .cap-media:has(.watch), .cap-media.map { max-width: none; }
  .cap-media.map { aspect-ratio: auto; }
}
@media (max-width: 700px) {
  .cap.cap-media-wide { padding: 12px 12px 28px; gap: 22px; }
  [data-notch]:not(.is-carved) .cap-chip { padding: 5px 10px 5px 8px; font-size: 9px; letter-spacing: 0.12em; gap: 6px; }
  [data-notch]:not(.is-carved) .chip-tr { right: 10px; top: 10px; }
  [data-notch]:not(.is-carved) .chip-br { right: 10px; bottom: 10px; }
  .cap-media:has(.watch) .cap-chip { display: none; } /* the log card already says Live · Campus 02 */
  .cap-cred { grid-template-columns: 1fr; }
  .cap-cred li, .cap-cred li + li { padding: 12px 0 8px; border-left: 0; }
  .cap-media-wide .cap-copy { padding: 0 6px; }
  .watch { padding: 10px 8px 8px; }
  .bp-text .m, .bp-text text:not(.s), .bp-cam text, .bp-zl, .bp-ent .tag, .bp-legend { display: none; }
  .watch-feed { padding: 9px 11px 4px; border-radius: 11px; }
  .watch-head p { font-size: 10.5px; white-space: nowrap; }
  .watch-head p span { display: none; }
  .watch-zones li { font-size: 8.5px; padding: 3px 6px; }
  .watch-rows { height: calc(2 * 36px); }
  .watch-rows li { height: 36px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .watch-rows li:nth-child(2) { transform: translateY(36px); }
  .watch-rows li:nth-child(n+3) { transform: translateY(72px); opacity: 0; }
  .watch-rows time, .watch-rows small { display: none; }
  .watch-rows span { font-size: 11px; } .watch-rows b { font-size: 12px; }
  .watch-case { display: none; }
  .watch-life ol { width: 100%; justify-content: space-between; gap: 2px; }
  .watch-life li { font-size: 8.5px; padding: 2px 5px; }
}

/* ---------- dossier: operations cross-referenced to client requirements (replaces the world map) ---------- */

.dossier {
  position: relative;
  height: 100%;
  min-height: clamp(560px, 52vw, 720px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(14px, 3%, 26px);
  padding: clamp(48px, 9%, 64px) clamp(16px, 3.4%, 28px) clamp(18px, 4%, 30px);
  container-type: inline-size;
  overflow: hidden;
  font-family: var(--font-sans);
  color: var(--navy);
  background:
    radial-gradient(70% 60% at 78% 55%, rgba(208, 197, 251, 0.6), rgba(208, 197, 251, 0) 70%),
    linear-gradient(160deg, #fbfbff, var(--mist));
}
.ops { position: relative; z-index: 2; align-self: center; }
.ops-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; font-weight: 700; font-size: clamp(13px, 2.4cqw, 16px); letter-spacing: -0.02em; color: var(--ink); }
.ops-head span { font-weight: 650; font-size: 0.72em; letter-spacing: -0.01em; color: var(--violet); }
.ops-list { list-style: none; position: relative; height: calc(4 * clamp(50px, 9.4cqw, 62px)); }
.ops-list li {
  --h: clamp(50px, 9.4cqw, 62px);
  position: absolute; left: 0; right: 0; top: 0; height: calc(var(--h) - 8px);
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(4, 13, 76, 0.07), inset 0 0 0 1px rgba(4, 13, 76, 0.06);
  transition: transform 700ms var(--ease-out), opacity 600ms ease, box-shadow 500ms ease;
}
.ops-list li:nth-child(1) { transform: translateY(0); }
.ops-list li:nth-child(2) { transform: translateY(var(--h)); opacity: 0.85; }
.ops-list li:nth-child(3) { transform: translateY(calc(2 * var(--h))); opacity: 0.6; }
.ops-list li:nth-child(4) { transform: translateY(calc(3 * var(--h))); opacity: 0.35; }
.ops-list li:nth-child(n+5) { transform: translateY(calc(4 * var(--h))); opacity: 0; }
.ops-list li.is-in { transform: translateY(-14px); opacity: 0; }
.ops-list li.is-hot { box-shadow: 0 10px 28px rgba(111, 73, 252, 0.22), inset 0 0 0 1.5px var(--violet); }
.ops-list b { font-weight: 650; font-size: clamp(10.5px, 2.05cqw, 13px); letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops-list span { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: clamp(9px, 1.65cqw, 11px); color: var(--muted); }
.ops-list i { font-style: normal; font-weight: 650; color: var(--violet); }

.packs { position: relative; z-index: 1; display: grid; padding-bottom: clamp(36px, 8%, 64px); }
.pack {
  grid-area: 1 / 1; position: relative;
  display: flex; flex-direction: column;
  padding: clamp(14px, 3.2cqw, 22px) clamp(14px, 3.2cqw, 22px) clamp(10px, 2.2cqw, 14px);
  border-radius: clamp(12px, 2.2cqw, 18px);
  background: #fff;
  box-shadow: 0 1px 0 rgba(4, 13, 76, 0.04), 0 22px 50px rgba(4, 13, 76, 0.12), inset 0 0 0 1px rgba(4, 13, 76, 0.06);
  transform-origin: 50% 0;
  transition: transform 1s var(--ease-out), opacity 800ms ease;
}
.pack[data-pos="0"] { z-index: 3; }
.pack[data-pos="1"] { z-index: 2; transform: translateY(8.5%) scale(0.95); opacity: 0.75; }
.pack[data-pos="2"] { z-index: 1; transform: translateY(15.5%) scale(0.9); opacity: 0.4; }
.pack[data-pos="up"] { z-index: 4; transform: translateY(-18%) scale(1.02); opacity: 0; }
.pack[data-pos="park"] { z-index: 0; transform: translateY(16%) scale(0.84); opacity: 0; transition: none; }
.pack header { display: flex; align-items: center; gap: 6px; padding-bottom: 0.8em; margin-bottom: 0.9em; border-bottom: 1px solid rgba(4, 13, 76, 0.08); font-size: clamp(9px, 1.7cqw, 11.5px); }
.pk-mark { width: 1.6em; color: var(--violet); }
.pack header b { font-weight: 700; font-size: 1.15em; letter-spacing: -0.02em; color: var(--ink); }
.pack header span { margin-left: auto; font-weight: 650; color: var(--muted); }
.pk-eye { font-weight: 650; font-size: clamp(9px, 1.7cqw, 11.5px); color: var(--violet); }
.pack h4 { margin: 0.3em 0 0.2em; font-weight: 700; font-size: clamp(13px, 2.9cqw, 19px); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.pk-meta { font-weight: 500; font-size: clamp(8.5px, 1.55cqw, 10.5px); color: var(--muted); margin-bottom: 0.8em; }
.pk-rows { list-style: none; padding-bottom: 36px; transition: padding-bottom 450ms var(--ease-out); }
.pk-rows:has(.pk-find:not(.is-in)) { padding-bottom: 2px; } /* room reserved for a flagged finding line */
.pk-rows li {
  display: grid; grid-template-columns: 3.6em minmax(0, 1fr) auto; align-items: center; gap: 0.7em;
  padding: 0.62em 0.5em; margin: 0 -0.5em; border-radius: 8px;
  border-top: 1px solid rgba(4, 13, 76, 0.06);
  font-size: clamp(9.5px, 1.85cqw, 12.5px);
  transition: background 500ms ease;
}
.pk-rows b { font-weight: 700; letter-spacing: -0.01em; color: var(--violet); font-variant-numeric: tabular-nums; }
.pk-rows span { font-weight: 650; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-rows em { font-style: normal; font-weight: 650; font-size: 0.86em; color: var(--muted); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 0.45em; }
.pk-rows em::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: #34c38f; box-shadow: 0 0 0 3px rgba(52, 195, 143, 0.15); }
.pk-rows em::after { content: "evidence"; font-weight: 500; }
.pk-rows li.is-hit { background: rgba(111, 73, 252, 0.09); }
.pk-rows li.pk-find {
  grid-template-columns: 3.6em minmax(0, 1fr) auto; margin: 2px -0.5em; padding: 0.6em 0.5em; max-height: 3.6em; overflow: hidden;
  border-top: 0; border-radius: 8px; font-size: clamp(9px, 1.7cqw, 11.5px);
  transition: max-height 450ms var(--ease-out), opacity 400ms ease, padding 450ms var(--ease-out), background 400ms ease;
}
.pk-rows li.pk-find.is-in { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
.pk-find b { font-weight: 650; color: var(--muted); }
.pk-find span { font-weight: 650; }
.pk-find.fp1 { background: rgba(229, 57, 93, 0.08); } .pk-find.fp2, .pk-find.fp3 { background: rgba(224, 160, 30, 0.1); } .pk-find.fr { background: rgba(46, 170, 120, 0.09); }
.pk-rows .pk-find em::after { content: none; }
.pk-find.fp1 em { color: #c0264a; } .pk-find.fp2 em, .pk-find.fp3 em { color: #95650a; } .pk-find.fr em { color: #1d7f56; }
.pk-find.fp1 em::before { background: #e5395d; box-shadow: 0 0 0 3px rgba(229, 57, 93, 0.18); animation: poamDot 0.9s ease-in-out infinite; }
.pk-find.fp2 em::before, .pk-find.fp3 em::before { background: #e0a01e; box-shadow: 0 0 0 3px rgba(224, 160, 30, 0.22); animation: poamDot 0.9s ease-in-out infinite; }
@keyframes poamDot { 50% { transform: scale(1.35); } }
.pk-rows li.is-hit em { color: var(--violet); }
.pk-sum { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8em; padding: 0.9em 0 0.2em; font-size: clamp(8.5px, 1.6cqw, 11px); }
.pk-sum div { display: flex; flex-direction: column; gap: 0.3em; }
.pk-sum span { font-weight: 500; color: var(--muted); }
.pk-sum b { font-weight: 700; font-size: 1.55em; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.pk-sum i { display: block; height: 0.36em; border-radius: 1em; background: rgba(111, 73, 252, 0.12); overflow: hidden; }
.pk-sum i::after { content: ""; display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--violet-bright)); }
.ops-foot { margin-top: 10px; font-weight: 650; font-size: clamp(9px, 1.65cqw, 11px); color: var(--muted); }
.ops-foot b { color: var(--ink); }
.pack footer { margin-top: 0.8em; padding-top: 0.8em; display: flex; justify-content: space-between; font-weight: 500; font-size: clamp(8px, 1.45cqw, 10px); color: rgba(10, 14, 42, 0.45); border-top: 1px solid rgba(4, 13, 76, 0.06); }

.poam {
  grid-column: 1 / -1;
  position: relative; z-index: 2;
  padding: 12px 14px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(4, 13, 76, 0.08), inset 0 0 0 1px rgba(4, 13, 76, 0.07);
}
.poam-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.poam-head p { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: clamp(12px, 2.1cqw, 14px); letter-spacing: -0.02em; color: var(--ink); }
.poam-head p span { font-weight: 650; font-size: 0.82em; color: var(--muted); }
.poam-stats { list-style: none; display: flex; gap: 14px; font-weight: 500; font-size: clamp(9.5px, 1.7cqw, 11.5px); color: var(--muted); }
.poam-stats b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.poam-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.heat { position: relative; width: 128px; padding: 0 0 14px 14px; }
.heat-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 2px; aspect-ratio: 1; }
.heat-grid > i { border-radius: 3px; }
.heat-y, .heat-x { position: absolute; font-weight: 650; font-size: 8.5px; letter-spacing: 0.02em; color: var(--muted); }
.heat-y { left: 0; top: 50%; transform: translate(-36%, -50%) rotate(-90deg); }
.heat-x { left: 14px; right: 0; bottom: 0; text-align: center; }
.heat-dot {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(4, 13, 76, 0.25);
  transition: left 1s var(--ease-out), top 1s var(--ease-out), opacity 600ms ease, transform 600ms var(--ease-out);
}
.heat-dot.p1 { background: #e5395d; } .heat-dot.p2 { background: #e0a01e; } .heat-dot.p3 { background: #7d82a0; }
.heat-dot.is-new { transform: scale(0); }
.heat-dot.is-gone { opacity: 0; transform: scale(0.4); }
.heat-dot.is-moved { animation: heatPulse 1.2s ease-out; }
@keyframes heatPulse { 0% { box-shadow: 0 0 0 0 rgba(111, 73, 252, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(111, 73, 252, 0); } }
.poam-rows { position: relative; list-style: none; height: calc(4 * 32px); overflow: hidden; }
.poam-rows li {
  position: absolute; left: 0; right: 0; top: 0; height: 32px;
  display: grid; grid-template-columns: 82px minmax(0, 1fr) 92px 44px 80px; align-items: center; gap: 10px;
  padding: 0 6px; border-radius: 8px;
  border-top: 1px solid rgba(4, 13, 76, 0.06);
  font-size: clamp(9.5px, 1.75cqw, 12px);
  transition: transform 700ms var(--ease-out), opacity 600ms ease, background 1.2s ease;
}
.poam-rows li:nth-child(1) { transform: translateY(0); }
.poam-rows li:nth-child(2) { transform: translateY(32px); }
.poam-rows li:nth-child(3) { transform: translateY(64px); }
.poam-rows li:nth-child(4) { transform: translateY(96px); }
.poam-rows li:nth-child(n+5) { transform: translateY(128px); opacity: 0; }
.poam-rows li.is-in { opacity: 0; }
.poam-rows li.is-hit { background: rgba(111, 73, 252, 0.08); }
.poam-rows li.is-wait { opacity: 0; }
.poam-rows li.is-wait-s em { opacity: 0.35; }
.req-fly {
  position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none;
  padding: 3px 9px; border-radius: 100px;
  background: var(--violet); color: #fff;
  font: 700 10.5px var(--font-sans); letter-spacing: 0.01em; white-space: nowrap;
  box-shadow: 0 8px 18px rgba(111, 73, 252, 0.35);
  opacity: 0;
}
.poam-fly {
  position: absolute; z-index: 6; pointer-events: none;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 0 8px; border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(4, 13, 76, 0.16), inset 0 0 0 1.5px rgba(111, 73, 252, 0.55);
  font-size: clamp(9.5px, 1.75cqw, 12px);
  transform-origin: 0 0;
}
.poam-fly i { font-style: normal; font-weight: 700; font-size: 0.86em; padding: 3px 8px; border-radius: 100px; white-space: nowrap; }
.poam-fly b { font-weight: 650; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poam-fly em { font-style: normal; font-weight: 650; font-size: 0.9em; padding: 3px 9px; border-radius: 100px; white-space: nowrap; background: rgba(4, 13, 76, 0.06); color: rgba(4, 13, 76, 0.7); }
.poam-fly .p1 { background: rgba(229, 57, 93, 0.12); color: #c0264a; } .poam-fly .p2 { background: rgba(224, 160, 30, 0.16); color: #95650a; } .poam-fly .p3 { background: rgba(4, 13, 76, 0.06); color: rgba(4, 13, 76, 0.62); }
.poam-fly em.prog { background: rgba(111, 73, 252, 0.12); color: var(--violet); } .poam-fly em.closed { background: rgba(46, 170, 120, 0.14); color: #1d7f56; }
.poam-rows i { font-style: normal; font-weight: 700; font-size: 0.86em; padding: 3px 8px; border-radius: 100px; justify-self: start; white-space: nowrap; }
.poam-rows .p1 { background: rgba(229, 57, 93, 0.12); color: #c0264a; }
.poam-rows .p2 { background: rgba(224, 160, 30, 0.16); color: #95650a; }
.poam-rows .p3 { background: rgba(4, 13, 76, 0.06); color: rgba(4, 13, 76, 0.62); }
.poam-rows b { font-weight: 650; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poam-rows .ref { font-weight: 650; color: var(--violet); white-space: nowrap; }
.poam-rows .own, .poam-rows time { font-weight: 500; color: var(--muted); white-space: nowrap; }
.poam-rows .own { display: none; }
.poam-rows em { font-style: normal; font-weight: 650; font-size: 0.9em; padding: 3px 9px; border-radius: 100px; justify-self: end; white-space: nowrap; background: rgba(4, 13, 76, 0.06); color: rgba(4, 13, 76, 0.7); }
.poam-rows em.prog { background: rgba(111, 73, 252, 0.12); color: var(--violet); }
.poam-rows em.closed { background: rgba(46, 170, 120, 0.14); color: #1d7f56; }
.poam-rows li[data-s="closed"] b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(4, 13, 76, 0.25); }
.links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; overflow: visible; }
.link { fill: none; stroke: var(--violet); stroke-width: 1.5; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 4px rgba(111, 73, 252, 0.45)); }
.link-dot { fill: var(--violet); opacity: 0; }

@media (max-width: 700px) {
  .cap-media:has(.dossier) { min-height: 600px; }
  .dossier { grid-template-columns: 1fr; grid-template-rows: auto minmax(300px, 1fr) auto; gap: 10px; min-height: 600px; padding: 58px 14px 14px; }
  .poam-stats li:nth-child(n+2) { display: none; }
  .poam-head p span { font-size: 0; } .poam-head p span::before { content: "Remediation measures"; font-size: 11px; } /* name the acronym on phones */
  .poam-rows { height: calc(3 * 30px); }
  .poam-rows li { height: 30px; grid-template-columns: 26px minmax(0, 1fr) auto; }
  .poam-rows i span, .poam-fly i span { display: none; }
  .poam-rows i { padding: 3px 6px; }
  .poam-rows .ref, .poam-rows .own, .poam-rows time { display: none; }
  .poam-body { gap: 10px; }
  .heat { width: 74px; padding: 0 0 10px 10px; }
  .heat-y, .heat-x { font-size: 7px; }
  .heat-x { left: 10px; }
  .heat-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-width: 1.5px; }
  .poam-rows li:nth-child(n+4) { opacity: 0; }
  .ops-foot { display: none; }
  .ops-head { display: none; }
  .ops-list { height: 46px; }
  .ops-list li { --h: 54px; }
  .ops-list li:nth-child(n+2) { transform: translateY(8px) scale(0.97); opacity: 0; transition: transform 500ms var(--ease-out), opacity 180ms ease; }
  .pk-rows li:nth-child(n+4):not(.pk-find) { display: none; }
  .pk-rows em::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pack, .ops-list li, .pk-rows li, .watch-rows li, .watch-zones li { transition: none; }
  .watch-head i { animation: none; }
  .cap-cred li::before { animation: none; }
}

/* ---------- rack: six physical controls, lit by scroll position or by hovering the matching bullet ---------- */

.rk-ctl { fill: none; stroke: rgba(4, 13, 76, 0.42); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 600ms ease 1s, stroke 450ms ease, filter 450ms ease; }
.rk-ctl[data-k="6"] path { stroke-width: 3; }
.rk-ctl[data-k="1"] circle:last-child { stroke-width: 1; }
[data-schematic].is-drawn .rk-ctl { opacity: 1; }
.rk-ctl.is-on { stroke: var(--scan); filter: drop-shadow(0 0 4px rgba(111, 73, 252, 0.4)); }
.rk-num circle { fill: #fff; stroke: rgba(4, 13, 76, 0.22); transition: fill 450ms ease, stroke 450ms ease; }
.rk-num text { font: 700 8px var(--font-sans); fill: rgba(4, 13, 76, 0.5); text-anchor: middle; transition: fill 450ms ease; }
.rk-num g { opacity: 0; transition: opacity 600ms ease 1.2s; }
[data-schematic].is-drawn .rk-num g { opacity: 1; }
.rk-num g.is-on circle { fill: var(--scan); stroke: var(--scan); }
.rk-num g.is-on text { fill: #fff; }
.rk-cap { font: 650 9.5px var(--font-sans); fill: var(--ink); letter-spacing: 0.01em; transition: opacity 300ms ease; }
.rk-cap .rk-n { fill: var(--scan); font-weight: 750; letter-spacing: 0.06em; }
/* inspection accent: "this control, now" */
[data-rack] { --scan: var(--violet); }
.rk-lead { fill: none; stroke: var(--scan); stroke-width: 0.9; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.rk-lead.is-on { opacity: 0.85; stroke-dashoffset: 0; transition: stroke-dashoffset 800ms cubic-bezier(0.22, 1, 0.36, 1) 150ms, opacity 200ms ease; }
.rk-ring { fill: none; stroke: var(--scan); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rk-ring.is-on { animation: rkRing 1.5s ease-out 0.8s; }
@keyframes rkRing { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.rk-cap.is-swap { opacity: 0; }
[data-schematic] .rk-foot text { font-family: var(--font-sans); font-weight: 650; letter-spacing: 0.01em; fill: var(--muted); }
.stakes-lede, .stakes-rack .cap-lede, .stakes-rack .cap-list { max-width: 780px; } /* one text measure for both halves of the stakes section */
.stakes-rack .cap-list li[data-rk] { cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .rk-ctl, .rk-num g, .rk-num circle, .rk-num text, .rk-cap { transition: none; }
}
