/* BLACKFISH SOLUTIONS INC. - WEBSITE STYLESHEET
   Built on the HD Identity System (see /style.css for the brand kit tokens)
*/

:root {
    /* Brand palette */
    --void: #0A0605;
    --void-2: #120B08;
    --surface: #17100B;
    --surface-2: #1E150E;
    --gold: #F6A916;
    --gold-deep: #B87D1A;
    --plasma: #FFE893;
    --bronze: #6E4112;
    --text: #E2E8F0;
    --text-muted: #A89F95;
    --line: rgba(246, 169, 22, 0.16);
    --line-strong: rgba(246, 169, 22, 0.45);

    /* Typography */
    --font-tech: 'Orbitron', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Effects */
    --glow: 0 0 24px rgba(246, 169, 22, 0.25);
    --glow-intense: 0 0 25px rgba(255, 232, 147, 0.5), 0 0 50px rgba(246, 169, 22, 0.3);
    --radius: 14px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --container: 1180px;
    --header-h: 72px;

    color-scheme: dark;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--void);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--void); }

:focus-visible {
    outline: 2px solid var(--plasma);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    background: var(--gold);
    color: var(--void);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */

h1, h2, h3 {
    margin: 0;
    color: #fff;
    line-height: 1.15;
}

h1, h2 { font-family: var(--font-tech); letter-spacing: 0.02em; }

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-tech);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.gold-text {
    background: linear-gradient(180deg, var(--plasma) 0%, var(--gold) 55%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--text-muted);
    max-width: 58ch;
}

.section { padding-block: clamp(72px, 10vw, 120px); position: relative; }
.section.flush-top { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin-top: 14px; margin-bottom: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 6px;
    font-family: var(--font-tech);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold-deep), var(--gold) 55%, var(--plasma));
    color: var(--void);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-intense); }

.btn-ghost {
    background: transparent;
    color: var(--plasma);
    border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(246, 169, 22, .1); border-color: var(--gold); }

/* Small uppercase tech label (product categories, executive titles) */
.label {
    display: block;
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--header-h);
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(10, 6, 5, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong {
    font-family: var(--font-tech);
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
}
.brand-name span {
    font-family: var(--font-tech);
    font-size: 0.55rem;
    letter-spacing: 0.42em;
    color: var(--gold);
    margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    font-size: 0.92rem;
    color: var(--text-muted);
    position: relative;
    padding-block: 6px;
    transition: color .2s;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: 0 18px; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    margin-left: -10px;
    background: var(--plasma);
    transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 80px;
    overflow: hidden;
    isolation: isolate;
}

#network-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .75;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(60% 60% at 75% 40%, rgba(246, 169, 22, .14), transparent 70%),
        radial-gradient(40% 50% at 10% 90%, rgba(110, 65, 18, .25), transparent 70%),
        var(--void);
}
.hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, var(--void));
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero h1 { margin-block: 20px 22px; }
.hero .lead { margin-bottom: 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

.hero-visual { position: relative; }
.hero-visual .frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6), var(--glow);
    aspect-ratio: 16 / 10;
    animation: float 7s ease-in-out infinite;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 6, 5, .65));
    pointer-events: none;
}

.status-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(18, 11, 8, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
    font-size: 0.82rem;
    line-height: 1.3;
}
.status-chip strong { display: block; color: #fff; font-weight: 600; }
.status-chip span { color: var(--text-muted); font-size: 0.75rem; }
.status-chip.one { left: -28px; bottom: 34px; }
.status-chip.two { right: -20px; top: 28px; }

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
    animation: pulse 2s infinite;
    flex: none;
}
.chip-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(246, 169, 22, .12);
    color: var(--gold);
    flex: none;
}
.chip-icon svg { width: 18px; height: 18px; }

/* ---------- Products (GnoSentry family) ---------- */

