/* ═══════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════ */
:root {
    --bg:         #000000;
    --bg-alt:     #000000;
    --surface:    #220c0c66;
    --surface2:   #111111;
    --surface3:   #171717;
    --border:     rgb(139 49 70 / 18%);
    --border-hi:  rgb(130 51 51 / 25%);
    --red:        #db061d;
    --red-dim:    rgba(184, 25, 42, .10);
    --red-mid:    rgba(184, 25, 42, .22);
    --red-glow:   rgba(184, 25, 42, .35);
    --text:       #dce6ef;
    --text-hi:    #ffffff;
    --muted:      #d2deec;
    --muted2:     #ff1313;
    --green:      #1a9e5c;
    --green-dim:  rgba(26, 158, 92, .14);
    --amber:      #c8820f;
    --blue:       #2a6cb5;
    --sans:       'Poppins', system-ui, sans-serif;
    --mono:       'JetBrains Mono', monospace;
    --radius:     6px;
    --radius-lg:  12px;
    --transition: .18s ease;
    --hover-glow: 0 0 24px rgb(195 9 29 / 26%), 0 0 1px rgba(184, 25, 42, .35);
    --hover-glow-green: 0 0 24px rgb(26 158 92 / 32%), 0 0 1px rgba(26, 158, 92, .45);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; /* margin: 0; */ padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--bg); }
body {
    font-family: var(--sans);
    background: transparent;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Matrix rain background — red, alleen in hero-zone */
.mx-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    opacity: .42;
}

/* ═══════════════════════════════════════════════
   NAVIGATION (agent-aix.com style)
═══════════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .6) 80%, transparent 100%);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(219, 6, 29, .15);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 40px;
    color: var(--text-hi);
    text-decoration: none;
}

.nav-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: 0;
}

.nav-brand-name {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-brand-tag {
    margin-top: 4px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: clamp(18px, 2.2vw, 36px);
    align-items: center;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #b8b8b8;
    text-decoration: none;
    transition: color .2s;
    font-weight: 500;
}

.nav-links .nav-sep {
    color: var(--red);
    font-size: 14px;
    line-height: 1;
    user-select: none;
}

.nav-links a:hover { color: var(--red) !important; }
.nav-links a:active { color: #555 !important; }

.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
}

.lang-btn {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: #f6f6f6;
    text-transform: uppercase;
    background: rgba(219, 6, 29, 0.08);
    border: 1px solid rgba(219, 6, 29, 0.35);
    padding: 0.22rem 0.55rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    line-height: 1;
    white-space: nowrap;
}

.lang-btn:hover { background: rgba(219, 6, 29, 0.2); }

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    background: #0a0a0a;
    border: 1px solid rgba(219, 6, 29, 0.35);
    min-width: 64px;
    z-index: 9999;
}

.lang-dropdown.open { display: block; }

.lang-dropdown a {
    display: block;
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.lang-dropdown a:hover,
.lang-dropdown a.lang-active {
    color: #fff;
    background: rgba(219, 6, 29, 0.14);
}

@media (max-width: 760px) {
    .nav-links { display: none; }
    nav { padding: 12px 20px; }
    .nav-brand-tag { display: none; }
    .nav-logo img { height: 30px; }
}

@media (max-width: 420px) {
    .lang-switcher { margin-left: 0.5rem; }
    .lang-btn { padding: 0.18rem 0.4rem; font-size: 0.6rem; }
    .lang-dropdown { right: 0; }
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
    position: relative; overflow: hidden;
    min-height: 88vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    /* background-image:
        radial-gradient(circle, rgba(184,25,42,.12) 1px, transparent 1px),
        radial-gradient(circle, rgba(49,91,139,.10) 1px, transparent 1px); */
    background-size: 40px 40px, 20px 20px;
    background-position: 0 0, 10px 10px;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(29,185,84,.1);
    border: 1px solid rgba(29,185,84,.4);
    color: #1db954;
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: 1.2px; text-transform: uppercase;
    padding: 6px 14px; border-radius: 20px;
    margin-bottom: 28px;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
    flex-shrink: 0;
}

