/* ============================================================
   HIQurateOps — Design System v2 · "Dossier"
   Editorial precision for a security firm.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
    /* Canvas */
    --bg: #08090C;
    --surface-1: #0D1014;
    --surface-2: #13171D;
    --surface-3: #1A1F27;

    /* Hairlines */
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .18);

    /* Ink */
    --ink: #F0F3F6;
    --ink-dim: #9AA6B2;
    --ink-mute: #626E7A;

    /* Semantic colour — accent = us, signal = them */
    --accent: #6FB3E0;
    --accent-hi: #A5D6F7;
    --accent-soft: rgba(111, 179, 224, .12);
    --signal: #FF5A52;
    --signal-soft: rgba(255, 90, 82, .12);
    --amber: #F5B544;
    --good: #3DD9A4;

    /* Type */
    --f-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --f-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

    /* Geometry — precision, not softness */
    --r-sm: 2px;
    --r-md: 4px;
    --r-lg: 8px;

    /* Rhythm */
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --bay: clamp(5rem, 11vh, 9rem);
    --wrap: 1280px;

    /* Motion */
    --ease: cubic-bezier(.22, 1, .36, 1);
    --dur: .55s;

    /* ---- Legacy aliases (keep hawksight-visuals.css alive) ---- */
    --cyber-primary: var(--accent);
    --cyber-blue: var(--accent);
    --cyber-secondary: var(--accent);
    --cyber-accent: var(--accent);
    --cyber-glow: var(--accent-hi);
    --cyber-teal: var(--good);
    --cyber-purple: #a855f7;
    --bg-deepest: var(--bg);
    --bg-deep: var(--surface-1);
    --bg-primary: var(--surface-1);
    --bg-secondary: var(--surface-2);
    --bg-card: var(--surface-2);
    --bg-card-hover: var(--surface-3);
    --text-primary: var(--ink);
    --text-secondary: var(--ink-dim);
    --text-muted: var(--ink-mute);
    --text-glow: var(--ink);
    --font-primary: var(--f-body);
    --font-heading: var(--f-display);
    --font-mono: var(--f-mono);
    --radius-sm: var(--r-sm);
    --radius-md: var(--r-md);
    --radius-lg: var(--r-lg);
    --radius-full: 999px;
    --glow-blue: 0 0 24px rgba(111, 179, 224, .25);
    --gradient-blue-purple: linear-gradient(135deg, var(--accent), #a855f7);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, .5);
    --hs-shadow: rgba(0, 0, 0, .32);
}

/* ============================================================
   LIGHT THEME
   Not an inversion. Warm paper base, real elevation, saturated
   accent fields, and dark contrast bands so the page has
   rhythm instead of reading as unstyled boxes.
   ============================================================ */
:root[data-theme="light"] {
    /* Cool light ground so pure-white cards separate sharply */
    --bg: #EEF2F7;
    --surface-1: #FFFFFF;
    --surface-2: #FFFFFF;
    --surface-3: #DDE5EE;

    --line: rgba(12, 22, 38, .15);
    --line-strong: rgba(12, 22, 38, .34);

    /* Near-black ink for maximum text contrast */
    --ink: #070C14;
    --ink-dim: #2B3949;
    --ink-mute: #55677D;

    /* Saturated, vivid accents — all verified AA on white */
    --accent: #0B63CE;
    --accent-hi: #084BA0;
    --accent-soft: rgba(11, 99, 206, .11);
    --signal: #D22B18;
    --signal-soft: rgba(210, 43, 24, .11);
    --amber: #A34A06;
    --good: #067A55;

    /* Soft, layered elevation — light UI needs depth to read as designed */
    --lift-1: 0 1px 2px rgba(9, 20, 38, .07), 0 3px 10px rgba(9, 20, 38, .06);
    --lift-2: 0 2px 5px rgba(9, 20, 38, .09), 0 14px 32px rgba(9, 20, 38, .11);
    --lift-3: 0 6px 12px rgba(9, 20, 38, .11), 0 28px 64px rgba(9, 20, 38, .16);
    --hs-shadow: rgba(9, 20, 38, .13);
}

/* ---- Hero: a tinted mesh plus the plexus artwork inverted so its
        structure survives on paper instead of turning to grey mud ---- */
:root[data-theme="light"] .hero-canvas {
    background:
        radial-gradient(ellipse 70% 80% at 8% 8%, rgba(11, 99, 206, .20), transparent 60%),
        radial-gradient(ellipse 60% 70% at 92% 0%, rgba(210, 43, 24, .09), transparent 62%),
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(11, 99, 206, .09), transparent 70%);
}

:root[data-theme="light"] .hero-canvas img {
    display: block;
    opacity: .30;
    filter: invert(1) grayscale(1) contrast(1.25);
    mix-blend-mode: multiply;
}

:root[data-theme="light"] .hero-canvas::after {
    background: linear-gradient(180deg, transparent 45%, var(--bg) 100%);
}

:root[data-theme="light"] .scan {
    opacity: .3;
}

:root[data-theme="light"] body::before { opacity: .55; }

/* ---- Elevation on every card surface ---- */
:root[data-theme="light"] .spotlight,
:root[data-theme="light"] .contact-grid {
    box-shadow: var(--lift-2);
    background: var(--line);
}

:root[data-theme="light"] .cell,
:root[data-theme="light"] .step,
:root[data-theme="light"] .pillar,
:root[data-theme="light"] .vision div {
    box-shadow: var(--lift-1);
    border-color: transparent;
}

:root[data-theme="light"] .cell,
:root[data-theme="light"] .step,
:root[data-theme="light"] .pillar,
:root[data-theme="light"] .vision div,
:root[data-theme="light"] .stat-cell,
:root[data-theme="light"] .contact-main,
:root[data-theme="light"] .spot-body {
    background: #FFFFFF;
}

