/* Bluesify v4 — "Night Watch Console"
   Deep-space navy, a dotted terrain at the horizon, glass consoles and live data.
   Space Grotesk for display, Plus Jakarta Sans for reading, JetBrains Mono for data and labels. */

@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/plus-jakarta-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* Space */
  --void: #03030b;          /* top of the sky */
  --night: #050719;         /* page base */
  --deep: #0a0f2c;          /* raised areas */
  --panel: rgba(13, 21, 46, .72);   /* glass consoles */
  --panel-solid: #0d152a;
  --inset: rgba(6, 12, 30, .8);     /* wells inside a console */
  --line: rgba(129, 146, 252, .18); /* hairlines */
  --line-strong: rgba(129, 146, 252, .34);

  /* Light */
  --text: #eef0ff;
  --text-2: #aab1d6;
  --text-3: #6d759c;

  /* Signal colours */
  --iris: #7b92fc;          /* primary: buttons, links */
  --violet: #7165f5;        /* headline gradient end */
  --lilac: #a7b2ff;         /* gradient start */
  --sky: #87cefa;           /* the logo */
  --green: #46d2a3;         /* healthy, live */
  --amber: #f2b049;         /* attention */
  --red: #ff6b7a;           /* incident (Under Cyberattack only) */
  /* Threat level (header status card; set in src/data/site.json) */
  --threat-low: #46d2a3;    /* Low: green */
  --threat-medium: #f2b049; /* Medium: amber */
  --threat-high: #ff6b7a;   /* High: red */
  --teal: #2c9599;
  --azure: #3f8ac1;
  --indigo: #5066cb;
  --orchid: #8b70d7;

  --grad: linear-gradient(100deg, var(--lilac) 0%, var(--iris) 45%, var(--violet) 100%);

  /* Type */
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans: "Jakarta", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --t-hero: clamp(2.75rem, 1.4rem + 4.4vw, 5rem);       /* 44 → 80 */
  --t-h1: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem);      /* 36 → 60 */
  --t-h2: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);      /* 28 → 44 */
  --t-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);        /* 20 → 24 */
  --t-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);     /* 17 → 20 */
  --t-body: 1rem;                                       /* 16 */
  --t-small: .875rem;                                   /* 14 */
  --t-label: .6875rem;                                  /* 11, mono caps */

  --radius: 16px;
  --radius-sm: 10px;
  --gutter: clamp(1rem, .4rem + 3vw, 4rem);
  --max: 82rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--night); color: var(--text);
  font-family: var(--sans); font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.arw { display: inline-block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
::selection { background: var(--iris); color: var(--night); }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 4px; }

/* ---------- Space background (fixed canvas + CSS haze so it reads before JS) ---------- */
.space {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 45% at 70% 92%, rgba(52, 66, 170, .45), transparent 70%),
    radial-gradient(50% 40% at 15% 100%, rgba(40, 44, 130, .35), transparent 70%),
    linear-gradient(180deg, var(--void) 0%, var(--night) 45%, #060a26 100%);
}
.space canvas { width: 100%; height: 100%; }

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

/* ---------- Type ---------- */
.label {
  font-family: var(--mono); font-weight: 500; font-size: var(--t-label);
  text-transform: uppercase; letter-spacing: .2em; color: var(--text-2);
}
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.35rem; border-radius: var(--radius-sm);
  font-family: var(--sans); font-weight: 600; font-size: .9375rem; text-decoration: none;
  transition: transform .15s, box-shadow .2s, background-color .2s, border-color .2s;
}
.btn--primary {
  background: linear-gradient(180deg, #8ea2ff, var(--iris)); color: #0a0f2c;
  box-shadow: 0 0 0 1px rgba(167, 178, 255, .5) inset, 0 10px 30px -10px rgba(123, 146, 252, .8);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(200, 208, 255, .7) inset, 0 14px 40px -10px rgba(123, 146, 252, 1); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(13, 21, 46, .4); }
.btn--ghost:hover { border-color: var(--iris); background: rgba(123, 146, 252, .1); }
.btn--alert { background: rgba(255, 107, 122, .12); color: #ffd5da; border: 1px solid rgba(255, 107, 122, .55); }
.btn--alert:hover { background: rgba(255, 107, 122, .22); }
.btn--sm { padding: .6rem 1rem; font-size: .875rem; }
.btn svg { width: 1rem; height: 1rem; }

/* ---------- Pill badge ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(13, 21, 46, .55);
  font-family: var(--mono); font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
}
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(70, 210, 163, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(70, 210, 163, .55); } 70% { box-shadow: 0 0 0 8px rgba(70, 210, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 210, 163, 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ---------- Glass console ---------- */
.console {
  position: relative; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 1.25rem 1.25rem 1rem;
}
/* a slow light travelling round the border */
.console::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--beam, 0deg), transparent 0 70%, var(--beam-c, rgba(135, 206, 250, .9)) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 8s linear infinite;
}
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes beam { to { --beam: 360deg; } }
@media (prefers-reduced-motion: reduce) { .console::before { animation: none; opacity: .4; } }

.console__bar { display: flex; justify-content: space-between; align-items: center; padding: .25rem .25rem 1rem; border-bottom: 1px solid var(--line); }
.console__status { font-family: var(--mono); font-size: .75rem; color: var(--green); display: flex; align-items: center; gap: .5rem; }
.console__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem; padding-top: 1rem; }
.console__head { display: flex; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; white-space: nowrap; }
.console__head .label { font-size: .625rem; }
.console__link { font-family: var(--mono); font-size: .6875rem; color: var(--iris); }
.radar { aspect-ratio: 1; width: 100%; max-width: 15rem; margin: .25rem auto 0; }