@keyframes logo-appear {
    0%   { opacity: 0; transform: scale(.55) rotate(-360deg); }
    70%  { opacity: 1; }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.hero-logo-img {
    display: block;
    width: clamp(189px, 23.6vw, 297px);
    height: auto;
    margin: 0 auto 6px;
}
.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--text-hi);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-headline em {
    font-style: normal;
    background: linear-gradient(135deg, var(--red) 0%, #e03050 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@font-face {
    font-family: 'Vipnagorgialla';
    src: url('/fonts/Vipnagorgialla%20Bd.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.hero-intro h1 {
    font-family: 'Vipnagorgialla', 'Poppins', sans-serif;
    font-size: clamp(88px, 8vw, 99px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.4;
    text-transform: uppercase;
    margin-bottom: 0;
    color: #ffffff;
    display: inline-block;
    position: relative;
}
.hero-intro h1::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(190, 9, 9, 0.75) 25%, rgba(232, 0, 0, 0.75) 75%, transparent);
    margin-top: 24px;
    margin-bottom: 20px;
}
.hero-stripe { display: none; }
.hero-intro h1 span {
    display: inline-block;
    text-shadow: 0 0 4px rgba(219, 6, 29, .25);
    animation: hero-elec 2.4s ease-in-out calc(3s + var(--i) * 0.18s) forwards;
}

@keyframes hero-elec {
    0%, 100% { text-shadow: 0 0 4px rgba(219, 6, 29, .25); }
    50% { text-shadow: 0 0 10px rgba(255, 50, 70, .85), 0 0 28px rgba(219, 6, 29, .65), 0 0 48px rgba(219, 6, 29, .35); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-intro h1 span { animation: none; }
}
.hero-xcom-word {
    display: inline-block;
    color: #ffffff;
}
.hero-typer-wrap {
    margin: 0 auto 16px;
    text-align: center;
}
.hero-typer {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 800;
    color: #fe0303;
}
.hero-sub {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 800;
    color: var(--red);
    max-width: 900px;
    margin: 4px auto 36px;
    line-height: 1.55;
    border: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    text-shadow: 0 0 12px rgba(219,6,29,.45), 0 1px 3px rgba(0,0,0,.55);
    white-space: nowrap;
}
.hero-sub::after {
    content: '|';
    color: var(--red);
    margin-left: 2px;
    animation: cursor-blink 0.8s step-end infinite;
}
.hero-sub.typing-done::after {
    animation: none;
    opacity: 0;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.hero-ctas {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 48px;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--red); color: #fff;
    font-size: 15px; font-weight: 700; letter-spacing: .02em;
    padding: 14px 28px; border-radius: var(--radius);
    text-decoration: none; border: none; cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover {
    background: #9e1524;
    box-shadow: 0 0 32px var(--red-glow), 0 4px 20px rgba(0,0,0,.4);
    transform: translateY(-1px);
}
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--text);
    font-size: 15px; font-weight: 600;
    padding: 13px 24px; border-radius: var(--radius);
    text-decoration: none;
    border: 1px solid var(--border-hi);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-secondary:hover {
    border-color: rgba(184,25,42,.4);
    background: rgba(255,255,255,.03);
    transform: translateY(-1px);
}
.btn-arrow { font-size: 16px; transition: transform var(--transition); }
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow { transform: translateX(3px); }

/* Trust badges */
.hero-trust {
    display: flex; align-items: center; gap: 10px;
    justify-content: center; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 6px;
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .8px; text-transform: uppercase;
    color: var(--muted2);
}
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.trust-dot.amber { background: var(--amber); }
.trust-sep { color: rgba(255,255,255,.12); font-size: 14px; }

/* ═══════════════════════════════════════════════
   CREDIBILITY STRIP
═══════════════════════════════════════════════ */
.cred-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 14px 24px;
}
.cred-strip-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 8px 24px;
}
.cred-item {
    display: flex; align-items: center; gap: 7px;
    font-family: var(--mono); font-size: 12px; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
    color: var(--muted);
}
.cred-dot {
    flex-shrink: 0; line-height: 1;
}
.cred-dot::before {
    content: '✓';
    color: var(--green);
    font-weight: 900;
    font-size: 14px;
}
.cred-sep { color: var(--border-hi); font-size: 12px; }