.family-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.family-name {
    font-family: var(--font-tech);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-block: 6px 4px;
}
.family-tag {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--plasma);
}
.family-name .tm, .product-name .tm { font-size: 0.4em; line-height: 0; vertical-align: 1.1em; margin-left: 2px; color: var(--gold); }
.product-name .tm { font-size: 0.5em; }
.product-family > p { max-width: 70ch; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.product { display: flex; flex-direction: column; position: relative; background: rgba(10, 6, 5, .55); }
.product-name {
    margin: 0 0 6px;
    font-family: var(--font-tech);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}
.product p { margin-block: 14px 24px; }
.product-foot { margin-top: auto; }

/* The whole ExoGnoSec card is clickable through its CTA */
.product-cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.product-cta svg { flex: none; }
.product.is-link:hover .btn-ghost { background: rgba(246, 169, 22, .1); border-color: var(--gold); }
.product.is-link:hover .btn-ghost svg { transform: translateX(3px); }
.product.is-soon:hover { transform: none; box-shadow: none; border-color: var(--line); }

/* Enabling services: dashed cards under a labelled divider, distinct from the core products */
.enablers-head { display: flex; align-items: center; gap: 16px; margin: 40px 0 20px; }
.enablers-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.enablers { grid-template-columns: repeat(2, 1fr); }
.product.is-enabler { border-style: dashed; background: rgba(10, 6, 5, .35); }
.product.is-enabler p { margin-bottom: 0; }

.status-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px dashed var(--line-strong);
    border-radius: 999px;
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- Pillars / Services ---------- */

.pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.pillar {
    position: relative;
    background: linear-gradient(180deg, var(--surface), var(--void-2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(28px, 4vw, 44px);
    overflow: hidden;
}
.pillar::before {
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 169, 22, .14), transparent 70%);
    pointer-events: none;
}

.pillar-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pillar-head h3 {
    font-family: var(--font-tech);
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pillar > p { color: var(--text-muted); margin-bottom: 28px; }

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(246, 169, 22, .08);
    border: 1px solid var(--line-strong);
    color: var(--gold);
    box-shadow: var(--glow);
    flex: none;
}
.icon-box svg { width: 24px; height: 24px; }

.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.service-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}
.service-list svg { width: 18px; height: 18px; color: var(--gold); margin-top: 4px; }
.service-list strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.service-list span { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Approach ---------- */

.approach, .who { background: linear-gradient(180deg, var(--void), var(--void-2) 50%, var(--void)); }

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--bronze) 50%, var(--gold));
    opacity: .5;
}

.step { position: relative; counter-increment: step; }
.step-num {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--void);
    border: 1px solid var(--gold);
    font-family: var(--font-tech);
    font-weight: 700;
    color: var(--plasma);
    margin-bottom: 22px;
    box-shadow: var(--glow);
    position: relative;
}
.step-num::before { content: "0" counter(step); }
.step h3 {
    font-family: var(--font-tech);
    font-size: 1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.step p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Why ---------- */

.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}
.why-grid .section-head { margin-bottom: 32px; }

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--glow); }
.feature .icon-box { width: 44px; height: 44px; margin-bottom: 18px; box-shadow: none; }
.feature .icon-box svg { width: 20px; height: 20px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

.pledge {
    border-left: 2px solid var(--gold);
    padding: 6px 0 6px 22px;
    color: var(--text);
    font-size: 1.05rem;
    font-style: italic;
    max-width: 44ch;
}

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    border-radius: 20px;
    padding: clamp(36px, 6vw, 64px);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background:
        linear-gradient(100deg, rgba(10, 6, 5, .95) 30%, rgba(10, 6, 5, .55)),
        url("../assets/hero-fish-900.jpg") right center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); max-width: 52ch; }