.stream { border-radius: var(--radius-sm); background: var(--inset); border: 1px solid var(--line); padding: .5rem .75rem; height: 15.5rem; overflow: hidden; position: relative; }
.stream::after { content: ""; position: absolute; inset: auto 0 0; height: 2.5rem; background: linear-gradient(transparent, var(--inset)); }
.stream li {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: .65rem; align-items: center;
  padding: .5rem 0; font-family: var(--mono); font-size: .71875rem; color: var(--text-2); white-space: nowrap;
  animation: row-in .5s ease both;
}
.stream li span:last-child { overflow: hidden; text-overflow: ellipsis; }
.stream time { color: var(--text-3); }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }
.tag {
  font-family: var(--mono); font-weight: 500; font-size: .5625rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .4rem; border-radius: 4px; color: #e9f0ff;
}
.tag--collect { background: var(--azure); }
.tag--context { background: var(--teal); }
.tag--correlate { background: var(--indigo); }
.tag--detect { background: #2f6fd6; }
.tag--hunt { background: var(--orchid); }
.tag--respond { background: #1f9e74; }
.tag--intel { background: #2c7f99; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: .75rem; }
.stat { border-radius: var(--radius-sm); background: var(--inset); border: 1px solid var(--line); padding: .7rem .8rem; }
.stat .label { font-size: .5625rem; letter-spacing: .08em; display: block; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat__num { display: block; margin-top: .35rem; font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1; }
.stat__num--amber { color: var(--amber); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.tile { display: flex; align-items: center; gap: .75rem; border-radius: var(--radius-sm); background: var(--inset); border: 1px solid var(--line); padding: .8rem; }
.tile__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 8px; flex: none; }
.tile__icon svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile__icon--iris { background: rgba(123, 146, 252, .14); color: var(--iris); }
.tile__icon--green { background: rgba(70, 210, 163, .12); color: var(--green); }
.tile__icon--orchid { background: rgba(139, 112, 215, .16); color: #b49cff; }
.tile .label { font-size: .5625rem; letter-spacing: .14em; color: var(--text-3); display: block; }
.tile strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.console__foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 0 .25rem; font-family: var(--mono); font-size: .625rem; color: var(--text-3); }
.console__foot span:last-child::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: .5em; border-radius: 50%; background: var(--iris); vertical-align: .1em; }

/* ---------- Hero ---------- */
.hero4 {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  min-height: calc(100svh - 4.25rem); padding-block: clamp(2.5rem, 2rem + 4vw, 5rem);
}
.hero4__text { text-align: right; justify-self: end; max-width: 40rem; display: grid; justify-items: end; }
.hero4__title { font-size: clamp(2.5rem, 1.3rem + 3.2vw, 4rem); margin-top: 1.5rem; }
.hero4__title span { display: block; }
.hero4__lead { margin-top: 1.5rem; max-width: 30rem; }
.hero4__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; justify-content: flex-end; }
@media (max-width: 1000px) {
  .hero4 { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero4__text { order: -1; text-align: left; justify-self: start; justify-items: start; }
  .hero4__actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .console__grid { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .radar { max-width: 11rem; }
}

/* ---------- Style tile sections ---------- */
.section { padding-block: clamp(4rem, 3rem + 5vw, 8rem); border-top: 1px solid var(--line); }
.section__head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section__head h2 { font-size: var(--t-h1); }

.specimen { display: grid; gap: 1.75rem; }
.specimen > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .specimen > div { grid-template-columns: minmax(0, 1fr); gap: .5rem; } }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .75rem; }
.swatch { border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; background: var(--panel-solid); }
.swatch i { display: block; height: 4.5rem; }
.swatch div { padding: .6rem .75rem; display: grid; gap: .1rem; }
.swatch b { font-family: var(--display); font-weight: 600; font-size: .9375rem; }
.swatch code { font-family: var(--mono); font-size: .6875rem; color: var(--text-3); }

.row-demo { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Cards with a cursor spotlight */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.card4 {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.card4::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 0%), rgba(123, 146, 252, .18), transparent 45%);
}
.card4:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card4:hover::before { opacity: 1; }
.card4 .label { color: var(--iris); }
.card4 h3 { margin-top: 1rem; font-family: var(--display); font-weight: 600; font-size: var(--t-h3); letter-spacing: -.01em; line-height: 1.2; }
.card4 p { margin-top: .6rem; color: var(--text-2); font-size: .9375rem; }
.card4 a { display: inline-flex; gap: .4rem; margin-top: 1.25rem; font-weight: 600; font-size: .875rem; color: var(--iris); text-decoration: none; }

/* Scroll reveal */
/* hidden only when scripts run (html.js), so content never stays invisible */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Site components. Every section sits inside .wrap, so all content shares
   one left edge and one right edge on every page.
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 100; padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--iris); color: var(--night); font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
main { display: block; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 3, 11, .6); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.hdr__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.25rem; }
.hdr__logo { position: relative; z-index: 2; display: block; padding-block: .9rem; }
.hdr__logo img { width: 8.25rem; height: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 1.5rem; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); margin-inline: auto; font-size: .9375rem; }
.nav__list a, .nav__parent { color: var(--text-2); text-decoration: none; transition: color .15s; white-space: nowrap; }
.nav__list a:hover, .nav__parent:hover, .nav__list a[aria-current="page"], .nav__parent.is-current { color: var(--text); }
.nav__list > li > a[aria-current="page"], .nav__parent.is-current { text-shadow: 0 0 18px rgba(123, 146, 252, .7); }
.nav__group { position: relative; display: flex; align-items: center; gap: .25rem; }
.nav__caret { background: none; border: 0; padding: .4rem .25rem; color: var(--text-3); cursor: pointer; line-height: 1; }
.nav__caret::before { content: ""; display: block; width: .45rem; height: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav__caret[aria-expanded="true"]::before { transform: translateY(1px) rotate(225deg); }
.nav__sub {
  position: absolute; top: calc(100% + .9rem); left: -1rem; min-width: 21rem; padding: .5rem;
  border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgba(10, 15, 44, .96);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9);
  display: none;
}
.nav__sub a { display: block; padding: .6rem .8rem; border-radius: 8px; font-size: .9rem; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(123, 146, 252, .12); color: var(--text); }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__caret[aria-expanded="true"] + .nav__sub { display: block; }
.nav__group:hover .nav__sub::before { content: ""; position: absolute; inset: -1rem 0 auto; height: 1rem; }
.nav__end { display: flex; align-items: center; gap: 1.25rem; font-size: .9375rem; white-space: nowrap; }
.nav__end > a:not(.btn) { color: var(--text); text-decoration: none; }
.nav__end > a:not(.btn):hover { color: var(--iris); }
.hdr__toggle { display: none; }

