/* ASSA Global — assaglobal.info — bundled stylesheet (design-system tokens + page styles) */
/* ASSA Global — Webfonts
 * NOTE: The ASSA GLOBAL wordmark uses a proprietary rounded-techno typeface.
 * For UI/headings we substitute Saira (engineered grotesque) which carries the
 * same technical, defense-grade character. Body = IBM Plex Sans, telemetry = IBM Plex Mono.
 * Fonts are served from Google Fonts CDN. Flagged to the user for replacement with brand files. */

@import url('https://fonts.googleapis.com/css2?family=Saira:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');
/* ASSA Global — Color tokens
 * Derived from brand logo (cyan disc) + the SkyShield / AirShield deck system.
 * Defense-tech: deep navy surfaces, brand cyan accent, threat-status reds/greens/amber. */

:root {
  /* ---- Base neutrals: navy scale (dark surfaces) ---- */
  --navy-900: #0A1628; /* deepest base — page background */
  --navy-800: #0F1B2D; /* primary dark surface */
  --navy-700: #16263B; /* elevated panel */
  --navy-600: #1E3247; /* card / raised */
  --navy-500: #2A4259; /* hairline-on-dark, hover fill */
  --navy-400: #3A5570; /* strong border on dark */

  /* ---- Cool greys ---- */
  --slate-500: #6B7280; /* muted text */
  --slate-400: #8B99A8;
  --slate-300: #AEB9C6;
  --slate-200: #D9DEE5; /* primary text on dark */
  --slate-100: #EDF1F5;
  --slate-050: #F4F6F8; /* light surface */
  --white: #FFFFFF;
  --black: #000000;

  /* ---- Brand cyan ---- */
  --cyan-300: #5BC8EC; /* light / glow */
  --cyan-400: #35A9DA; /* logo cyan */
  --cyan-500: #00B4D8; /* PRIMARY brand accent */
  --cyan-600: #0098BC;
  --cyan-700: #0086A8; /* hover / pressed */
  --cyan-900: #003F52; /* deep cyan tint */

  /* ---- Status: defense / threat semantics ---- */
  --foe-500: #E5392E;     /* hostile / threat */
  --foe-600: #C0392B;     /* hostile pressed */
  --foe-raw: #FF0000;     /* foe marker on map */
  --friend-500: #2FBF71;  /* friendly / cleared */
  --friend-600: #259D5C;
  --warn-500: #F5A623;    /* warning / suspicious */
  --warn-600: #D98C0C;
  --info-500: var(--cyan-500);

  /* ---- Tint washes (over dark) ---- */
  --foe-wash: rgba(229, 57, 46, 0.12);
  --friend-wash: rgba(47, 191, 113, 0.12);
  --warn-wash: rgba(245, 166, 35, 0.12);
  --cyan-wash: rgba(0, 180, 216, 0.12);

  /* =====================================================
     SEMANTIC ALIASES — default context is DARK (console)
     ===================================================== */
  --bg-base: var(--navy-900);
  --bg-elevated: var(--navy-800);
  --surface-panel: var(--navy-700);
  --surface-card: var(--navy-600);
  --surface-hover: var(--navy-500);
  --surface-overlay: rgba(10, 22, 40, 0.78);

  --text-primary: var(--slate-200);
  --text-secondary: var(--slate-300);
  --text-muted: var(--slate-500);
  --text-inverse: var(--navy-900);
  --text-on-accent: var(--navy-900);

  --border-subtle: rgba(217, 222, 229, 0.10);
  --border-strong: var(--navy-400);
  --border-accent: var(--cyan-500);

  --accent: var(--cyan-500);
  --accent-hover: var(--cyan-400);
  --accent-active: var(--cyan-700);
  --accent-contrast: var(--navy-900);

  --status-foe: var(--foe-500);
  --status-friend: var(--friend-500);
  --status-warn: var(--warn-500);
  --status-neutral: var(--slate-500);

  --focus-ring: rgba(0, 180, 216, 0.55);
}

/* Light context — for print, docs, light cards. Apply on a container. */
.assa-light {
  --bg-base: var(--slate-050);
  --bg-elevated: var(--white);
  --surface-panel: var(--white);
  --surface-card: var(--white);
  --surface-hover: var(--slate-100);
  --surface-overlay: rgba(255, 255, 255, 0.85);

  --text-primary: var(--navy-800);
  --text-secondary: #3A4A5C;
  --text-muted: var(--slate-500);
  --text-inverse: var(--white);
  --text-on-accent: var(--white);

  --border-subtle: rgba(15, 27, 45, 0.10);
  --border-strong: rgba(15, 27, 45, 0.22);

  --accent: var(--cyan-600);
  --accent-hover: var(--cyan-500);
  --accent-active: var(--cyan-700);
  --accent-contrast: var(--white);
}