/* ═══════════════════════════════════════════════
   SOCIAL PROOF STRIP
═══════════════════════════════════════════════ */
.proof-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
    display: flex; justify-content: center;
}
.proof-bar-inner {
    max-width: 1200px; width: 100%;
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.proof-cell {
    padding: 28px 24px; text-align: center;
    border-right: 1px solid var(--border);
}
.proof-cell:last-child { border-right: none; }
.proof-num {
    font-family: var(--mono); font-size: clamp(22px, 3vw, 32px);
    font-weight: 700; color: var(--text-hi);
    letter-spacing: -.03em; line-height: 1;
    margin-bottom: 6px;
}
.proof-num strong { color: var(--red); font-weight: 700; }
.proof-label {
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2);
}
@media (max-width: 600px) {
    .proof-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .proof-cell:nth-child(2) { border-right: none; }
}

/* ═══════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════ */
.section { padding: 96px 24px; }
.section-sm { padding: 64px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--red); margin-bottom: 14px;
}
.section-eyebrow::before {
    content: ''; width: 20px; height: 1px; background: var(--red); flex-shrink: 0;
}
.section-title {
    font-size: clamp(26px, 4vw, 44px); font-weight: 800;
    letter-spacing: -.025em; line-height: 1.1;
    color: var(--text-hi); margin-bottom: 16px;
}
.section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(219,6,29,.75) 25%, rgba(219,6,29,.75) 75%, transparent);
    margin-top: 16px;
}
.section-desc {
    font-size: 15px; color: rgb(232, 232, 232);
    max-width: 800px; line-height: 1.65;
    padding: 12px 14px;
    border: none;
}
.section-head { margin-bottom: 56px; }

.rule {
    height: 1px; border: none;
    background: linear-gradient(90deg, transparent, rgba(219,6,29,.75) 25%, rgba(219,6,29,.75) 75%, transparent);
    margin: 0;
}

/* ═══════════════════════════════════════════════
   PROBLEM SECTION
═══════════════════════════════════════════════ */
.problem-section { background: var(--bg-alt); }
.problem-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.problem-card {
    background: var(--surface);
    padding: 36px 32px;
    border: 1px solid rgb(130 32 55 / 50%);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.problem-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--red), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.problem-card:hover {
    border-color: var(--border-hi);
    box-shadow: var(--hover-glow);
}
.problem-card:hover::before { opacity: 1; }
.problem-number {
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; color: var(--muted2); margin-bottom: 20px;
}
.problem-icon {
    font-size: 28px; margin-bottom: 16px; display: block;
}
.problem-title {
    font-size: 18px; font-weight: 700; color: var(--text-hi);
    margin-bottom: 14px; line-height: 1.3;
    padding-bottom: 10px;
    border-bottom: 2px solid #db061d78;
    display: block;
}
.problem-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 768px) { .problem-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════
   PILLARS / MODULES — XCOM Intel dashboard style
═══════════════════════════════════════════════ */
.pillars-grid {
    display: grid; grid-template-columns: 1fr; gap: 32px;
}
.pillar {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 3px;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color .15s ease, box-shadow .15s ease;
    cursor: default;
}
.pillar:hover {
    border-color: rgba(219,6,29,.5);
    box-shadow: 0 0 24px rgba(219,6,29,.12);
}

/* ── header bar ── */
.pillar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px;
    background: #080808;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.pillar-product {
    font-family: 'Poppins', sans-serif;
    font-size: 33px;
    font-weight: 900;
    text-transform: uppercase;
    color: #eb0707;
}
.pillar-icon { display: none; }

