/* MARQAB website styles
   Layout: a strict 12-column grid at 1440px max, 64px gutters on desktop and
   20px on phones; thin rules instead of boxes; 2px corners; no shadows. */

/* ------------------------------------------------------------------ */
/* Fonts (self-hosted IBM Plex subsets)                                 */
/* ------------------------------------------------------------------ */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-sans-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-sans-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-sans-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plex-sans-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-sans-arabic-400.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-sans-arabic-500.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-sans-arabic-600.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plex-sans-arabic-700.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-mono-500.woff2) format('woff2'); }

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root {
  color-scheme: light;
  /* colour */
  --bg: #F4F2ED;
  --card: #FAF9F7;
  --line: #D9D5CE;
  --line-strong: #B9B3AA;
  --field: #6F797D;
  --ink: #1B2A30;
  --ink-2: #26383F;
  --muted: #5C666B;
  --bronze: #A0562A;
  --teal: #1F6B6B;
  --logo-bronze: #924E23;
  --on-dark: #FFFFFF;
  --on-dark-muted: #AEB6B8;
  --on-dark-bronze: #D08A5C;
  --on-dark-teal: #5FA3A0;
  --on-dark-line: rgba(255, 255, 255, 0.16);
  --on-dark-line-strong: rgba(255, 255, 255, 0.3);
  --on-deep: #C9D1D3;
  /* signal layer: dark surfaces only. Teal means live or verified; amber
     means detection, alert or action. Never decorative. */
  --signal: #2BD4BF;
  --amber: #F0A050;
  --amber-hover: #F6BC80;
  --deep: #0E4D4F;
  --deep-2: #0B3B3D;
  --night: #13393B;
  --dusk-0: #0B161A;
  --grad-dusk: linear-gradient(180deg, #0B161A 0%, #0F2E31 30%, #1A4442 60%, #5E5240 90%, #B0724A 96%, #E39A5E 100%);
  --grad-night: linear-gradient(160deg, #1B2A30 0%, #13393B 55%, #0E4D4F 100%);
  --grad-deep: linear-gradient(180deg, #0E4D4F 0%, #0B3B3D 100%);
  --ic-accent: var(--bronze);
  /* drawing colours, swapped by .on-dark */
  --a-ink: var(--ink);
  --a-teal: var(--teal);
  --a-bronze: var(--bronze);
  --a-bg: var(--bg);
  /* type */
  --font: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --fs-display: clamp(52px, 7.4vw + 8px, 120px);
  --fs-h1: clamp(44px, 5.2vw + 4px, 84px);
  --fs-h2: clamp(32px, 2.8vw + 12px, 52px);
  --fs-h3: clamp(21px, 0.7vw + 14px, 26px);
  --fs-h4: 19px;
  --fs-lead: clamp(18px, 0.6vw + 13px, 22px);
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-label: 13px;
  /* layout */
  --max: 1440px;
  --gutter: clamp(20px, 4.45vw, 64px);
  --gap: clamp(20px, 2.2vw, 32px);
  --section: clamp(80px, 9vw, 136px);
  --header-h: 80px;
  --radius: 2px;
  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

.on-dark {
  --a-ink: #F4F2ED;
  --a-teal: var(--on-dark-teal);
  --a-bronze: var(--on-dark-bronze);
  --a-bg: var(--ink);
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.page { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1 0 auto; }
:lang(ar), [lang="ar"] { font-family: var(--font-ar); }
[lang="en"] { font-family: var(--font); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--bronze); }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
figure { margin: 0; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.on-dark :focus-visible, .section-dark :focus-visible { outline-color: var(--on-dark-bronze); }
::selection { background: rgba(160, 86, 42, 0.22); }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ */
/* Layout                                                              */
/* ------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(64px, 6vw, 96px); }
.rule-top { border-top: 1px solid var(--line); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 4.5vw, 64px); }
.split-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 4.5vw, 64px); }
.split-wide { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 4.5vw, 64px); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gap); }
.cols-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px var(--gap); }
.end { align-items: end; }
.center { align-items: center; }
.stack > * + * { margin-top: 20px; }
.min0 > * { min-width: 0; }
@media (max-width: 1023px) {
  .split, .split-even, .split-wide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cols-4, .cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ------------------------------------------------------------------ */
/* Type                                                                */
/* ------------------------------------------------------------------ */
.display { font-size: var(--fs-display); font-weight: 600; line-height: 0.98; letter-spacing: -0.035em; }
.h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.08; letter-spacing: -0.022em; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.008em; }
.h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 36em; }
.body { font-size: var(--fs-body); line-height: 1.65; color: var(--muted); max-width: 38em; }
.small { font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.label { font-size: var(--fs-label); line-height: 1.4; color: var(--muted); }
.label-mono { font-family: var(--font-mono); font-size: var(--fs-label); line-height: 1.4; color: var(--muted); letter-spacing: 0.02em; }
.ink { color: var(--ink); }
.muted { color: var(--muted); }
.teal { color: var(--teal); }
.bronze { color: var(--bronze); }
.mw-14 { max-width: 14ch; }
.mw-16 { max-width: 16ch; }
.mw-18 { max-width: 18ch; }
.mw-20 { max-width: 20ch; }
.prod { letter-spacing: 0.04em; font-weight: 600; }
:lang(ar) .display, :lang(ar) .h1, :lang(ar) .h2, :lang(ar) .h3, :lang(ar) .h4, :lang(ar) .prod { letter-spacing: 0; }
:lang(ar) .display { line-height: 1.2; font-weight: 700; }
:lang(ar) .h1, :lang(ar) .h2 { line-height: 1.3; font-weight: 700; }
:lang(ar) .h3 { line-height: 1.45; }
:lang(ar) .lead, :lang(ar) .body, :lang(ar) .small { line-height: 1.85; }
.section-dark .lead, .section-dark .body, .section-dark .small, .on-dark .lead, .on-dark .body, .on-dark .small, .section-dark .label { color: var(--on-dark-muted); }

/* ------------------------------------------------------------------ */
/* Components                                                          */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--bronze); color: #FFFFFF; }
.btn-primary:hover { background: var(--ink); color: #FFFFFF; }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--bronze); color: var(--bronze); }
/* on dark: amber primary with charcoal text, white outline secondary */
.section-dark .btn-primary, .on-dark .btn-primary, .hero .btn-primary { background: var(--amber); color: var(--ink); }
.section-dark .btn-primary:hover, .on-dark .btn-primary:hover, .hero .btn-primary:hover { background: var(--amber-hover); color: var(--ink); }
.section-dark .btn-secondary, .on-dark .btn-secondary, .hero .btn-secondary { border-color: rgba(255, 255, 255, 0.72); color: #FFFFFF; }
.section-dark .btn-secondary:hover, .on-dark .btn-secondary:hover, .hero .btn-secondary:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--on-dark-bronze); color: var(--ink); }
.btn-outline-light { border-color: var(--on-dark-line-strong); color: #FFFFFF; }
.btn-outline-light:hover { border-color: var(--on-dark-bronze); color: var(--on-dark-bronze); }
.btn .icon { flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(3px); }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .icon-arrow, [dir="rtl"] .link-arrow:hover .icon-arrow { transform: scaleX(-1) translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong);
  text-underline-offset: 6px; transition: color 0.2s, text-decoration-color 0.2s;
}
.link-arrow:hover { color: var(--bronze); text-decoration-color: currentColor; }
.link-arrow .icon { transition: transform 0.25s var(--ease-out); }
.link-arrow:hover .icon-arrow { transform: translateX(3px); }
.link-muted { color: var(--muted); }
.section-dark .link-arrow { text-decoration-color: var(--on-dark-line-strong); }
.section-dark .link-arrow:hover { color: var(--on-dark-bronze); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; font-size: var(--fs-label); line-height: 1.3; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); }
.section-dark .tag { background: transparent; border-color: var(--on-dark-line-strong); color: #FFFFFF; }
.item-rule { border-top: 1px solid var(--ink); padding-top: 20px; }
.section-dark .item-rule { border-top-color: var(--on-dark-line-strong); }
.item-rule .h4 + p, .item-rule .h3 + p { margin-top: 8px; }
.list-rules { list-style: none; }
.list-rules li { border-top: 1px solid var(--line); padding-block: 14px; }
.list-rules li:last-child { border-bottom: 1px solid var(--line); }
.num { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); letter-spacing: 0.02em; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(40px, 4.5vw, 64px); align-items: end; }
.section-head .lead { max-width: 34em; }
@media (max-width: 1023px) { .section-head { grid-template-columns: minmax(0, 1fr); } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: var(--fs-small); color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-inline-end: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: 10px; }
.crumbs a:hover { color: var(--bronze); text-decoration: underline; }

/* drawing colour classes */
.a-ink { stroke: var(--a-ink); }
.a-teal { stroke: var(--a-teal); }
.a-bronze { stroke: var(--a-bronze); }
.a-bgstroke { stroke: var(--a-bg); }
.f-ink { fill: var(--a-ink); }
.f-teal { fill: var(--a-teal); }
.f-bronze { fill: var(--a-bronze); }
.f-bronze-soft { fill: var(--a-bronze); fill-opacity: 0.1; }
.f-bg { fill: var(--a-bg); }
.a-signal { stroke: var(--signal); }
.f-signal { fill: var(--signal); }
.a-amber { stroke: var(--amber); }
.f-amber { fill: var(--amber); }
/* line icons */
.ic { flex: none; display: block; }
.ic-a { stroke: var(--ic-accent); }
.ic-af { fill: var(--ic-accent); stroke: none; }
.section-dark, .on-dark { --ic-accent: var(--signal); }
.section-dark a:hover, .site-footer a:hover { color: var(--on-dark-bronze); }
.key-sym { flex: none; fill: none; stroke-width: 1.2; }

/* ------------------------------------------------------------------ */
/* Header and menu                                                     */
/* ------------------------------------------------------------------ */
.skip-link { position: absolute; inset-inline-start: 12px; top: -64px; z-index: 100; background: var(--ink); color: #FFFFFF; padding: 12px 16px; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.page::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header { transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.brand .logo-light { display: none; }
.js .site-header.is-over { background: transparent; border-bottom-color: transparent; color: #FFFFFF; }
.js .site-header.is-over .logo-dark { display: none; }
.js .site-header.is-over .logo-light { display: block; }
.js .site-header.is-over .primary-nav a { color: #E4E7E8; }
.js .site-header.is-over .primary-nav a:hover { color: #FFFFFF; }
.js .site-header.is-over .header-cta { background: transparent; border-color: rgba(255, 255, 255, 0.72); color: #FFFFFF; }
.js .site-header.is-over .header-cta:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }
.js .site-header.is-over :focus-visible { outline-color: var(--on-dark-bronze); }
.js .page.is-over::before { background: var(--dusk-0); }
.header-inner { display: flex; align-items: center; gap: 12px 40px; min-height: var(--header-h); transition: min-height 0.3s var(--ease-out); }
.site-header.is-compact .header-inner { min-height: 64px; }
.brand { display: flex; align-items: center; flex: none; min-height: 44px; text-decoration: none; }
.brand img { height: 56px; width: auto; transition: height 0.3s var(--ease-out); }
.site-header.is-compact .brand img { height: 44px; }
.primary-nav { flex: 1 1 auto; }
.primary-nav ul { display: flex; flex-wrap: wrap; gap: 0 28px; list-style: none; }
.primary-nav a { display: inline-block; padding: 12px 0; font-size: 15px; line-height: 20px; text-decoration: none; position: relative; }
.primary-nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
[dir="rtl"] .primary-nav a::after { transform-origin: right; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--bronze); }
.header-actions { display: flex; align-items: center; gap: 20px; margin-inline-start: auto; }
.lang-toggle { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-size: 15px; text-decoration: none; }
.lang-toggle:hover { text-decoration: underline; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; font-size: 15px; }
@media (max-width: 1199px) {
  .primary-nav, .header-actions .lang-toggle { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 599px) {
  .header-cta { display: none; }
  .brand img { height: 46px; }
  :root { --header-h: 68px; }
}
.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: #FFFFFF; overflow-y: auto; overscroll-behavior: contain; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.mobile-menu:not([hidden]) { animation: mm-in 0.35s var(--ease-out); }
@keyframes mm-in { from { opacity: 0; } to { opacity: 1; } }
.mm-inner { min-height: 100%; display: flex; flex-direction: column; }
.mm-head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); border-bottom: 1px solid var(--on-dark-line); }
.mm-head .brand img { height: 48px; }
.mm-close { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1px solid var(--on-dark-line-strong); border-radius: var(--radius); color: #FFFFFF; cursor: pointer; }
.mm-close:hover { border-color: var(--on-dark-bronze); color: var(--on-dark-bronze); }
.mm-nav { padding-block: 24px; flex: 1; }
.mm-nav > ul { list-style: none; }
.mm-nav > ul > li { border-bottom: 1px solid var(--on-dark-line); padding-block: 6px; }
.mm-top { display: flex; align-items: center; min-height: 52px; font-size: 26px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.mm-top[aria-current="page"] { color: var(--on-dark-bronze); }
.mm-sub { list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; padding-bottom: 10px; }
.mm-sub a { display: inline-flex; min-height: 44px; align-items: center; color: var(--on-dark-muted); font-size: 16px; text-decoration: none; }
.mm-sub a:hover, .mm-top:hover { color: var(--on-dark-bronze); }
.mm-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: 24px 40px; border-top: 1px solid var(--on-dark-line); }
.mm-lang { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; }
.mm-contact { display: flex; flex-direction: column; gap: 4px; width: 100%; color: var(--on-dark-muted); font-size: 15px; user-select: all; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ */
/* Footer (dark, light logo)                                           */
/* ------------------------------------------------------------------ */
.site-footer { margin-top: auto; background: var(--ink); color: #FFFFFF; }
.footer-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 48px var(--gap); padding-block: 72px 56px; }
.footer-brand .brand img { height: 64px; }
.footer-tagline { margin-top: 20px; font-weight: 600; font-size: 17px; }
.footer-about { margin-top: 8px; font-size: var(--fs-small); color: var(--on-dark-muted); max-width: 26em; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); }
.footer-h { font-size: var(--fs-label); font-weight: 500; color: var(--on-dark-muted); letter-spacing: 0.02em; margin-bottom: 8px; }
.footer-nav ul { list-style: none; }
.footer-nav a { display: inline-block; padding-block: 7px; font-size: var(--fs-small); text-decoration: none; color: #E4E7E8; }
.footer-nav a:hover { text-decoration: underline; }
.footer-contact dl { display: grid; gap: 14px; }
.footer-contact dt { font-size: var(--fs-label); color: var(--on-dark-muted); }
.footer-contact dd { font-size: var(--fs-small); }
.footer-contact a { text-decoration: none; display: inline-block; padding-block: 4px; }
.footer-contact a:hover { text-decoration: underline; }
.footer-coords { display: block; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--on-dark-muted); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; padding-block: 18px 28px; border-top: 1px solid var(--on-dark-line); font-size: 14px; color: var(--on-dark-muted); }
.footer-base nav { display: flex; gap: 24px; }
.footer-base a { color: var(--on-dark-muted); display: inline-block; padding-block: 12px; }
.site-footer :focus-visible { outline-color: var(--on-dark-bronze); }
@media (max-width: 1199px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-nav { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 767px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); padding-block: 56px 40px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ */
/* Home hero: dusk sky, watchtower and drone on station                */
/* ------------------------------------------------------------------ */
.hero { --hero-h: clamp(660px, 60vw, 940px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: var(--hero-h); margin-top: calc(-1 * var(--header-h) - 1px); background: var(--dusk-0); color: #FFFFFF; }
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art .hd { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the art is anchored to the bottom, so the horizon sits 178 drawing units above
   the hero's lower edge; the buttons are placed just above it */
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: calc(max(100vw * 190 / 1440, var(--hero-h) * 190 / 860) - 24px); pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.hero-title { max-width: 10.5ch; text-shadow: 0 1px 24px rgba(11, 22, 26, 0.35); }
.hero-sub { margin-top: 28px; font-size: var(--fs-lead); line-height: 1.5; color: #EEF0F0; max-width: 27em; text-shadow: 0 1px 16px rgba(11, 22, 26, 0.55); }
.hero-content .btn-row { margin-top: 36px; }
.hero .btn-secondary { background: rgba(11, 22, 26, 0.55); }
.hero .btn-secondary:hover { background: rgba(11, 22, 26, 0.75); }
.hero-tag { position: absolute; z-index: 2; bottom: 20px; inset-inline-end: max(var(--gutter), env(safe-area-inset-right, 0px)); font-family: var(--font-mono); font-size: 12px; color: #C9D1D3; }
.hero-verified { position: absolute; z-index: 3; transform: translate(-50%, -100%); margin-top: -28px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; color: var(--signal); opacity: 0; transition: opacity 0.25s; pointer-events: none; white-space: nowrap; }
.hero-art.is-locked .hero-verified { opacity: 1; }
.hero-lock-btn { position: absolute; z-index: 3; width: 44px; height: 44px; transform: translate(-50%, -50%); background: transparent; border: 0; border-radius: 50%; cursor: pointer; padding: 0; }
.hero-lock-btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 0; }
.hd-lock { opacity: 0; transition: opacity 0.25s; }
.hero-art.is-locked .hd-lock { opacity: 1; }
.hd-pulse, .hd-beacon-halo { transform-box: fill-box; transform-origin: center; }
.hd-nav { opacity: 1; }
@media (max-width: 1023px) {
  .hero { min-height: 0; justify-content: flex-start; }
  .hero-content { padding-top: calc(var(--header-h) + 36px); padding-bottom: 0; }
  .hero-art { position: relative; order: 2; height: clamp(400px, 56vw, 560px); margin-top: -96px; }
  .hero-sub { margin-top: 20px; }
  .hero-content .btn-row { margin-top: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero .hd-horizon { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wt-draw 1000ms var(--ease-out) 100ms forwards; }
  .js .hero .hd-ridges, .js .hero .hd-waves, .js .hero .hd-rings, .js .hero .hd-sun { animation: wt-fade 900ms ease-out 200ms both; }
  .js .hero .hd-tower { animation: wt-rise 800ms var(--ease-out) 450ms both; }
  .js .hero .hd-drone { animation: wt-lift 1000ms var(--ease-out) 900ms both; }
  .js .hero .hd-tether { animation: wt-fade 400ms ease-out 1700ms both; }
  .js .hero .hd-sensor, .js .hero .hd-ray, .js .hero .hd-target { animation: wt-fade 500ms ease-out 1900ms both; }
  .hd-bob { animation: hd-bob 5.5s ease-in-out infinite; }
  .hd-nav { animation: hd-strobe 2.6s linear infinite; }
  .hd-nav-b { animation-delay: 0.18s; }
  .hd-nav-c { animation-duration: 3.4s; animation-delay: 1.1s; }
  .hd-beacon { animation: hd-beacon 1.8s ease-in-out infinite; }
  .hd-beacon-halo { animation: hd-halo 1.8s ease-out infinite; }
  .hd-pulse { animation: hd-ping 2.4s ease-out infinite; }
  .sc-twinkle { animation: sc-twinkle 5s ease-in-out infinite; }
  .hero.is-paused *, .is-paused * { animation-play-state: paused !important; }
}
@keyframes wt-draw { to { stroke-dashoffset: 0; } }
@keyframes wt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wt-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes wt-lift { from { opacity: 0; transform: translateY(58px); } to { opacity: 1; transform: none; } }
@keyframes hd-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes hd-strobe { 0%, 6% { opacity: 1; } 7%, 100% { opacity: 0.18; } }
@keyframes hd-beacon { 50% { opacity: 0.35; } }
@keyframes hd-halo { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
@keyframes hd-ping { from { transform: scale(1); opacity: 0.85; } to { transform: scale(3.2); opacity: 0; } }
@keyframes sc-twinkle { 50% { opacity: 0.2; } }
[dir="rtl"] .hero .hd { transform: scaleX(-1); }
.wt-drone-bob { animation: wt-bob 4.6s ease-in-out infinite; }
@keyframes wt-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
[dir="rtl"] .wt-mirror { transform: scaleX(-1); }

/* ------------------------------------------------------------------ */
/* Positioning band (light, large bronze word)                         */
/* ------------------------------------------------------------------ */
.section-dark { background: var(--ink); color: #FFFFFF; position: relative; overflow: hidden; --a-ink: #F4F2ED; --a-teal: var(--on-dark-teal); --a-bronze: var(--on-dark-bronze); --a-bg: var(--ink); }
.bg-night { background: var(--grad-night); }
.bg-deep { background: var(--grad-deep); --a-bg: var(--deep); }
.bg-deep .lead, .bg-deep .body, .bg-deep .small { color: var(--on-deep); }
.band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 4.5vw, 64px); align-items: end; }
.band-word { font-family: var(--font-ar); font-weight: 700; font-size: clamp(120px, 15vw, 232px); line-height: 0.95; color: var(--bronze); }
.band-logo { width: clamp(200px, 23vw, 330px); height: auto; }
.band-meaning { margin-top: 24px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 24em; }
.band-statement { font-size: clamp(28px, 2.6vw + 8px, 46px); font-weight: 600; line-height: 1.14; letter-spacing: -0.018em; }
:lang(ar) .band-statement { letter-spacing: 0; line-height: 1.4; }
.band .body { margin-top: 20px; max-width: 34em; font-size: 18px; }
.chain { list-style: none; display: flex; flex-wrap: wrap; margin-top: 36px; }
.chain li { position: relative; display: flex; align-items: center; gap: 10px; padding-inline-end: 44px; font-size: 15px; font-weight: 500; }
.chain li + li::before { content: ''; position: absolute; inset-inline-start: -36px; top: 50%; width: 28px; border-top: 1px dashed var(--line-strong); }
.chain li:last-child { padding-inline-end: 0; }
.chain-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); }
@media (max-width: 1023px) { .band-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) {
  .chain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .chain li { padding-inline-end: 0; }
  .chain li + li::before { display: none; }
}

/* ------------------------------------------------------------------ */
/* Method: one pinned stage, steps beside the map, scroll progress     */
/* ------------------------------------------------------------------ */
.night { background: var(--grad-night); }
.section-dark.method { overflow: visible; } /* a clipped ancestor would stop the stage from pinning */
.method::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: min(40vh, 360px); background: linear-gradient(180deg, rgba(14, 77, 79, 0), var(--deep)); pointer-events: none; }
.method-track { position: relative; z-index: 1; }
.method-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 4.5vw, 72px); align-items: center; padding-block: var(--section); }
.method-copy .lead { margin-top: 18px; }
.method-steps { list-style: none; margin-top: 32px; display: grid; gap: 10px; }
.step-btn { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; width: 100%; padding: 14px 18px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--on-dark-line); border-radius: var(--radius); text-align: start; cursor: pointer; color: var(--on-dark-muted); transition: color 0.3s, border-color 0.3s, background-color 0.3s; }
.step-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--on-dark-line-strong); border-radius: 50%; color: #E4E7E8; --ic-accent: var(--on-dark-muted); transition: border-color 0.3s; }
.step-btn .step-name { display: block; font-size: 19px; font-weight: 600; line-height: 1.3; color: #E4E7E8; }
.step-btn .step-desc { display: block; margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--on-dark-muted); }
.step-btn:hover { border-color: var(--on-dark-line-strong); }
.step-btn[aria-pressed="true"] { border-color: var(--signal); background: rgba(43, 212, 191, 0.07); }
.step-btn[aria-pressed="true"] .step-ic { border-color: var(--signal); --ic-accent: var(--signal); }
.step-btn[aria-pressed="true"] .step-name { color: #FFFFFF; }
.step-btn[aria-pressed="true"] .step-desc { color: #C9D1D3; }
.method-figure .op { width: 100%; }
@media (min-width: 1024px) and (min-height: 640px) {
  .js .method-track { height: 300vh; }
  .js .method-stage { position: sticky; top: calc(var(--header-h) - 16px); min-height: calc(100vh - var(--header-h) + 16px); padding-block: 40px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .method-steps { margin-top: 24px; gap: 8px; }
  .step-btn { padding: 10px 16px; }
  .step-btn .step-desc { font-size: 14px; }
}
@media (max-width: 1023px) {
  .method-stage { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .method-copy .lead { margin-top: -8px; }
  .method-figure { order: 2; }
  .method-steps { order: 3; }
  .method-copy { display: contents; }
  .method-copy > h2, .method-copy > .lead { order: 0; }
  .method-steps { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .method-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .step-btn { padding: 10px 14px; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .step-ic { width: 40px; height: 40px; }
  .op-bottom { font-size: 12px; }
}

/* the operational picture */
.op { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: #0D1E22; color: var(--on-dark-muted); border: 1px solid var(--on-dark-line); border-radius: var(--radius); overflow: hidden; font-family: var(--font-mono); --a-bg: #0D1E22; }
.op-map { position: absolute; inset: 0; }
.op-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.op-labels, .sheet-labels, .console-labels { position: absolute; inset: 0; pointer-events: none; }
.map-label { position: absolute; transform: translate(0, -50%); font-family: var(--font-mono); font-size: var(--fs-label); line-height: 1.35; white-space: nowrap; letter-spacing: 0.01em; }
.map-label.ml-mid { transform: translate(-50%, -50%); text-align: center; }
.map-label.ml-end { transform: translate(-100%, -50%); text-align: end; }
.map-label span { display: block; }
.op .map-label { color: #E4E7E8; }
.op .map-label.ml-muted { color: var(--on-dark-muted); }
.op .ml-alert { color: var(--amber); }
.op .ml-alert span, .op .ml-ok span { color: var(--on-dark-muted); }
.op .ml-ok { color: var(--signal); }
.op-top, .op-bottom { position: absolute; inset-inline: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; background: #0D1E22; font-size: var(--fs-label); z-index: 2; }
.op-top { top: 0; height: 40px; border-bottom: 1px solid var(--on-dark-line); color: var(--on-dark-muted); }
.op-live { display: inline-flex; align-items: center; gap: 8px; }
.op-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
@media (prefers-reduced-motion: no-preference) { .op-live::before { animation: hd-beacon 1.8s ease-in-out infinite; } }
.op-bottom { bottom: 0; height: 44px; border-top: 1px solid var(--on-dark-line); color: #E4E7E8; justify-content: flex-start; }
.op-progress { display: inline-flex; gap: 4px; flex: none; }
.op-progress i { position: relative; width: 28px; height: 3px; background: var(--on-dark-line-strong); overflow: hidden; }
.op-progress i::after { content: ''; position: absolute; inset: 0; background: var(--signal); transform: scaleX(var(--f, 0)); transform-origin: left; transition: transform 0.25s linear; }
[dir="rtl"] .op-progress i::after { transform-origin: right; }
.op[data-step="0"] .op-progress i:nth-child(-n + 1)::after,
.op[data-step="1"] .op-progress i:nth-child(-n + 2)::after,
.op[data-step="2"] .op-progress i:nth-child(-n + 3)::after,
.op[data-step="3"] .op-progress i::after { transform: scaleX(var(--f, 1)); }
.op-det, .op-route, .op-team, .op-done, .op-perim-solid, .op-l1, .op-l2, .op-l3 { opacity: 0; transition: opacity 0.5s; }
.op-route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-in-out), opacity 0.4s; }
.op[data-step="1"] .op-det, .op[data-step="2"] .op-det { opacity: 1; }
.op[data-step="2"] .op-route { opacity: 1; stroke-dashoffset: 0; }
.op[data-step="3"] .op-route { opacity: 0.35; stroke-dashoffset: 0; }
.op[data-step="2"] .op-team { opacity: 1; }
.op[data-step="3"] .op-done, .op[data-step="3"] .op-perim-solid { opacity: 1; }
.op[data-step="3"] .op-perim-dash { opacity: 0; }
.op-perim-dash { transition: opacity 0.6s; }
.op[data-step="1"] .op-l1, .op[data-step="2"] .op-l2, .op[data-step="3"] .op-l3 { opacity: 1; }
.op-orbit { transition: stroke-opacity 0.5s; }
.op-team-still { display: none; }
.is-still .op-team { display: none; }
.is-still .op[data-step="2"] .op-team-still { display: inline; }
.map-label.is-out { display: none; }
.op[data-step="0"] .op-l-orbit { color: var(--signal); }
@media (max-width: 599px) { .op .map-label.ml-muted { display: none; } .op .map-label { font-size: 12px; } }

/* ------------------------------------------------------------------ */
/* Platform family: altitude diagram                                   */
/* ------------------------------------------------------------------ */
.alt { margin-top: clamp(48px, 5vw, 80px); }
.alt-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.alt-canvas { position: relative; min-width: 720px; aspect-ratio: 1200 / 500; }
.alt-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.alt-hits { position: absolute; inset: 0; }
.alt-hit { position: absolute; top: 0; bottom: 0; width: 25%; display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
.alt-hit:hover { color: inherit; }
.alt-hit:focus-visible { outline-offset: -4px; }
.alt-name { position: absolute; inset-inline: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; transition: color 0.3s; }
.alt-name-id { font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: 0.06em; }
.alt-name-class { font-size: var(--fs-label); color: var(--muted); }
.alt-col { transition: opacity 0.35s; }
.alt-cone { opacity: 0; transition: opacity 0.35s; }
.alt-bob { animation: alt-bob 5s ease-in-out infinite; }
@keyframes alt-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.alt[data-active] .alt-col { opacity: 0.32; }
.alt[data-active] .alt-col.is-active { opacity: 1; }
.alt-col.is-active .alt-cone { opacity: 1; }
.alt-col.is-active .ac .a-ink { stroke: var(--bronze); }
.alt-col.is-active .ac .f-ink { fill: var(--bronze); }
.alt[data-active] .alt-hit:not(.is-active) .alt-name { color: var(--muted); }
.alt-hit.is-active .alt-name-id { color: var(--bronze); }
[dir="rtl"] .alt-svg { transform: scaleX(-1); }
.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); border-top: 1px solid var(--ink); padding-top: 28px; }
.pf-item .prod { font-size: 28px; line-height: 1.1; }
.pf-item .pf-class { margin-top: 6px; font-size: var(--fs-small); font-weight: 500; color: var(--teal); }
.pf-specs { list-style: none; margin-top: 14px; display: grid; gap: 2px; font-size: var(--fs-small); color: var(--muted); }
.pf-item .pf-fit { margin-top: 12px; font-size: var(--fs-small); color: var(--ink); }
.pf-item .link-arrow { margin-top: 8px; }
@media (max-width: 1023px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .pf-grid { grid-template-columns: minmax(0, 1fr); } }
.alt-note { margin-top: 12px; text-align: end; }
@media (min-width: 760px) { .alt-note { display: none; } }

/* ------------------------------------------------------------------ */
/* Platform family lineup (deep teal)                                  */
/* ------------------------------------------------------------------ */
.family .section-head .lead { color: var(--on-deep); }
.lineup { margin-top: clamp(48px, 5vw, 80px); }
.lu-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; padding-bottom: 44px; }
.lu-stage { display: grid; column-gap: 4%; align-items: end; padding: 24px 0 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.28); }
.lu-item { position: relative; display: flex; flex-direction: column; align-items: center; transition: transform 0.5s var(--ease-out), opacity 0.4s; }
.lu-item .ac-img { width: 100%; height: auto; }
.lu-name { position: absolute; top: calc(100% + 14px); inset-inline: 0; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--on-deep); }
.lineup[data-active] .lu-item { opacity: 0.45; }
.lineup[data-active] .lu-item.is-active { opacity: 1; transform: translateY(-8px); }
.lineup[data-active] .lu-item.is-active .lu-name { color: #FFFFFF; }
.pfc-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.pfc { position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); background: rgba(11, 59, 61, 0.35); transition: border-color 0.3s, background-color 0.3s; }
.pfc:hover, .pfc:focus-within, .pfc.is-active { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.04); }
.pfc:focus-within { outline: 2px solid var(--on-dark-bronze); outline-offset: 2px; }
.pfc-name { font-size: 26px; line-height: 1.1; }
.pfc-name a { text-decoration: none; }
.pfc-name a::after { content: ''; position: absolute; inset: 0; }
.pfc-name a:focus-visible { outline: none; }
.pfc-class { margin-top: 6px; font-size: var(--fs-small); font-weight: 500; color: var(--on-deep); }
.pfc-bars { margin-top: 18px; display: grid; gap: 8px; }
.pfc-bars > div { display: grid; grid-template-columns: 76px auto minmax(0, 1fr); gap: 10px; align-items: center; font-size: var(--fs-label); }
.pfc-bars dt { color: var(--on-deep); }
.pfc-bars dd { display: contents; color: #FFFFFF; }
.seg { display: inline-flex; gap: 3px; }
.seg i { width: 16px; height: 3px; background: rgba(255, 255, 255, 0.2); }
.seg[data-level="1"] i:nth-child(-n + 1), .seg[data-level="2"] i:nth-child(-n + 2), .seg[data-level="3"] i { background: #E4E7E8; }
.pfc-fit { margin-top: 16px; font-size: var(--fs-small); line-height: 1.55; color: var(--on-deep); }
.pfc-more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 500; }
.pfc:hover .pfc-more { color: var(--on-dark-bronze); }
.pf-hero { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 104px); }
.pf-hero .lead { color: var(--on-dark-muted); }
.lineup-solo .lu-stage { background: radial-gradient(55% 45% at 50% 100%, rgba(227, 154, 94, 0.16), transparent 70%); }
.lu-link { text-decoration: none; color: inherit; border-radius: var(--radius); }
.lu-link:hover { transform: translateY(-8px); color: inherit; }
.lu-link:hover .lu-name, .lu-link:focus-visible .lu-name { color: #FFFFFF; }
.lu-link:focus-visible { outline-offset: 6px; }
.family-icons { margin-top: 48px; }
.lu-note { margin-top: 18px; font-size: var(--fs-label); color: var(--on-deep); max-width: 60em; }
.family-actions { margin-top: 36px; align-items: center; gap: 12px 28px; }
@media (max-width: 1023px) { .pfc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .pfc-grid { grid-template-columns: minmax(0, 1fr); margin-top: 48px; } .lu-stage { column-gap: 3%; } .lu-name { font-size: 10px; letter-spacing: 0.04em; top: calc(100% + 10px); } }

/* ------------------------------------------------------------------ */
/* Technology summary (home, light)                                    */
/* ------------------------------------------------------------------ */
.tech-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 4vw, 56px); }
.tech-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 3vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.tech-card-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); }
.tech-card .body { max-width: 32em; }
.tech-card .link-arrow { margin-top: auto; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-block: 6px 4px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 12px 4px 10px; border: 1px solid var(--line); border-radius: 18px; font-size: 14px; background: var(--bg); }
.mini-pipeline { list-style: none; width: 100%; margin-block: 6px 4px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.mini-pipeline li { position: relative; padding: 14px 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.mini-pipeline li::before { content: ''; position: absolute; top: -1px; inset-inline-start: 0; width: 100%; height: 2px; background: var(--bronze); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .mini-pipeline li::before { transform-origin: right; }
.mp-ic { color: var(--ink); }
.mini-pipeline .num { display: block; }
.mini-pipeline .mp-name { display: block; font-size: 15px; font-weight: 600; }
.js .mini-pipeline.is-running li::before { animation: mp-run 8s linear infinite; }
.mini-pipeline li:nth-child(2)::before { animation-delay: 1.6s !important; }
.mini-pipeline li:nth-child(3)::before { animation-delay: 3.2s !important; }
.mini-pipeline li:nth-child(4)::before { animation-delay: 4.8s !important; }
.mini-pipeline li:nth-child(5)::before { animation-delay: 6.4s !important; }
@keyframes mp-run { 0% { transform: scaleX(0); opacity: 1; } 18% { transform: scaleX(1); opacity: 1; } 60% { opacity: 1; transform: scaleX(1); } 80%, 100% { opacity: 0; transform: scaleX(1); } }
@media (max-width: 1023px) { .tech-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .mini-pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; } }
.tech-feat { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.tech-feat dt { font-size: 16px; font-weight: 600; }
.tech-feat dd { margin-top: 4px; font-size: var(--fs-small); color: var(--muted); }
.tech-cols { margin-top: clamp(40px, 4vw, 56px); }
.tech-cols > div { border-top: 1px solid var(--ink); padding-top: 24px; }

/* integration layers: detection, intelligence, command */
.integ-wrap { margin-top: clamp(72px, 8vw, 120px); }
.integ-title { font-size: clamp(30px, 2.2vw + 12px, 44px); }
.integ { --row-gap: 56px; margin-top: clamp(40px, 4vw, 56px); }
.integ-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: 16px var(--gap); align-items: start; }
.integ-row + .integ-row { margin-top: var(--row-gap); }
.integ-chip { justify-self: start; margin-top: 12px; padding: 4px 10px; border-radius: var(--radius); font-size: 13px; font-weight: 600; color: #FFFFFF; background: var(--bronze); }
.integ-int .integ-chip { background: var(--teal); }
.integ-cmd .integ-chip { background: var(--ink); }
.integ-nodes { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 12px; }
.integ-nodes li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; font-weight: 500; }
.integ-node { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); color: var(--ink); }
.integ-det { --ic-accent: var(--bronze); }
.integ-int { --ic-accent: var(--teal); }
.integ-cmd .integ-node { background: var(--ink); border-color: var(--ink); color: #FFFFFF; --ic-accent: var(--signal); }
.integ-row:not(:last-child) .integ-nodes li::after { content: ''; position: absolute; top: calc(100% + 6px); left: 50%; height: calc(var(--row-gap) - 12px); border-left: 1px dashed var(--line-strong); }
.integ-row:not(:last-child) .integ-nodes li::before { content: ''; position: absolute; z-index: 1; top: calc(100% + 6px + (var(--row-gap) - 12px) * 0.5); left: calc(50% - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
@media (prefers-reduced-motion: no-preference) {
  .js .integ.is-running .integ-row:not(:last-child) .integ-nodes li::before { animation: integ-pulse 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
  .js .integ.is-running .integ-nodes li:nth-child(2)::before { animation-delay: 0.5s; }
  .js .integ.is-running .integ-nodes li:nth-child(3)::before { animation-delay: 1.1s; }
  .js .integ.is-running .integ-nodes li:nth-child(4)::before { animation-delay: 0.3s; }
  .js .integ.is-running .integ-nodes li:nth-child(5)::before { animation-delay: 1.6s; }
  .js .integ.is-running .integ-int .integ-nodes li::before { animation-delay: 1.3s; }
  .js .integ.is-running .integ-int .integ-nodes li:nth-child(2)::before { animation-delay: 1.9s; }
  .js .integ.is-running .integ-int .integ-nodes li:nth-child(4)::before { animation-delay: 0.7s; }
}
@keyframes integ-pulse { 0% { transform: translateY(calc((var(--row-gap) - 12px) * -0.5)); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(calc((var(--row-gap) - 12px) * 0.5)); opacity: 0; } }
.integ-link { margin-top: 32px; }
@media (max-width: 899px) {
  .integ-row { grid-template-columns: minmax(0, 1fr); }
  .integ-chip { margin-top: 0; }
  .integ-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .integ-nodes li { flex-direction: row; text-align: start; gap: 12px; font-size: 14px; }
  .integ-node { width: 44px; height: 44px; flex: none; }
  .integ-row:not(:last-child) .integ-nodes li::after, .integ-row:not(:last-child) .integ-nodes li::before { display: none; }
  .integ-row + .integ-row { position: relative; margin-top: 64px; }
  .integ-row + .integ-row::before { content: ''; position: absolute; top: -52px; inset-inline-start: 22px; height: 40px; border-left: 1px dashed var(--line-strong); }
  .integ-row + .integ-row::after { content: ''; position: absolute; top: -36px; inset-inline-start: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
}
@media (max-width: 420px) { .integ-nodes { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ */
/* Mission tiles                                                       */
/* ------------------------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; }
.tile { position: relative; display: flex; flex-direction: column; background: var(--bg); transition: background-color 0.3s; }
.tile:hover, .tile:focus-within { background: var(--card); }
.tile:focus-within { outline: 2px solid var(--bronze); outline-offset: -2px; z-index: 1; }
.tile-art { position: relative; aspect-ratio: 5 / 3; border-bottom: 1px solid var(--line); overflow: hidden; }
.tile-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile-contours { opacity: 0.72; transition: opacity 0.45s, transform 0.7s var(--ease-out); }
.tile:hover .tile-contours, .tile:focus-within .tile-contours { opacity: 1; transform: translateY(-3px); }
.tile-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; }
.tile h3 { font-size: 21px; line-height: 1.3; }
.tile h3 a { text-decoration: none; }
.tile h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.tile h3 a:focus-visible { outline: none; }
.tile .small { color: var(--muted); }
.tile-platforms { font-size: var(--fs-label); color: var(--teal); }
.tile-more { margin-top: auto; padding-top: 10px; font-size: var(--fs-small); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.tile:hover .tile-more { color: var(--bronze); }
.tiles-note { margin-top: 14px; }
@media (max-width: 1023px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ */
/* Sovereign capability (charcoal, desert band, layered stack)         */
/* ------------------------------------------------------------------ */
.waves { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 300px; pointer-events: none; }
.waves-drift { animation: drift 120s linear infinite; stroke-opacity: 0.11; }
@keyframes drift { to { transform: translateX(-1440px); } }
.section-dark > .wrap { position: relative; }
.sovereign { padding-bottom: var(--section); }
.sv-band { position: relative; height: clamp(200px, 25vw, 360px); }
.band-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-body { margin-top: clamp(-72px, -4vw, -40px); }
.sv-stack { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(40px, 5vw, 80px); align-items: center; margin-top: clamp(48px, 5vw, 72px); }
.sv-svg { width: 100%; max-width: 540px; height: auto; justify-self: center; }
.sv-face { fill: #1F3036; stroke: rgba(255, 255, 255, 0.3); transition: fill 0.35s, stroke 0.35s; }
.sv-edge { stroke: rgba(255, 255, 255, 0.5); transition: stroke 0.35s; }
.sv-slab.is-active .sv-face { fill: #263A40; stroke: var(--on-dark-bronze); }
.sv-slab.is-active .sv-edge { stroke: var(--on-dark-bronze); }
.sv-print { stroke: rgba(255, 255, 255, 0.42); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.sv-print .sv-ac { stroke: rgba(255, 255, 255, 0.8); }
.sv-blueprint { stroke: var(--on-dark-teal); }
.sv-obj path { stroke: rgba(255, 255, 255, 0.3); stroke-width: 0.8; stroke-linejoin: round; }
.sv-obj path[stroke] { stroke-width: 1; }
.sv-core { fill: rgba(208, 138, 92, 0.32); stroke: var(--on-dark-bronze) !important; }
@media (prefers-reduced-motion: no-preference) { .sv-led { animation: hd-beacon 2.2s ease-in-out infinite; } }
.sv-items { list-style: none; display: grid; }
.sv-items li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: center; padding-block: 18px; border-top: 1px solid var(--on-dark-line); transition: background-color 0.3s; }
.sv-items li:last-child { border-bottom: 1px solid var(--on-dark-line); }
.sv-items strong { display: block; font-size: 19px; font-weight: 600; }
.sv-items .small { display: block; margin-top: 2px; }
.sv-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--on-dark-line-strong); border-radius: 50%; color: #E4E7E8; }
.sv-items li.is-active .sv-ic { border-color: var(--on-dark-bronze); }
@media (prefers-reduced-motion: no-preference) { .sv-pulse { animation: sv-rise 3.6s ease-in-out infinite; } }
@keyframes sv-rise { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(-360px); opacity: 0; } }
.sv-data { margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--on-dark-line-strong); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(40px, 4.5vw, 64px); }
.sv-data-head .small { margin-top: 10px; max-width: 30em; }
.sovereign > .wrap > .link-arrow { margin-top: 40px; }
.sv-list { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 32px; font-size: 16px; align-content: start; }
.sv-list li { display: inline-flex; align-items: center; gap: 10px; }
.sv-list li::before { content: ''; width: 6px; height: 6px; background: var(--on-dark-teal); border-radius: 50%; flex: none; }
.sv-pillars { margin-top: clamp(48px, 5vw, 72px); }
@media (max-width: 1023px) {
  .sv-stack, .sv-data { grid-template-columns: minmax(0, 1fr); }
  .sv-svg { max-width: 400px; }
}

/* icon rows */
.icon-row { list-style: none; display: grid; gap: 28px var(--gap); }
.icon-row li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ir-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); background: var(--card); }
.section-dark .ir-ic { border-color: var(--on-dark-line-strong); color: #E4E7E8; background: transparent; }
.ir-title { font-size: 18px; font-weight: 600; line-height: 1.35; }
.icon-row li .small { margin-top: -6px; }
.icon-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); align-self: center; }
.icon-row-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dp-row .ir-title { font-size: 15px; font-weight: 500; }
@media (max-width: 1023px) { .icon-row-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .icon-row-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-row-2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .icon-row-2 li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .icon-row-2 .ir-ic { grid-row: span 2; }
  .icon-row-2 li .small { margin-top: 0; }
}
.ec-lead { margin-top: 20px; }
.ec-link { margin-top: 20px; }

/* ------------------------------------------------------------------ */
/* Lifecycle                                                           */
/* ------------------------------------------------------------------ */
.lcflow { list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); margin-top: clamp(48px, 5vw, 72px); row-gap: 40px; }
.lcflow .lc-item { position: relative; padding-inline-end: 12px; --ic-accent: var(--muted); }
.lcflow .lc-item::before { content: ''; position: absolute; top: 25px; inset-inline-start: 0; width: 100%; border-top: 1px solid var(--line-strong); }
.lcflow .lc-item::after { content: ''; position: absolute; top: 24px; inset-inline-start: 0; width: 100%; height: 2px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
[dir="rtl"] .lcflow .lc-item::after { transform-origin: right; }
.lcflow .lc-item:last-child::before, .lcflow .lc-item:last-child::after { width: 52px; }
.lc-node { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--ink); transition: border-color 0.4s; }
.lc-text { display: block; margin-top: 16px; }
.lcflow .num { display: block; }
.lcflow .lc-name { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; }
.lcflow .lc-sub { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.lcflow .lc-item.is-lit { --ic-accent: var(--bronze); }
.lcflow .lc-item.is-lit .lc-node { border-color: var(--bronze); }
.lcflow .lc-item.is-lit::after { transform: scaleX(1); }
.lc-link { margin-top: 36px; }
@media (max-width: 1199px) { .lcflow { grid-template-columns: repeat(5, minmax(0, 1fr)); } .lcflow .lc-item:nth-child(5)::before, .lcflow .lc-item:nth-child(5)::after { width: 52px; } }
@media (max-width: 599px) {
  .lcflow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .lcflow .lc-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 0 0 22px; }
  .lcflow .lc-item::before { top: 0; bottom: 0; width: 0; height: auto; inset-inline-start: 25px; border-top: 0; border-inline-start: 1px solid var(--line-strong); }
  .lcflow .lc-item::after { top: 0; bottom: 0; width: 2px; height: auto; inset-inline-start: 24px; transform: scaleY(0); transform-origin: top; }
  .lcflow .lc-item.is-lit::after { transform: scaleY(1); }
  .lcflow .lc-item:last-child::before, .lcflow .lc-item:last-child::after { width: 0; height: 52px; bottom: auto; }
  .lcflow .lc-item:last-child::after { width: 2px; }
  .lcflow .lc-item:nth-child(5)::before { width: 0; }
  .lcflow .lc-item:nth-child(5)::after { width: 2px; }
  .lc-text { margin-top: 2px; }
  .lcflow .num { display: inline; margin-inline-end: 8px; }
  .lcflow .lc-name { display: inline; }
}
.lifecycle { list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); margin-top: clamp(48px, 5vw, 64px); row-gap: 36px; }
.lifecycle .lc-item { position: relative; border-top: 1px solid var(--ink); padding: 22px 14px 0 0; }
[dir="rtl"] .lifecycle .lc-item { padding: 22px 0 0 14px; }
.lifecycle .lc-item::before { content: ''; position: absolute; top: -4px; inset-inline-start: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background-color 0.4s; }
.lifecycle .lc-item::after { content: ''; position: absolute; top: -1px; inset-inline-start: 0; width: 100%; height: 2px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
[dir="rtl"] .lifecycle .lc-item::after { transform-origin: right; }
.lifecycle .lc-item.is-lit::before { background: var(--bronze); }
.lifecycle .lc-item.is-lit::after { transform: scaleX(1); }
.lc-name { display: block; margin-top: 8px; font-size: 18px; font-weight: 600; }
.lc-sub { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.lc-detail { display: block; margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.lifecycle-note { margin-top: 40px; }
@media (max-width: 1199px) { .lifecycle { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 599px) { .lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; } }

/* ------------------------------------------------------------------ */
/* Map title block (closing call to action)                            */
/* ------------------------------------------------------------------ */
.titleblock { border: 1px solid var(--ink); }
.tb-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; border-bottom: 1px solid var(--ink); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }
.tb-row > span { padding: 10px 16px; }
.tb-row > span + span { border-inline-start: 1px solid var(--line); }
.tb-row > span:first-child { color: var(--ink); }
.tb-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tb-main { padding: clamp(28px, 4vw, 56px); border-inline-end: 1px solid var(--ink); }
.tb-title { font-size: clamp(38px, 4.2vw + 4px, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; }
:lang(ar) .tb-title { letter-spacing: 0; line-height: 1.3; }
.tb-main .body { margin-top: 20px; }
.tb-main .btn { margin-top: 32px; }
.tb-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tb-contacts > div { padding: 24px 28px; border-bottom: 1px solid var(--line); }
.tb-contacts > div:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.tb-contacts > div:nth-last-child(-n + 2) { border-bottom: 0; }
.tb-contacts dt { font-size: var(--fs-label); color: var(--muted); }
.tb-contacts dd { margin-top: 8px; font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.tb-contacts dd a { text-decoration: none; }
.tb-contacts dd a:hover { text-decoration: underline; }
.tb-contacts .coords { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 400; color: var(--muted); }
@media (max-width: 1023px) {
  .tb-body { grid-template-columns: minmax(0, 1fr); }
  .tb-main { border-inline-end: 0; border-bottom: 1px solid var(--ink); }
}
@media (max-width: 599px) {
  .tb-row { grid-template-columns: minmax(0, 1fr); }
  .tb-row > span + span { border-inline-start: 0; border-top: 1px solid var(--line); }
  .tb-contacts { grid-template-columns: minmax(0, 1fr); }
  .tb-contacts > div, .tb-contacts > div:nth-child(odd) { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .tb-contacts > div:last-child { border-bottom: 0; }
}

/* ------------------------------------------------------------------ */
/* Inner page heroes                                                   */
/* ------------------------------------------------------------------ */
.page-hero { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 96px); }
.page-hero .crumbs { margin-bottom: clamp(24px, 3vw, 40px); }
.page-hero .lead { margin-top: 28px; }
.page-hero-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 4.5vw, 64px); align-items: end; }
@media (max-width: 1023px) { .page-hero-split { grid-template-columns: minmax(0, 1fr); } }
.hero-scene { position: relative; height: clamp(240px, 26vw, 380px); margin-top: clamp(32px, 4vw, 56px); overflow: hidden; }
.hero-scene .wt { position: absolute; inset: 0; width: 100%; height: 100%; }
.anchor-nav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) - 1px); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.anchor-nav ul { display: flex; gap: 0 32px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a { display: inline-flex; align-items: center; min-height: 52px; font-size: var(--fs-small); text-decoration: none; white-space: nowrap; color: var(--muted); border-bottom: 2px solid transparent; }
.anchor-nav a:hover { color: var(--ink); }
.anchor-nav a.is-current { color: var(--ink); border-bottom-color: var(--bronze); }
.section-dark.page-hero, .dark-hero { background: var(--ink); color: #FFFFFF; }
.dark-hero .crumbs, .dark-hero .crumbs a { color: var(--on-dark-muted); }

/* ------------------------------------------------------------------ */
/* Platform pages                                                      */
/* ------------------------------------------------------------------ */
.pp-hero { padding-block: clamp(40px, 5vw, 72px) 0; }
.pp-name { font-size: clamp(72px, 10vw + 8px, 168px); font-weight: 600; line-height: 0.9; letter-spacing: 0.01em; }
.pp-class { margin-top: 20px; font-size: var(--fs-h3); font-weight: 500; color: var(--teal); }
.pp-line { margin-top: 28px; font-size: clamp(24px, 1.5vw + 10px, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; max-width: 22ch; }
.pp-hero .body { margin-top: 20px; }
.pp-hero .btn-row { margin-top: 32px; }
.pp-figure { position: relative; margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.pp-figure-inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.pp-stage { position: relative; aspect-ratio: 16 / 10; border-inline-end: 1px solid var(--line); overflow: hidden; }
.pp-stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: 0.45; }
.pp-stage .pp-rings { position: absolute; inset: 6% 18%; opacity: 0.8; }
.pp-stage .pp-rings svg { width: 100%; height: 100%; }
.pp-art { position: absolute; inset: 8% 10% 12%; }
.pp-art .silhouette { position: absolute; inset: 0; width: 100%; height: 100%; }
.pp-stage .silhouette .ac-part { transition: opacity 0.3s; }
.pp-stage.has-hot .silhouette .ac-part { opacity: 0.38; }
.pp-stage.has-hot .silhouette .ac-part.is-hot { opacity: 1; }
.pp-stage .silhouette .ac-part.is-hot .a-ink { stroke: var(--bronze); }
.pp-stage .silhouette .ac-part.is-hot .f-ink { fill: var(--bronze); }
.pp-stage .silhouette .ac-part.is-hot .a-bgstroke { stroke: var(--card); }
.pp-stage .silhouette { --a-bg: var(--card); }
.pp-marker { position: absolute; z-index: 2; width: 32px; height: 32px; margin: -16px 0 0 -16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--card); font-family: var(--font-mono); font-size: var(--fs-label); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.pp-marker::before { content: ''; position: absolute; inset: -7px; }
.pp-marker:hover, .pp-marker.is-hot { background: var(--bronze); border-color: var(--bronze); color: #FFFFFF; }
.pp-tag { position: absolute; bottom: 14px; inset-inline-start: 16px; z-index: 2; }
.pp-callouts { list-style: none; display: flex; flex-direction: column; }
.pp-callouts li { border-bottom: 1px solid var(--line); }
.pp-callouts li:last-child { border-bottom: 0; }
.pp-callout { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; width: 100%; padding: 22px 24px; background: none; border: 0; text-align: start; cursor: pointer; transition: background-color 0.2s; }
.pp-callout:hover, .pp-callout.is-hot { background: var(--bg); }
.pp-callout .pp-dot { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--font-mono); font-size: var(--fs-label); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.pp-callout.is-hot .pp-dot { background: var(--bronze); border-color: var(--bronze); color: #FFFFFF; }
.pp-callout strong { display: block; font-size: 17px; font-weight: 600; }
.pp-callout span.small { display: block; margin-top: 4px; }
@media (max-width: 1023px) {
  .pp-figure-inner { grid-template-columns: minmax(0, 1fr); }
  .pp-stage { border-inline-end: 0; border-bottom: 1px solid var(--line); }
}
.cap-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.cap-card { padding: 24px var(--gap) 8px 0; }
.cap-card + .cap-card { border-inline-start: 1px solid var(--line); padding-inline-start: var(--gap); }
.cap-card .h4 { margin-top: 10px; }
.cap-card p { margin-top: 10px; }
@media (max-width: 1023px) {
  .cap-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-card:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .cap-card { padding-bottom: 28px; }
  .cap-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .cap-cards { grid-template-columns: minmax(0, 1fr); }
  .cap-card + .cap-card { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
}
.char-table { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.char-table > div { padding: 18px 20px 20px 0; border-bottom: 1px solid var(--line); }
.char-table dt { font-size: var(--fs-label); color: var(--muted); }
.char-table dd { margin-top: 6px; font-size: 19px; font-weight: 500; }
@media (max-width: 767px) { .char-table { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: var(--fs-small); text-align: start; }
.compare th, .compare td { text-align: start; vertical-align: top; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 400; color: var(--muted); padding-top: 0; padding-bottom: 14px; border-bottom-color: var(--ink); }
.compare tbody th { font-size: 19px; }
.compare tbody th a { text-decoration: none; }
.compare tbody th a:hover { text-decoration: underline; }
.table-scroll { overflow-x: auto; }
.family-layer { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.family-layer li { list-style: none; padding: 20px 16px; font-weight: 500; }
.family-layer li + li { border-inline-start: 1px solid var(--line); }
@media (max-width: 767px) {
  .family-layer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-layer li + li { border-inline-start: 0; }
  .family-layer li { border-bottom: 1px solid var(--line); }
}
.pf-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; }
.pf-card { position: relative; background: var(--bg); display: flex; flex-direction: column; transition: background-color 0.3s; }
.pf-card:hover, .pf-card:focus-within { background: var(--card); }
.pf-card:focus-within { outline: 2px solid var(--bronze); outline-offset: -2px; z-index: 1; }
.pf-card-art { aspect-ratio: 16 / 11; display: flex; align-items: center; justify-content: center; padding: 10%; border-bottom: 1px solid var(--line); }
.pf-card-art .silhouette { width: 100%; height: 100%; }
.pf-card:hover .silhouette .a-ink { stroke: var(--bronze); }
.pf-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pf-card h3 { font-size: 24px; }
.pf-card h3 a { text-decoration: none; }
.pf-card h3 a::after { content: ''; position: absolute; inset: 0; }
.pf-card h3 a:focus-visible { outline: none; }
@media (max-width: 1023px) { .pf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 499px) { .pf-cards { grid-template-columns: minmax(0, 1fr); } }
.pp-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.pp-nav a { display: flex; flex-direction: column; gap: 4px; padding: 28px 0; text-decoration: none; }
.pp-nav a + a { text-align: end; align-items: flex-end; border-inline-start: 1px solid var(--line); }
.pp-nav a:hover .prod { color: var(--bronze); }
.datasheet-band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; border: 1px solid var(--ink); padding: clamp(28px, 4vw, 48px); }
@media (max-width: 1023px) { .datasheet-band { grid-template-columns: minmax(0, 1fr); } }
.datasheet-band .btn-row { justify-content: flex-end; }
@media (max-width: 1023px) { .datasheet-band .btn-row { justify-content: flex-start; } }

/* ------------------------------------------------------------------ */
/* Mission pages: cartographic sheet                                   */
/* ------------------------------------------------------------------ */
.sheet { position: relative; }
.sheet-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 14px; }
.sheet-tools-label { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); margin-inline-end: 6px; }
.sheet-tools-note { margin-inline-start: auto; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }
.layer-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; background: var(--bg); border: 1px solid var(--ink); border-radius: var(--radius); font-size: 14px; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.layer-btn::before { content: ''; position: absolute; }
.layer-box { width: 12px; height: 12px; border: 1px solid currentColor; display: inline-block; position: relative; }
.layer-btn[aria-pressed="true"] .layer-box { background: var(--bronze); border-color: var(--bronze); }
.layer-btn[aria-pressed="false"] { color: var(--muted); border-color: var(--line-strong); }
.layer-btn:hover { border-color: var(--bronze); }
.sheet-frame { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: 28px auto; border: 1px solid var(--ink); background: var(--bg); }
.sheet-cols { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }
.sheet-cols span { padding: 4px 8px; line-height: 19px; }
.sheet-cols span + span { border-inline-start: 1px solid var(--line); }
.sheet-rows { grid-column: 1; grid-row: 2; display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); border-inline-end: 1px solid var(--ink); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); text-align: center; }
.sheet-rows span { padding-top: 8px; }
.sheet-rows span + span { border-top: 1px solid var(--line); }
.sheet-map { grid-column: 2; grid-row: 2; position: relative; aspect-ratio: 1200 / 720; overflow: hidden; }
.sheet-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sheet-svg [data-layer] { transition: opacity 0.45s; }
.sheet .map-label { color: var(--ink); }
.sheet .map-label.ml-muted { color: var(--muted); }
.sheet .ml-alert { color: var(--bronze); font-weight: 500; }
.sheet .ml-alert span { color: var(--muted); font-weight: 400; }
.sheet-labels .map-label { transition: opacity 0.45s; background: rgba(244, 242, 237, 0.86); padding: 2px 6px; }
.sheet.off-terrain [data-layer="terrain"], .sheet.off-sectors [data-layer="sectors"], .sheet.off-coverage [data-layer="coverage"], .sheet.off-assets [data-layer="assets"] { opacity: 0; }
.sheet-key { position: absolute; top: 20px; inset-inline-end: 20px; background: var(--bg); border: 1px solid var(--ink); padding: 14px 18px 16px; font-size: var(--fs-label); }
.sheet-key-title { font-weight: 600; margin-bottom: 10px; font-size: 14px; }
.sheet-key ul { list-style: none; display: grid; gap: 8px; }
.sheet-key li { display: flex; align-items: center; gap: 10px; }
.sheet-title { position: relative; margin-top: -1px; border: 1px solid var(--ink); background: var(--bg); }
.sheet-title-row { display: grid; grid-template-columns: auto minmax(0, 1fr); border-bottom: 1px solid var(--ink); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }
.sheet-title-row span { padding: 10px 16px; }
.sheet-title-row span:first-child { color: var(--ink); border-inline-end: 1px solid var(--ink); }
.sheet-title-body { padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 32px) clamp(28px, 3vw, 40px); }
.sheet-title-body .h1 { font-size: clamp(28px, 1.6vw + 14px, 38px); line-height: 1.14; letter-spacing: -0.018em; max-width: 30ch; }
@media (min-width: 1200px) {
  .sheet-title { position: absolute; inset-inline-start: 52px; bottom: 24px; width: min(660px, 54%); margin-top: 0; z-index: 3; }
  .sheet { padding-bottom: 0; }
}
@media (max-width: 899px) {
  .sheet-key { position: relative; top: auto; inset-inline-end: auto; display: none; }
  .sheet-labels .map-label.ml-muted { display: none; }
  .sheet-labels .map-label { font-size: 12px; }
}
@media (max-width: 599px) {
  .sheet-frame { grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: 24px auto; }
  .sheet-cols span { padding: 2px 4px; }
  .sheet-map { aspect-ratio: 4 / 3.4; }
  .sheet-tools-note { width: 100%; margin-inline-start: 0; }
}
.key-mobile { display: none; margin-top: 16px; list-style: none; }
@media (max-width: 899px) { .key-mobile { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: var(--fs-label); } .key-mobile li { display: flex; align-items: center; gap: 8px; } }
.approach { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.approach li { border-top: 1px solid var(--ink); padding-top: 20px; }
.approach .num { color: var(--bronze); }
.approach h3 { margin-top: 10px; font-size: 22px; }
.approach p { margin-top: 8px; }
@media (max-width: 1023px) { .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); } }
@media (max-width: 599px) { .approach { grid-template-columns: minmax(0, 1fr); } }
.measures { list-style: none; counter-reset: m; }
.measures li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-top: 1px solid var(--line); font-size: 18px; }
.measures li:last-child { border-bottom: 1px solid var(--line); }
.measures li::before { counter-increment: m; content: counter(m, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); padding-top: 5px; }
.role-list { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.role-list li { background: var(--bg); position: relative; transition: background-color 0.3s; }
.role-list li:hover, .role-list li:focus-within { background: var(--card); }
.role-list a { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 24px; text-decoration: none; }
.role-list .silhouette { width: 120px; height: 64px; }
.role-list .icon { color: var(--muted); }
.role-list a:hover .icon { color: var(--bronze); }
@media (max-width: 599px) { .role-list a { grid-template-columns: 88px minmax(0, 1fr); } .role-list .silhouette { width: 84px; } .role-list .icon { display: none; } }

/* missions overview */
.mo-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
.mo-list li { border-top: 1px solid var(--ink); padding-top: 20px; }
.mo-list h3 { font-size: 22px; }
.mo-list p { margin-top: 8px; }
.mo-list .tile-platforms { margin-top: 12px; }
@media (max-width: 1023px) { .mo-list { grid-template-columns: minmax(0, 1fr); } }
.heritage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--ink); }
.heritage-art { position: relative; min-height: 360px; border-inline-end: 1px solid var(--ink); overflow: hidden; background: var(--card); }
.heritage-art .wt { position: absolute; inset: 0; width: 100%; height: 100%; }
.heritage-art .wt { --a-bg: var(--card); }
.heritage-copy { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
@media (max-width: 1023px) { .heritage { grid-template-columns: minmax(0, 1fr); } .heritage-art { border-inline-end: 0; border-bottom: 1px solid var(--ink); min-height: 260px; } }

/* ------------------------------------------------------------------ */
/* Technology                                                          */
/* ------------------------------------------------------------------ */
.tech-hero { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 7vw, 104px); }
.console { position: relative; background: var(--ink); color: #E4E7E8; border-radius: var(--radius); overflow: hidden; font-family: var(--font-mono); font-size: var(--fs-label); border: 1px solid var(--ink); }
.console[dir="rtl"] { font-family: var(--font-ar); }
.console-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; min-height: 48px; padding: 6px 16px; border-bottom: 1px solid var(--on-dark-line); }
.console-brand { font-weight: 500; letter-spacing: 0.12em; color: var(--on-dark-bronze); }
.console-mission { color: var(--on-dark-muted); }
.console-lang { display: inline-flex; margin-inline-start: auto; border: 1px solid var(--on-dark-line-strong); border-radius: var(--radius); }
.console-lang button { min-height: 32px; min-width: 44px; padding: 0 10px; background: none; border: 0; color: var(--on-dark-muted); cursor: pointer; font-size: var(--fs-label); }
.console-lang button[aria-pressed="true"] { background: var(--on-dark-line); color: #FFFFFF; }
.console-tag { color: var(--on-dark-muted); }
.console-body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.console-map { position: relative; aspect-ratio: 640 / 420; border-inline-end: 1px solid var(--on-dark-line); }
.console-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.console .map-label { color: #E4E7E8; }
.console .map-label.ml-muted { color: var(--on-dark-muted); }
.console-side { display: flex; flex-direction: column; }
.cs-block { padding: 14px 16px; border-bottom: 1px solid var(--on-dark-line); }
.cs-block:last-child { border-bottom: 0; }
.cs-head { color: var(--on-dark-muted); margin-bottom: 8px; }
.cs-list { list-style: none; display: grid; gap: 6px; }
.cs-list li { display: grid; grid-template-columns: 10px auto minmax(0, 1fr); gap: 8px; align-items: center; }
.cs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--on-dark-teal); }
.cs-dot-idle { background: transparent; border: 1px solid var(--on-dark-muted); }
.cs-state { color: var(--on-dark-muted); text-align: end; }
.cs-alert-title { color: var(--on-dark-bronze); font-size: 14px; }
.cs-alert-state { margin-top: 4px; min-height: 2.8em; }
.cs-alert-state > span { display: none; }
.cs-alert-card[data-state="pending"] .cs-s-pending, .cs-alert-card[data-state="verified"] .cs-s-verified, .cs-alert-card[data-state="dismissed"] .cs-s-dismissed { display: inline; }
.cs-alert-card[data-state="verified"] .cs-alert-state { color: var(--on-dark-teal); }
.cs-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cs-btn { min-height: 40px; padding: 0 14px; background: transparent; border: 1px solid var(--on-dark-line-strong); border-radius: var(--radius); color: #FFFFFF; cursor: pointer; font-size: var(--fs-label); }
.cs-btn:hover { border-color: var(--on-dark-bronze); color: var(--on-dark-bronze); }
.cs-verify { background: var(--on-dark-bronze); border-color: var(--on-dark-bronze); color: var(--ink); }
.cs-verify:hover { background: #E2A57D; color: var(--ink); }
.cs-reset { display: none; }
.cs-alert-card:not([data-state="pending"]) .cs-btn { display: none; }
.cs-alert-card:not([data-state="pending"]) .cs-reset { display: inline-block; }
.cs-frame { border: 1px solid var(--on-dark-line); }
.cs-frame svg { width: 100%; height: auto; }
.console .cs-route { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 1.6s var(--ease-in-out), opacity 0.3s; }
.console .cs-closed { opacity: 0; transition: opacity 0.4s; }
.console.is-verified .cs-route { stroke-dashoffset: 0; opacity: 1; }
.console.is-verified .cs-closed { opacity: 1; }
.console.is-verified .cs-alert, .console.is-dismissed .cs-alert { opacity: 0; transition: opacity 0.4s; }
@media (max-width: 899px) {
  .console-body { grid-template-columns: minmax(0, 1fr); }
  .console-map { border-inline-end: 0; border-bottom: 1px solid var(--on-dark-line); }
  .console-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-video { display: none; }
}
@media (max-width: 499px) { .console-side { grid-template-columns: minmax(0, 1fr); } .console-mission { display: none; } }
.feature-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.feature-dl > div { border-top: 1px solid var(--line); padding-block: 18px 22px; }
.feature-dl dt { font-weight: 600; font-size: 18px; }
.feature-dl dd { margin-top: 6px; color: var(--muted); font-size: 16px; }
.section-dark .feature-dl > div { border-top-color: var(--on-dark-line); }
.section-dark .feature-dl dd { color: var(--on-dark-muted); }
@media (max-width: 599px) { .feature-dl { grid-template-columns: minmax(0, 1fr); } }
.deploy-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); }
.deploy-opts > div { padding: 22px 24px 26px; }
.deploy-opts > div + div { border-inline-start: 1px solid var(--line); }
.deploy-opts p { margin-top: 6px; }
@media (max-width: 767px) { .deploy-opts { grid-template-columns: minmax(0, 1fr); } .deploy-opts > div + div { border-inline-start: 0; border-top: 1px solid var(--line); } }
.picture-list { list-style: none; columns: 2; column-gap: var(--gap); }
.picture-list li { break-inside: avoid; display: flex; align-items: center; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.picture-list .icon { color: var(--teal); flex: none; }
@media (max-width: 599px) { .picture-list { columns: 1; } }

.pipeline { display: grid; gap: 0; }
.pl-frame { position: relative; aspect-ratio: 640 / 300; background: var(--ink); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.pl-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-hud { position: absolute; top: 0; inset-inline: 0; display: flex; justify-content: space-between; padding: 12px 16px; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--on-dark-muted); }
.pl-status { position: absolute; bottom: 0; inset-inline: 0; padding: 12px 16px; font-family: var(--font-mono); font-size: var(--fs-label); color: #E4E7E8; background: linear-gradient(transparent, rgba(27, 42, 48, 0.9) 40%); }
.pl-status > span { display: none; }
.pipeline[data-stage="0"] .pl-status-0, .pipeline[data-stage="1"] .pl-status-1, .pipeline[data-stage="2"] .pl-status-2, .pipeline[data-stage="3"] .pl-status-3, .pipeline[data-stage="4"] .pl-status-4 { display: inline; }
.pipeline[data-stage="3"] .pl-status, .pipeline[data-stage="4"] .pl-status { color: var(--on-dark-bronze); }
.pipeline[data-stage="4"] .pl-status { color: var(--on-dark-teal); }
.pl-box, .pl-flag, .pl-ok, .pl-trail, .pl-route, .pl-scan { opacity: 0; transition: opacity 0.4s; }
.pipeline[data-stage="0"] .pl-scan { opacity: 1; }
.pipeline[data-stage="1"] .pl-box, .pipeline[data-stage="2"] .pl-box, .pipeline[data-stage="3"] .pl-box { opacity: 1; }
.pipeline[data-stage="2"] .pl-trail, .pipeline[data-stage="3"] .pl-trail, .pipeline[data-stage="4"] .pl-trail { opacity: 1; }
.pipeline[data-stage="3"] .pl-flag { opacity: 1; }
.pipeline[data-stage="4"] .pl-ok, .pipeline[data-stage="4"] .pl-route { opacity: 1; }
.pl-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--ink); border-top: 0; }
.pl-steps li + li { border-inline-start: 1px solid var(--line); }
.pl-step { display: flex; flex-direction: column; gap: 4px; width: 100%; height: 100%; padding: 16px 16px 20px; background: none; border: 0; text-align: start; cursor: pointer; position: relative; color: var(--muted); }
.pl-step::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--bronze); transform: scaleX(0); transition: transform 0.4s var(--ease-out); }
.pl-step[aria-pressed="true"]::before { transform: scaleX(1); }
.pl-step[aria-pressed="true"], .pl-step:hover { color: var(--ink); }
.pl-num { font-family: var(--font-mono); font-size: var(--fs-label); }
.pl-step[aria-pressed="true"] .pl-num { color: var(--bronze); }
.pl-name { font-size: 18px; font-weight: 600; }
.pl-desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 899px) { .pl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pl-steps li { border-top: 1px solid var(--line); } .pl-steps li + li { border-inline-start: 0; } .pl-steps li:nth-child(even) { border-inline-start: 1px solid var(--line); } }
.process6 { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.process6 li { padding: 18px 16px 0 0; position: relative; }
.process6 li::before { content: ''; position: absolute; top: -4px; inset-inline-start: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.process6 .h4 { margin-top: 8px; }
.process6 p { margin-top: 4px; font-size: 14px; color: var(--muted); }
@media (max-width: 1023px) { .process6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 499px) { .process6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.payloads { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.payloads li { background: var(--bg); padding: 28px 28px 32px; }
.payloads .icon { color: var(--teal); }
.payloads h3 { margin-top: 20px; font-size: 20px; }
.payloads p { margin-top: 6px; }
@media (max-width: 1023px) { .payloads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .payloads { grid-template-columns: minmax(0, 1fr); } }
.station { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--ink); }
.st-art { position: relative; border-inline-end: 1px solid var(--ink); background: var(--card); --a-bg: var(--card); display: flex; align-items: flex-end; }
.st-art svg { width: 100%; height: auto; }
.st-steps { list-style: none; display: flex; flex-direction: column; }
.st-steps li + li { border-top: 1px solid var(--line); }
.st-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; width: 100%; padding: 18px 24px; background: none; border: 0; text-align: start; cursor: pointer; color: var(--muted); }
.st-step .st-num { grid-row: span 2; font-family: var(--font-mono); font-size: var(--fs-label); padding-top: 4px; }
.st-name { font-size: 19px; font-weight: 600; }
.st-desc { font-size: 15px; color: var(--muted); }
.st-step[aria-pressed="true"] { color: var(--ink); background: var(--card); }
.st-step[aria-pressed="true"] .st-num { color: var(--bronze); }
.st-lid-l, .st-lid-r, .st-drone { transition: transform 0.9s var(--ease-in-out); transform-box: fill-box; }
.st-lid-l { transform-origin: 0% 100%; }
.st-lid-r { transform-origin: 100% 100%; }
.station[data-step="2"] .st-lid-l { transform: translateX(-96px); }
.station[data-step="2"] .st-lid-r { transform: translateX(96px); }
.station[data-step="2"] .st-drone { transform: translateY(-96px); }
.st-charge { opacity: 0; transition: opacity 0.4s; }
.station[data-step="1"] .st-charge { opacity: 1; animation: blink 1.4s ease-in-out infinite; }
.st-waves path { opacity: 0.2; transition: opacity 0.4s; }
.station[data-step="3"] .st-waves path { opacity: 1; animation: waves 1.8s ease-in-out infinite; }
.station[data-step="3"] .st-waves path:nth-child(2) { animation-delay: 0.3s; }
.station[data-step="3"] .st-waves path:nth-child(3) { animation-delay: 0.6s; }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes waves { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
@media (max-width: 899px) { .station { grid-template-columns: minmax(0, 1fr); } .st-art { border-inline-end: 0; border-bottom: 1px solid var(--ink); } }
.power-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.power-opts > div { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 16px; }
.power-opts .icon { color: var(--teal); flex: none; margin-top: 2px; }
@media (max-width: 599px) { .power-opts { grid-template-columns: minmax(0, 1fr); } }
.integration { border: 1px solid var(--ink); }
.int-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
.int-row + .int-row { border-top: 1px solid var(--line); }
.int-label { padding: 22px 20px; border-inline-end: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); display: flex; align-items: center; }
.int-items { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.int-items li { position: relative; padding: 22px 16px; font-weight: 500; font-size: 16px; }
.int-items li + li { border-inline-start: 1px solid var(--line); }
.int-row:first-child .int-items li:first-child { color: var(--bronze); }
.int-flow { position: relative; height: 0; }
.int-foot { padding: 14px 20px; border-top: 1px solid var(--ink); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.int-row .int-items li::after { content: ''; position: absolute; top: 0; inset-inline-start: 0; width: 100%; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.js .integration.is-running .int-row:nth-child(1) .int-items li::after { animation: int-run 6s var(--ease-in-out) infinite; }
.js .integration.is-running .int-row:nth-child(2) .int-items li::after { animation: int-run 6s var(--ease-in-out) 1.2s infinite; }
.js .integration.is-running .int-row:nth-child(3) .int-items li::after { animation: int-run 6s var(--ease-in-out) 2.4s infinite; }
@keyframes int-run { 0% { transform: scaleX(0); opacity: 1; } 25% { transform: scaleX(1); opacity: 1; } 55%, 100% { transform: scaleX(1); opacity: 0; } }
@media (max-width: 1023px) {
  .int-row { grid-template-columns: minmax(0, 1fr); }
  .int-label { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .int-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .int-items li { border-bottom: 1px solid var(--line); }
  .int-items li + li { border-inline-start: 0; }
  .int-items li:nth-child(even) { border-inline-start: 1px solid var(--line); }
}

/* ------------------------------------------------------------------ */
/* Services                                                            */
/* ------------------------------------------------------------------ */
.route-path { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--gap); }
.route-path::before { content: ''; position: absolute; top: 9px; inset-inline: 0; border-top: 1.5px dashed var(--bronze); }
.route-path li { position: relative; padding-top: 36px; }
.route-path li::before { content: ''; position: absolute; top: 2px; inset-inline-start: 0; width: 14px; height: 14px; border: 1.5px solid var(--bronze); background: var(--bg); transform: rotate(45deg); }
.route-path li:last-child::before { background: var(--bronze); }
.route-path h3 { font-size: 20px; }
.route-path p { margin-top: 6px; }
@media (max-width: 1023px) {
  .route-path { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .route-path::before { top: 0; bottom: 0; inset-inline: 6px auto; border-top: 0; border-inline-start: 1.5px dashed var(--bronze); }
  .route-path li { padding: 0 0 28px 40px; }
  [dir="rtl"] .route-path li { padding: 0 40px 28px 0; }
  .route-path li::before { top: 4px; }
}
.support-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.support-list li { border-top: 1px solid var(--line); padding-block: 18px; }
.support-list strong { display: block; font-size: 18px; font-weight: 600; }
.support-list span { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; }
@media (max-width: 599px) { .support-list { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ */
/* About                                                               */
/* ------------------------------------------------------------------ */
.name-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 4.5vw, 64px); align-items: center; }
.name-word { font-family: var(--font-ar); font-weight: 700; font-size: clamp(110px, 14vw, 220px); line-height: 1; color: var(--bronze); }
.name-gloss { margin-top: 16px; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }
@media (max-width: 1023px) { .name-story { grid-template-columns: minmax(0, 1fr); } }
.character { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.character li { border-top: 1px solid var(--ink); padding-top: 20px; }
.character h3 { font-size: 22px; }
.character p { margin-top: 8px; }
@media (max-width: 1023px) { .character { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); } }
@media (max-width: 599px) { .character { grid-template-columns: minmax(0, 1fr); } }
.locator { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--ink); }
.locator-art { position: relative; aspect-ratio: 1; border-inline-end: 1px solid var(--ink); background: var(--card); --a-bg: var(--card); }
.locator-art svg { position: absolute; inset: 8%; width: 84%; height: 84%; }
.locator-copy { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
@media (max-width: 899px) { .locator { grid-template-columns: minmax(0, 1fr); } .locator-art { border-inline-end: 0; border-bottom: 1px solid var(--ink); aspect-ratio: 16 / 9; } .locator-art svg { inset: 6% 25%; width: 50%; height: 88%; } }

/* ------------------------------------------------------------------ */
/* Forms                                                               */
/* ------------------------------------------------------------------ */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 1023px) { .form-layout { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 24px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: var(--fs-small); font-weight: 500; }
.field .hint { font-size: var(--fs-label); color: var(--muted); margin-top: -4px; }
.opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--field); border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231B2A30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
[dir="rtl"] .select { background-position: left 16px center; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--bronze); outline-offset: 0; border-color: var(--bronze); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--bronze); border-width: 2px; padding: 11px 13px; }
.field-error { display: none; align-items: flex-start; gap: 6px; font-size: 14px; font-weight: 500; color: var(--bronze); }
.field.has-error .field-error { display: flex; }
.field-error .icon { flex: none; margin-top: 2px; }
.check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--fs-small); line-height: 1.55; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 1px solid var(--field); border-radius: var(--radius); background: var(--card); display: grid; place-content: center; cursor: pointer; }
.check input::after { content: ''; width: 12px; height: 7px; border-inline-start: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
[dir="rtl"] .check input::after { border-inline-start: 0; border-inline-end: 2px solid #FFFFFF; transform: rotate(45deg) translate(-1px, -1px); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.field.has-error .check input { border: 2px solid var(--bronze); }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .small { max-width: 32em; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.error-summary { grid-column: 1 / -1; border: 1px solid var(--bronze); border-top-width: 3px; padding: 20px 24px; }
.error-summary h2 { font-size: 18px; color: var(--bronze); display: flex; gap: 8px; align-items: center; }
.error-summary ul { margin-top: 10px; padding-inline-start: 20px; display: grid; gap: 4px; }
.error-summary a { color: var(--ink); }
.form-success { border: 1px solid var(--ink); border-top: 3px solid var(--teal); padding: clamp(28px, 4vw, 48px); }
.form-success .icon { color: var(--teal); }
.form-success h2 { margin-top: 18px; }
.form-success p { margin-top: 12px; }
.form-success .btn-row { margin-top: 28px; }
.form-network { grid-column: 1 / -1; border-top: 3px solid var(--bronze); border-inline: 1px solid var(--bronze); border-bottom: 1px solid var(--bronze); padding: 16px 20px; font-size: var(--fs-small); }
.aside-block { border-top: 1px solid var(--ink); padding-top: 24px; }
.aside-block + .aside-block { margin-top: 40px; }
.aside-steps { list-style: none; margin-top: 16px; counter-reset: as; }
.aside-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding-block: 10px; border-top: 1px solid var(--line); }
.aside-steps li::before { counter-increment: as; content: counter(as, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); padding-top: 3px; }
.contact-dl { display: grid; gap: 14px; margin-top: 16px; }
.contact-dl dt { font-size: var(--fs-label); color: var(--muted); }
.contact-dl dd { font-size: 17px; font-weight: 500; user-select: all; }
.contact-dl a { text-decoration: none; }
.contact-dl a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ */
/* Legal and 404                                                       */
/* ------------------------------------------------------------------ */
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; margin-top: 48px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; color: var(--ink); }
.prose ul { padding-inline-start: 22px; }
.prose li + li { margin-top: 6px; }
.legal-meta { margin-top: 20px; }
.nf { position: relative; }
.nf-map { position: relative; aspect-ratio: 1200 / 520; border: 1px solid var(--ink); overflow: hidden; }
.nf-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf-copy { margin-top: 40px; }
@media (max-width: 599px) { .nf-map { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------------------------ */
/* Reveal and motion preferences                                       */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .waves-drift, .alt-bob, .wt-drone-bob { animation: none !important; }
}
.is-still .waves-drift, .is-still .alt-bob, .is-still .wt-drone-bob { animation: none; }
.ms-tiles { margin-top: 56px; }

/* ------------------------------------------------------------------ */
/* Additions                                                           */
/* ------------------------------------------------------------------ */
.section-dark .crumbs, .section-dark .crumbs a { color: var(--on-dark-muted); }
.section-dark .crumbs li + li::before { color: var(--on-dark-line-strong); }
.section-dark .crumbs a:hover { color: var(--on-dark-bronze); }
.section-dark .h1, .section-dark .h2 { color: #FFFFFF; }
.hero-scene.on-dark, .section-dark .hero-scene { --a-bg: var(--ink); }
.wt-night .wt-sensor, .wt-night .wt-target, .wt-still .wt-sensor { opacity: 1; }
.cap-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split .cap-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split .cap-card, .split .cap-card + .cap-card { padding: 24px 24px 28px 0; border-inline-start: 0; }
.split .cap-card:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.split .cap-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
@media (max-width: 599px) {
  .split .cap-cards { grid-template-columns: minmax(0, 1fr); }
  .split .cap-card:nth-child(even) { padding-inline-start: 0; border-inline-start: 0; }
  .split .cap-card + .cap-card { border-top: 1px solid var(--line); }
}
.pp-figure .wrap { max-width: none; }
.pp-hero .page-hero-split { margin-top: 8px; }
.form-aside { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 1023px) { .form-aside { position: static; } }
.tile h2 { font-size: 21px; line-height: 1.3; }
.tile h2 a { text-decoration: none; }
.tile h2 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.tile h2 a:focus-visible { outline: none; }
.mo-list a { color: var(--teal); }
.item-rule .h4 + .small, .item-rule .h4 + p { margin-top: 8px; }
a.item-rule:hover .h4 { color: var(--bronze); }
.role-list .prod { display: block; }
.alt-name { bottom: auto; }
.wt-heritage { --a-bg: var(--card); }
.tiles.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599px) { .tiles.tiles-2 { grid-template-columns: minmax(0, 1fr); } }
.pf-card-art { position: relative; align-items: flex-end; padding: 10% 6% 12%; background: var(--card); }
.pf-card-art::after { content: ''; position: absolute; inset-inline: 6%; bottom: 12%; border-top: 1px dashed var(--line-strong); }
.pf-card-art .ac-img { position: relative; z-index: 1; height: auto; transition: transform 0.5s var(--ease-out); }
.pf-card:hover .pf-card-art .ac-img { transform: translateY(-6px); }
.lifecycle-detail { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 44px; }
@media (max-width: 899px) { .lifecycle-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lifecycle-detail .lc-detail { max-width: 22em; }
@media (max-width: 599px) {
  .pp-stage { aspect-ratio: 4 / 3.2; }
  .pp-art { inset: 6% 2% 14%; }
}

/* ------------------------------------------------------------------ */
/* Atmospheric scene header (missions)                                 */
/* ------------------------------------------------------------------ */
.scene-hero { --sh-h: clamp(580px, 48vw, 740px); display: flex; flex-direction: column; min-height: var(--sh-h); margin-top: calc(-1 * var(--header-h) - 1px); background: var(--dusk-0); }
.scene-hero-short { --sh-h: clamp(520px, 40vw, 640px); }
.scene-art { position: absolute; inset: 0; z-index: 0; }
/* a soft grade behind the title column keeps text contrast on every sky */
.scene-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 22, 26, 0.82) 0%, rgba(11, 22, 26, 0.6) 40%, rgba(11, 22, 26, 0) 68%), linear-gradient(180deg, rgba(11, 22, 26, 0.5) 0%, rgba(11, 22, 26, 0) 60%); }
[dir="rtl"] .scene-hero::before { background: linear-gradient(270deg, rgba(11, 22, 26, 0.82) 0%, rgba(11, 22, 26, 0.6) 40%, rgba(11, 22, 26, 0) 68%), linear-gradient(180deg, rgba(11, 22, 26, 0.5) 0%, rgba(11, 22, 26, 0) 60%); }
@media (max-width: 1023px) { .scene-hero::before { display: none; } }
.atmos { display: block; }
.scene-art .atmos { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 20px); padding-bottom: 64px; }
.scene-content .crumbs { margin-bottom: clamp(20px, 3vw, 40px); }
.scene-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.04em; color: #C9D1D3; }
.scene-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.scene-title { margin-top: 18px; max-width: 24ch; font-size: clamp(32px, 2vw + 14px, 50px); font-weight: 600; line-height: 1.1; letter-spacing: -0.022em; color: #FFFFFF; text-wrap: balance; }
.scene-hero-short .scene-title { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; }
.scene-lead { margin-top: 24px; max-width: 34em; color: #D5DBDC !important; }
.scene-hero .hero-tag { bottom: 16px; padding: 2px 6px; background: rgba(11, 22, 26, 0.84); }
@media (prefers-reduced-motion: no-preference) {
  .scene-label::before { animation: hd-beacon 1.8s ease-in-out infinite; }
  .at-ping { transform-box: fill-box; transform-origin: center; animation: hd-ping 2.4s ease-out infinite; }
  .at-blink { animation: hd-strobe 2.8s linear infinite; }
  .at-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: at-flicker 1.6s ease-in-out infinite; }
}
.at-ping { opacity: 0.6; }
@keyframes at-flicker { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(0.94, 1.06); } 60% { transform: scale(1.04, 0.95); } }
@media (max-width: 1023px) {
  .scene-hero { min-height: 0; }
  .scene-content { padding-bottom: 0; }
  .scene-art { position: relative; order: 2; height: clamp(280px, 58vw, 460px); margin-top: 28px; }
}

/* dark map sheet: teal for live coverage, amber for detections and routes */
.sheet-dark { --a-ink: #DDE3E4; --a-teal: var(--on-dark-teal); --a-bronze: var(--amber); --a-bg: #0D1E22; color: #E4E7E8; }
.sheet-dark [data-layer="coverage"], .sheet-dark .key-coverage { --a-bronze: var(--signal); }
.sheet-dark .key-aircraft { --a-bronze: #FFFFFF; }
.sheet-dark [data-layer] animateMotion + path { fill: #FFFFFF; }
.sheet-dark .sheet-frame { background: #0D1E22; border-color: var(--on-dark-line-strong); }
.sheet-dark .sheet-cols, .sheet-dark .sheet-rows { border-color: var(--on-dark-line-strong); color: var(--on-dark-muted); }
.sheet-dark .sheet-cols span + span { border-inline-start-color: var(--on-dark-line); }
.sheet-dark .sheet-rows span + span { border-top-color: var(--on-dark-line); }
.sheet-dark .map-label { color: #E4E7E8; }
.sheet-dark .map-label.ml-muted { color: var(--on-dark-muted); }
.sheet-dark .ml-alert { color: var(--amber); }
.sheet-dark .ml-alert span { color: #C9D1D3; }
.sheet-dark .sheet-labels .map-label { background: rgba(13, 30, 34, 0.84); }
.sheet-dark .sheet-key { background: #0D1E22; border-color: var(--on-dark-line-strong); }
.sheet-dark .sheet-tools-label, .sheet-dark .sheet-tools-note { color: var(--on-dark-muted); }
.sheet-dark .layer-btn { background: transparent; border-color: var(--on-dark-line-strong); color: #FFFFFF; }
.sheet-dark .layer-btn[aria-pressed="true"] .layer-box { background: var(--signal); border-color: var(--signal); }
.sheet-dark .layer-btn[aria-pressed="false"] { color: var(--on-dark-muted); border-color: var(--on-dark-line); }
.sheet-dark .layer-btn:hover { border-color: #FFFFFF; }
.sheet-dark .sheet-title { background: #0D1E22; border-color: var(--on-dark-line-strong); }
.sheet-dark .sheet-title-row { border-bottom-color: transparent; color: var(--on-dark-muted); }
.sheet-dark .sheet-title-row span:first-child { color: #FFFFFF; border-inline-end-color: var(--on-dark-line-strong); }
.sheet-slim .sheet-title { position: relative; inset: auto; width: auto; margin-top: -1px; }
.sheet-dark + .key-mobile, .section-dark .key-mobile { color: #E4E7E8; --a-ink: #DDE3E4; --a-bronze: var(--amber); --a-bg: #0D1E22; }
.section-dark .key-mobile .key-coverage { --a-bronze: var(--signal); }
.section-dark .key-mobile .key-aircraft { --a-bronze: #FFFFFF; }
.mission-sheet { margin-top: clamp(40px, 4vw, 56px); }
.approach-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; counter-reset: as; }
.approach-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border: 1px solid var(--on-dark-line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }
.as-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 6px; border: 1px solid var(--on-dark-line-strong); border-radius: 50%; color: #E4E7E8; }
.approach-steps h3 { font-size: 20px; }
@media (max-width: 1023px) { .approach-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .approach-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .approach-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 18px; }
  .as-ic { grid-row: span 3; width: 44px; height: 44px; margin: 0; }
}

/* best-suited platforms on deep teal */
.mp-grid { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 4vw, 56px); }
.mp-item a { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px 24px 22px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); background: rgba(11, 59, 61, 0.35); text-decoration: none; transition: border-color 0.3s, background-color 0.3s; }
.mp-item a:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.04); color: inherit; }
.mp-art { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 16 / 7; margin-bottom: 14px; background: radial-gradient(60% 50% at 50% 100%, rgba(227, 154, 94, 0.14), transparent 70%); }
.mp-art::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; border-top: 1px dashed rgba(255, 255, 255, 0.28); }
.mp-art .ac-img { position: relative; height: auto; transition: transform 0.5s var(--ease-out); }
.mp-item a:hover .ac-img { transform: translateY(-6px); }
.mp-name { font-size: 26px; line-height: 1.1; }
.mp-class { font-size: var(--fs-small); font-weight: 500; color: var(--on-deep); }
.mp-role { margin-top: 4px; color: #E4E7E8 !important; }
.mp-item .pfc-more { margin-top: auto; }
.mp-item a:hover .pfc-more { color: var(--on-dark-bronze); }
@media (max-width: 899px) { .mp-grid { grid-template-columns: minmax(0, 1fr); } .mp-art { aspect-ratio: 16 / 6; } }

/* measures and technology links */
.measure-list { list-style: none; display: grid; }
.measure-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: center; padding-block: 14px; border-top: 1px solid var(--line); font-size: 18px; }
.measure-list li:last-child { border-bottom: 1px solid var(--line); }
.ml-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--card); color: var(--ink); }
.tech-links { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.tech-links a { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 24px 56px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color 0.3s; }
.tech-links a:hover { border-color: var(--ink); color: inherit; }
.tl-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 8px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); }
.tl-more { position: absolute; bottom: 20px; inset-inline-start: 24px; color: var(--muted); }
.tech-links a:hover .tl-more { color: var(--bronze); }
@media (max-width: 1023px) { .tech-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 499px) { .tech-links { grid-template-columns: minmax(0, 1fr); } }

/* missions overview */
.mo-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.mo-cards li { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.mo-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 6px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); }
.mo-cards h3 { font-size: 22px; }
.mo-cards .tile-platforms { margin-top: auto; padding-top: 6px; }
.mo-cards a { color: var(--teal); }
@media (max-width: 1023px) { .mo-cards { grid-template-columns: minmax(0, 1fr); } }
.heritage-dark { border: 0; border-radius: var(--radius); background: var(--ink); overflow: hidden; }
.heritage-dark .heritage-art { border-inline-end: 0; background: #1B2A30; min-height: 420px; }
.heritage-art .atmos { position: absolute; inset: 0; width: 100%; height: 100%; }
.heritage-dark .heritage-copy .label-mono { color: var(--on-dark-muted); }
.heritage-dark .h2 { color: #FFFFFF; }
@media (max-width: 1023px) { .heritage-dark .heritage-art { border-bottom: 0; min-height: 280px; } }
.wider { margin-top: 72px; }
.wider .icon-row { margin-top: 28px; }
.icon-row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .icon-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .icon-row-4 { grid-template-columns: minmax(0, 1fr); } }


/* ------------------------------------------------------------------ */
/* Rendered views: operational picture, mission cards, scene images    */
/* ------------------------------------------------------------------ */
.op-3d .op-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.op-3d .op-map::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(9, 20, 23, 0.55) 100%); }
.op-3d .op-labels { z-index: 1; }
.op-3d .map-label { padding: 4px 8px; background: rgba(9, 20, 23, 0.78); border-radius: var(--radius); font-size: 12px; line-height: 1.35; }
.op-3d .map-label.ml-alert { border-inline-start: 2px solid var(--amber); }
.op-3d .map-label.ml-ok { border-inline-start: 2px solid var(--signal); }
.op-3d .map-label.op-l-orbit { color: var(--signal); }
.op-3d .op-route { stroke-dashoffset: 1; }
.op-3d .op-station, .op-3d .op-aircraft { transition: opacity 0.4s; }
.op-3d .op-top, .op-3d .op-bottom { background: rgba(9, 20, 23, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.op-3d .op-map { overflow: hidden; }
.mission-method .step-btn .step-desc { font-size: 14px; }
@media (min-width: 1024px) { .mission-method .method-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.scene-art .scene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
@media (max-width: 1023px) { .scene-art .scene-img { object-position: 80% 50%; } }

.mcards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mcards.mcards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mcard { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3.3; border-radius: var(--radius); background: #0D1E22; color: #FFFFFF; }
.mcards-2 .mcard { aspect-ratio: 16 / 10; }
.mcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transition: transform 0.9s var(--ease-out); }
.mcard::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11, 22, 26, 0) 28%, rgba(11, 22, 26, 0.55) 58%, rgba(11, 22, 26, 0.92) 100%); }
.mcard-body { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 2vw, 28px); }
.mcard-title { font-size: clamp(19px, 0.6vw + 14px, 23px); line-height: 1.25; color: #FFFFFF; }
.mcard-title a { text-decoration: none; color: inherit; }
.mcard-title a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.mcard-title a:focus-visible { outline: none; }
.mcard:focus-within { outline: 2px solid var(--bronze); outline-offset: 3px; }
.mcard-short { font-size: 15px; line-height: 1.5; color: #D5DBDC; max-width: 30em; }
.mcard-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 500; color: #FFFFFF; }
.mcard:hover .mcard-img { transform: scale(1.045); }
.mcard:hover .mcard-more { color: var(--on-dark-bronze); }
@media (max-width: 1023px) { .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .mcards, .mcards.mcards-2 { grid-template-columns: minmax(0, 1fr); } .mcard, .mcards-2 .mcard { aspect-ratio: 4 / 3.1; } }

.mo-rows { display: grid; gap: clamp(48px, 6vw, 88px); margin-top: clamp(48px, 5vw, 72px); }
.mo-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.mo-row.mo-flip .mo-media { order: 2; }
.mo-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius); background: #0D1E22; }
.mo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mo-tag { position: absolute; bottom: 12px; inset-inline-end: 12px; padding: 2px 8px; background: rgba(9, 20, 23, 0.7); color: #C9D1D3; font-family: var(--font-mono); font-size: 12px; border-radius: var(--radius); }
.mo-num { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--bronze); }
.mo-copy .h3 { margin-top: 10px; }
.mo-copy .body { margin-top: 14px; }
.mo-plat { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }
.mo-plat a { color: var(--teal); }
@media (max-width: 899px) { .mo-row { grid-template-columns: minmax(0, 1fr); } .mo-row.mo-flip .mo-media { order: 0; } }

.heritage-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wider-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gap); margin-top: 28px; }
.wider-list li { border-top: 1px solid var(--ink); padding-top: 18px; }
.wider-list h4 { font-size: 18px; }
.wider-list p { margin-top: 6px; }
@media (max-width: 1023px) { .wider-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .wider-list { grid-template-columns: minmax(0, 1fr); } }