/* ASSA Global — Typography tokens
 * Display/UI: Saira (substitute for proprietary wordmark face) · Body: IBM Plex Sans · Telemetry: IBM Plex Mono */

:root {
  /* ---- Families ---- */
  --font-display: 'Saira', 'Arial Narrow', sans-serif;          /* headlines, big stats, section labels */
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif; /* body, UI */
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace; /* telemetry, IDs, coords, freqs */

  /* ---- Weights ---- */
  --fw-regular: 400;   /* @kind font */
  --fw-medium: 500;    /* @kind font */
  --fw-semibold: 600;  /* @kind font */
  --fw-bold: 700;      /* @kind font */
  --fw-extrabold: 800; /* @kind font */

  /* ---- Type scale (px-based, rem values) ---- */
  --text-2xs: 0.6875rem; /* 11px — micro labels */
  --text-xs: 0.75rem;    /* 12px — captions, meta */
  --text-sm: 0.8125rem;  /* 13px — dense UI text */
  --text-base: 0.9375rem;/* 15px — body */
  --text-md: 1.0625rem;  /* 17px — lead body */
  --text-lg: 1.375rem;   /* 22px — subhead */
  --text-xl: 1.75rem;    /* 28px — H3 */
  --text-2xl: 2.25rem;   /* 36px — H2 */
  --text-3xl: 3rem;      /* 48px — H1 */
  --text-4xl: 4rem;      /* 64px — display */
  --text-5xl: 5.5rem;    /* 88px — hero stat */

  /* ---- Line heights ---- */
  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* ---- Letter spacing ---- */
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;   /* eyebrow / kicker labels */
  --tracking-widest: 0.18em;  /* mono micro-labels, LAYER tags */
}

/* ---- Semantic text role helpers (optional utility classes) ---- */
.assa-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
}
.assa-display {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.assa-stat {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.assa-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-wide);
}

/* ASSA Global — Spacing, radii, shadows, motion, layout tokens */

:root {
  /* ---- Spacing scale (4px base grid) ---- */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.5rem;   /* 24 */
  --space-6: 2rem;     /* 32 */
  --space-7: 3rem;     /* 48 */
  --space-8: 4rem;     /* 64 */
  --space-9: 6rem;     /* 96 */

  /* ---- Radii — engineered, modest rounding ---- */
  --radius-xs: 2px;   /* status chips, tags */
  --radius-sm: 4px;   /* inputs, small buttons */
  --radius-md: 6px;   /* buttons, cards */
  --radius-lg: 10px;  /* panels */
  --radius-xl: 16px;  /* large surfaces */
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ---- Borders ---- */
  --border-width: 1px;
  --border-width-strong: 1.5px;
  --status-bar-width: 3px; /* left status accent on detection cards */

  /* ---- Elevation / shadows (tuned for dark UI) ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.55);
  --shadow-panel: 0 2px 0 rgba(0, 0, 0, 0.25), 0 16px 40px rgba(0, 0, 0, 0.45);
  /* Cyan glow — for active/armed states, focus, live indicators */
  --glow-cyan: 0 0 0 1px rgba(0, 180, 216, 0.45), 0 0 18px rgba(0, 180, 216, 0.35);
  --glow-foe: 0 0 0 1px rgba(229, 57, 46, 0.5), 0 0 16px rgba(229, 57, 46, 0.30);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);    /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 200ms; /* @kind other */
  --dur-slow: 360ms; /* @kind other */

  /* ---- Layout ---- */
  --rail-width: 76px;        /* console right rail */
  --panel-width: 420px;      /* detection side panel */
  --container-max: 1280px;
  --header-height: 64px;
}

/* ASSA Global — Base element styling & resets (consumes tokens) */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 0 0 var(--space-3);
}
h1 { font-size: var(--text-3xl); line-height: var(--leading-tight); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin: 0 0 var(--space-4); }

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

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