@media (max-width: 1200px) {
  /* a blurred header would trap the fixed full-screen menu inside it */
  .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(3, 3, 11, .92); }
  .hdr__toggle {
    position: relative; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
    border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: rgba(13, 21, 46, .6); color: var(--text); cursor: pointer;
  }
  .hdr__bars, .hdr__bars::before, .hdr__bars::after { display: block; width: 1.1rem; height: 1.5px; background: currentColor; content: ""; transition: transform .2s, background-color .2s; }
  .hdr__bars::before { transform: translateY(-5px); }
  .hdr__bars::after { transform: translateY(3.5px); }
  .hdr__toggle[aria-expanded="true"] .hdr__bars { background: transparent; }
  .hdr__toggle[aria-expanded="true"] .hdr__bars::before { transform: rotate(45deg); }
  .hdr__toggle[aria-expanded="true"] .hdr__bars::after { transform: translateY(-1.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: calc(4.25rem + 1.5rem) var(--gutter) 2rem; overflow-y: auto;
    background: var(--void);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; font-size: 1.125rem; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li > a, .nav__parent { display: block; padding: 1rem 0; }
  .nav__group { flex-wrap: wrap; }
  .nav__group .nav__parent { flex: 1; }
  .nav__caret { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; }
  .nav__sub, .nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { position: static; display: none; flex-basis: 100%; min-width: 0; padding: 0 0 .75rem; border: 0; background: none; box-shadow: none; }
  .nav__caret[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__end { flex-direction: column; align-items: stretch; }
  .nav__end > a:not(.btn) { padding: .5rem 0; }
  .nav__end .btn { justify-content: center; }
}

/* ---------- Page head (inner pages) ---------- */
.phead { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.phead__grid--solo { grid-template-columns: minmax(0, 1fr); }
.crumb { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.crumb a { color: var(--iris); text-decoration: none; padding-block: .5rem; margin-block: -.5rem; }
.crumb a:hover { color: var(--text); }
.crumb__pos { color: var(--text-3); }
.ptitle { margin-top: 1rem; font-family: var(--display); font-weight: 600; font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.ptitle .grad-text { display: inline; }
.plead { margin-top: 1.25rem; max-width: 42rem; display: grid; gap: .9rem; }
.plead p { font-size: var(--t-lead); line-height: 1.6; color: var(--text-2); }
.plead .plead__tag { font-family: var(--display); font-weight: 500; font-size: var(--t-h3); line-height: 1.3; letter-spacing: -.01em; color: var(--lilac); }
/* intro beside the title (How We Do It pages): both start at the top */
.phead__side { padding-left: clamp(1.25rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line-strong); margin-top: 2.6rem; }
.phead__side.plead { margin-top: 2.6rem; }
.phead__side p { font-size: var(--t-body); }
@media (max-width: 900px) {
  .phead__grid { grid-template-columns: minmax(0, 1fr); }
  .phead__side, .phead__side.plead { margin-top: 0; padding-left: 0; border-left: 0; }
  .phead__visual { order: -1; }
}

/* Icon orb beside a unit page title */
.orb { position: relative; width: min(100%, 15rem); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; }
.orb::before, .orb::after { content: ""; position: absolute; border-radius: 50%; }
.orb::before { inset: 0; border: 1px dashed var(--line-strong); animation: spin 40s linear infinite; }
.orb::after { inset: 18%; background: radial-gradient(circle, rgba(123, 146, 252, .28), rgba(113, 101, 245, .06) 60%, transparent 72%); border: 1px solid var(--line-strong); }
.orb svg { position: relative; z-index: 1; width: 34%; height: 34%; fill: none; stroke: var(--lilac); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 12px rgba(123, 146, 252, .7)); }
.orb i { position: absolute; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 12px 2px rgba(135, 206, 250, .8); top: 50%; left: 50%; offset-path: circle(50% at 50% 50%); }
.orb i { animation: orbit 9s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (max-width: 900px) { .orb { width: 9rem; justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .orb::before, .orb i { animation: none; } }

/* ---------- Section tabs (child pages) ---------- */
.tabs { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.tabs ol {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .35rem;
  padding: .35rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 15, 44, .6);
}
.tabs a {
  display: grid; align-content: start; gap: .3rem; height: 100%; padding: .7rem .85rem; border-radius: 10px;
  font-size: .8125rem; line-height: 1.35; text-decoration: none; color: var(--text-2); transition: background-color .15s, color .15s;
}
.tabs__num { font-family: var(--mono); font-size: .625rem; letter-spacing: .14em; color: var(--text-3); }
.tabs a:hover { background: rgba(123, 146, 252, .08); color: var(--text); }
.tabs a[aria-current="page"] { background: linear-gradient(180deg, rgba(123, 146, 252, .22), rgba(113, 101, 245, .12)); color: var(--text); box-shadow: 0 0 0 1px rgba(123, 146, 252, .45) inset; }
.tabs a[aria-current="page"] .tabs__num { color: var(--iris); }
@media (max-width: 1000px) {
  .tabs { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs ol { grid-auto-columns: 11rem; width: max-content; }
}

/* ---------- Blocks (sections) ---------- */
.block { padding-block: clamp(3.5rem, 2.5rem + 4vw, 7rem); }
.block--tight { padding-top: 0; }
.block__head { display: grid; gap: .9rem; max-width: 50rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.block__head h2 { font-family: var(--display); font-weight: 600; font-size: var(--t-h2); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.block__head p { color: var(--text-2); font-size: var(--t-lead); line-height: 1.6; }
.block__head--split { max-width: none; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 1rem clamp(2rem, 5vw, 5rem); align-items: end; }
@media (max-width: 900px) { .block__head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Raised reading panel ---------- */
.sheet {
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 30, 66, .92), rgba(13, 21, 46, .92));
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
  padding: clamp(1.25rem, .75rem + 2vw, 2.5rem);
}

/* Service list (unit pages) */
.svc { display: grid; }
.svc li { display: grid; grid-template-columns: 2.5rem minmax(0, 5fr) minmax(0, 7fr); gap: .5rem clamp(1rem, 3vw, 3rem); padding: 1.25rem 0; border-top: 1px solid var(--line); }
.svc li:first-child { border-top: 0; padding-top: .25rem; }
.svc__num { font-family: var(--mono); font-size: .75rem; color: var(--iris); padding-top: .2rem; }
.svc h2 { font-family: var(--display); font-weight: 600; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.005em; }
.svc p { color: var(--text-2); }
@media (max-width: 760px) { .svc li { grid-template-columns: 2rem minmax(0, 1fr); } .svc p { grid-column: 2; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cards--4, .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: minmax(0, 1fr); } }
.card4 { display: flex; flex-direction: column; }
.card4__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.card4__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: rgba(123, 146, 252, .12); border: 1px solid var(--line); color: var(--lilac); flex: none; }
.card4__icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card4__num { font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; color: var(--text-3); }
.card4 .card4__top + h3, .card4 .card4__top + h2 { margin-top: 1.25rem; }
.card4 h2 { font-family: var(--display); font-weight: 600; font-size: var(--t-h3); letter-spacing: -.01em; line-height: 1.25; }
.card4 .meta { margin-top: auto; padding-top: 1.1rem; font-size: .875rem; color: var(--text-2); }
.card4 .meta b { font-family: var(--mono); font-weight: 500; font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--iris); margin-right: .4rem; }
.card4 a.card4__go { margin-top: auto; padding-top: 1.25rem; }
.card4 a.card4__go::after { content: ""; position: absolute; inset: 0; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.fact { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); padding: 1.4rem 1.4rem 1.5rem; display: grid; align-content: start; gap: .3rem; }
.fact__num { font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 1.8rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -.03em; }
.fact__num.grad-text { padding-bottom: .05em; }
.fact__label { margin-top: .6rem; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.fact__detail { font-size: .875rem; color: var(--text-2); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Unit rows (overview pages, link lists) ---------- */
.units { display: grid; gap: 1rem; }
.unit {
  position: relative; display: grid; grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr); gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
  transition: border-color .2s, transform .2s; scroll-margin-top: 6rem; overflow: hidden;
}
.unit::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(26rem circle at var(--mx, 50%) var(--my, 0%), rgba(123, 146, 252, .16), transparent 45%); }
.unit:hover { border-color: var(--line-strong); }
.unit:hover::before { opacity: 1; }
.unit__num { display: block; margin-bottom: .5rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; color: var(--iris); }
.unit__icon { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 12px; background: rgba(123, 146, 252, .12); border: 1px solid var(--line); fill: none; stroke: var(--lilac); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.unit h2 { font-family: var(--display); font-weight: 600; font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.01em; }
.unit__tagline { margin-top: .6rem; color: var(--lilac); font-weight: 500; }
.unit__desc { color: var(--text-2); }
.unit__more { display: inline-flex; gap: .4rem; margin-top: 1rem; font-weight: 600; font-size: .9rem; color: var(--iris); text-decoration: none; }
.unit__more::after { content: ""; position: absolute; inset: 0; }
.unit__more span { transition: translate .2s; }
.unit:hover .unit__more span { translate: .25rem 0; }
@media (max-width: 860px) { .unit { grid-template-columns: 2.75rem minmax(0, 1fr); } .unit > div:last-child { grid-column: 2; } }

/* compact link rows */
.rows { display: grid; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.rows a {
  display: grid; grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 6fr) 1.5rem; gap: .35rem 1.5rem; align-items: baseline;
  padding: 1.1rem 1.4rem; text-decoration: none; border-top: 1px solid var(--line); transition: background-color .15s;
}
.rows li:first-child a { border-top: 0; }
.rows__num { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; color: var(--iris); }
.rows__name { font-family: var(--display); font-weight: 600; font-size: 1.125rem; }
.rows__tag { color: var(--text-2); font-size: .9375rem; }
.rows__go { justify-self: end; color: var(--iris); transition: translate .2s; }
.rows a:hover { background: rgba(123, 146, 252, .08); }
.rows a:hover .rows__go { translate: .25rem 0; }
@media (max-width: 760px) {
  .rows a { grid-template-columns: 2.25rem minmax(0, 1fr) 1rem; }
  .rows__tag { grid-column: 2; }
  .rows__go { grid-column: 3; grid-row: 1; }
}

/* Index of pages beside an overview title */
.pindex { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); padding: .4rem; }
.pindex a { display: flex; gap: 1rem; align-items: baseline; padding: .7rem .85rem; border-radius: 10px; font-size: .9375rem; color: var(--text-2); text-decoration: none; }
.pindex a:hover { background: rgba(123, 146, 252, .1); color: var(--text); }
.pindex__num { font-family: var(--mono); font-size: .6875rem; color: var(--iris); min-width: 1.5rem; }

/* ---------- Pager ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.pager a { display: grid; gap: .4rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: border-color .2s, background-color .2s; }
.pager a:hover { border-color: var(--iris); background: rgba(123, 146, 252, .08); }
.pager__dir { font-family: var(--mono); font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--iris); }
.pager__title { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; }
.pager .pager__next { text-align: right; }
@media (max-width: 640px) { .pager { grid-template-columns: minmax(0, 1fr); } .pager .pager__next { text-align: left; } }

/* ---------- Home ---------- */
.hero4__text .hero4__tag { margin-top: 1.5rem; font-family: var(--display); font-weight: 500; font-size: var(--t-h3); color: var(--lilac); }
.hero4__text .hero4__lead { margin-top: .75rem; }
.hero4__sign { margin-top: .9rem; max-width: 30rem; color: var(--text-3); font-style: italic; }

.claim { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.claim h2 { font-family: var(--display); font-weight: 600; font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.claim p { font-size: var(--t-lead); color: var(--text-2); line-height: 1.65; }
.claim__more { display: inline-flex; gap: .4rem; margin-top: 1.25rem; font-weight: 600; color: var(--iris); text-decoration: none; }
@media (max-width: 900px) { .claim { grid-template-columns: minmax(0, 1fr); } }

/* Steps joined by a line that a light travels along */
.steps4 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.steps4::before {
  content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 2.85rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
}
.steps4::after {
  content: ""; position: absolute; top: calc(2.85rem - 2px); left: 1.5rem; width: 5rem; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent); filter: blur(1px);
  animation: run 5s linear infinite;
}
@keyframes run { from { left: 0; } to { left: calc(100% - 5rem); } }
@media (prefers-reduced-motion: reduce) { .steps4::after { display: none; } }
.steps4 .card4 { background: var(--panel); }
.step4__badge { position: relative; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--deep); border: 1px solid var(--iris); box-shadow: 0 0 20px -4px rgba(123, 146, 252, .8); color: var(--lilac); font-family: var(--mono); font-size: .75rem; }
@media (max-width: 1100px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps4::before, .steps4::after { display: none; } }
@media (max-width: 640px) { .steps4 { grid-template-columns: minmax(0, 1fr); } }

/* Closing call to action */
.cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line-strong);
  background:
    radial-gradient(60% 90% at 85% 50%, rgba(113, 101, 245, .28), transparent 70%),
    linear-gradient(180deg, rgba(20, 30, 66, .9), rgba(10, 15, 44, .9));
}
.cta--alert { border-color: rgba(255, 107, 122, .4); background: radial-gradient(60% 90% at 85% 50%, rgba(255, 107, 122, .2), transparent 70%), linear-gradient(180deg, rgba(30, 20, 50, .92), rgba(12, 12, 36, .92)); }
.cta h2 { font-family: var(--display); font-weight: 600; font-size: var(--t-h2); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.cta p { margin-top: 1rem; color: var(--text-2); font-size: var(--t-lead); max-width: 42rem; }
.cta p strong { color: var(--text); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }
.cta__visual { justify-self: center; width: 100%; max-width: 16rem; }
@media (max-width: 900px) { .cta { grid-template-columns: minmax(0, 1fr); } .cta__visual { order: -1; max-width: 10rem; justify-self: start; } }
.cta .radar { max-width: 16rem; }

/* ---------- Who We Are ---------- */
.intro4 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem); }
.intro4 .ptitle { font-size: var(--t-hero); }
.intro4 .ptitle span { display: block; }
.intro4 .ptitle .intro4__claim { margin-top: .4rem; font-size: .5em; line-height: 1.15; }
.intro4 .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .intro4 { grid-template-columns: minmax(0, 1fr); } }

.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mv__item { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--panel); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.mv__item::after { content: ""; position: absolute; right: -20%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(113, 101, 245, .22), transparent 65%); pointer-events: none; }
.mv__item p { margin-top: 1rem; font-family: var(--display); font-weight: 600; font-size: var(--t-h3); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.mv__body { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius); border: 1px solid var(--line); background: rgba(10, 15, 44, .55); }
.mv__body p { color: var(--text-2); font-size: var(--t-lead); line-height: 1.65; }
.mv__body .mv__quote { padding-left: 1rem; border-left: 2px solid var(--sky); color: var(--sky); font-family: var(--display); font-weight: 500; font-size: var(--t-h3); }
@media (max-width: 760px) { .mv { grid-template-columns: minmax(0, 1fr); } }

.companies4 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center; }
.companies4__list { display: grid; gap: .75rem; }
.companies4__list li {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); cursor: default;
  transition: border-color .2s, background-color .2s;
}
.companies4__list li:hover, .companies4__list li:focus-visible, .companies4__list li.is-on { border-color: var(--iris); background: rgba(123, 146, 252, .1); outline: none; }
.companies4__code { font-family: var(--mono); font-weight: 500; font-size: .8125rem; letter-spacing: .1em; color: var(--sky); }
.companies4__list .label { display: block; font-size: .625rem; color: var(--text-3); }
.companies4__list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.globe { width: 100%; max-width: 30rem; aspect-ratio: 1; justify-self: center; }
@media (max-width: 900px) { .companies4 { grid-template-columns: minmax(0, 1fr); } .globe { order: -1; max-width: 18rem; } }