.measures-x { list-style: none; display: grid; }
.measures-x li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 18px; border-top: 1px solid var(--line); font-size: 19px; line-height: 1.45; }
.measures-x li:last-child { border-bottom: 1px solid var(--line); }
.mx-n { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--bronze); }
.tech-x { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: 28px; }
.tech-x a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding-top: 18px; border-top: 1px solid var(--ink); text-decoration: none; }
.tx-t { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; }
.tech-x a:hover .tx-t { color: var(--bronze); }
@media (max-width: 1023px) { .tech-x { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); } }
@media (max-width: 499px) { .tech-x { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ */
/* Rendered sections: AI feed, payloads, stations, platforms, stack     */
/* ------------------------------------------------------------------ */
.ai-sec .section-head .lead { max-width: 40em; }
.feed { color: #E4E7E8; }
.feed-frame { position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #0D1E22; isolation: isolate; }
.feed-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s; }
.feed-ir { opacity: 0; }
.feed[data-band="ir"] .feed-ir { opacity: 1; }
.feed-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.feed-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 95% at 50% 50%, transparent 60%, rgba(6, 14, 16, 0.5) 100%); }
.fd-hud path { stroke: rgba(255, 255, 255, 0.7); stroke-width: 2; }
.fd-scan { fill: var(--signal); opacity: 0; transition: opacity 0.4s; }
.feed[data-stage="0"] .fd-scan { opacity: 0.35; }
.fd-zone { fill: rgba(43, 212, 191, 0.05); stroke: var(--signal); stroke-width: 2; stroke-dasharray: 10 8; opacity: 0; transition: opacity 0.5s; }
.fd-trail { stroke: var(--signal); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; opacity: 0; transition: opacity 0.5s; }
.fd-box { stroke-width: 2.5; stroke-linecap: square; opacity: 0; transition: opacity 0.4s, stroke 0.4s; }
.fd-other { stroke: rgba(255, 255, 255, 0.85); }
.fd-t1 { stroke: var(--signal); }
.fd-ping { fill: none; stroke: var(--amber); stroke-width: 2.5; opacity: 0; }
.fd-route { stroke: var(--amber); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 1.6s var(--ease-in-out), opacity 0.3s; }
.fd-ok { opacity: 0; transition: opacity 0.4s 0.6s; }
.fd-ok circle { fill: var(--signal); }
.fd-ok path { stroke: #0B161A; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.feed[data-stage="1"] .fd-box, .feed[data-stage="2"] .fd-box, .feed[data-stage="3"] .fd-box, .feed[data-stage="4"] .fd-t1 { opacity: 1; }
.feed[data-stage="2"] .fd-other, .feed[data-stage="3"] .fd-other { opacity: 0.4; }
.feed[data-stage="2"] .fd-zone, .feed[data-stage="3"] .fd-zone, .feed[data-stage="4"] .fd-zone, .feed[data-stage="2"] .fd-trail, .feed[data-stage="3"] .fd-trail, .feed[data-stage="4"] .fd-trail { opacity: 1; }
.feed[data-stage="3"] .fd-t1 { stroke: var(--amber); }
.feed[data-stage="3"] .fd-ping { opacity: 1; }
.feed[data-stage="4"] .fd-route { opacity: 1; stroke-dashoffset: 0; }
.feed[data-stage="4"] .fd-ok { opacity: 1; }
.feed-labels { z-index: 2; }
.feed-labels .map-label { position: absolute; padding: 3px 8px; background: rgba(9, 20, 23, 0.82); border-radius: var(--radius); font-family: var(--font-mono); font-size: 12px; line-height: 1.4; color: #E4E7E8; white-space: nowrap; opacity: 0; transition: opacity 0.4s; }
.feed-labels .map-label.is-out { display: none; }
.feed .fd-l-t1 { border-inline-start: 2px solid var(--signal); }
.feed .fd-l-alert { border-inline-start-color: var(--amber); color: #FFFFFF; }
.feed[data-stage="1"] .fd-l-other, .feed[data-stage="1"] .fd-l-detect, .feed[data-stage="2"] .fd-l-track, .feed[data-stage="3"] .fd-l-alert, .feed[data-stage="4"] .fd-l-ok { opacity: 1; }
.feed[data-stage="2"] .fd-l-zone, .feed[data-stage="3"] .fd-l-zone, .feed[data-stage="4"] .fd-l-zone { opacity: 1; color: var(--signal); }
.feed-top { position: absolute; top: 0; inset-inline: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.feed-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; background: rgba(9, 20, 23, 0.72); border-radius: var(--radius); font-family: var(--font-mono); font-size: 12px; color: #E4E7E8; }
.feed-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
@media (prefers-reduced-motion: no-preference) { .feed-dot { animation: hd-beacon 2.2s ease-in-out infinite; } }
.feed-band { display: inline-flex; background: rgba(9, 20, 23, 0.72); border: 1px solid var(--on-dark-line-strong); border-radius: var(--radius); }
.feed-band button { min-width: 48px; min-height: 36px; padding: 0 12px; background: none; border: 0; color: var(--on-dark-muted); font-family: var(--font-mono); font-size: 13px; cursor: pointer; }
.feed-band button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }
.feed-band button:hover { color: #FFFFFF; }
.feed .feed-status { z-index: 3; padding: 28px 16px 14px; background: linear-gradient(transparent, rgba(9, 20, 23, 0.88) 45%); font-size: 13px; }
.feed[data-stage="3"] .pl-status { color: var(--amber); }
.feed[data-stage="4"] .pl-status { color: var(--signal); }
.feed .pl-steps { border-color: var(--on-dark-line-strong); background: rgba(9, 20, 23, 0.35); }
.feed .pl-steps li + li { border-inline-start-color: var(--on-dark-line); }
.feed .pl-step { color: var(--on-dark-muted); }
.feed .pl-step::before { background: var(--amber); }
.feed .pl-step[aria-pressed="true"], .feed .pl-step:hover { color: #FFFFFF; }
.feed .pl-step[aria-pressed="true"] .pl-num { color: var(--amber); }
.feed .pl-desc { color: var(--on-dark-muted); }
@media (max-width: 899px) { .feed .pl-steps li { border-top-color: var(--on-dark-line); } .feed .pl-steps li:nth-child(even) { border-inline-start-color: var(--on-dark-line); } }
@media (max-width: 599px) { .feed-labels .fd-l-other, .fd-l-zone { display: none; } .feed-tag { font-size: 11px; } }
.feed-note { margin-top: 12px; }
.ai-split { margin-top: 72px; }
.ai-custom { margin-top: 80px; }
.section-dark .process6 { border-top-color: var(--on-dark-line-strong); }
.section-dark .process6 li::before { background: var(--signal); }
.section-dark .process6 p:not(.h4) { color: var(--on-dark-muted); }
.loop-note { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; }
.loop-note::before { content: ''; width: 28px; height: 10px; border: 1.5px solid var(--signal); border-top: 0; border-radius: 0 0 8px 8px; }

.px { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.px-stage { position: relative; }
.px-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.px-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.px-line { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 6 7; opacity: 0.55; transition: opacity 0.3s, stroke 0.3s; }
.px-bay { fill: var(--bg); stroke: var(--teal); stroke-width: 2; }
.px-stage.has-hot .px-line { opacity: 0.18; }
.px-stage.has-hot .px-line.is-hot { opacity: 1; stroke: var(--bronze); stroke-dasharray: none; }
.px-marker { background: var(--bg); }
.px .pp-tag { bottom: 0; inset-inline-start: 0; }
.px-list { border-top: 1px solid var(--ink); }
.px-list .pp-callout { padding: 18px 8px; }
@media (max-width: 1023px) { .px { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .px-marker { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 12px; } }

.station-r { border-color: var(--on-dark-line-strong); }
.st-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #0D1E22; border-inline-end: 1px solid var(--on-dark-line-strong); }
.st-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s var(--ease-in-out); }
.station-r[data-step="0"] .st-img-0, .station-r[data-step="1"] .st-img-1, .station-r[data-step="2"] .st-img-2, .station-r[data-step="3"] .st-img-3 { opacity: 1; }
.station-r .st-steps { justify-content: center; }
.station-r .st-steps li + li { border-top-color: var(--on-dark-line); }
.station-r .st-step { color: var(--on-dark-muted); }
.station-r .st-desc { color: var(--on-dark-muted); }
.station-r .st-step[aria-pressed="true"] { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
.station-r .st-step[aria-pressed="true"] .st-num { color: var(--amber); }
.station-r .st-step:hover { color: #FFFFFF; }
@media (max-width: 899px) { .st-media { border-inline-end: 0; border-bottom: 1px solid var(--on-dark-line-strong); } }
.section-dark .power-opts > div { border-top-color: var(--on-dark-line); }
.section-dark .power-opts .icon { color: var(--signal); }

.pp-figure.pp-dark { background: var(--grad-night); border-color: transparent; color: #FFFFFF; }
.pp-dark .pp-stage { border-inline-end-color: var(--on-dark-line); }
.pp-render { display: flex; align-items: center; justify-content: center; aspect-ratio: auto; min-height: clamp(360px, 40vw, 620px); }
.pp-render::before { display: none; }
.pp-render .pp-art { position: relative; inset: auto; width: min(92%, 980px); margin: 40px auto 48px; }
.pp-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pp-dark .pp-marker { background: rgba(9, 20, 23, 0.85); border-color: rgba(255, 255, 255, 0.8); color: #FFFFFF; }
.pp-dark .pp-marker:hover, .pp-dark .pp-marker.is-hot { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.pp-dark .pp-tag { color: var(--on-dark-muted); }
.pp-dark .pp-callouts li { border-bottom-color: var(--on-dark-line); }
.pp-dark .pp-callout { color: #FFFFFF; }
.pp-dark .pp-callout .small { color: var(--on-dark-muted); }
.pp-dark .pp-callout:hover, .pp-dark .pp-callout.is-hot { background: rgba(255, 255, 255, 0.06); }
.pp-dark .pp-callout .pp-dot { border-color: rgba(255, 255, 255, 0.7); }
.pp-dark .pp-callout.is-hot .pp-dot { background: var(--amber); border-color: var(--amber); color: var(--ink); }
@media (max-width: 1023px) { .pp-dark .pp-stage { border-bottom-color: var(--on-dark-line); } }

.sv-render .sv-media { position: relative; width: 100%; max-width: 520px; justify-self: center; }
.sv-render .sv-media img, .sv-render .sv-media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-outline { stroke: transparent; stroke-width: 2.5; fill: transparent; transition: stroke 0.35s, fill 0.35s; }
.sv-render .sv-slab.is-active .sv-outline { stroke: var(--amber); fill: rgba(240, 160, 80, 0.08); }
.sv-band-img { overflow: hidden; height: clamp(240px, 30vw, 440px); }
.sv-band-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.sv-band-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 42, 48, 0.35) 0%, rgba(27, 42, 48, 0) 35%, rgba(27, 42, 48, 0.7) 75%, var(--ink) 100%); }
.section-dark .process6 .h4 { color: #FFFFFF; }
.section-dark .support-list li { border-top-color: var(--on-dark-line); }
.section-dark .support-list span { color: var(--on-dark-muted); }
/* the feed keeps its stages beside the frame on wide screens, so the whole
   demonstration fits in one viewport */
@media (min-width: 1024px) {
  .feed { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 22vw, 310px); align-items: stretch; }
  .feed .feed-frame { border-radius: var(--radius) 0 0 var(--radius); }
  .feed .pl-steps { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; border: 1px solid var(--on-dark-line-strong); border-inline-start: 0; }
  .feed .pl-steps li + li { border-inline-start: 0; border-top: 1px solid var(--on-dark-line); }
  .feed .pl-step { justify-content: center; padding: 12px 20px; }
  .feed .pl-step::before { top: 0; bottom: 0; inset-inline: 0 auto; width: 2px; height: auto; transform: scaleY(0); }
  .feed .pl-step[aria-pressed="true"]::before { transform: scaleY(1); }
  .feed .pl-step[aria-pressed="true"] { background: rgba(255, 255, 255, 0.05); }
}
/* bright scenes (a lit aisle behind the title) get a longer grade */
@media (min-width: 1024px) {
  .scene-hero.sh-strong::before { background: linear-gradient(90deg, rgba(11, 22, 26, 0.88) 0%, rgba(11, 22, 26, 0.78) 48%, rgba(11, 22, 26, 0) 80%), linear-gradient(180deg, rgba(11, 22, 26, 0.5) 0%, rgba(11, 22, 26, 0) 60%); }
  [dir="rtl"] .scene-hero.sh-strong::before { background: linear-gradient(270deg, rgba(11, 22, 26, 0.88) 0%, rgba(11, 22, 26, 0.78) 48%, rgba(11, 22, 26, 0) 80%), linear-gradient(180deg, rgba(11, 22, 26, 0.5) 0%, rgba(11, 22, 26, 0) 60%); }
}