::selection { background: var(--cyan-wash); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

hr {
  border: none;
  border-top: var(--border-width) solid var(--border-subtle);
  margin: var(--space-5) 0;
}

/* Thin tactical scrollbars on dark panels */
.assa-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.assa-scroll::-webkit-scrollbar-track { background: transparent; }
.assa-scroll::-webkit-scrollbar-thumb {
  background: var(--navy-500);
  border-radius: var(--radius-pill);
}
.assa-scroll::-webkit-scrollbar-thumb:hover { background: var(--navy-400); }


/* ============ PAGE STYLES ============ */

/* ASSA Global — assaglobal.info landing page
 * Consumes the ASSA Global design system tokens. Dark mission-control theme. */
/* tokens inlined below — was @import '../styles.css' */

:root {
  --accent-rgb: 0, 180, 216;          /* drives glows/washes; swapped by accent tweak */
  --section-pad: var(--space-9);       /* vertical section rhythm; swapped by density */
  --max: 1200px;
  --grid-opacity: 0.5;
}

/* ------- density ------- */
html[data-density="compact"] { --section-pad: 4rem; }
html[data-density="regular"] { --section-pad: 6rem; }
html[data-density="spacious"] { --section-pad: 8.5rem; }

/* ------- theme (light flips semantic tokens via DS .assa-light) ------- */
body { transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
body.assa-light { --grid-opacity: 0.6; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body {
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(var(--accent-rgb), 0.10), transparent 60%),
    var(--bg-base);
  overflow-x: hidden;
}
body.assa-light {
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(var(--accent-rgb), 0.07), transparent 60%),
    var(--bg-base);
}

/* tactical grid overlay */
.tac-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: var(--grid-opacity);
  mask-image: radial-gradient(140% 110% at 50% 0%, #000 35%, transparent 88%);
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--space-6); }
.section { position: relative; z-index: 1; padding-block: var(--section-pad); }

/* ---------- shared type roles ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .8; }
.display { font-family: var(--font-display); font-weight: 700; line-height: var(--leading-tight); letter-spacing: -0.015em; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-wide); }
.lead { font-size: var(--text-md); color: var(--text-secondary); line-height: var(--leading-relaxed); max-width: 56ch; }
.section-head { max-width: 60ch; margin-bottom: var(--space-7); }
.section-head h2 { font-size: clamp(2rem, 4vw, var(--text-3xl)); margin: 0 0 var(--space-4); }
.section-head .lead { margin: 0; }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-height);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg-base) 72%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand img { height: 26px; width: auto; display: block; }
body.assa-light .brand img.logo-dark { display: none; }
body:not(.assa-light) .brand img.logo-light { display: none; }
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a {
  font-size: var(--text-sm); color: var(--text-secondary); font-weight: 500;
  letter-spacing: .01em; transition: color var(--dur-fast);
}
.nav a:hover { color: var(--text-primary); }
.hdr-actions { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: var(--radius-md); border: 1px solid var(--border-strong);
  background: transparent; color: var(--text-secondary); cursor: pointer;
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.theme-toggle:hover { color: var(--text-primary); border-color: var(--accent); background: var(--surface-hover); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
body.assa-light .theme-toggle .i-moon { display: none; }
body.assa-light .theme-toggle .i-sun { display: block; }
@media (max-width: 940px) { .nav { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 600;
  border-radius: var(--radius-md); padding: 0.6rem 1.05rem; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap; line-height: 1;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), box-shadow var(--dur-fast), color var(--dur-fast);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 0 1px rgba(var(--accent-rgb),.45), 0 0 18px rgba(var(--accent-rgb),.35); transform: translateY(-1px); color: var(--accent-contrast); }
.btn-primary:active { transform: scale(.985); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--accent); color: var(--text-primary); }
.btn-lg { padding: 0.85rem 1.4rem; font-size: var(--text-base); }

/* ---------- hero (shared) ---------- */
.hero { position: relative; z-index: 1; padding-top: calc(var(--header-height) + var(--space-8)); padding-bottom: var(--space-9); overflow: hidden; }
.hero-rings { position: absolute; top: -160px; right: -220px; width: 760px; height: 760px; pointer-events: none; z-index: 0; opacity: .55; }
.hero-rings .ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(var(--accent-rgb), .28); }
.hero-crosshair { position: absolute; inset: 0; margin: auto; }

.kicker-bar {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-widest);
  text-transform: uppercase; color: var(--text-secondary);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  padding: .4rem .85rem; margin-bottom: var(--space-5);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); animation: ping 2.6s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 70%,100% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); } }