.certs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.certs--2 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cert { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); padding: 1rem 1rem 1.25rem; display: grid; gap: 1rem; align-content: start; }
.cert__plate { display: flex; align-items: center; justify-content: center; height: 8.5rem; border-radius: 12px; background: #fff; padding: .9rem; overflow: hidden; }
.cert__plate img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cert h3 { font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.3; }
@media (max-width: 1100px) { .certs, .certs--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .certs, .certs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cert__plate { height: 6.5rem; } }

/* ---------- Diagrams (How We Do It) ---------- */
.stage {
  position: relative; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle, rgba(129, 146, 252, .16) 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(180deg, rgba(13, 21, 46, .85), rgba(6, 10, 30, .85));
  padding: clamp(1.25rem, .75rem + 2.5vw, 3rem);
}
.stage__label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }

.flow { position: relative; display: grid; gap: 3rem clamp(3rem, 6vw, 6rem); }
.flow__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--iris); pointer-events: none; z-index: 0; }
.flow__wires path { fill: none; stroke: rgba(123, 146, 252, .55); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1); }
.flow.is-live .flow__wires path { stroke-dashoffset: 0; }
.packet { position: absolute; left: 0; top: 0; z-index: 2; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 12px 3px rgba(135, 206, 250, .75); offset-rotate: 0deg; offset-anchor: 50% 50%; opacity: 0; pointer-events: none; }
.motion .flow.is-live .packet, .flow.is-live .packet { animation: travel 2.6s linear infinite; animation-fill-mode: backwards; }
@media (prefers-reduced-motion: reduce) { .flow.is-live .packet { animation: none; } }
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