/* ── body: split grid ── */
.pillar-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
}
.pillar-title {
    grid-column: 1 / -1;
    display: block;
    font-family: var(--mono); font-size: 18px; font-weight: 800;
    color: #ffffff;
    text-transform: none; line-height: 1;
    padding: 10px 14px;
    background: rgba(219,6,29,.07);
    border: none;
    margin: 0; border-radius: 0;
}
.pillar-audience { display: none; }
.pillar-desc {
    grid-column: 1; grid-row: 2;
    font-size: 14px; color: rgb(232,232,232); line-height: 1.65;
    padding: 12px 14px;
    border: none;
}
.pillar-feats {
    grid-column: 2; grid-row: 2 / 4;
    display: flex; flex-direction: column;
    border: none;
}
.pillar-feat {
    font-size: 14px; font-weight: 600;
    color: rgba(255,255,255,.58);
    padding: 9px 12px 9px 22px;
    position: relative;
    border: none;
    display: flex; align-items: center;
    transition: color .15s ease, background .15s ease;
}
.pillar-feat::before {
    content: '✓';
    position: absolute; left: 7px;
    top: 50%; transform: translateY(-50%);
    font-size: 11px; line-height: 1;
    color: #1db954;
    font-weight: 700;
}
.pillar:hover .pillar-feat { color: rgba(255,255,255,.85); }
.pillar:hover .pillar-feat::before { color: #00e664; font-size: 13px; font-weight: 900; }
.pillar-tags {
    grid-column: 1; grid-row: 3;
    display: flex; flex-wrap: wrap; gap: 4px;
    padding: 10px 14px;
    border: none;
    align-content: flex-start;
}
.ptag {
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    color: #ffffff; background: var(--red);
    border: none; padding: 4px 10px; border-radius: 2px;
    transition: background .15s ease;
}
.pillar:hover .ptag { background: #a80015; }
.electric {
    color: #ffffff;
    text-shadow:
        0 0 4px #ffffff,
        0 0 14px rgba(255,255,255,.8),
        0 0 32px rgba(255,255,255,.45),
        0 0 64px rgba(200,220,255,.2);
}
.pillar-preview {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px;
    background: #080808;
}
.pillar-preview img {
    display: block; width: 100%; height: auto;
    border: 3px solid rgba(255,255,255,.14);
    border-radius: 3px;
    opacity: .88;
    transition: opacity .2s ease, border .2s ease;
}
.pillar:hover .pillar-preview img { opacity: 1; border: 1px solid #1db954; }
.pillar-preview-label {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 10px;
    transition: color .3s ease;
}
@keyframes label-blink-red {
    0%,100% { color: #ff1a2e; text-shadow: 0 0 8px rgba(255,26,46,.7); }
    50%      { color: rgba(255,255,255,.35); text-shadow: none; }
}
.pillar-preview-label.label-blinking {
    animation: label-blink-red 0.5s ease 6;
}
.pillar-preview-label.label-green {
    color: #1db954;
    text-shadow: 0 0 6px rgba(29,185,84,.4);
    animation: none;
}
.pillar-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: none;
}
.pillar-section {
    display: flex; flex-direction: column;
    border: none;
}
.pillar-dual .pillar-body {
    display: flex; flex-direction: column; flex: 1;
}
.pillar-dual .pillar-title   { grid-column: unset; }
.pillar-dual .pillar-desc    { grid-column: unset; grid-row: unset; border-right: none; }
.pillar-dual .pillar-feats   { grid-column: unset; grid-row: unset; border-left: none; flex: 1; }
.pillar-dual .pillar-tags    { grid-column: unset; grid-row: unset; border-right: none; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .pillar-body { grid-template-columns: 1fr; }
    .pillar-title { grid-column: 1; }
    .pillar-desc { grid-column: 1; grid-row: 2; border-right: none; }
    .pillar-feats { grid-column: 1; grid-row: 3; border: none; flex-direction: row; flex-wrap: wrap; }
    .pillar-feat { flex: 0 0 50%; }
    .pillar-tags { grid-column: 1; grid-row: 4; border-right: none; }
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how-section { background: var(--bg-alt); }
.how-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; position: relative;
}
.how-grid::before {
    content: '';
    position: absolute; top: 32px; left: calc(33.33% - 1px); right: calc(33.33% - 1px);
    height: 1px; background: var(--border);
    pointer-events: none;
}
.how-step { padding: 40px 32px; text-align: center; }
.how-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--surface2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--mono); font-size: 14px; font-weight: 700;
    color: var(--red); position: relative; z-index: 1;
}
.how-title { font-size: 17px; font-weight: 700; color: var(--text-hi); margin-bottom: 10px; }
.how-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 700px) {
    .how-grid { grid-template-columns: 1fr; }
    .how-grid::before { display: none; }
}