.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin: 0 0 var(--space-5); letter-spacing: -0.02em; }
.hero h1 .acc { color: var(--accent); }
.hero .lead { font-size: var(--text-lg); max-width: 48ch; color: var(--text-secondary); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-7); }

/* hero variant visibility */
.hero-variant { display: none; }
body[data-hero="console"] .hero-variant.v-console { display: block; }
body[data-hero="statement"] .hero-variant.v-statement { display: block; }
body[data-hero="imagery"] .hero-variant.v-imagery { display: block; }

/* --- variant: console --- */
.v-console .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center; }
.console {
  position: relative; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background: var(--surface-panel); box-shadow: var(--shadow-panel); overflow: hidden;
}
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: .7rem .95rem; border-bottom: 1px solid var(--border-subtle); background: var(--bg-elevated); }
.console-bar .tt { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--text-muted); }
.console-bar .stat { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--friend-500); letter-spacing: .06em; }
.console-bar .stat::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--friend-500); box-shadow: 0 0 8px var(--friend-500); }
.scope { position: relative; aspect-ratio: 1 / 0.82; background:
    radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb),.08), transparent 70%),
    var(--navy-900);
  overflow: hidden; }
.scope-grid { position:absolute; inset:0; background-image: linear-gradient(rgba(var(--accent-rgb),.10) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb),.10) 1px, transparent 1px); background-size: 40px 40px; }
.scope .rr { position:absolute; left:50%; top:50%; transform: translate(-50%,-50%); border:1px dashed rgba(var(--accent-rgb),.30); border-radius:50%; }
.scope .sweep { position:absolute; left:50%; top:50%; width:50%; height:50%; transform-origin: 0 0; background: conic-gradient(from 0deg, rgba(var(--accent-rgb),.28), transparent 38%); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.scope .blip { position:absolute; width:9px; height:9px; border-radius:50%; transform: translate(-50%,-50%); }
.scope .blip.foe { background: var(--foe-500); box-shadow: 0 0 10px var(--foe-500); animation: blip 2.2s ease-in-out infinite; }
.scope .blip.friend { background: var(--friend-500); box-shadow: 0 0 8px var(--friend-500); }
.scope .blip.warn { background: var(--warn-500); box-shadow: 0 0 8px var(--warn-500); }
@keyframes blip { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.scope .ch-v, .scope .ch-h { position:absolute; background: rgba(var(--accent-rgb),.22); }
.scope .ch-v { left:50%; top:0; bottom:0; width:1px; }
.scope .ch-h { top:50%; left:0; right:0; height:1px; }
.console-feed { border-top: 1px solid var(--border-subtle); background: var(--bg-elevated); padding: .5rem .4rem; }
.feed-row { display: grid; grid-template-columns: 14px 1fr auto; gap: var(--space-3); align-items: center; padding: .42rem .55rem; border-left: var(--status-bar-width) solid transparent; font-family: var(--font-mono); font-size: var(--text-2xs); }
.feed-row .id { color: var(--text-secondary); letter-spacing: .04em; }
.feed-row .rng { color: var(--text-muted); }
.feed-row .dot { width: 8px; height: 8px; border-radius: 50%; }
.feed-row.foe { border-left-color: var(--foe-500); } .feed-row.foe .dot { background: var(--foe-500); }
.feed-row.friend { border-left-color: var(--friend-500); } .feed-row.friend .dot { background: var(--friend-500); }
.feed-row.warn { border-left-color: var(--warn-500); } .feed-row.warn .dot { background: var(--warn-500); }

/* --- variant: statement --- */
.v-statement { text-align: center; }
.v-statement .hero-inner { max-width: 1000px; margin: 0 auto; }
.v-statement h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.v-statement .lead { margin: 0 auto; }
.v-statement .hero-cta { justify-content: center; }
.v-statement .bigstats { margin-top: var(--space-9); }

/* --- variant: imagery --- */
.v-imagery .hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: var(--space-7); align-items: center; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 30%, rgba(10,22,40,.18) 60%, var(--bg-base) 99%); }
.hero-photo .tag { position:absolute; left: 14px; bottom: 14px; z-index:2; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--slate-200); background: var(--surface-overlay); border:1px solid var(--border-subtle); border-radius: var(--radius-xs); padding: .3rem .55rem; backdrop-filter: blur(6px); }