.node { position: relative; z-index: 1; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--panel-solid); padding: 1.15rem 1.25rem; }
.node h3 { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.node h4 { margin: .3rem 0 0; font-family: var(--mono); font-weight: 500; font-size: .625rem; text-transform: uppercase; letter-spacing: .16em; color: var(--iris); }
.node--out { display: grid; place-items: center; text-align: center; min-height: 5.5rem; }
.node__note { margin-top: .4rem; font-family: var(--mono); font-size: .75rem; color: var(--text-3); }
.node__list { margin-top: .85rem; display: grid; gap: .45rem; color: var(--text-2); font-size: .9rem; }
.node__list li { display: flex; gap: .6rem; }
.node__list li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .55em; border-radius: 50%; background: var(--sky); box-shadow: 0 0 8px rgba(135, 206, 250, .8); }
.chips { margin-top: .85rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { padding: .25rem .55rem; border-radius: 6px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.flow.is-live .node--engine, .flow.is-live .node--soc, .flow.is-live .dr__col--respond {
  border-color: var(--iris); box-shadow: 0 0 0 1px rgba(123, 146, 252, .6), 0 0 60px -14px rgba(123, 146, 252, .65);
}
.flow--tip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); grid-template-areas: "commercial engine analyst" "other engine siem" ". private ."; align-items: center; }
.flow--tip [data-node="commercial"] { grid-area: commercial; }
.flow--tip [data-node="other"] { grid-area: other; }
.flow--tip [data-node="engine"] { grid-area: engine; align-self: stretch; display: grid; align-content: center; }
.flow--tip [data-node="private"] { grid-area: private; }
.flow--tip [data-node="analyst"] { grid-area: analyst; }
.flow--tip [data-node="siem"] { grid-area: siem; }
.engine { display: flex; gap: 2.25rem; margin-top: 1.1rem; }
.engine__step { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; text-align: center; min-height: 5rem; padding: .7rem; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--inset); font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
.flow--arch { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr) minmax(0, 1.6fr); align-items: center; }
.pipeline { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pipeline li { padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.pipeline li + li::before { content: "› "; color: var(--text-3); }
.pipeline li.is-on { background: var(--iris); color: var(--night); border-color: var(--iris); box-shadow: 0 0 18px -2px rgba(123, 146, 252, .8); }
.pipeline li.is-on::before { color: var(--night); }
.enrich { margin-top: 1rem; display: grid; }
.enrich li { padding: .6rem 1rem; border-radius: 8px; border: 1px solid var(--line); background: var(--inset); text-align: center; font-size: .9rem; color: var(--text-2); }
.enrich li + li { margin-top: 1.5rem; position: relative; }
.enrich li + li::before { content: "+"; position: absolute; left: 50%; top: -1.4rem; translate: -50% 0; color: var(--iris); font-family: var(--mono); }
@media (max-width: 900px) {
  .flow { gap: 2.5rem; }
  .flow--tip { grid-template-columns: minmax(0, 1fr); grid-template-areas: "commercial" "other" "private" "engine" "analyst" "siem"; }
  .engine { flex-direction: column; gap: 1.75rem; }
  .flow--arch { grid-template-columns: minmax(0, 1fr); }
}

.matrix { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.matrix__bar { padding: .75rem 1rem; border-radius: 10px; text-align: center; background: linear-gradient(90deg, rgba(123, 146, 252, .22), rgba(113, 101, 245, .12)); border: 1px solid rgba(123, 146, 252, .45); font-family: var(--mono); font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
.matrix__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.matrix__cards li { border-radius: 12px; border: 1px solid var(--line); background: var(--panel-solid); padding: 1rem 1.1rem; display: grid; gap: .35rem; align-content: start; transition: border-color .2s; }
.matrix__cards li:hover { border-color: var(--iris); }
.matrix__cards strong { font-family: var(--display); font-weight: 600; line-height: 1.3; }
.matrix__cards span { color: var(--text-2); font-size: .875rem; }
.motion .matrix__row .matrix__bar, .motion .matrix__row li { opacity: 0; translate: 0 1rem; transition: opacity .5s, translate .5s, border-color .2s; }
.motion .matrix__row.is-in .matrix__bar, .motion .matrix__row.is-in li { opacity: 1; translate: 0 0; }
.motion .matrix__row.is-in li:nth-child(1) { transition-delay: .1s; }
.motion .matrix__row.is-in li:nth-child(2) { transition-delay: .18s; }
.motion .matrix__row.is-in li:nth-child(3) { transition-delay: .26s; }
.motion .matrix__row.is-in li:nth-child(4) { transition-delay: .34s; }
@media (max-width: 1000px) { .matrix__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .matrix__cards { grid-template-columns: minmax(0, 1fr); } }

.icon24 { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.section-title { font-family: var(--display); font-weight: 600; font-size: var(--t-h3); margin-bottom: 1.25rem; }
.section-title--next { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.xgrid { display: grid; gap: 1rem; }
.xgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .xgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .xgrid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .xgrid--4 { grid-template-columns: minmax(0, 1fr); } }
.xcard { position: relative; border-radius: 14px; border: 1px solid var(--line); background: var(--panel-solid); padding: 1.4rem 1.3rem 1.5rem; display: flex; flex-direction: column; overflow: hidden; }
.xcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.xcard__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: rgba(123, 146, 252, .12); border: 1px solid var(--line); color: var(--lilac); flex: none; }
.xcard h3 { margin-top: 1rem; font-family: var(--display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.xcard__desc { margin-top: .5rem; color: var(--text-2); font-size: .9375rem; }
.xcard__label { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--iris); }
.xcard__list { margin-top: .7rem; display: grid; gap: .4rem; font-size: .9375rem; color: var(--text-2); }
.xcard__list li { display: flex; gap: .6rem; }
.xcard__list li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .6em; border-radius: 50%; background: var(--sky); }
.xcard--approach::before { display: none; }
.xcard__head { display: flex; align-items: center; gap: .9rem; }
.xcard__head h3 { margin-top: 0; }
.xcard__head .mono-label { margin-top: .2rem; }
.mono-label { font-family: var(--mono); font-weight: 500; font-size: .625rem; text-transform: uppercase; letter-spacing: .16em; color: var(--iris); }
.xcard__checks { margin-top: 1.25rem; display: grid; gap: .5rem; font-size: .9375rem; color: var(--text-2); flex: 1; }
.xcard__checks li { display: flex; gap: .65rem; }
.xcard__checks li::before { content: ""; flex: none; width: .3rem; height: .6rem; margin: .3em .2rem 0 .15rem; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.xcard__best { margin-top: 1.25rem; padding: .75rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--inset); font-size: .9rem; color: var(--text-2); }
.xcard__best .mono-label { display: inline; margin-right: .35rem; }
.xtiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.xtile { display: grid; justify-items: center; align-content: center; gap: .8rem; min-height: 8.5rem; padding: 1rem; text-align: center; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-solid); font-weight: 600; font-size: .9375rem; line-height: 1.3; transition: border-color .2s, box-shadow .2s; }
.xtile:hover { border-color: rgba(255, 107, 122, .6); box-shadow: 0 0 30px -10px rgba(255, 107, 122, .6); }
.xtile .icon24 { width: 1.75rem; height: 1.75rem; color: var(--red); }
@media (max-width: 1000px) { .xtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .xtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dr { grid-template-columns: 1.3fr 1.3fr .85fr .85fr; align-items: stretch; gap: 2rem 3.5rem; }
.dr__col { padding: 1.4rem 1.3rem 1.6rem; }
.dr__head { text-align: center; margin-bottom: 1.4rem; font-family: var(--mono); font-weight: 500; font-size: .8125rem; text-transform: uppercase; letter-spacing: .16em; color: var(--lilac); }
.dr__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.dr__col--respond .dr__items, .dr__col--support .dr__items { grid-template-columns: minmax(0, 1fr); }
.dr__col--support { border-style: dashed; display: grid; align-content: center; }
.dr__items li { display: grid; justify-items: center; gap: .55rem; text-align: center; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.dr__items .icon24 { width: 1.6rem; height: 1.6rem; color: var(--sky); }
@media (max-width: 1000px) { .dr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dr { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Under Cyberattack ---------- */
.attack4 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 2rem + 4vw, 6rem); }
.pill--alert { border-color: rgba(255, 107, 122, .5); color: #ffc7cd; }
.pill--alert .dot { background: var(--red); animation-name: pulse-red; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 122, .6); } 70% { box-shadow: 0 0 0 8px rgba(255, 107, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 122, 0); } }
.attack4 .ptitle { font-size: var(--t-hero); }
.attack4__text > p { margin-top: 1rem; max-width: 38rem; font-size: var(--t-lead); color: var(--text-2); }
.attack4__mail { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.75rem; padding: 1rem 1.4rem; border-radius: var(--radius); border: 1px solid rgba(255, 107, 122, .5); background: rgba(255, 107, 122, .08); text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.attack4__mail:hover { background: rgba(255, 107, 122, .16); box-shadow: 0 0 40px -10px rgba(255, 107, 122, .8); }
.attack4__mail span:last-child { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 1rem + 2.5vw, 2.75rem); letter-spacing: -.02em; word-break: break-word; }
.attack4__mail .label { color: #ffc7cd; }
@media (max-width: 900px) { .attack4 { grid-template-columns: minmax(0, 1fr); } .attack4 .cta__visual, .attack4__visual { order: -1; max-width: 11rem; } }
.attack4__visual { width: 100%; max-width: 24rem; justify-self: center; }

/* ---------- Contact ---------- */
.contact4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact4 .card4 a { color: var(--text); text-decoration: none; }
.contact4 .card4 a:hover { color: var(--iris); }
.contact4 .card4 .big { margin-top: 1.25rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.3; word-break: break-word; }
.contact4 address { margin-top: 1.25rem; font-style: normal; color: var(--text-2); }
@media (max-width: 900px) { .contact4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Legal (privacy notice) ---------- */
.legal { max-width: 48rem; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: var(--t-h3); }
.legal h3 { margin-top: 2.25rem; font-family: var(--display); font-weight: 600; font-size: 1.125rem; color: var(--lilac); }
.legal p, .legal ul { margin-top: 1rem; color: var(--text-2); }
.legal ul { list-style: none; display: grid; gap: .4rem; }
.legal li { display: flex; gap: .7rem; }
.legal li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .65em; border-radius: 50%; background: var(--iris); }
.legal a { color: var(--iris); }

/* ---------- Governance documents ---------- */
.docs4 { display: grid; }
.docs4 a { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.1rem .5rem; border-top: 1px solid var(--line); text-decoration: none; border-radius: 10px; transition: background-color .15s; }
.docs4 li:first-child a { border-top: 0; }
.docs4 a:hover { background: rgba(123, 146, 252, .08); }
.docs4__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 10px; background: rgba(123, 146, 252, .12); color: var(--lilac); }
.docs4__icon svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.docs4__name { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.docs4 .mono-label { white-space: nowrap; }

/* ---------- 404 ---------- */
.lost4 { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 1.5rem; text-align: center; padding-block: 4rem; }
.lost4 h1 { font-family: var(--display); font-weight: 700; font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: .9; letter-spacing: -.05em; }
.lost4__text { max-width: 30rem; color: var(--text-2); font-size: var(--t-lead); }
.lost4__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.lost4__ir { margin-top: 1rem; color: var(--text-3); font-size: .9375rem; }
.lost4__ir a { color: var(--red); }

/* ---------- Footer ---------- */
.ftr { margin-top: clamp(2rem, 1rem + 4vw, 5rem); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(3, 3, 11, .2), rgba(3, 3, 11, .85)); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr); gap: 2rem clamp(1.5rem, 3vw, 3rem); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.ftr__brand img { width: 8.5rem; height: auto; }
.ftr__brand p { margin-top: 1rem; max-width: 22rem; color: var(--text-3); font-size: .875rem; }
.ftr h2 { margin-bottom: .9rem; }
.ftr ul { display: grid; gap: .1rem; }
.ftr ul a, .ftr address a { color: var(--text-2); text-decoration: none; display: inline-block; padding-block: .3rem; }
.ftr ul a:hover, .ftr address a:hover { color: var(--text); }
.ftr address { font-style: normal; color: var(--text-2); font-size: .9375rem; line-height: 1.6; }
.ftr address a { color: var(--text); }
.ftr__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line); }
.ftr__legal .label { color: var(--text-3); letter-spacing: .14em; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__brand, .ftr__contact { grid-column: 1 / -1; } }

/* Style tile (theme preview page) */
.phead__grid--solo { justify-items: start; }

/* ==========================================================================
   Home hero: Normal / Incident console switch (2026-10-23)
   ========================================================================== */
.mode { display: inline-flex; gap: .25rem; padding: .2rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--inset); }
.mode__btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .75rem; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; color: var(--text-3);
  transition: background-color .25s, color .25s;
}
.mode__btn .dot { width: .4rem; height: .4rem; animation: none; opacity: .5; }
.mode__btn[aria-pressed="true"] { background: rgba(70, 210, 163, .14); color: var(--green); }
.mode__btn[aria-pressed="true"] .dot { opacity: 1; animation: pulse 2s infinite; }
.dot--red { background: var(--red); }
.mode__btn[data-mode-btn="incident"][aria-pressed="true"] { background: rgba(255, 107, 122, .16); color: #ffc7cd; }
.mode__btn[data-mode-btn="incident"][aria-pressed="true"] .dot { animation-name: pulse-red; }
/* time left before the next automatic flip */
.mode__btn::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 1px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; transform: scaleX(0); transform-origin: left; }
.mode__btn.is-timing::after { animation: mode-timer var(--mode-ms, 8000ms) linear forwards; }
@keyframes mode-timer { to { transform: scaleX(1); } }