:root[data-theme="light"] .cell:hover,
:root[data-theme="light"] .step:hover,
:root[data-theme="light"] .pillar:hover {
    background: #FFFFFF;
    box-shadow: var(--lift-3);
    z-index: 2;
}

:root[data-theme="light"] .risk-row:hover {
    background: rgba(11, 99, 206, .07);
}

/* Featured + aside panels get an accent tint, not plain grey */
:root[data-theme="light"] .cell-feature,
:root[data-theme="light"] .contact-aside {
    background:
        linear-gradient(160deg, rgba(11, 99, 206, .10), rgba(11, 99, 206, .03)),
        #FFFFFF;
}

/* Stat strip: a real card, with accent numerals */
:root[data-theme="light"] .stat-strip {
    box-shadow: var(--lift-2);
    background: var(--line);
    border-left-color: transparent;
    border-top-color: transparent;
}

/* Pull quote as an accent field */
:root[data-theme="light"] .pullquote {
    background:
        linear-gradient(135deg, rgba(11, 99, 206, .13), rgba(11, 99, 206, .04)),
        #FFFFFF;
    border-color: rgba(11, 99, 206, .26);
    border-left-color: var(--accent);
    box-shadow: var(--lift-1);
}

/* CTA: saturated ink field, white type — the page's loudest moment */
:root[data-theme="light"] .cta-band {
    background:
        radial-gradient(ellipse 80% 140% at 50% 0%, rgba(96, 178, 255, .30), transparent 65%),
        linear-gradient(160deg, #1273E6 0%, #0A46A0 55%, #06306E 100%);
    border-color: transparent;
    box-shadow: var(--lift-3);
    color: #F2F6F9;
}

:root[data-theme="light"] .cta-band h2 { color: #FFFFFF; }
:root[data-theme="light"] .cta-band .lead { color: #D6E6FA; }
:root[data-theme="light"] .cta-band .eyebrow { color: #A8D0FB; }

:root[data-theme="light"] .cta-band .btn-primary {
    --btn-bg: #FFFFFF;
    --btn-ink: #0A46A0;
    --btn-line: #FFFFFF;
}

:root[data-theme="light"] .cta-band .btn-primary::after { background: #DCEAF4; }
:root[data-theme="light"] .cta-band .btn-primary:hover { color: #0A46A0; }

:root[data-theme="light"] .cta-band .btn-ghost {
    --btn-ink: #D9E7F1;
    --btn-line: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .06);
}

:root[data-theme="light"] .cta-band .btn-ghost:hover {
    color: #0A46A0;
    border-color: #FFFFFF;
}

:root[data-theme="light"] .cta-band .btn-ghost::after { background: #FFFFFF; }

/* Buttons carry a little depth on paper */
:root[data-theme="light"] .btn-primary { box-shadow: var(--lift-1); }
:root[data-theme="light"] .btn-ghost { background: #FFFFFF; }

/* Header, chips, fields */
:root[data-theme="light"] .site-head {
    background: color-mix(in srgb, var(--bg) 86%, transparent);
}

:root[data-theme="light"] .site-head.pinned { box-shadow: var(--lift-1); }

:root[data-theme="light"] .chip {
    background: #FFFFFF;
    box-shadow: var(--lift-1);
}

:root[data-theme="light"] .field input,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .field textarea {
    background: #FFFFFF;
    box-shadow: inset 0 1px 2px rgba(16, 22, 29, .04);
}

:root[data-theme="light"] .field input:focus,
:root[data-theme="light"] .field select:focus,
:root[data-theme="light"] .field textarea:focus {
    box-shadow: 0 0 0 3px var(--accent-soft);
}

:root[data-theme="light"] .bar-track { background: var(--surface-3); }
:root[data-theme="light"] .step-letter { -webkit-text-stroke-color: rgba(11, 99, 206, .38); }
:root[data-theme="light"] .step:hover .step-letter { color: rgba(11, 99, 206, .14); }

:root[data-theme="light"] .marquee {
    background: #FFFFFF;
    border-block-color: var(--line);
}

:root[data-theme="light"] .site-foot { background: #FFFFFF; }

/* ============================================================
   CONTRAST BAND
   An ink section dropped into the page. Re-points the tokens
   locally, so every component inside inverts automatically.
   ============================================================ */
.band-ink {
    --bg: #05080D;
    --surface-1: #0D131B;
    --surface-2: #121A24;
    --surface-3: #1A2430;
    --line: rgba(255, 255, 255, .10);
    --line-strong: rgba(255, 255, 255, .22);
    --ink: #F0F3F6;
    --ink-dim: #9AA6B2;
    --ink-mute: #6B7783;
    --accent: #59B0FF;
    --accent-hi: #8ECBFF;
    --accent-soft: rgba(89, 176, 255, .16);
    --signal: #FF6B63;
    --good: #3DD9A4;
    --amber: #F5B544;
    --lift-1: none;
    --lift-2: none;
    --lift-3: none;
    background: var(--bg);
    color: var(--ink);
}

:root[data-theme="light"] .band-ink .stat-cell {
    background: var(--bg);
}

/* Detached cards inside the ink band take its surface, not the page's */
:root[data-theme="light"] .band-ink .cell,
:root[data-theme="light"] .band-ink .pillar,
:root[data-theme="light"] .band-ink .step,
:root[data-theme="light"] .band-ink .vision div {
    background: var(--surface-1);
    border-color: var(--line);
    box-shadow: none;
}

:root[data-theme="light"] .band-ink .stat-strip {
    background: var(--line);
    box-shadow: none;
}

/* ---------- 2. BASE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

img {
    max-width: 100%;
    display: block;
}

/* Inline SVGs sit on the text baseline, which leaves a few px of
   descender space under them and knocks centred overlays off. */
svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

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

/* Ambient page texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
    opacity: .5;
}

/* ---------- 3. LAYOUT ---------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 1;
}

.wrap-narrow {
    max-width: 860px;
}

section {
    position: relative;
    z-index: 1;
    padding-block: var(--bay);
}

.rule {
    height: 1px;
    background: var(--line);
    border: 0;
}

/* ---------- 4. TYPE ---------- */
.eyebrow {
    font-family: var(--f-body);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: .7rem;
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--f-display);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.display {
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: .92;
    letter-spacing: -.045em;
}

.h-xl {
    font-size: clamp(2.2rem, 5.2vw, 4rem);
}

.h-lg {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}

.h-md {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    letter-spacing: -.02em;
}

.lead {
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    color: var(--ink-dim);
    line-height: 1.7;
    max-width: 62ch;
    text-wrap: pretty;
}

.muted {
    color: var(--ink-mute);
}

.accent {
    color: var(--accent);
}

/* Threat vs. trust vocabulary */
.w-risk {
    color: var(--signal);
    font-weight: 600;
}

.w-trust {
    color: var(--accent);
    font-weight: 600;
}

/* ---------- 5. SECTION HEADER ---------- */
.sec-head {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 3.5rem;
}

.sec-head-body>.eyebrow {
    margin-bottom: 1.1rem;
}

.sec-head-body>.lead {
    margin-top: 1.25rem;
}

/* ---------- 6. BUTTONS ---------- */
.btn {
    --btn-bg: transparent;
    --btn-ink: var(--ink);
    --btn-line: var(--line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .92rem 1.7rem;
    font-family: var(--f-body);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.005em;
    background: var(--btn-bg);
    color: var(--btn-ink);
    border: 1px solid var(--btn-line);
    border-radius: var(--r-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* own stacking context, so the wipe below can sit at z-index -1 */
    isolation: isolate;
    transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.btn>* {
    position: relative;
    z-index: 1;
}

/* Wipe fill on hover.
   z-index -1 keeps it above the button's own background but beneath the
   label. Relying on .btn>* instead would hide any label that is a bare
   text node rather than a wrapped <span>. */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}

.btn:hover::after {
    transform: scaleX(1);
}

.btn:hover {
    color: var(--bg);
    border-color: var(--accent);
}

.btn:active {
    transform: translateY(1px);
}

.btn .arw {
    transition: transform .35s var(--ease);
}

.btn:hover .arw {
    transform: translateX(4px);
}

/* Primary — solid, unmistakable */
.btn-primary {
    --btn-bg: var(--accent);
    --btn-ink: #05070A;
    --btn-line: var(--accent);
    font-weight: 700;
}

.btn-primary::after {
    background: var(--accent-hi);
}

.btn-primary:hover {
    color: #05070A;
    border-color: var(--accent-hi);
}

/* Ghost — recedes */
.btn-ghost {
    --btn-line: var(--line);
    --btn-ink: var(--ink-dim);
}

.btn-sm {
    padding: .66rem 1.2rem;
    font-size: .88rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

/* Quiet text link with underline trace */
.link {
    font-family: var(--f-body);
    font-size: .93rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding-bottom: .25rem;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .4s var(--ease);
}

.link:hover {
    background-size: 100% 1px;
}

/* ---------- 7. HEADER ---------- */
.site-head {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: border-color .4s var(--ease), background .4s var(--ease);
}

.site-head.pinned {
    border-bottom-color: var(--line);
}

.head-in {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: .9rem var(--gutter);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    height: 84px;
    width: auto;
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.nav a {
    font-family: var(--f-body);
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink-dim);
    padding: .55rem .8rem;
    border-radius: var(--r-sm);
    position: relative;
    transition: color .3s var(--ease);
}

.nav a::after {
    content: '';
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .3rem;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.head-tools {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: .5rem;
}

.icon-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink-dim);
    cursor: pointer;
    transition: all .3s var(--ease);
}

.icon-btn:hover {
    color: var(--ink);
    border-color: var(--line-strong);
}

.icon-btn svg {
    width: 17px;
    height: 17px;
}

.icon-sun {
    display: none;
}

:root[data-theme="light"] .icon-moon {
    display: none;
}

:root[data-theme="light"] .icon-sun {
    display: block;
}

.burger {
    display: none;
}

/* Mobile drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--gutter);
    gap: .5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
}

.drawer.open {
    opacity: 1;
    visibility: visible;
}

.drawer a {
    font-family: var(--f-display);
    font-size: clamp(1.9rem, 8vw, 3rem);
    font-weight: 700;
    letter-spacing: -.03em;
    padding: .3rem 0;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(14px);
    opacity: 0;
    transition: transform .5s var(--ease), opacity .5s var(--ease);
}

.drawer.open a {
    transform: none;
    opacity: 1;
}

.drawer.open a:nth-child(1) { transition-delay: .06s; }
.drawer.open a:nth-child(2) { transition-delay: .11s; }
.drawer.open a:nth-child(3) { transition-delay: .16s; }
.drawer.open a:nth-child(4) { transition-delay: .21s; }
.drawer.open a:nth-child(5) { transition-delay: .26s; }
.drawer.open a:nth-child(6) { transition-delay: .31s; }
.drawer.open a:nth-child(7) { transition-delay: .36s; }

.drawer-close {
    position: absolute;
    top: 1.4rem;
    right: var(--gutter);
}

/* ---------- 8. HERO ---------- */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-block: 9rem 3rem;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-canvas img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .3;
    filter: saturate(.5) contrast(1.1);
}

/* The plexus photograph is a dark-canvas asset — inverted onto paper it
   turns to grey mud, so light mode drops it for a clean wash instead. */
:root[data-theme="light"] .hero-canvas img {
    display: none;
}

:root[data-theme="light"] .hero-canvas {
    background:
        radial-gradient(ellipse 60% 70% at 12% 20%, rgba(20, 96, 143, .10), transparent 62%),
        radial-gradient(ellipse 50% 60% at 88% 10%, rgba(184, 50, 42, .05), transparent 60%);
}

:root[data-theme="light"] .hero-canvas::after {
    background: linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

:root[data-theme="light"] .scan {
    opacity: .18;
}

.hero-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 15% 40%, var(--accent-soft), transparent 60%),
        linear-gradient(180deg, transparent 20%, var(--bg) 96%);
}

/* Sweeping scan line */
.scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: .3;
    animation: scan 7s linear infinite;
}

@keyframes scan {
    0% { top: 12%; opacity: 0; }
    12% { opacity: .35; }
    88% { opacity: .35; }
    100% { top: 92%; opacity: 0; }
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    align-items: center;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 2rem;
}

/* Plain, centered hero (home) */
.hero-plain-wrap {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-plain-wrap .display {
    margin-block: 1.1rem .9rem;
}

.hero-plain-wrap .lead {
    max-width: 56ch;
    margin-inline: auto;
}

.hero-plain-wrap .btn-row {
    justify-content: center;
    margin-top: 1.8rem;
}

.hero-plain-wrap .proof-rail {
    margin-top: 3.5rem;
    justify-content: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .95rem;
    font-family: var(--f-body);
    font-size: .84rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink-dim);
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}

.chip svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

/* Staggered display headline */
.hero h1 {
    margin-bottom: 1.75rem;
}

.hero h1 .ln {
    display: block;
    overflow: hidden;
}

.hero h1 .ln>span {
    display: block;
    animation: riseIn .9s var(--ease) both;
}

.hero h1 .ln:nth-child(2)>span { animation-delay: .09s; }
.hero h1 .ln:nth-child(3)>span { animation-delay: .18s; }

.hero h1 .ln:last-child>span {
    color: var(--accent);
}

@keyframes riseIn {
    from { transform: translateY(105%); }
    to { transform: translateY(0); }
}

.hero .lead {
    margin-bottom: 2.5rem;
    animation: fadeUp .8s var(--ease) .35s both;
}

.hero .btn-row {
    animation: fadeUp .8s var(--ease) .48s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

/* Proof rail under hero */
.proof-rail {
    margin-top: 4rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    animation: fadeUp .8s var(--ease) .6s both;
}

.proof-rail div {
    font-family: var(--f-body);
    font-size: .88rem;
    color: var(--ink-mute);
}

.proof-rail b {
    display: block;
    font-family: var(--f-display);
    font-size: 1.6rem;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: .2rem;
}

/* Terminal readout */
.term {
    width: 320px;
    background: color-mix(in srgb, var(--surface-1) 88%, transparent);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    backdrop-filter: blur(12px);
    overflow: hidden;
    animation: fadeUp .9s var(--ease) .55s both;
}

.term-bar {
    display: flex;
    gap: .4rem;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--line);
}

.term-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--line-strong);
}

.term-bar i:nth-child(1) { background: #FF5F56; }
.term-bar i:nth-child(2) { background: #FFBD2E; }
.term-bar i:nth-child(3) { background: #27C93F; }

.term-body {
    padding: 1rem;
    font-family: var(--f-mono);
    font-size: .72rem;
    line-height: 2;
    color: var(--ink-dim);
}

.term-body span.p { color: var(--accent); }
.term-body span.ok { color: var(--good); }

.term-body i {
    display: inline-block;
    width: 7px;
    height: 13px;
    background: var(--accent);
    vertical-align: -2px;
    animation: blink 1.1s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ---------- 9. BENTO / CARDS ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1.25rem, 2vw, 1.75rem);
}

[data-panel][hidden] {
    display: none !important;
}

[data-panel]:not([hidden]) {
    display: grid !important;
}

.cell {
    grid-column: span 4;
    background: var(--surface-1);
    padding: clamp(1.6rem, 2.6vw, 2.4rem);
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    scroll-margin-top: 100px;
    transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}

/* Whole-card links (e.g. service summary boxes that navigate to a sub-page) */
a.cell {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.cell-goto {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1.4rem;
    font-family: var(--f-body);
    font-size: .86rem;
    font-weight: 600;
    color: var(--accent);
}

a.cell:hover .cell-goto .arw { transform: translateX(4px); }

.cell:hover {
    background: var(--surface-2);
    border-color: var(--line-strong);
    transform: translateY(-3px);
}

/* Accent trace on hover */
.cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}

.cell:hover::before {
    transform: scaleX(1);
}

.cell-6 { grid-column: span 6; }
.cell-8 { grid-column: span 8; }
.cell-12 { grid-column: span 12; }

.cell-tag {
    font-family: var(--f-body);
    font-size: .82rem;
    font-weight: 500;
    color: var(--ink-mute);
    display: block;
    margin-bottom: 1.1rem;
}

.cell h3 {
    font-size: 1.32rem;
    margin-bottom: .8rem;
}

.cell p {
    color: var(--ink-dim);
    font-size: .95rem;
    line-height: 1.7;
}

.cell-list {
    margin-top: 1.4rem;
    display: grid;
    gap: .6rem;
}

.cell-list li {
    font-size: .87rem;
    color: var(--ink-dim);
    padding-left: 1.3rem;
    position: relative;
}

.cell-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .62em;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

.cell .btn,
.cell .link {
    margin-top: 1.6rem;
}

/* Featured cell */
.cell-feature {
    background: var(--surface-1);
}

.cell-feature::before {
    transform: scaleX(1);
}

/* ---------- 9b. CAPABILITIES SHOWCASE (home #what-we-do) ---------- */
.capabilities-showcase {
    position: relative;
    padding-block: clamp(4.5rem, 9vw, 8rem);
    background:
        radial-gradient(ellipse 65% 55% at 50% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 72%),
        var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.cap-watermark {
    position: absolute;
    top: -0.06em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-display);
    font-size: clamp(4.5rem, 15vw, 12rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    opacity: .04;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    line-height: 1;
}

.capabilities-showcase > .wrap {
    position: relative;
    z-index: 1;
}

.cap-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.eyebrow-badge {
    padding: .4rem .9rem .4rem .7rem;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.eyebrow-badge::before {
    display: none;
}

.eyebrow-badge::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
    order: -1;
    margin-right: .1rem;
}

.cap-count {
    flex: 0 0 auto;
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding-bottom: .4rem;
}

.cap-count-num {
    font-family: var(--f-display);
    font-size: clamp(2.6rem, 4.6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--accent);
    line-height: 1;
}

.cap-count-label {
    font-size: .78rem;
    line-height: 1.35;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.capability-grid .cell {
    --spot-x: 50%;
    --spot-y: 50%;
}

.capability-grid .cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(320px circle at var(--spot-x) var(--spot-y), color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
    opacity: 0;
    transition: opacity .4s var(--ease);
    pointer-events: none;
}

.capability-grid .cell:hover::after {
    opacity: 1;
}

.capability-grid .cell-feature {
    background: linear-gradient(155deg, color-mix(in srgb, var(--accent) 6%, var(--surface-1)), var(--surface-1));
    border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
    box-shadow: 0 20px 60px -20px color-mix(in srgb, var(--accent) 25%, transparent);
}

.capability-grid .cell-feature::before {
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.cell-tag-flagship {
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 720px) {
    .cap-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- 10. THREAT DOSSIER ---------- */
.dossier {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
}

.dossier-col>h3 {
    font-family: var(--f-body);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--ink-mute);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: .5rem;
}

.risk-row {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    gap: 1.2rem;
    align-items: start;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line);
    transition: background .35s var(--ease);
}

.risk-row:hover {
    background: var(--surface-1);
}

.risk-idx {
    font-family: var(--f-mono);
    font-size: .72rem;
    color: var(--ink-mute);
    padding-top: .2rem;
}

.risk-row strong {
    display: block;
    font-family: var(--f-display);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -.015em;
    margin-bottom: .3rem;
}

.risk-row p {
    font-size: .89rem;
    color: var(--ink-dim);
    line-height: 1.6;
}

.risk-op strong { color: var(--signal); }
.risk-st strong { color: var(--accent); }

/* Severity meter */
.sev {
    display: flex;
    gap: 3px;
    margin-top: .7rem;
}

.sev i {
    width: 16px;
    height: 3px;
    background: var(--line-strong);
    border-radius: 1px;
}

.risk-op .sev i.on { background: var(--signal); }
.risk-st .sev i.on { background: var(--accent); }

/* Pull quote */
.pullquote {
    margin-top: 5rem;
    padding: clamp(2rem, 4vw, 3.2rem);
    border: 1px solid var(--line);
    border-left: 2px solid var(--accent);
    border-radius: var(--r-md);
    background: var(--surface-1);
}

.pullquote p {
    font-family: var(--f-display);
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    line-height: 1.3;
    letter-spacing: -.025em;
    text-wrap: balance;
}

/* ---------- 11. BIG STATS ---------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.stat-cell {
    padding: clamp(1.8rem, 3vw, 2.8rem);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat-num {
    font-family: var(--f-display);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.045em;
    color: var(--accent);
    display: block;
    margin-bottom: .9rem;
}

.stat-cell p {
    font-size: .9rem;
    color: var(--ink-dim);
    line-height: 1.6;
}

/* ---------- 12. ABC STEPPER ---------- */
/* ABC diagram: sits above the three stage cards as a visual summary */
.abc-figure {
    max-width: 720px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface-1);
}

.abc-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 1.6vw, 1.5rem);
    position: relative;
}

.step {
    background: var(--surface-1);
    padding: clamp(1.8rem, 3vw, 2.6rem);
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}

.step:hover {
    background: var(--surface-2);
    border-color: var(--line-strong);
    transform: translateY(-3px);
}

.step-letter {
    font-family: var(--f-display);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.06em;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-strong);
    display: block;
    margin-bottom: 1.4rem;
    transition: color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease);
}

.step:hover .step-letter {
    color: var(--accent-soft);
    -webkit-text-stroke-color: var(--accent);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: .35rem;
}

.step-sub {
    font-family: var(--f-body);
    font-size: .92rem;
    color: var(--ink-mute);
    margin-bottom: 1.5rem;
}

.step ul {
    display: grid;
    gap: .65rem;
    margin-bottom: 1.8rem;
}

.step li {
    font-size: .9rem;
    color: var(--ink-dim);
    padding-left: 1.4rem;
    position: relative;
}

.step li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .58em;
    width: 7px;
    height: 7px;
    border: 1px solid var(--accent);
    border-radius: 50%;
}

/* ---------- 13. APPROACH ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 1.6vw, 1.5rem);
}

.pillar {
    background: var(--surface-1);
    padding: clamp(1.8rem, 3vw, 2.6rem);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.6rem;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}

.pillar:hover {
    background: var(--surface-2);
    border-color: var(--line-strong);
    transform: translateY(-3px);
}

.pillar-n {
    font-family: var(--f-mono);
    font-size: .78rem;
    color: var(--accent);
    padding-top: .35rem;
}

.pillar h4 {
    font-size: 1.16rem;
    margin-bottom: .6rem;
}

.pillar p {
    font-size: .92rem;
    color: var(--ink-dim);
    line-height: 1.7;
}

/* Vision contrast pairs */
.vision {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 1.6vw, 1.5rem);
}

.vision div {
    background: var(--surface-1);
    padding: clamp(1.5rem, 2.6vw, 2.2rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.vision b {
    display: block;
    font-family: var(--f-display);
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--accent);
    margin-bottom: .35rem;
}

.vision span {
    font-family: var(--f-body);
    font-size: .92rem;
    color: var(--ink-mute);
}

.vision s {
    color: var(--signal);
    text-decoration: none;
}

/* ---------- 14. MARQUEE ---------- */
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    padding-block: 1.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    gap: 3.5rem;
    width: max-content;
    animation: slide 32s linear infinite;
}

.marquee span {
    font-family: var(--f-body);
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink-mute);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3.5rem;
}

.marquee span::after {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

@keyframes slide {
    to { transform: translateX(-50%); }
}

/* ---------- 15. SPOTLIGHT (HawkSight) ---------- */
.spotlight {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.spot-body {
    background: var(--bg);
    padding: clamp(2rem, 4vw, 3.4rem);
}

/* Deliberately dark in both themes: the HawkSight artwork is a glow on
   black, so it only reads on a dark ground. Treated as a product tile. */
.spot-visual {
    background:
        radial-gradient(ellipse 70% 70% at 50% 40%, rgba(45, 212, 226, .10), transparent 70%),
        #0B1016;
    padding: clamp(2rem, 4vw, 3.4rem);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.spot-visual .muted,
.spot-visual .sectors span {
    color: #8A97A3;
}

.spot-visual .sectors span {
    border-color: rgba(255, 255, 255, .14);
}

.spot-visual .dial-mid b { color: #F0F3F6; }
.spot-visual .dial-track { stroke: rgba(255, 255, 255, .10); }

.spot-hawk {
    width: min(300px, 70%);
    margin-inline: auto;
    margin-bottom: -1rem;
    filter: drop-shadow(0 0 40px rgba(45, 212, 226, .25));
}

.spot-body h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    margin-block: 1rem .6rem;
}

.bars {
    display: grid;
    gap: 1rem;
    margin-block: 2rem;
}

.bar-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr 2.6rem;
    gap: 1rem;
    align-items: center;
    font-family: var(--f-body);
    font-size: .88rem;
    color: var(--ink-dim);
}

.bar-track {
    height: 4px;
    background: var(--surface-3);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: var(--w);
    border-radius: 2px;
    transform-origin: left;
    animation: growBar 1.2s var(--ease) both;
}

@keyframes growBar {
    from { transform: scaleX(0); }
}

.bar-good { background: var(--good); }
.bar-mid { background: var(--amber); }
.bar-bad { background: var(--signal); }

/* Score dial */
.dial {
    width: min(230px, 60vw);
    position: relative;
}

/* block, or the inline baseline gap makes .dial taller than the ring
   and everything centred inside it lands low */
.dial svg {
    display: block;
    width: 100%;
    transform: rotate(-90deg);
}

.dial-track { stroke: var(--surface-3); }

.dial-fill {
    stroke: var(--amber);
    stroke-linecap: round;
    stroke-dasharray: 302;
    stroke-dashoffset: 302;
    animation: dialIn 1.6s var(--ease) .3s forwards;
}

@keyframes dialIn {
    to { stroke-dashoffset: 106; }
}

.dial-mid {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    /* Centring the numeral+caption as a group leaves the numeral sitting
       high. Nudge down by half the caption so the score itself is on centre. */
    transform: translateY(calc((0.3rem + 0.72rem) / 2));
}

.dial-mid b {
    display: block;
    font-family: var(--f-display);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
}

.dial-mid span {
    display: block;
    margin-top: 0.3rem;
    font-family: var(--f-mono);
    font-size: .72rem;
    line-height: 1;
    color: var(--ink-mute);
}

.sectors {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
    margin-top: 2rem;
}

.sectors span {
    font-family: var(--f-body);
    font-size: .82rem;
    padding: .35rem .7rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink-dim);
}

/* ---------- 16. CTA BAND ---------- */
.cta-band {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background:
        radial-gradient(ellipse 70% 130% at 50% 0%, var(--accent-soft), transparent 70%),
        var(--surface-1);
    padding: clamp(2.5rem, 6vw, 5rem);
    text-align: center;
}

.cta-band .eyebrow {
    justify-content: center;
    margin-bottom: 1.4rem;
}

.cta-band h2 {
    margin-bottom: 1rem;
}

.cta-band .lead {
    margin-inline: auto;
    margin-bottom: 2.2rem;
}

.cta-band .btn-row {
    justify-content: center;
}

/* ---------- 17. CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.contact-aside,
.contact-main {
    background: var(--bg);
    padding: clamp(1.8rem, 3.5vw, 3rem);
}

.contact-aside {
    background: var(--surface-1);
}

.kv {
    padding-block: 1.3rem;
    border-bottom: 1px solid var(--line);
}

.kv:last-of-type { border-bottom: 0; }

.kv span {
    display: block;
    font-family: var(--f-body);
    font-size: .86rem;
    color: var(--ink-mute);
    margin-bottom: .4rem;
}

.kv b,
.kv a {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    transition: color .3s var(--ease);
}

.kv a:hover { color: var(--accent); }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.field { display: block; }
.field-full { grid-column: 1 / -1; }

.field span {
    display: block;
    font-family: var(--f-body);
    font-size: .88rem;
    font-weight: 500;
    color: var(--ink-dim);
    margin-bottom: .55rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .85rem 1rem;
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: .93rem;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}

.field textarea {
    min-height: 128px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-mute); }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-2);
}

.field select { cursor: pointer; }
.field select option { background: var(--surface-2); }

.form-note {
    grid-column: 1 / -1;
    font-family: var(--f-body);
    font-size: .84rem;
    color: var(--ink-mute);
    text-align: center;
}

/* ---------- 17b. CONTACT BOX ---------- */
.contact-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.contact-form {
    background: var(--bg);
    padding: clamp(1.8rem, 3vw, 2.6rem);
}

.form-footer {
    margin-top: 1.6rem;
}

.contact-info {
    background: var(--surface-1);
    padding: clamp(1.8rem, 3vw, 2.6rem);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-block h5 {
    font-family: var(--f-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: .5rem;
}

.info-link {
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.info-link:hover { color: var(--accent); }

.info-text {
    font-size: .9rem;
    color: var(--ink-dim);
    line-height: 1.6;
}

@media (max-width: 860px) {
    .contact-box { grid-template-columns: 1fr; }
}

/* ---------- 18. FOOTER ---------- */
.site-foot {
    border-top: 1px solid var(--line);
    padding-block: 4rem 2.5rem;
    position: relative;
    z-index: 1;
}

.foot-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
}

.foot-top img { height: 46px; margin-bottom: 1.2rem; }

.foot-top p {
    color: var(--ink-dim);
    font-size: .92rem;
    max-width: 34ch;
}

.foot-col h5 {
    font-family: var(--f-body);
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-mute);
    margin-bottom: 1.1rem;
}

.foot-col a {
    display: block;
    font-size: .92rem;
    color: var(--ink-dim);
    padding-block: .35rem;
    transition: color .3s var(--ease);
}

.foot-col a:hover { color: var(--accent); }

.foot-btm {
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    font-family: var(--f-body);
    font-size: .87rem;
    color: var(--ink-mute);
}

/* ---------- 19. REVEAL ---------- */
.rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.rv.in {
    opacity: 1;
    transform: none;
}

.rv-d1 { transition-delay: .07s; }
.rv-d2 { transition-delay: .14s; }
.rv-d3 { transition-delay: .21s; }
.rv-d4 { transition-delay: .28s; }
.rv-d5 { transition-delay: .35s; }
.rv-d6 { transition-delay: .42s; }
.rv-d7 { transition-delay: .49s; }

/* ---------- 20. RESPONSIVE ---------- */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; }
    .term { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .spotlight { grid-template-columns: 1fr; }
    .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav { display: none; }
    .burger { display: grid; }

    /* .nav carried the auto margin; hand it to the tools */
    .head-tools { margin-left: auto; }

    .cell { grid-column: span 6; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .vision { grid-template-columns: repeat(2, 1fr); }
    .stepper { grid-template-columns: 1fr; }
    .dossier { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .sec-head {
        padding-bottom: 2.2rem;
        margin-bottom: 2.6rem;
    }

    .cell { grid-column: span 12; }
    .pillars { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .foot-top { grid-template-columns: 1fr; }
    .proof-rail { gap: 1.5rem 2rem; }
    .btn { width: 100%; }
    .btn-row { flex-direction: column; }
    .hero { padding-top: 7.5rem; }
}

@media (max-width: 460px) {
    .stat-strip { grid-template-columns: 1fr; }
    .vision { grid-template-columns: 1fr; }
    .bar-row { grid-template-columns: 4.5rem 1fr 2.4rem; }
}

/* ============================================================
   22. COMPAT LAYER
   The HawkSight product page keeps its own bespoke visuals
   (hawksight-visuals.css). These map its legacy structural
   classes onto the v2 design language.
   ============================================================ */
.container,
.container-wide {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 1;
}

.container { max-width: 1080px; }

.btn-outline {
    --btn-line: var(--line);
    --btn-ink: var(--ink-dim);
}

.section-header {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 3.5rem;
}

.section-subtitle {
    font-family: var(--f-body);
    font-size: .88rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.1rem;
}

.section-subtitle::before {
    content: '';
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

.section-main-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.section-description-text {
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    color: var(--ink-dim);
    line-height: 1.7;
    max-width: 62ch;
    margin-top: 1.25rem;
}

/* The v1 stylesheet lit headings with a neon glow; v2 states
   emphasis through weight and scale instead. */
.glow-text { color: var(--ink); }

.reveal,
.reveal-stagger {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.active,
.reveal-stagger.active {
    opacity: 1;
    transform: none;
}

/* ---------- 21. MOTION SAFETY ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .rv,
    .reveal,
    .reveal-stagger { opacity: 1; transform: none; }
}


/* ============================================================
   HAWKSIGHT IN LIGHT MODE
   The product page themes like the rest of the site. Only the
   hero keeps a dark ground, because the hawk and radar are glow
   artwork that cannot composite onto paper.
   ============================================================ */
:root[data-theme="light"] .hs-features-section,
:root[data-theme="light"] .hs-modules-section,
:root[data-theme="light"] .hs-pipeline-section,
:root[data-theme="light"] .hs-dashboard-section,
:root[data-theme="light"] .hs-pricing-section,
:root[data-theme="light"] .hs-stats-section {
    background: var(--bg);
}

:root[data-theme="light"] .hs-modules-section,
:root[data-theme="light"] .hs-dashboard-section {
    background: var(--surface-3);
}

:root[data-theme="light"] .hs-feature-card,
:root[data-theme="light"] .hs-hex-front,
:root[data-theme="light"] .hs-hex-back,
:root[data-theme="light"] .hs-price-card,
:root[data-theme="light"] .hs-dash-window,
:root[data-theme="light"] .hs-step-visual {
    background: #FFFFFF;
    box-shadow: var(--lift-1);
}

:root[data-theme="light"] .hs-feature-card:hover,
:root[data-theme="light"] .hs-price-card:hover {
    box-shadow: var(--lift-3);
}

/* Glow effects read as smudges on paper */
:root[data-theme="light"] .hs-hero-title,
:root[data-theme="light"] .hs-stat-number,
:root[data-theme="light"] .hs-dash-score-num {
    text-shadow: none;
}

:root[data-theme="light"] .hs-badge {
    background: #FFFFFF;
    box-shadow: var(--lift-1);
}

/* Hero stays on its dark ground in both themes */
.hs-hero {
    --bg: #08090C;
    --surface-1: #11161D;
    --surface-2: #151B23;
    --ink: #F0F3F6;
    --ink-dim: #9AA6B2;
    --text-primary: var(--ink);
    --text-secondary: var(--ink-dim);
    --accent: #7FBEE8;
    /* must travel with --accent: it is the primary button's hover fill.
       Left at the light-theme value it goes dark and swallows the label. */
    --accent-hi: #A5D6F7;
    --accent-soft: rgba(127, 190, 232, .16);
    --cyber-blue: #7FBEE8;
    --good: #3DD9A4;
    --signal: #FF6B63;
    --amber: #F5B544;
}

:root[data-theme="light"] .hs-hero .btn-primary {
    --btn-bg: #7FBEE8;
    --btn-ink: #08090C;
    --btn-line: #7FBEE8;
}

:root[data-theme="light"] .hs-hero .btn-outline,
:root[data-theme="light"] .hs-hero .btn-ghost {
    --btn-ink: #C8D6E2;
    --btn-line: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .05);
}

/* Chips inside the dark hero follow the hero's ground, not the page's */
/* Chips inside the dark hero follow the hero's ground, not the page's */
:root[data-theme="light"] .hs-hero .chip {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
    color: #C8D6E2;
    box-shadow: none;
}

/* ---------- 23. DEFENSE COMMAND CENTER (CAPABILITIES SHOWCASE) ---------- */
.cmd-center {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.cmd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cmd-group-title {
    font-family: var(--f-body);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
    margin-bottom: .6rem;
    padding-left: .4rem;
}

.cmd-nav {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.cmd-btn {
    width: 100%;
    text-align: left;
    padding: .9rem 1.1rem;
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cmd-btn:hover {
    background: var(--surface-2);
    border-color: var(--line-strong);
}

.cmd-btn.active {
    background: var(--surface-2);
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
}

.cmd-btn-title {
    font-family: var(--f-display);
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
}

.cmd-btn.active .cmd-btn-title {
    color: var(--accent);
}

.cmd-btn-tag {
    font-size: .72rem;
    padding: .2rem .55rem;
    border-radius: var(--r-sm);
    background: var(--surface-3);
    color: var(--ink-mute);
}

.cmd-btn.active .cmd-btn-tag {
    background: var(--accent-soft);
    color: var(--accent);
}

/* Inspector Panel */
.cmd-inspector {
    background: var(--surface-1);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    padding: clamp(2rem, 3.5vw, 2.8rem);
    position: relative;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .4);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.cmd-card-header {
    margin-bottom: 1.5rem;
}

.cmd-badge {
    display: inline-block;
    font-family: var(--f-body);
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    padding: .3rem .8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.cmd-card-title {
    font-family: var(--f-display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .6rem;
    letter-spacing: -.02em;
}

.cmd-card-lead {
    font-size: 1.05rem;
    color: var(--ink-dim);
    line-height: 1.6;
}

.cmd-block {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.cmd-block-label {
    font-family: var(--f-body);
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-mute);
    margin-bottom: .8rem;
}

.cmd-deliverables {
    display: grid;
    gap: .75rem;
}

.cmd-deliverable-item {
    font-size: .94rem;
    color: var(--ink);
    line-height: 1.5;
    padding-left: 1.4rem;
    position: relative;
}

.cmd-deliverable-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.cmd-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.cmd-fit-tag {
    font-size: .78rem;
    padding: .25rem .7rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink-dim);
}

@media (max-width: 960px) {
    .cmd-center {
        grid-template-columns: 1fr;
    }
}

/* ---------- 24. OUTCOME-DRIVEN TIER CARDS ---------- */
.tier-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.tier-card {
    background: var(--surface-1);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    padding: clamp(2rem, 3.5vw, 3rem);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
    transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}

.tier-card:hover {
    background: var(--surface-2);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.tier-card-flagship {
    background: linear-gradient(155deg, color-mix(in srgb, var(--accent) 8%, var(--surface-1)), var(--surface-1));
    border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
    box-shadow: 0 20px 60px -20px color-mix(in srgb, var(--accent) 20%, transparent);
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tier-badge {
    font-family: var(--f-body);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
    background: var(--accent-soft);
    padding: .35rem .85rem;
    border-radius: 999px;
}

.tier-title {
    font-family: var(--f-display);
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: .4rem;
}

.tier-subtitle {
    font-size: 1.05rem;
    color: var(--ink-dim);
    line-height: 1.6;
}

.tier-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}

.tier-outcome-box {
    background: color-mix(in srgb, var(--accent) 5%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
    border-radius: var(--r-md);
    padding: 1.5rem;
}

.tier-outcome-box h4 {
    font-family: var(--f-body);
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
    margin-bottom: .6rem;
}

.tier-outcome-box p {
    font-size: .96rem;
    color: var(--ink);
    line-height: 1.6;
}

.tier-deliverables-title {
    font-family: var(--f-body);
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-mute);
    margin-bottom: 1rem;
}

.tier-deliverable-list {
    display: grid;
    gap: .8rem;
}

.tier-deliverable-item {
    font-size: .94rem;
    color: var(--ink);
    line-height: 1.5;
    padding-left: 1.4rem;
    position: relative;
}

.tier-deliverable-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.tier-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
    .tier-grid {
        grid-template-columns: 1fr;
    }
}