/* ═══════════════════════════════════════════════
   FEATURE DEEP-DIVE
═══════════════════════════════════════════════ */
.feature-section { background: var(--bg); }
.feature-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: start;
}
.feature-split + .feature-split { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--border); }
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-module { position: relative; }
.feature-label {
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--red); margin-bottom: 12px;
}
.feature-title { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: var(--text-hi); margin-bottom: 12px; letter-spacing: -.02em; line-height: 1.2; }
.feature-body { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--text);
}
.feature-list li::before {
    content: '✓';
    color: var(--green); font-weight: 700; font-size: 13px;
    margin-top: 1px; flex-shrink: 0;
}
.feature-visual {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: sticky; top: 80px;
}
.feature-vis-label {
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted2); margin-bottom: 20px;
}
.fv-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: 13px;
}
.fv-row:last-child { border-bottom: none; }
.fv-key { color: var(--muted); font-size: 12px; }
.fv-val {
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 3px;
}
.fv-val.ok { color: #1a9e5c; background: var(--green-dim); border: 1px solid rgba(26,158,92,.25); }
.fv-val.warn { color: var(--amber); background: rgba(200,130,15,.1); border: 1px solid rgba(200,130,15,.25); }
.fv-val.fail { color: #e05060; background: rgba(184,25,42,.1); border: 1px solid rgba(184,25,42,.25); }
.fv-val.info { color: #5b9bd5; background: rgba(42,108,181,.1); border: 1px solid rgba(42,108,181,.25); }
@media (max-width: 900px) {
    .feature-split { grid-template-columns: 1fr; gap: 36px; }
    .feature-split.reverse { direction: ltr; }
    .feature-visual { position: static; }
}

/* ═══════════════════════════════════════════════
   COMPLIANCE WALL
═══════════════════════════════════════════════ */
.about-mission {
    background: rgba(184,25,42,.05);
    border-left: 3px solid var(--red);
    padding: 20px 26px;
    margin: 28px 0 0;
    font-size: 15px; line-height: 1.75;
    color: rgba(255,255,255,.8);
    border-radius: 0 4px 4px 0;
}
.about-mission strong { color: #ffffff; font-weight: 700; }
.governance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0;
}
.gov-card {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 4px;
    padding: 20px 20px 22px;
}
.gov-card-label {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .13em; text-transform: uppercase;
    color: var(--red); margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.gov-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.gov-list li {
    font-size: 13px; color: rgba(255,255,255,.68);
    line-height: 1.5; padding-left: 16px; position: relative;
}
.gov-list li::before {
    content: '▸';
    position: absolute; left: 0; top: 1px;
    color: rgba(255,255,255,.25); font-size: 10px;
}
.about-rule {
    border: none;
    border-top: 1px solid rgba(255,255,255,.07);
    margin: 36px 0 32px;
}
.about-leadership-head {
    margin-bottom: 22px;
}
.about-leadership-head .section-eyebrow { margin-bottom: 4px; }
.about-leadership-head h3 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700; color: #ffffff; margin: 0;
}
.team-specs-label {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin: 14px 0 8px;
}
.team-specs {
    list-style: none; padding: 0; margin: 0 0 18px;
    display: flex; flex-direction: column; gap: 5px;
}
.team-specs li {
    font-size: 12.5px; color: rgba(255,255,255,.6);
    padding-left: 14px; position: relative; line-height: 1.45;
}
.team-specs li strong {
    color: #ffffff;
}
.team-specs li::before {
    content: '▸';
    position: absolute; left: 0;
    color: var(--red); font-size: 9px; top: 2px;
}
.team-intro {
    margin-bottom: 36px;
}
.team-intro-tag {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--red); margin-bottom: 10px;
}
.team-intro-sub {
    font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 600;
    color: #ffffff; margin-bottom: 18px; line-height: 1.4;
}
.team-intro p {
    font-size: 14.5px; color: rgba(255,255,255,.72);
    line-height: 1.75; margin: 0 0 12px;
}
.about-vision {
    margin-top: 44px;
    padding: 28px 28px 26px;
    background: #080808;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 4px;
    border-left: 3px solid var(--red);
}
.about-vision-label {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin-bottom: 16px;
}
.about-vision p {
    font-size: 14.5px; color: rgba(255,255,255,.75);
    line-height: 1.78; margin: 0 0 14px;
}
.about-vision p:last-child { margin-bottom: 0; }
.about-vision strong {
    display: block;
    font-size: 14px; font-weight: 700;
    color: rgba(255,255,255,.9);
    margin-top: 18px; line-height: 1.6;
}
@media (max-width: 720px) {
    .governance-grid { grid-template-columns: 1fr; }
}
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    border-radius: 4px;
}
.team-card {
    background: #0a0a0a;
    padding: 32px 28px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
    transition: background .15s ease, border-color .15s ease;
    position: relative;
}
.team-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--red);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity .15s ease;
}
.team-card:hover { background: #0f0f0f; border-color: rgba(255,255,255,.38); }
.team-card:hover::before { opacity: 1; }
.team-card-inner {
    display: flex; align-items: flex-start; gap: 24px;
}
.team-photo {
    width: 160px; height: 160px; border-radius: 4px;
    object-fit: cover; object-position: top center;
    border: 3px solid rgba(219,6,29,.18);
    outline: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
}
.team-meta { flex: 1; }
.team-bio {
    font-size: 13.5px;
    color: rgb(255 255 255 / 89%);
    line-height: 1.6;
    margin-top: 8px;
    margin-bottom: 14px;
}
.team-linkedin {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    color: #2ecc71; text-decoration: none;
    border: 1px solid rgba(46,204,113,.25);
    padding: 5px 12px; border-radius: 3px;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.team-linkedin:hover { color: #4fffa0; border-color: rgba(46,204,113,.55); background: rgba(46,204,113,.08); }
.team-linkedin svg { flex-shrink: 0; }
.team-name {
    font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 700;
    color: #ffffff; letter-spacing: .01em;
    padding-bottom: 8px;
    border-bottom: 2px solid rgb(255 255 255 / 24%);
    display: block;
    margin-bottom: 10px;
}
.team-role {
    font-size: 12px; font-weight: 700;
    color: var(--red);
    font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.contact-block {
    display: flex; flex-direction: column; gap: 24px;
    padding: 8px 0;
}
.contact-row {
    display: flex; align-items: center; gap: 16px;
}
.contact-label {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255,255,255,.25); min-width: 60px;
}
.contact-email {
    font-family: var(--mono); font-size: 20px; font-weight: 700;
    color: #ffffff; text-decoration: none;
    letter-spacing: .02em;
    transition: color .15s ease;
    border-bottom: 1px solid rgba(219,6,29,.4);
    padding-bottom: 2px;
}
.contact-email:hover { color: var(--red); border-color: var(--red); }
.compliance-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}
.compliance-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px; margin-top: 48px;
}
.comp-badge {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px; text-align: center;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.comp-badge:hover {
    border-color: var(--border-hi);
    background: var(--surface2);
    box-shadow: var(--hover-glow);
}
.comp-icon { font-size: 22px; margin-bottom: 8px; }
.comp-name {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--text-hi); margin-bottom: 4px;
}
.comp-desc { font-size: 11px; color: var(--muted2); }

/* ═══════════════════════════════════════════════
   CUSTOMERS
═══════════════════════════════════════════════ */
.customers-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px; margin-top: 40px;
}
.customer-cell {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.customer-cell:hover {
    border-color: var(--border-hi);
    background: var(--surface2);
    box-shadow: var(--hover-glow);
}
.customer-name { font-size: 13px; font-weight: 700; color: var(--text-hi); margin-bottom: 4px; }
.customer-sector {
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; color: var(--muted2);
}

/* ═══════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 56px 24px 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand-section {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 40px;
}
.footer-brand-left { max-width: 420px; }
.footer-brand-logo {
    display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.footer-brand-logo img { width: 26px; height: 26px; object-fit: contain; }
.footer-brand-name { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--text-hi); }
.footer-brand-name span { color: var(--red); }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-tagline-sub {
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted2); margin-top: 10px;
}
.footer-socials {
    display: flex; flex-wrap: wrap; gap: 8px;
    align-self: flex-start; padding-top: 4px;
}
.footer-social-btn {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    border: 1px solid rgba(255,255,255,.1);
    padding: 6px 12px; border-radius: 3px;
    transition: color var(--transition), border-color var(--transition);
}
.footer-social-btn:hover { color: var(--text-hi); border-color: rgba(255,255,255,.25); }
.footer-cols {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 28px; margin-bottom: 40px;
}
.footer-col-title {
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted2); margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
    font-size: 12px; color: var(--muted); text-decoration: none;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-hi); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    padding: 24px 0 32px; border-top: 1px solid var(--border);
}
.footer-copy { font-size: 12px; color: var(--muted2); }
@media (max-width: 1100px) {
    .footer-cols { grid-template-columns: repeat(3, 1fr); }
    .footer-brand-section { flex-direction: column; }
    .footer-trust { justify-content: flex-start; max-width: none; }
}
@media (max-width: 640px) {
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
    .footer-cols { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════
   METHODOLOGIE
═══════════════════════════════════════════════ */
.method-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 16px; margin-top: 40px;
}
.method-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px 18px;
    display: flex; flex-direction: column; gap: 10px;
    transition: border-color var(--transition);
}
.method-item:hover { border-color: var(--border-hi); }
.method-icon {
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: .08em; color: var(--red);
}
.method-title {
    font-size: 14px; font-weight: 700; color: var(--text-hi); line-height: 1.3;
}
.method-desc {
    font-size: 12px; color: var(--muted); line-height: 1.6;
}
@media (max-width: 900px) { .method-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .method-grid { grid-template-columns: 1fr 1fr; } }