.hero4__text { display: grid; }
.hero4__msg { grid-area: 1 / 1; display: grid; justify-items: inherit; align-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.hero4__msg.is-active { opacity: 1; visibility: visible; transform: none; }
.hero4__text { justify-items: end; }
@media (max-width: 1000px) { .hero4__text { justify-items: start; } }
@media (prefers-reduced-motion: reduce) { .hero4__msg { transition: none; transform: none; } }
.hero4__msg .lead strong { color: var(--text); }
.grad-text--alert { background: linear-gradient(100deg, #ffc1c8, var(--red) 55%, #e0436f); -webkit-background-clip: text; background-clip: text; color: transparent; }

.console, .console__link { transition: border-color .6s, box-shadow .6s, color .4s; }
.hero4[data-mode="incident"] .console { --beam-c: rgba(255, 107, 122, .95); border-color: rgba(255, 107, 122, .5); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 70px -20px rgba(255, 107, 122, .45); }
.hero4[data-mode="incident"] .console__link { color: var(--red); }
.tag--alert { background: #d9465a; }

/* the horizon haze warms to red in incident mode */
.space::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; background: radial-gradient(70% 45% at 70% 92%, rgba(255, 80, 110, .3), transparent 70%), radial-gradient(40% 35% at 25% 100%, rgba(200, 50, 90, .2), transparent 70%); }
.is-incident .space::after { opacity: 1; }
@media (max-width: 560px) { .console__bar { flex-wrap: wrap; gap: .75rem; } }

/* Scroll scene: on wide screens the hero pins while the page scrolls one
   screen; console.js sets the scene height and the mode */
.hero-scene { position: relative; }
.hero-scene.is-pinned > .hero4 { position: sticky; top: 4.25rem; height: calc(100vh - 4.25rem); min-height: 0; padding-block: 2rem; }
.mode__btn.is-scrub::after { transform: scaleX(var(--fill, 0)); animation: none; }
.scroll-cue { display: none; }
.hero-scene.is-pinned .scroll-cue {
  display: block; position: absolute; left: 50%; bottom: 1.25rem; width: 1.4rem; height: 2.2rem; translate: -50% 0;
  border: 1.5px solid var(--line-strong); border-radius: 999px; transition: opacity .4s;
}
.hero-scene.is-pinned .scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: .4rem; width: 3px; height: .45rem; translate: -50% 0; border-radius: 2px; background: var(--iris);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(.7rem); } }
.hero4[data-mode="incident"] .scroll-cue { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero-scene.is-pinned .scroll-cue::after { animation: none; } }
.hero4 { position: relative; }

/* Arrows are drawn as inline icons: the arrow characters are not in the
   site fonts and would fall back to a system font */
.arw { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn .arw { width: 1rem; height: 1rem; }
.nowrap { white-space: nowrap; }

/* Phones: the message (with its own switch) pins while scrolling instead of
   the whole hero; on wide screens these wrappers step aside */
.hero4__scene, .hero4__pin { display: contents; }
.mode--mobile { display: none; }
@media (max-width: 1000px) {
  .hero4__scene { display: block; order: -1; position: relative; }
  .hero4__pin { display: block; }
  .mode--mobile { display: inline-flex; align-self: flex-start; margin-bottom: 1.25rem; }
  .hero4__pin .hero4__text { order: 0; }          /* switch first, then the message */
  .hero4__scene.is-pinned > .hero4__pin {
    position: sticky; top: 4.25rem; min-height: calc(100vh - 4.25rem);
    display: flex; flex-direction: column; justify-content: center; padding-block: 1.25rem;
  }
}
/* Short phone screens: a more compact message, so it still fits and pins */
@media (max-width: 1000px) and (max-height: 820px) {
  .hero4__pin .hero4__title { font-size: 1.75rem; margin-top: 1rem; }
  .hero4__pin .hero4__tag { margin-top: .9rem; font-size: 1.0625rem; }
  .hero4__pin .lead { font-size: .9375rem; line-height: 1.5; }
  .hero4__pin .hero4__lead { margin-top: .6rem; }
  .hero4__pin .hero4__sign { margin-top: .6rem; font-size: .875rem; }
  .hero4__pin .hero4__actions { margin-top: 1.25rem; gap: .6rem; }
  .hero4__pin .btn { padding: .7rem 1rem; font-size: .875rem; }
  .hero4__pin .pill { font-size: .5625rem; letter-spacing: .14em; }
  .mode--mobile { margin-bottom: .9rem; }
}
/* Shorter desktop screens (laptops): a more compact message so the hero
   still fits one screen and the scroll effect can run */
@media (min-width: 1001px) and (max-height: 900px) {
  .hero4__title { font-size: clamp(2.25rem, 1.2rem + 2.2vw, 3.1rem); margin-top: 1.1rem; }
  .hero4__text .hero4__tag { margin-top: 1rem; font-size: 1.125rem; }
  .hero4__text .lead { font-size: 1rem; line-height: 1.55; }
  .hero4__sign { margin-top: .6rem; font-size: .9rem; }
  .hero4__actions { margin-top: 1.4rem; }
}
@media (min-width: 1001px) and (max-height: 720px) {
  .hero4__title { font-size: clamp(2rem, 1rem + 2vw, 2.6rem); margin-top: .9rem; }
  .hero4__text .lead { font-size: .9375rem; line-height: 1.5; }
  .stream { height: 12.5rem; }
  .radar { max-width: 11rem; }
  .hero-scene.is-pinned > .hero4 { padding-block: 1rem; }
}

/* ---------- Console HUD parts: Capability, Assurance, ticker ----------
   From the Orbital HUD concept; used on the home console and the concept
   previews. Accent as r,g,b: --c (main), --c2 (bright); red in incident. */
.console { --c: 123, 146, 252; --c2: 135, 206, 250; }
.hero4[data-mode="incident"] .console { --c: 255, 107, 122; --c2: 255, 170, 180; }
.hud__h { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font-family: var(--mono); font-size: .5rem; letter-spacing: .24em; text-transform: uppercase; color: rgb(var(--c2)); }
.hud__h::before { content: ""; width: 10px; height: 2px; background: rgb(var(--c2)); }

.hud__pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; padding: .6rem 0 .75rem; border-top: 1px solid rgba(var(--c), .2); font-family: var(--mono); }
.hud__pipe-h { grid-column: 1 / -1; display: flex; justify-content: space-between; }
.hud__step { text-align: center; padding: .4rem .15rem; font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); border: 1px solid rgba(var(--c), .3); clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); background: rgba(var(--c), .05); transition: background .3s, color .3s; }
.hud__step.is-on { background: rgba(var(--c), .35); color: var(--text); }
.hud__247 { font-size: .5rem; letter-spacing: .2em; color: rgb(var(--c2)); }