@media (max-width: 880px) {
  .v-console .hero-grid, .v-imagery .hero-grid { grid-template-columns: 1fr; }
  .v-console .console, .v-imagery .hero-photo { margin-top: var(--space-6); }
}

/* ---------- stat strip ---------- */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-top: var(--space-8); border-top: 1px solid var(--border-subtle); padding-top: var(--space-6); }
.bigstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.stat-cell .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, var(--text-4xl)); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.stat-cell .num .u { color: var(--accent); }
.stat-cell .lbl { margin-top: var(--space-3); font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 720px) { .statstrip, .bigstats { grid-template-columns: repeat(2,1fr); } }

/* ---------- trust bar ---------- */
.trust { border-block: 1px solid var(--border-subtle); background: color-mix(in srgb, var(--surface-panel) 50%, transparent); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: var(--space-5); }
.trust .item { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .04em; color: var(--text-secondary); text-transform: uppercase; }
.trust .item svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- threat / asymmetry ---------- */
.asym-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.asym {
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card);
  padding: var(--space-6); position: relative; overflow: hidden;
}
.asym .num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); line-height: 1; letter-spacing: -.02em; color: var(--foe-500); font-variant-numeric: tabular-nums; }
.asym .num.cy { color: var(--accent); }
.asym h3 { font-size: var(--text-lg); margin: var(--space-4) 0 var(--space-2); }
.asym p { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; line-height: var(--leading-normal); }
.asym .src { margin-top: var(--space-4); font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-muted); letter-spacing: .03em; }
@media (max-width: 820px) { .asym-grid { grid-template-columns: 1fr; } }