/* ═══════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════ */
.cta-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 64px 24px; text-align: center;
}
.cta-section .container { display: flex; flex-direction: column; align-items: center; }
.cta-label {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin-bottom: 16px;
}
.cta-title {
    font-family: var(--sans); font-size: clamp(28px, 4vw, 42px); font-weight: 700;
    color: var(--text-hi); margin-bottom: 12px; line-height: 1.1;
}
.cta-sub {
    font-size: 15px; color: var(--muted); margin-bottom: 32px;
}
.cta-btn {
    display: inline-block;
    background: var(--red); color: #fff;
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 14px 32px; border-radius: var(--radius);
    text-decoration: none;
    transition: background var(--transition), box-shadow var(--transition);
}
.cta-btn:hover { background: #9e111f; box-shadow: var(--hover-glow); }

/* ═══════════════════════════════════════════════
   HOE HET WERKT
═══════════════════════════════════════════════ */
.how-intro {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; margin-bottom: 56px;
}
.how-intro p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }
.how-steps {
    display: flex; align-items: stretch;
    gap: 0; counter-reset: step;
}
.how-step {
    flex: 1; position: relative;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 20px;
    transition: border-color var(--transition);
}
.how-step:not(:last-child) { border-radius: var(--radius) 0 0 var(--radius); margin-right: -1px; }
.how-step:not(:first-child) { border-radius: 0; }
.how-step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.how-step:hover { border-color: var(--red); z-index: 1; }
.how-step-num {
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: .12em; color: var(--red); margin-bottom: 10px;
}
.how-step-title {
    font-size: 14px; font-weight: 700; color: var(--text-hi);
}
@media (max-width: 768px) {
    .how-intro { grid-template-columns: 1fr; gap: 20px; }
    .how-steps { flex-direction: column; }
    .how-step, .how-step:not(:last-child), .how-step:not(:first-child), .how-step:last-child {
        border-radius: var(--radius); margin-right: 0;
    }
}