/* ---------- Contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
}
.contact-title { margin-block: 14px 18px; }

.contact-info { display: grid; gap: 18px; margin-top: 36px; list-style: none; padding: 0; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .icon-box { width: 44px; height: 44px; box-shadow: none; }
.contact-info .icon-box svg { width: 20px; height: 20px; }
.contact-info small {
    display: block;
    font-family: var(--font-tech);
    font-size: 0.65rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2px;
}
.contact-info a:hover { color: var(--plasma); }
.contact-note { margin-top: 28px; font-size: 0.92rem; color: var(--text-muted); max-width: 52ch; }

/* Inline text link (form notice, legal pages) */
.text-link { color: var(--plasma); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.text-link:hover { color: #fff; text-decoration-color: var(--gold); }

.form-card {
    background: linear-gradient(180deg, var(--surface), var(--void-2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 40px);
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field label .opt { color: var(--text-muted); font-weight: 400; }

.field input, .field select, .field textarea {
    width: 100%;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(110, 65, 18, .8);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6A916' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select option { background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: #6b625a; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(246, 169, 22, .18);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #F87171; }

/* Optional consent checkbox */
.check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: var(--text-muted); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); cursor: pointer; }
.check .opt { color: var(--text-muted); opacity: .8; }

/* Honeypot: off-screen rather than display:none, which some bots detect */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.turnstile-slot { margin-top: 20px; min-height: 65px; }
.turnstile-slot[hidden] { display: none; }

.form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.form-foot p { flex: 1 1 280px; font-size: 0.82rem; color: var(--text-muted); max-width: 52ch; }

.form-status {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.92rem;
    display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .4); color: #BBF7D0; }
.form-status.err { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: #FECACA; }

/* ---------- Who We Are ---------- */

.who-block + .who-block {
    margin-top: clamp(64px, 8vw, 96px);
    padding-top: clamp(64px, 8vw, 96px);
    border-top: 1px solid var(--line);
}

.sub-head { margin-bottom: 32px; }
.sub-head h3 {
    font-family: var(--font-tech);
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.sub-head p { color: var(--text-muted); max-width: 58ch; margin-top: 10px; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.member {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--surface), var(--void-2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

/* Photo slot: 4:5 portrait. Drop an <img> in here to replace the placeholder. */
.member-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(246, 169, 22, .12), transparent 65%),
        var(--void-2);
    border-bottom: 1px solid var(--line);
    color: var(--gold-deep);
}
.member-photo svg { width: 64px; height: 64px; }
.member-photo span {
    font-family: var(--font-tech);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: var(--text-muted);
}
.member-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.member-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.member-name { margin: 0 0 6px; font-size: 1.1rem; font-weight: 600; line-height: 1.3; color: #fff; }
.member-bio { color: var(--text-muted); font-size: 0.92rem; margin-top: 14px; }

.member-meta { margin: 18px 0 0; font-size: 0.88rem; }
.member-meta dt {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-weight: 600;
    color: var(--text);
}
.member-meta dd { margin: 2px 0 12px; color: var(--text-muted); }

.member-link {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}
a.member-link { color: var(--plasma); }
a.member-link:hover { color: #fff; }

.credentials-empty {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: rgba(246, 169, 22, .03);
    color: var(--text-muted);
}
.credentials-empty .icon-box { box-shadow: none; }

.mission {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.45;
    color: #fff;
    margin-bottom: 28px;
    max-width: 40ch;
}

.office-info { grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 0; }

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding-block: 56px 32px;
    background: var(--void-2);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 44px;
}
.footer-grid p { color: var(--text-muted); font-size: 0.95rem; margin-top: 16px; max-width: 36ch; }
.footer-grid h4 {
    margin: 0 0 14px;
    font-family: var(--font-tech);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text-muted); font-size: 0.95rem; }
.footer-grid ul a:hover { color: var(--plasma); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-ip-notice {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-muted);
    opacity: 0.7;
    max-width: 62ch;
}

/* ---------- Legal pages (privacy.html, terms.html) ---------- */

.legal { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)); }
.legal-body { max-width: 780px; }
.legal-body h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-block: 14px 12px; }
.legal-meta { color: var(--text-muted); font-size: 0.9rem; }

.review-banner {
    margin-block: 28px 36px;
    padding: 16px 18px;
    border: 1px dashed var(--line-strong);
    border-radius: 10px;
    background: rgba(246, 169, 22, .06);
    font-size: 0.92rem;
    color: var(--text-muted);
}
.review-banner strong { color: var(--plasma); }

.legal-toc { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal-toc h2 { margin: 0 0 10px; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.legal-toc ol { margin: 0; padding-left: 1.4em; columns: 2 240px; column-gap: 32px; font-size: 0.92rem; }
.legal-toc li { break-inside: avoid; padding-block: 3px; }
.legal-toc li::marker { color: var(--gold); }
.legal-toc a { color: var(--text-muted); }
.legal-toc a:hover { color: var(--plasma); }

.legal-body section h2 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin: 48px 0 14px; }
.legal-body h3 { font-size: 1rem; margin: 24px 0 8px; }
.legal-body p + p, .legal-body ul + p, .legal-body p + ul { margin-top: 14px; }
.legal-body ul { padding-left: 1.2em; margin-block: 14px 0; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--gold); }
.legal-body strong { color: #fff; font-weight: 600; }

/* Visible placeholder for facts the business/legal team must supply */
.tbc {
    background: rgba(246, 169, 22, .14);
    color: var(--plasma);
    padding: 1px 6px;
    border: 1px dashed var(--line-strong);
    border-radius: 4px;
    font-size: 0.9em;
    overflow-wrap: anywhere;
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Animations ---------- */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

/* Menu collapses here: six links plus the CTA need ~1000px of header width */
@media (max-width: 1100px) {
    .nav-toggle { display: block; }
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 24px;
        background: var(--void);
        box-shadow: 0 24px 40px rgba(0, 0, 0, .6);
        border-bottom: 1px solid var(--line);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }
    .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
    .nav-open .site-header { background: rgba(10, 6, 5, .97); }
    .nav-links { flex-direction: column; gap: 4px; }
    .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; }
    .nav-links a::after { display: none; }
}

@media (max-width: 1024px) {
    .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 640px; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .team, .office-info { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
    .pillars, .features, .products, .enablers { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .container { padding-inline: 16px; }
    .brand img { width: 44px; }
    .brand-name strong { font-size: 0.92rem; }
    .steps { grid-template-columns: 1fr; }
    .form-grid, .team, .office-info { grid-template-columns: 1fr; }
    .member-photo { aspect-ratio: 1; }
    .family-head, .credentials-empty { flex-direction: column; align-items: flex-start; }
    .product-family { padding: 22px 16px; }
    .product { padding: 22px 20px; }
    .product-cta { width: 100%; padding-inline: 16px; white-space: normal; }
    .status-chip.one { left: 10px; bottom: 10px; }
    .status-chip.two { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .cta-band .btn { width: 100%; }
}