/* ---------- products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-5); }
.prod {
  position: relative; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  background: var(--surface-card); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base);
}
.prod:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), .45); box-shadow: var(--shadow-md); }
.prod.span-hero { grid-column: span 4; flex-direction: row; gap: var(--space-7); align-items: stretch; }
.prod.span-3 { grid-column: span 2; }
.prod.span-2 { grid-column: span 2; }
.prod .ico { width: 42px; height: 42px; border-radius: var(--radius-md); display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb),.30); color: var(--accent); }
.prod .ico svg { width: 22px; height: 22px; }
.prod .pname { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: -.01em; }
.prod .ptag { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--accent); }
.prod p { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; line-height: var(--leading-normal); }
.prod .specs { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: var(--space-3); }
.chip { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: .04em; color: var(--text-secondary); border: 1px solid var(--border-subtle); border-radius: var(--radius-xs); padding: .22rem .5rem; background: color-mix(in srgb, var(--bg-elevated) 60%, transparent); }
.prod.span-hero .left { flex: 1; display:flex; flex-direction: column; gap: var(--space-3); }
.prod.span-hero .layers { flex: 1; display: grid; grid-template-rows: repeat(3,1fr); gap: var(--space-3); }
.layer-mini { display: flex; align-items: center; gap: var(--space-4); border: 1px solid var(--border-subtle); border-left: var(--status-bar-width) solid var(--accent); border-radius: var(--radius-sm); padding: var(--space-4); background: var(--bg-elevated); }
.layer-mini .n { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-widest); color: var(--accent); }
.layer-mini .h { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); }
.layer-mini .d { font-size: var(--text-xs); color: var(--text-muted); }
@media (max-width: 1000px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod.span-hero { grid-column: span 2; flex-direction: column; }
  .prod.span-3, .prod.span-2 { grid-column: span 1; }
}
@media (max-width: 620px) { .prod-grid { grid-template-columns: 1fr; } .prod.span-hero, .prod.span-3, .prod.span-2 { grid-column: span 1; } }

/* ---------- 3-layer architecture ---------- */
.arch { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); position: relative; }
.arch-col { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); overflow: hidden; }
.arch-col .hd { padding: var(--space-5) var(--space-5) var(--space-4); border-bottom: 1px solid var(--border-subtle); border-top: var(--status-bar-width) solid var(--accent); }
.arch-col.l1 .hd { border-top-color: var(--friend-500); } .arch-col.l1 .layer-no { color: var(--friend-500); }
.arch-col.l2 .hd { border-top-color: var(--warn-500); } .arch-col.l2 .layer-no { color: var(--warn-500); }
.arch-col.l3 .hd { border-top-color: var(--foe-500); } .arch-col.l3 .layer-no { color: var(--foe-500); }
.layer-no { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-widest); text-transform: uppercase; }
.arch-col .hd h3 { font-size: var(--text-xl); margin: var(--space-2) 0 var(--space-2); }
.arch-col .hd p { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; }
.arch-col .bd { padding: var(--space-4) var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.arch-item { display: flex; align-items: flex-start; gap: var(--space-3); }
.arch-item svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.arch-item .t { font-weight: 600; font-size: var(--text-sm); }
.arch-item .s { font-size: var(--text-xs); color: var(--text-muted); font-family: var(--font-mono); letter-spacing: .03em; }
@media (max-width: 900px) { .arch { grid-template-columns: 1fr; } }

/* ---------- full-bleed imagery band ---------- */
.band { position: relative; z-index: 1; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(90deg, var(--bg-base) 6%, rgba(10,22,40,.55) 48%, transparent 86%), linear-gradient(0deg, var(--bg-base), transparent 55%); }
.band .wrap { position: relative; z-index: 2; padding-block: var(--space-8); }
.band h2 { font-size: clamp(2rem, 4vw, var(--text-3xl)); max-width: 18ch; margin: 0 0 var(--space-4); }
.band .lead { color: var(--slate-200); }

/* ---------- verticals ---------- */
.vert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.vert {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-card);
  font-size: var(--text-sm); font-weight: 500; color: var(--text-primary);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.vert:hover { border-color: rgba(var(--accent-rgb),.4); background: var(--surface-hover); }
.vert svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
@media (max-width: 900px) { .vert-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .vert-grid { grid-template-columns: 1fr; } }

/* ---------- company ---------- */
.co-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: center; }
.office-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-6); }
.office { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-5); background: var(--surface-card); }
.office .city { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.office .ent { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: .05em; color: var(--accent); text-transform: uppercase; margin-top: 2px; }
.office .addr { font-size: var(--text-sm); color: var(--text-secondary); margin-top: var(--space-3); line-height: var(--leading-normal); }
.co-points { display: flex; flex-direction: column; gap: var(--space-4); }
.co-point { display: flex; gap: var(--space-4); }
.co-point svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.co-point .t { font-weight: 600; font-size: var(--text-base); margin-bottom: 2px; }
.co-point .d { font-size: var(--text-sm); color: var(--text-secondary); }
@media (max-width: 880px) { .co-grid { grid-template-columns: 1fr; } .office-row { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; z-index: 1; text-align: center; overflow: hidden; }
.cta::before { content:""; position:absolute; left:50%; top:50%; transform: translate(-50%,-50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(var(--accent-rgb),.18), transparent 60%); pointer-events: none; z-index:0; }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.2rem, 5vw, var(--text-4xl)); margin: 0 auto var(--space-4); max-width: 18ch; }
.cta .lead { margin: 0 auto var(--space-7); text-align: center; }
.cta .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.ftr { position: relative; z-index: 1; border-top: 1px solid var(--border-subtle); padding-block: var(--space-7); }
.ftr .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); }
.ftr .col h5 { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--space-4); }
.ftr .col a, .ftr .col p { display: block; font-size: var(--text-sm); color: var(--text-secondary); margin: 0 0 var(--space-3); }
.ftr .col a:hover { color: var(--accent); }
.ftr .brand-col img { height: 30px; margin-bottom: var(--space-4); }
.ftr .brand-col p { max-width: 34ch; }
.ftr-bottom { border-top: 1px solid var(--border-subtle); margin-top: var(--space-6); padding-top: var(--space-5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: .04em; color: var(--text-muted); }
@media (max-width: 820px) { .ftr .wrap { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sweep, .blip, .live-dot { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ WCAG AA contrast hardening ============ */
/* Dark: slate-500 muted (~3.75:1 on navy) fails AA for small label text — lift to a legible cool grey (~6.8:1). */
body:not(.assa-light) { --text-muted: #93A2B2; }

/* Light theme: cyan on near-white is too low-contrast at small sizes — keep accent for the bar/large text
   and links, but recolor small mono micro-labels to high-contrast secondary text. */
body.assa-light .eyebrow,
body.assa-light .ptag,
body.assa-light .office .ent,
body.assa-light .layer-no,
body.assa-light .console-bar .tt { color: var(--text-secondary); }
body.assa-light .eyebrow::before { background: var(--accent); }
/* Primary button: white-on-cyan is only ~3.4:1 — use dark ink on the accent fill in light theme (~5.4:1). */
body.assa-light .btn-primary { color: var(--navy-900); }
body.assa-light .btn-primary:hover { color: var(--navy-900); }