.hud__assure { padding: .6rem 0 .75rem; border-top: 1px solid rgba(var(--c), .2); }
.hud__hexes { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.hex { position: relative; aspect-ratio: 1 / 1.08; display: grid; place-content: center; text-align: center; gap: .1rem;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(180deg, rgba(var(--c), .38), rgba(var(--c), .08)); transition: filter .3s; }
.hex::after { content: ""; position: absolute; inset: 1.5px; clip-path: inherit; background: rgba(6, 10, 30, .92); }
.hex strong { position: relative; z-index: 1; font-family: var(--display); font-weight: 600; font-size: .72rem; color: var(--text); }
.hex span { position: relative; z-index: 1; font-family: var(--mono); font-size: .4375rem; letter-spacing: .06em; line-height: 1.25; color: var(--text-2); }
.hex.is-glow { filter: drop-shadow(0 0 8px rgba(var(--c2), .8)); }

.hud__ticker { overflow: hidden; margin: 0 -1.1rem; padding: .5rem 0; border-top: 1px solid rgba(var(--c), .25); background: rgba(var(--c), .07); font-family: var(--mono); font-size: .5rem; letter-spacing: .2em; text-transform: uppercase; color: rgb(var(--c2)); white-space: nowrap; }
.hud__ticker div { display: inline-block; padding-left: 100%; animation: hud-tick 38s linear infinite; }
.hud__ticker span { margin-right: 2.5rem; }
@keyframes hud-tick { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .hud__ticker div { animation: none; padding-left: 1rem; } }
.console > .hud__pipe { margin-top: 1rem; }
/* on the home console the ticker runs edge to edge along the bottom */
.console > .hud__ticker { margin: 0 -1.25rem -1rem; border-radius: 0 0 var(--radius) var(--radius); }
@media (max-width: 600px) {
  .hud__hexes { grid-template-columns: repeat(4, 1fr); }
  .hud__pipe { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1001px) and (max-height: 720px) {
  .console { padding: 1rem 1rem .75rem; }
  .console__bar { padding-bottom: .75rem; }
  .console > .hud__pipe, .console > .hud__assure { padding: .45rem 0 .55rem; }
  .console > .hud__ticker { margin: 0 -1rem -.75rem; padding: .4rem 0; }
}

/* ---------- Threat level status card (header, far right) ----------
   Low = green, Medium = amber, High = red. The level is set in
   src/data/site.json and written in by build.mjs. */
.threat {
  --lvl: var(--threat-medium);
  position: relative; z-index: 2; flex: none;
  display: inline-flex; align-items: center; gap: .55rem; margin: 0;
  padding: .45rem .8rem; border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--lvl) 45%, transparent);
  background: color-mix(in srgb, var(--lvl) 10%, rgba(10, 15, 44, .7));
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
  white-space: nowrap;
}
.threat--low { --lvl: var(--threat-low); }
.threat--medium { --lvl: var(--threat-medium); }
.threat--high { --lvl: var(--threat-high); }
.threat strong { font-weight: 500; color: var(--lvl); }
.threat__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lvl); box-shadow: 0 0 0 0 var(--lvl); animation: threat-pulse 2s infinite; }
@keyframes threat-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lvl) 60%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .threat__dot { animation: none; } }
@media (min-width: 1201px) { .threat { margin-left: 1rem; } }
@media (max-width: 1200px) {
  .threat { order: 2; margin-left: auto; }
  .hdr__toggle { order: 3; }
}
/* phones: "Threat: Medium" in a tighter header */
@media (max-width: 480px) {
  .hdr__bar { gap: .75rem; }
  .hdr__logo img { width: 7rem; }
  .threat { padding: .4rem .6rem; gap: .45rem; letter-spacing: .06em; }
  .threat__long { display: none; }
}
/* the narrowest phones: dot + level only (the label stays for screen readers) */
@media (max-width: 360px) {
  .threat__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