/* ═══════════════════════════════════════════════
   UNIFIED ARCHITECTURE DIAGRAM
═══════════════════════════════════════════════ */
.arch-section { background: var(--bg-alt); }
.arch-wrap { max-width: 800px; margin: 0 auto; }
.arch-layer {
    background: #080808;
    border: 1px solid rgba(219,6,29,.2);
    border-radius: 3px; overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.arch-layer:hover {
    border-color: rgba(219,6,29,.4);
    box-shadow: 0 0 28px rgba(219,6,29,.07);
}
.arch-layer-header {
    background: rgba(219,6,29,.06);
    border-bottom: 1px solid rgba(219,6,29,.15);
    padding: 11px 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.arch-layer-name {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--red);
}
.arch-layer-tag {
    font-family: var(--mono); font-size: 9px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.07);
    padding: 2px 8px; border-radius: 2px;
}
.arch-items {
    display: grid; grid-template-columns: 1fr 1fr;
    padding: 8px; gap: 1px;
}
.arch-item {
    font-size: 12.5px; color: rgba(255,255,255,.55);
    padding: 8px 12px;
    display: flex; align-items: center; gap: 8px;
    border-radius: 2px;
    transition: color .15s ease, background .15s ease;
}
.arch-item:hover { color: rgba(255,255,255,.9); background: rgba(255,255,255,.03); }
.arch-item::before {
    content: '▸'; font-size: 9px;
    color: rgba(219,6,29,.45); flex-shrink: 0;
    transition: color .15s ease;
}
.arch-item:hover::before { color: rgba(219,6,29,.75); }
.arch-arrow {
    display: flex; flex-direction: column; align-items: center; padding: 4px 0;
}
.arch-arrow-line {
    width: 1px; height: 22px;
    background: linear-gradient(to bottom, rgba(219,6,29,.2), rgba(219,6,29,.55));
}
.arch-arrow-head {
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid rgba(219,6,29,.55);
}
.arch-caption {
    margin-top: 32px; padding: 22px 28px;
    background: rgba(219,6,29,.04);
    border: 1px solid rgba(219,6,29,.15);
    border-left: 3px solid rgba(219,6,29,.5);
    border-radius: 0 3px 3px 0;
}
.arch-caption p {
    font-size: 14.5px; color: rgba(255,255,255,.72);
    line-height: 1.7; margin: 0;
}
.arch-caption p strong { color: #ffffff; font-weight: 700; }

/* ═══════════════════════════════════════════════
   INTELLIGENCE WORKFLOW
═══════════════════════════════════════════════ */
.workflow-section { background: var(--bg); }
.workflow-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2px; margin-top: 48px;
}
.workflow-card {
    background: var(--surface); border: 1px solid var(--border);
    padding: 32px 28px; position: relative; overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.workflow-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--red), transparent);
    opacity: 0; transition: opacity var(--transition);
}
.workflow-card:hover { border-color: var(--border-hi); box-shadow: var(--hover-glow); }
.workflow-card:hover::before { opacity: 1; }
.workflow-step-num {
    font-family: var(--mono); font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; color: var(--red); margin-bottom: 16px;
}
.workflow-step-title {
    font-size: 16px; font-weight: 700; color: var(--text-hi);
    margin-bottom: 10px; line-height: 1.3;
}
.workflow-step-desc {
    font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0;
}
@media (max-width: 900px) { .workflow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .workflow-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════
   MOBILE — nav wordmark + hero
   Placed last so it wins over the base rules above.
═══════════════════════════════════════════════ */
@media (max-width: 760px) {
    nav { padding: 10px 16px; }
    .nav-logo { height: 34px; gap: 8px; }
    .nav-logo img { height: 26px; }
    .nav-brand-name { font-size: 11px; letter-spacing: 1.1px; }
}

@media (max-width: 420px) {
    .nav-logo img { height: 24px; }
    .nav-brand-name { font-size: 10px; letter-spacing: .7px; }
}

@media (max-width: 560px) {
    .hero { min-height: 74vh; padding: 96px 18px 48px; }

    /* 189px floor made the hero mark ~6x the size of the nav icon */
    .hero-logo-img { width: clamp(112px, 42vw, 168px); margin-bottom: 10px; }

    /* 88px floor needs ~380px of line box — overflows below ~428px viewport
       and was silently clipped by .hero { overflow: hidden } */
    .hero-intro h1 {
        font-size: clamp(38px, 13.5vw, 76px);
        letter-spacing: -.035em;
        line-height: 1;
    }
    .hero-intro h1::after { margin-top: 16px; margin-bottom: 14px; }

    /* !important is required only because of the inline
       style="font-size:14px" on the .hero-sub element */
    .hero-sub {
        white-space: normal;
        font-size: 11px !important;
        letter-spacing: .2px;
        line-height: 1.5;
        max-width: 34ch;
        margin-bottom: 28px;
    }

    /* Photo is 160px + 24px gap + 3px border left the flex row needing
       ~420px, so the whole page scrolled sideways on phones.
       display:contents lifts .team-meta's children into the card's flex box
       so the photo can be ordered between the role line and the bio. */
    .team-card { padding: 24px 18px; }
    .team-card-inner { flex-direction: column; gap: 0; }
    .team-meta { display: contents; }
    .team-meta > * { order: 4; }
    .team-name { order: 1; }
    .team-role { order: 2; }
    .team-photo {
        order: 3;
        width: 116px; height: 116px;
        margin: 12px 0 8px;
    }
}

/* ═══════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
