/* ============================================================
   HYPERMIND SITE v3.1 — design system
   Night #3B3743 · Night deep #2E2B35 · Terrain #7B6B43
   Gold #E0C64B · Paper
   Dark weighted sections, gold as accent, overlay nav on home.
   ============================================================ */

:root {
    --night: #1B1820;
    --night-deep: #1B1820;
    --terrain: #7B6B43;
    --gold: #E0C64B;
    --gold-deep: #C9AF38;
    --paper: #FFFFFF;
    --paper-warm: #F7F6F2;
    --ink-soft: #5C5666;
    --line: #E4E2DC;
    --line-dark: #322D3A;
    --maxw: 1200px;
    --pad-x: 60px;
    --font: 'Archivo', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--night);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--night); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }

/* ── Type ─────────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.5px; line-height: 1.05; }
.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terrain);
    display: block;
    margin-bottom: 18px;
}
.sec-dark .eyebrow, .sec-deep .eyebrow { color: var(--gold); }

/* ── Header (standard, inner pages) ───────────────────────── */
.hdr {
    position: sticky;
    top: 0;
    z-index: 80;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.hdr-in {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 18px var(--pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.hdr-logo img { display: block; height: 21px; width: auto; transition: filter 0.25s ease; }
.hdr-nav { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hdr-nav a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hdr-nav a:not(.btn) { transition: opacity 0.2s; }
.hdr-nav a:not(.btn):hover { opacity: 0.55; }
.hdr-nav a[aria-current="page"] { border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* ── Header overlay variant (home, Harmattan style) ───────── */
.hdr-overlay {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 80;
    background: transparent;
    border-bottom: 0;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
/* Logo artwork is white; invert it to black over the light photo heroes */
.hdr-overlay:not(.hdr-on-dark):not(.scrolled) .hdr-logo img { filter: invert(1); }
.hdr-overlay .hdr-nav a:not(.btn) { color: var(--night); }
.hdr-overlay.scrolled {
    background: var(--night-deep);
    box-shadow: 0 6px 24px rgba(10,9,14,0.35);
}
.hdr-overlay.scrolled .hdr-nav a:not(.btn) { color: var(--paper); }

/* ── Mobile navigation ────────────────────────────────────── */
.nav-burger {
    display: none;
    position: relative;
    z-index: 70;
    width: 34px;
    height: 26px;
    padding: 4px 3px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--night);
}
.nav-burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger span + span { margin-top: 5px; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hdr-overlay.scrolled .nav-burger,
.hdr-overlay.hdr-on-dark:not(.scrolled) .nav-burger,
.hdr:not(.hdr-overlay) .nav-burger,
.nav-burger.is-open { color: var(--paper); }
/* Over a light hero the wordmark is inverted to black; the open panel is dark */
body.nav-open .hdr-overlay:not(.hdr-on-dark):not(.scrolled) .hdr-logo img { filter: none; }
body.nav-open .hdr-overlay.scrolled,
body.nav-open .hdr { background: transparent; box-shadow: none; }

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: var(--night-deep);
    padding: 104px var(--pad-x) 48px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav[hidden] { display: none; }
.mobile-nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.mobile-nav-links a {
    display: block;
    width: 100%;
    padding: 20px 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--paper);
    border-bottom: 1px solid var(--line-dark);
}
.mobile-nav-links a[aria-current="page"] { color: var(--gold); }
.mobile-nav-links a.btn {
    width: auto;
    margin-top: 32px;
    padding: 16px 32px;
    font-size: 14px;
    color: var(--night);
    border-bottom: 2px solid var(--gold);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-block;
    background: var(--night);
    color: var(--gold);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 15px 30px;
    border: 2px solid var(--night);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:hover { background: var(--night-deep); border-color: var(--night-deep); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 12px; }
.btn-gold { background: var(--gold); color: var(--night); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--night); }
.btn-ghost:hover { background: var(--night); color: var(--gold); }
.sec-dark .btn-ghost, .sec-deep .btn-ghost { color: var(--paper); border-color: var(--paper); }
.sec-dark .btn-ghost:hover, .sec-deep .btn-ghost:hover { background: var(--paper); color: var(--night); }
.textlink {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 3px;
    transition: opacity 0.2s;
}
.textlink:hover { opacity: 0.6; }

/* ── Sections ─────────────────────────────────────────────── */
.sec { padding: 110px 0; }
.sec-tight { padding: 80px 0; }
.sec-dark { background: var(--night); color: var(--paper); }
.sec-deep { background: var(--night-deep); color: var(--paper); }
.sec-dark h2, .sec-dark h3, .sec-deep h2, .sec-deep h3 { color: var(--paper); }
.sec-dark + .sec-deep, .sec-deep + .sec-dark { border-top: 1px solid var(--line-dark); }

.sec h2 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 26px; }
.lede { font-size: 19px; line-height: 1.65; color: var(--ink-soft); max-width: 720px; }
.lede-wide { max-width: none; }
.sec-dark .lede, .sec-deep .lede { color: #C9C5D2; }
.body-copy { font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 680px; }
.sec-dark .body-copy, .sec-deep .body-copy { color: #C9C5D2; }
.zone-actions { margin-top: 40px; }
.zone-actions-center { text-align: center; }
/* Centered section intro: eyebrow, heading, lede and its call to action */
.head-center { text-align: center; }
.head-center .lede { margin-left: auto; margin-right: auto; }

/* Featured partner card, sits inside the partnerships section */
.partner-feature {
    margin-top: 72px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
    background: var(--night-deep);
    border: 1px solid var(--gold);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.partner-feature-body { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; }
.partner-feature-body .prob { font-size: 19px; font-weight: 600; color: var(--paper); line-height: 1.4; margin-bottom: 16px; }
.partner-feature-body p { font-size: 15.5px; line-height: 1.7; color: #C9C5D2; }
.partner-feature-body p + p { margin-top: 16px; }
.partner-feature-media { position: relative; min-height: 340px; }
.partner-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) {
    .partner-feature { grid-template-columns: 1fr; margin-top: 52px; }
    .partner-feature-body { padding: 36px 30px; order: 2; }
    .partner-feature-media { min-height: 260px; }
}

/* ── Gold statement zone (kept for inner pages, deeper tone) ─ */
.zone-yellow { background: var(--gold); color: var(--night); padding: 96px 0; }
.zone-yellow h2 { font-size: clamp(30px, 4.6vw, 54px); max-width: 900px; margin-bottom: 26px; }
.zone-yellow p { font-size: 18px; line-height: 1.7; max-width: 760px; color: var(--night); }
.zone-yellow .eyebrow { color: var(--night); opacity: 0.6; }
.zone-yellow .btn { background: var(--night); color: var(--gold); border-color: var(--night); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-start; }
.hero-full { min-height: 100vh; align-items: center; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* iOS blocks autoplay in Low Power Mode and paints its own play button over the
   frame. The video stays invisible until it reports playing, so a blocked
   autoplay leaves the still standing in rather than a tap-to-play control. */
.hero-media .hero-video { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
.hero-media .hero-video.is-playing { opacity: 1; }
.hero-veil { position: absolute; inset: 0; }
.hero-light .hero-veil { background: linear-gradient(115deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.45) 34%, rgba(255,255,255,0) 62%); }
.hero-dark  .hero-veil { background: linear-gradient(115deg, rgba(27,24,32,0.78) 0%, rgba(27,24,32,0.42) 40%, rgba(27,24,32,0.08) 70%); }
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    width: 100%;
    padding: 120px var(--pad-x) 90px;
}
.hero h1 { font-size: clamp(40px, 6.2vw, 82px); max-width: 760px; margin-bottom: 22px; }
.hero-sub { font-size: clamp(18px, 2vw, 24px); font-weight: 500; max-width: 620px; margin-bottom: 42px; }
.hero-light h1, .hero-light .hero-sub { color: var(--night); }
.hero-dark h1, .hero-dark .hero-sub { color: var(--paper); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-full .hero-inner { text-align: center; }
.hero-full h1, .hero-full .hero-sub { margin-left: auto; margin-right: auto; }
.hero-full .hero-actions { justify-content: center; }
.hero-page { min-height: 100vh; align-items: center; }
.hero-page .hero-inner { padding-top: 120px; padding-bottom: 120px; }

/* ── Platform cards and strengths ─────────────────────────── */
.plat-cards { gap: 20px; }
.plat-cards .card { padding: 34px 32px; }
.card-icon { display: block; width: 40px; height: 40px; margin-bottom: 28px; }
.plat-cards .card h3 { font-size: 21px; margin-bottom: 12px; letter-spacing: -0.2px; }
.plat-cards .card p { font-size: 15.5px; line-height: 1.65; margin-bottom: 22px; }
.strengths-title { margin-top: 72px; }
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.strength { padding-left: 26px; border-left: 1px solid var(--line-dark); }
.strength:first-child { padding-left: 0; border-left: 0; }
.strength h4 { font-size: 16.5px; margin-bottom: 12px; letter-spacing: -0.2px; }
.strength p { font-size: 14.5px; line-height: 1.65; color: #C9C5D2; }

/* ── Industry tiles ───────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.tile {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 2px;
    background: var(--night);
    outline: 1px solid transparent;
    transition: outline-color 0.25s;
}
.sec-dark .tile, .sec-deep .tile { outline-color: var(--line-dark); }
.tile:hover { outline-color: var(--gold); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tile:hover img { transform: scale(1.045); }
.tile-veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(27,24,32,0) 34%, rgba(27,24,32,0.88) 100%);
}
.tile-txt { position: absolute; left: 20px; right: 20px; bottom: 20px; color: var(--paper); }
.tile-txt .t-name {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}
.tile-txt .t-line { font-size: 14.5px; font-weight: 600; line-height: 1.35; }

/* ── Card grids ───────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 28px 26px;
    background: var(--paper);
}
.sec-dark .card, .sec-deep .card { background: var(--night-deep); border-color: var(--line-dark); }
.sec-deep .card { background: var(--night); }
.card h4 { font-size: 17px; margin-bottom: 10px; letter-spacing: -0.2px; }
.card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.sec-dark .card p, .sec-deep .card p { color: #C9C5D2; }
.card .k {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terrain);
    display: block;
    margin-bottom: 12px;
}
.sec-dark .card .k, .sec-deep .card .k { color: var(--gold); }

/* ── Split rows ───────────────────────────────────────────── */
.irow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
}
.irow:last-of-type { border-bottom: 0; }
.irow img { border-radius: 2px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.irow h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.irow .prob { font-size: 18px; font-weight: 600; color: var(--night); margin-bottom: 14px; line-height: 1.45; }
.irow p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
.irow p + p { margin-top: 16px; }
.irow .zone-actions { margin-top: 26px; }
.irow.rev .irow-media { order: 2; }

/* ── Terminal card ────────────────────────────────────────── */
.terminal {
    background: var(--night-deep);
    border-radius: 4px;
    padding: 26px 28px;
    font-family: var(--mono);
    font-size: 14px;
    line-height: 2;
    color: var(--gold);
    max-width: 520px;
    box-shadow: 0 18px 50px rgba(10,9,14,0.35);
}
.terminal .dim { color: #8C8596; }
.terminal .lit { color: var(--paper); font-weight: 500; }

/* ── Trust band ───────────────────────────────────────────── */
.trust-title { font-size: 16px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; }
.trust-sub { font-size: 19px; color: var(--ink-soft); max-width: 880px; }
.trust-logos {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px 40px;
    flex-wrap: wrap;
}
/* Heights are tuned per logo so the lettering reads at the same optical size */
.trust-logos img {
    height: 31px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.trust-logos img:hover { opacity: 1; }
.trust-logos .lg-future40 { height: 27px; }
.trust-logos .lg-stationf { height: 26px; }
.trust-logos .lg-bpifrance { height: 34px; }
.trust-logos .lg-nvidia { height: 44px; }

/* ── Contact form ─────────────────────────────────────────── */
.form-zone {
    background: var(--night);
    border-radius: 4px;
    padding: 56px;
    max-width: 760px;
    color: var(--paper);
}
.form-zone label {
    display: block;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 26px 0 10px;
    color: var(--gold);
}
.form-zone label:first-of-type { margin-top: 0; }
.form-zone input, .form-zone textarea {
    width: 100%;
    background: var(--night-deep);
    border: 1px solid var(--line-dark);
    border-radius: 2px;
    padding: 14px 16px;
    font-family: var(--font);
    font-size: 15.5px;
    color: var(--paper);
    outline: none;
    transition: border-color 0.2s;
}
.form-zone input:focus, .form-zone textarea:focus { border-color: var(--gold); }
.form-zone textarea { min-height: 150px; resize: vertical; }
.form-zone .btn { margin-top: 34px; background: var(--gold); color: var(--night); border-color: var(--gold); }
.form-zone .btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
/* ── Blog index ───────────────────────────────────────────── */
.post-list { margin-top: 56px; border-top: 1px solid var(--line-dark); }
.post-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 36px;
    align-items: start;
    padding: 34px 4px;
    border-bottom: 1px solid var(--line-dark);
    transition: background 0.2s;
}
.post-row:hover { background: rgba(255,255,255,0.025); }
.post-date, .post-tag {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    padding-top: 6px;
    color: #8C8596;
}
.post-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.post-name { display: block; font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--paper); transition: color 0.2s; }
.post-row:hover .post-name { color: var(--gold); }
.post-excerpt { display: block; margin-top: 10px; max-width: 60ch; font-size: 15px; line-height: 1.65; color: #8C8596; }
@media (max-width: 800px) {
    .post-row { grid-template-columns: 1fr; gap: 6px; padding: 26px 4px; }
    .post-date, .post-tag { padding-top: 0; }
    .post-name { font-size: 18px; }
    .post-tag { order: -1; }
}

/* ── Article ──────────────────────────────────────────────── */
.post { max-width: 800px; margin: 0 auto; padding: 0 var(--pad-x); }
.post-back {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 34px;
}
.post-back:hover { opacity: 0.7; }
.post h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; margin-bottom: 18px; }
.post-lede { font-size: 20px; line-height: 1.55; color: #C9C5D2; margin-bottom: 30px; }
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #8C8596;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line-dark);
}
.post-meta strong { color: var(--paper); font-weight: 500; }
.post-body { margin-top: 40px; }
.post-body h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; margin: 58px 0 18px; }
.post-body h3 { font-size: 19px; font-weight: 600; color: var(--paper); margin: 36px 0 12px; }
.post-body p { font-size: 16.5px; line-height: 1.8; color: #C9C5D2; margin-bottom: 20px; }
.post-body strong { color: var(--paper); font-weight: 600; }
.post-body em { color: #C9C5D2; }
.post-body a:not(.btn) { color: var(--gold); border-bottom: 1px solid rgba(224,198,75,0.35); transition: border-color 0.2s; }
.post-body a:not(.btn):hover { border-bottom-color: var(--gold); }
.post-body ul { margin: 0 0 22px 22px; }
.post-body li { font-size: 16.5px; line-height: 1.8; color: #C9C5D2; margin-bottom: 8px; list-style: disc; }

/* Legal pages (privacy, terms) reuse post typography on dark */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 14px; color: var(--paper); }
.legal .legal-updated {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #8C8596;
    margin: 0 0 40px;
}
.legal h3 { font-size: 19px; font-weight: 600; color: var(--paper); margin: 40px 0 12px; }
.legal h4 { font-size: 15px; font-weight: 600; color: var(--gold); margin: 28px 0 10px; }
.legal p { font-size: 16.5px; line-height: 1.8; color: #C9C5D2; margin-bottom: 18px; }
.legal a { color: var(--gold); border-bottom: 1px solid rgba(224,198,75,0.35); transition: border-color 0.2s; }
.legal a:hover { border-bottom-color: var(--gold); }
.legal ul { margin: 0 0 20px 22px; }
.legal li { font-size: 16.5px; line-height: 1.8; color: #C9C5D2; margin-bottom: 8px; list-style: disc; }
.post-figure { margin: 36px 0 12px; }
.post-figure img, .post-figure video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
    background: var(--night-deep);
    outline: 1px solid var(--line-dark);
}
.post-figure.fig-sm { max-width: 580px; margin-left: auto; margin-right: auto; }
.post-figure.fig-xs { max-width: 400px; margin-left: auto; margin-right: auto; }
.post-caption { font-size: 13.5px; line-height: 1.6; color: #8C8596; text-align: center; margin: 0 0 32px; }
.post-refs { margin-top: 8px; }
.post-refs p { font-size: 14px; line-height: 1.75; margin-bottom: 14px; }
.post-end {
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid var(--line-dark);
    font-size: 15px;
    color: #8C8596;
}

/* ── Paper section: a light band inside the dark page ─────── */
.sec-paper { background: var(--paper); color: var(--night); }
.sec-paper h2, .sec-paper h3 { color: var(--night); }
.sec-paper .eyebrow { color: var(--terrain); }
.sec-paper .lede, .sec-paper p { color: var(--ink-soft); }

/* Hardware products: renders sit on the light band, so no crop and no veil */
.hw-rows { margin-top: 96px; }
.hw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hw-row + .hw-row { margin-top: 90px; padding-top: 90px; border-top: 1px solid var(--line); }
.hw-row.rev .hw-media { order: 2; }
.hw-media img { width: 100%; height: auto; }
.hw-body h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.hw-body p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
.hw-body .hw-note { margin-top: 18px; }
.hw-body .zone-actions { margin-top: 28px; }

/* Inference engines + benchmark card */
.engine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.engine-copy .lede { max-width: 520px; }
.engine-logos {
    margin-top: 44px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px 40px;
}
.engine-logos img { width: auto; opacity: 0.9; }
.engine-logos .en-vllm { height: 34px; }
.engine-logos .en-sglang { height: 30px; }
.engine-words { margin-top: 26px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 40px; }
.engine-word {
    font-family: var(--mono);
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--night);
}
.bench {
    background: var(--night-deep);
    border-radius: 4px;
    padding: 30px 32px 26px;
    font-family: var(--mono);
    box-shadow: 0 22px 60px rgba(17,15,21,0.22);
}
.bench-cmd { font-size: 14px; color: var(--gold); margin-bottom: 26px; }
.bench-cmd .dim { color: #8C8596; }
.bench-title {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8C8596;
    margin-bottom: 14px;
}
.bench-row + .bench-title { margin-top: 26px; }
.bench-row { display: grid; grid-template-columns: 96px 1fr 42px; align-items: center; gap: 14px; margin-bottom: 10px; }
.bench-row:last-of-type { margin-bottom: 26px; }
.bench-key { font-size: 12px; color: #C9C5D2; }
.bench-track { height: 13px; border-radius: 2px; background: #2A2632; overflow: hidden; }
.bench-fill { display: block; height: 100%; background: #4A4553; border-radius: 2px; }
.bench-fill.lead { background: var(--gold); }
.bench-val { font-size: 12px; color: var(--paper); text-align: right; }
.bench-foot { font-size: 11px; line-height: 1.6; color: #6F6979; margin-top: 4px; }
.sec-paper .bench-foot { color: #6F6979; }

.partner-strip {
    margin-top: 88px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 48px;
}
.partner-strip-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9A94A4;
}
.partner-strip img { width: auto; opacity: 0.9; }
.partner-strip .pl-nvidia { height: 34px; }
.partner-strip .pl-2crsi { height: 26px; }
.partner-strip .pl-scaleway { height: 22px; }

@media (max-width: 1000px) {
    .engine-grid { grid-template-columns: 1fr; gap: 52px; }
    .bench { padding: 26px 22px 22px; }
    .bench-row { grid-template-columns: 84px 1fr 38px; gap: 10px; }
    .partner-strip { margin-top: 64px; flex-wrap: wrap; gap: 28px 36px; }
}

/* ── Modal dialog ─────────────────────────────────────────── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,9,14,0.74);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.modal-card h3 { font-size: 24px; line-height: 1.25; color: var(--paper); margin-bottom: 10px; }
.modal-lede { font-size: 15px; line-height: 1.6; color: #C9C5D2; margin-bottom: 26px; }
.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: 0;
    padding: 4px 8px;
    font-size: 26px;
    line-height: 1;
    color: #8C8596;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover { color: var(--paper); }
.modal-done { font-size: 17px; font-weight: 600; color: var(--paper); }
body.modal-open { overflow: hidden; }
@media (max-width: 640px) {
    .modal-card { padding: 30px 22px; }
}

.contact-aside { margin-top: 48px; font-size: 15.5px; line-height: 2; color: var(--ink-soft); }
.contact-aside a { font-weight: 600; color: var(--night); border-bottom: 2px solid var(--gold); }

/* ── Footer (ported from current site) ────────────────────── */
.footer {
    background: var(--paper);
    color: #000;
    border-top: 1px solid #ddd;
    padding: 48px 0;
}
.footer-content {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-logo { display: block; width: 300px; max-width: 100%; height: auto; }
.footer-locations { font-size: 13px; line-height: 1.7; letter-spacing: 0.02em; color: #8C8596; margin-top: -6px; }
.footer-newsletter { display: flex; flex-direction: column; gap: 12px; }
.footer-newsletter-title { font-size: 14px; font-weight: 700; letter-spacing: 1px; }
.email-input-wrap {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 20px;
    width: 280px;
    transition: border-color 0.2s;
}
.email-input-wrap:focus-within { border-color: #999; }
.email-input-wrap .at-icon { color: #888; margin-right: 12px; font-size: 18px; font-weight: 500; }
.email-input-wrap input {
    background: transparent;
    border: none;
    outline: none;
    color: #333;
    font-family: var(--font);
    font-size: 14px;
    letter-spacing: 1px;
    width: 100%;
}
.email-input-wrap input::placeholder { color: #999; }
.footer-columns { display: flex; gap: 64px; align-items: flex-start; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 14px; font-weight: 700; letter-spacing: 1px; color: #000; margin-bottom: 4px; }
.footer-col a { font-size: 14px; font-weight: 400; letter-spacing: 1px; color: #555; transition: color 0.2s; }
.footer-col a:hover { color: #000; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1000px) {
    :root { --pad-x: 32px; }
    /* Hairline rules only read as columns; once wrapped, spacing does the work */
    .strengths { grid-template-columns: repeat(2, 1fr); gap: 34px 30px; }
    .strength { padding-left: 0; border-left: 0; }
    .tiles { grid-template-columns: repeat(2, 1fr); }
    .cards, .cards-2 { grid-template-columns: repeat(2, 1fr); }
    .irow { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
    .irow.rev .irow-media { order: 0; }
    .hw-row { grid-template-columns: 1fr; gap: 32px; }
    .hw-row.rev .hw-media { order: 0; }
    .hw-row + .hw-row { margin-top: 60px; padding-top: 60px; }
    .footer-content { flex-direction: column; }
    .footer-columns { flex-wrap: wrap; gap: 40px; }
    .footer-brand { margin-bottom: 8px; }
}
/* Header links collapse behind the burger from here down */
@media (max-width: 760px) {
    .hdr-nav { display: none; }
    .nav-burger { display: block; }
    .hdr-in { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
    :root { --pad-x: 20px; }
    .sec { padding: 72px 0; }
    .zone-yellow { padding: 64px 0; }
    .hero { min-height: 70vh; }
    .hero-full, .hero-page { min-height: 92vh; }
    .hero-inner { padding: 110px var(--pad-x) 60px; }
    .tiles { grid-template-columns: 1fr; }
    .cards, .cards-2 { grid-template-columns: 1fr; }
    .hdr-logo img { height: 19px; }
    .form-zone { padding: 32px 24px; }
    /* Two tidy columns instead of a ragged wrap, at roughly two thirds the size */
    .trust-title, .trust-sub { text-align: center; }
    .trust-sub { margin: 0 auto; }
    .trust-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        align-items: center;
        gap: 30px 20px;
        margin-top: 40px;
    }
    .trust-logos img { height: 20px; }
    .trust-logos .lg-future40 { height: 18px; }
    .trust-logos .lg-stationf { height: 17px; }
    .trust-logos .lg-nvidia { height: 30px; }
    .trust-logos .lg-galion { height: 20px; }
    .trust-logos .lg-scaleway { height: 18px; }
    .trust-logos .lg-bpifrance { height: 22px; }
    .trust-sub { font-size: 17px; }
    .strengths { grid-template-columns: 1fr; }
    .mobile-nav { padding-top: 92px; }
    .mobile-nav-links a { font-size: 20px; padding: 17px 0; }

    /* Centered footer, link columns kept left aligned inside a centered block */
    .footer { padding: 40px 0; }
    .footer-content { align-items: center; text-align: center; gap: 36px; }
    .footer-brand { align-items: center; }
    .footer-logo { width: 190px; }
    .footer-newsletter { align-items: center; }
    .email-input-wrap { width: 100%; max-width: 300px; }
    .footer-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px 40px;
        width: 100%;
        max-width: 360px;
        text-align: left;
    }
}

/* ── Industry index (Northslope-style list + hover preview) ── */
.ind-index {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 72px;
    margin-top: 56px;
    align-items: start;
}
.ind-list { list-style: none; }
.ind-list a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 4px;
    border-bottom: 1px solid var(--line-dark);
    transition: border-color 0.2s;
}
.ind-list li:first-child a { border-top: 1px solid var(--line-dark); }
.ind-list .idx {
    font-family: var(--mono);
    font-size: 12px;
    color: #8C8596;
    min-width: 26px;
    transition: color 0.2s;
}
.ind-list .ind-thumb { display: none; }
.ind-list .name {
    font-size: clamp(19px, 2vw, 26px);
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--paper);
    transition: color 0.2s;
}
.ind-list .mline { display: none; }
.ind-list a:hover, .ind-list a.active { border-bottom-color: var(--gold); }
.ind-list a:hover .name, .ind-list a.active .name { color: var(--gold); }
.ind-list a:hover .idx, .ind-list a.active .idx { color: var(--gold); }
.ind-more { margin-top: 28px; }

.ind-preview { display: grid; position: relative; }
.ind-slide {
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.ind-slide.active { opacity: 1; pointer-events: auto; }
.ind-slide img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 2px;
    outline: 1px solid var(--line-dark);
}
.ind-slide figcaption { padding: 22px 2px 0; }
.ind-slide .p-name {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}
.ind-slide .p-prob { font-size: 17px; font-weight: 400; color: var(--paper); line-height: 1.5; margin-bottom: 8px; }
.ind-slide .p-det { font-size: 14.5px; line-height: 1.65; color: #C9C5D2; }

@media (max-width: 1000px) {
    .ind-index { grid-template-columns: 1fr; gap: 0; }
    .ind-preview { display: none; }
    .ind-list a { align-items: flex-start; padding: 16px 0; }
    .ind-list .idx { display: none; }
    .ind-list .ind-thumb {
        display: block;
        width: 64px;
        height: 64px;
        object-fit: cover;
        border-radius: 2px;
        flex-shrink: 0;
    }
    .ind-list .name { font-size: 17px; }
    .ind-list .mline { display: block; font-size: 13px; color: #C9C5D2; margin-top: 4px; line-height: 1.45; }
    .ind-list .txts { display: flex; flex-direction: column; }
}


/* ============================================================
   DARK DEFAULT THEME (v3.3) — the whole site sits on dark,
   Northslope style. Shade rhythm: night (base) and night-deep.
   ============================================================ */
body { background: var(--night); color: var(--paper); }
.sec-dark, .sec-deep { background: var(--night-deep); }
.sec-dark .eyebrow, .sec-deep .eyebrow, .eyebrow { color: var(--gold); }
.eyebrow.eyebrow-dark, .hero-light .eyebrow.eyebrow-dark { color: var(--night); }
.lede, .body-copy { color: #C9C5D2; }

/* Inner page header goes dark, straight wordmark inverted to white */
.hdr:not(.hdr-overlay) { background: var(--night-deep); border-bottom: 1px solid var(--line-dark); }
.hdr:not(.hdr-overlay) .hdr-nav a:not(.btn) { color: var(--paper); }
/* Buttons: gold on every surface, including light photo heroes; ghost flips to night on light */
.btn { background: var(--gold); color: var(--night); border-color: var(--gold); }
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--night); border-color: var(--paper); }
.hero-light .btn-ghost { color: var(--night); border-color: var(--night); }
.hero-light .btn-ghost:hover { background: var(--night); color: var(--gold); border-color: var(--night); }
.zone-yellow .btn { background: var(--night); color: var(--gold); border-color: var(--night); }

/* Cards and rows on dark */
.card { background: var(--night-deep); border-color: var(--line-dark); }
.card p { color: #C9C5D2; }
.card .k { color: var(--gold); }
.sec-dark .card, .sec-deep .card { background: var(--night); }
.irow { border-bottom-color: var(--line-dark); }
.irow .prob { color: var(--paper); }
.irow p { color: #C9C5D2; }
.irow img { outline: 1px solid var(--line-dark); }
.terminal { outline: 1px solid var(--line-dark); }

/* Trust logos: all artwork is already white-on-transparent */
.trust-sub { color: #C9C5D2; }

/* Contact */
.form-zone { background: var(--night-deep); outline: 1px solid var(--line-dark); }
.contact-aside { color: #C9C5D2; }
.contact-aside a { color: var(--paper); }

/* Footer: same structure, dark surface */
.footer { background: var(--night-deep); color: var(--paper); border-top: 1px solid var(--line-dark); }
.footer-col-title { color: var(--paper); }
.footer-col a { color: #B4AEBE; }
.footer-col a:hover { color: var(--paper); }
.email-input-wrap { background: var(--night); border-color: var(--line-dark); }
.email-input-wrap input { color: var(--paper); }
.email-input-wrap input::placeholder { color: #8C8596; }
.email-input-wrap .at-icon { color: #8C8596; }


/* ── v3.4 additions ───────────────────────────────────────── */
/* Hero image toned down */
.hero-full .hero-media img, .hero-full .hero-media video { filter: brightness(0.84) saturate(1.02); }
.hero-light .hero-veil { background: linear-gradient(115deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.5) 34%, rgba(255,255,255,0) 62%); }

/* Section with a photographic backdrop */
.sec-visual { position: relative; overflow: hidden; padding: 130px 0; }
.sec-visual .sv-media { position: absolute; inset: 0; }
.sec-visual .sv-media img { width: 100%; height: 100%; object-fit: cover; }
.sec-visual { min-height: 560px; display: flex; align-items: center; }
.sec-visual .wrap { width: 100%; }
.sec-visual .sv-media img { filter: saturate(1.08); }
.sec-visual .sv-veil {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(27,24,32,0.5) 0%, rgba(27,24,32,0.18) 40%, rgba(27,24,32,0) 65%);
}
.sec-visual .sv-media img { object-position: 68% center; }
.sec-visual h2 { max-width: 560px; text-shadow: 0 2px 24px rgba(17,15,21,0.75); }
.sec-visual { min-height: 620px; }
.sec-visual .lede { text-shadow: 0 1px 12px rgba(17,15,21,0.6); }
.sec-visual .wrap { position: relative; z-index: 2; }
.sec-visual h2, .sec-visual .lede { color: var(--paper); }
.sec-visual .lede { color: #D6D2DE; }


/* v3.7 audit fixes */
.hero-page.hero-light .hero-veil { background: linear-gradient(115deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.62) 42%, rgba(255,255,255,0.08) 70%); }
.hero-page h1 { max-width: 680px; }


/* v3.9 — universal overlay header */
.hdr-on-dark:not(.scrolled) .hdr-nav a:not(.btn) { color: var(--paper); }
.sec-first { padding-top: 180px; }


/* ============================================================
   v3.11 — section look upgrades (Northslope / Harmattan)
   ============================================================ */

/* Dark sections carry the single night tone, with the gold glow for depth */
.sec-dark, .sec-deep {
    background:
        radial-gradient(900px 480px at 88% -140px, rgba(224,198,75,0.055), transparent 62%),
        var(--night);
}

/* Faint engineering grid */
.sec-grid { position: relative; }
.sec-grid::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}
.sec-grid .wrap { position: relative; z-index: 1; }

/* Ghost photographic backdrop */
.sec-ghost { position: relative; overflow: hidden; }
.sec-ghost .ghost { position: absolute; inset: 0; }
.sec-ghost .ghost img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: saturate(0.9); }
.sec-ghost .ghost::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(27,24,32,0.96) 0%, rgba(27,24,32,0.62) 52%, rgba(27,24,32,0.14) 100%);
}
.sec-ghost .wrap { position: relative; z-index: 2; }
.sec-ghost.contact-page {
    min-height: 100vh;
    padding-bottom: 96px;
}
.sec-ghost.contact-page .ghost img {
    opacity: 0.42;
    filter: saturate(1.05) brightness(0.9);
}
.sec-ghost.contact-page .ghost::after {
    background: linear-gradient(105deg, rgba(17,15,21,0.92) 0%, rgba(17,15,21,0.72) 42%, rgba(17,15,21,0.28) 100%);
}

/* Card polish: a slight lift off the night tone, settling back into it */
.card, .sec-dark .card, .sec-deep .card {
    position: relative;
    background: linear-gradient(180deg, #221E29 0%, var(--night) 100%);
    transition: border-color 0.25s, transform 0.2s;
}
.card:hover { border-color: rgba(224,198,75,0.4); transform: translateY(-2px); }

/* Split-row and terminal polish */
.irow img { box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.terminal { box-shadow: 0 24px 60px rgba(0,0,0,0.5); }

/* Cinematic fade at the bottom of every hero */
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
    background: linear-gradient(180deg, rgba(27,24,32,0) 0%, rgba(27,24,32,0.92) 100%); pointer-events: none; }
.hero-inner { z-index: 3; }

/* ── Harmattan industries: full-bleed changing image + gold list panel ── */
.ind-hero { position: relative; overflow: hidden; padding: 110px 0 120px; }
.ind-bgs { position: absolute; inset: 0; }
.ind-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 0.55s ease; }
.ind-bg img { width: 100%; height: 100%; object-fit: cover; }
.ind-bg.active { opacity: 1; }
.ind-scrim { position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(27,24,32,0.85) 0%, rgba(27,24,32,0.3) 42%, rgba(27,24,32,0.8) 100%),
    linear-gradient(90deg, rgba(27,24,32,0.55) 0%, rgba(27,24,32,0.1) 55%); }
.ind-hero .wrap { position: relative; z-index: 2; }
/* Not a .sec, so the section title scale and spacing have to be restated here */
.ind-hero h2 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 20px; }
.ind-hero .lede { color: #D6D2DE; line-height: 1.5; }
.ind-layout { display: grid; grid-template-columns: 440px 1fr; gap: 64px; align-items: end; margin-top: 52px; }
.ind-panel { background: var(--gold); color: var(--night); padding: 30px 30px 24px; border-radius: 2px; box-shadow: 0 34px 90px rgba(0,0,0,0.5); }
.ind-panel .ind-list a { border-bottom: 1px solid rgba(27,24,32,0.22); padding: 13px 2px; gap: 14px; transition: transform 0.2s, border-color 0.2s; }
.ind-panel .ind-list li:first-child a { border-top: 0; }
.ind-panel .idx { color: rgba(27,24,32,0.5); }
.ind-panel .name { color: var(--night); font-size: clamp(16px, 1.5vw, 21px); }
.ind-panel .ind-list a:hover, .ind-panel .ind-list a.active { border-bottom-color: var(--night); transform: translateX(5px); }
.ind-panel .ind-list a:hover .name, .ind-panel .ind-list a.active .name,
.ind-panel .ind-list a:hover .idx, .ind-panel .ind-list a.active .idx { color: var(--night); }
.ind-panel .ind-more { margin-top: 20px; }
.ind-panel .textlink { color: var(--night); border-bottom-color: var(--night); }
.ind-info { position: relative; min-height: 250px; }
.ind-slidecard {
    position: absolute; left: 0; right: 0; bottom: 0;
    max-width: 560px;
    background: rgba(27,24,32,0.6);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 2px;
    padding: 26px 28px;
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.ind-slidecard.active { opacity: 1; transform: none; pointer-events: auto; }
.ind-slidecard .p-name { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px; }
.ind-slidecard .p-prob { font-size: 17px; font-weight: 400; color: var(--paper); line-height: 1.5; margin-bottom: 8px; }
.ind-slidecard .p-det { font-size: 14.5px; line-height: 1.65; color: #D6D2DE; margin-bottom: 16px; }

@media (max-width: 1000px) {
    .ind-layout { grid-template-columns: 1fr; margin-top: 36px; }
    .ind-bgs, .ind-info { display: none; }
    .ind-hero { padding: 80px 0; }
    .ind-panel .mline { color: rgba(27,24,32,0.72); }
    /* Rows read as a list here: only "View all industries" is tappable */
    .ind-panel .ind-list a { align-items: flex-start; cursor: default; -webkit-tap-highlight-color: transparent; }
    .ind-panel .ind-list a:hover { transform: none; border-bottom-color: rgba(27,24,32,0.22); }
}


/* ============================================================
   v3.12 — embedded and on-prem section redesign devices
   ============================================================ */
.statement { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.5; font-weight: 500; color: var(--paper); max-width: 900px; letter-spacing: -0.2px; }

/* ── Vision statement with the deployment scale row ───────── */
.sec-vision { text-align: center; padding: 140px 0; }
.sec-vision .statement { margin: 0 auto; }
/* Technique chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--night);
    white-space: nowrap;
}
.sec-dark .chip, .sec-deep .chip { border-color: var(--line-dark); color: var(--paper); }
.scale-row {
    margin-top: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 76px;
}
.scale-step { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.scale-step img { display: block; width: auto; }
.scale-step .sc-1 { height: 22px; }
.scale-step .sc-2 { height: 40px; }
.scale-step .sc-3 { height: 52px; }
.scale-step .sc-4 { height: 55px; }
.scale-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--paper);
    white-space: nowrap;
}
@media (max-width: 800px) {
    .sec-vision { padding: 96px 0; }
    .scale-row { flex-wrap: wrap; gap: 40px 34px; margin-top: 64px; }
    .scale-label { font-size: 12px; }
}

.sec-yellow { background: var(--gold); color: var(--night); }
.sec-yellow h2, .sec-yellow h3 { color: var(--night); }
.sec-yellow .eyebrow { color: var(--night); opacity: 0.6; }
.sec-yellow .statement, .sec-yellow p, .sec-yellow .lede { color: var(--night); }
.sec-yellow .btn { background: var(--night); color: var(--gold); border-color: var(--night); }
.sec-yellow .btn:hover { background: var(--night-deep); border-color: var(--night-deep); }
.sec-yellow .btn-ghost { background: transparent; color: var(--night); border-color: var(--night); }
.sec-yellow .btn-ghost:hover { background: var(--night); color: var(--gold); }

.spec-list { margin-top: 52px; }
.spec-row { display: grid; grid-template-columns: 300px 1fr; gap: 36px; padding: 24px 2px; border-bottom: 1px solid var(--line-dark); transition: background 0.2s; }
.spec-list .spec-row:first-child { border-top: 1px solid var(--line-dark); }
.spec-row:hover { background: rgba(255,255,255,0.022); }
.spec-row h4 { font-size: 19px; letter-spacing: -0.2px; }
.spec-row p { color: #C9C5D2; font-size: 15px; line-height: 1.65; }

.split-sticky { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.split-sticky .stick { position: sticky; top: 120px; }
.split-sticky .stick h2 { margin-bottom: 0; }

.num-list .num-row { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); transition: background 0.2s; }
.num-list .num-row:first-child { border-top: 1px solid var(--line-dark); }
.num-list .num-row:hover { background: rgba(255,255,255,0.022); }
.num-row .num { font-family: var(--mono); font-size: 13px; color: var(--gold); padding-top: 5px; }
.num-row h4 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.2px; }
.num-row p { color: #C9C5D2; font-size: 15px; line-height: 1.65; max-width: 640px; }

.sec-visual.sv-compact { min-height: 460px; padding: 100px 0; }

@media (max-width: 1000px) {
    .spec-row { grid-template-columns: 1fr; gap: 8px; }
    .split-sticky { grid-template-columns: 1fr; gap: 32px; }
    .split-sticky .stick { position: static; }
}


/* v3.15 — community: text left, stat boxes right */
.community-split { display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: center; }
.stat-boxes { display: flex; flex-direction: column; gap: 16px; }
.stat-box {
    display: flex; align-items: center; gap: 26px;
    background: var(--night-deep);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 2px;
    padding: 26px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.stat-box .fig { font-size: 62px; font-weight: 700; letter-spacing: -2px; line-height: 1; color: var(--paper); min-width: 150px; }
.stat-box .meta { display: flex; flex-direction: column; gap: 4px; }
.stat-box .stars { color: var(--paper); font-size: 15px; letter-spacing: 3px; line-height: 1; }
.stat-box .lbl { font-size: 14px; line-height: 1.45; color: #C9C5D2; }
@media (max-width: 1000px) {
    .community-split { grid-template-columns: 1fr; gap: 44px; }
    .stat-box .fig { min-width: 110px; font-size: 46px; }
}


/* ============================================================
   v3.17 — review polish
   ============================================================ */

/* Keyboard focus, on brand */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Dark scrollbar so the chrome matches the site */
html { scrollbar-color: #3C3745 var(--night-deep); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--night-deep); }
::-webkit-scrollbar-thumb { background: #3C3745; border-radius: 6px; border: 3px solid var(--night-deep); }

/* Ghost button gains definition over photography */
.hero .btn-ghost { background: rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* Compact photographic statement protects its text harder */
.sec-visual.sv-compact .sv-veil {
    background: linear-gradient(100deg, rgba(27,24,32,0.88) 0%, rgba(27,24,32,0.58) 48%, rgba(27,24,32,0.16) 100%);
}

/* Photographic sections stand as full screens on desktop */
@media (min-width: 1001px) {
    .ind-hero,
    .sec-visual,
    .sec-visual.sv-compact { min-height: 100vh; display: flex; align-items: center; }
    .ind-hero > .wrap,
    .sec-visual > .wrap { width: 100%; }
}

/* Motion respect */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ── Track record switcher ────────────────────────────────── */
.built {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 72px;
    margin-top: 56px;
    align-items: start;
}
.built-list { list-style: none; }
.built-row {
    display: flex;
    align-items: baseline;
    gap: 18px;
    width: 100%;
    padding: 18px 4px;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line-dark);
    text-align: left;
    cursor: pointer;
    color: var(--paper);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.built-list li:first-child .built-row { border-top: 1px solid var(--line-dark); }
.built-idx {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #7E7789;
    transition: color 0.2s ease;
}
.built-name { font-size: 16px; font-weight: 600; line-height: 1.4; }
.built-row:hover { color: var(--gold); }
.built-row.active { color: var(--gold); border-bottom-color: var(--gold); }
.built-row.active .built-idx { color: var(--gold); }

.built-cards { position: relative; min-height: 240px; }
.built-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
}
.built-card.active { opacity: 1; visibility: visible; }
.built-card h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; margin-bottom: 14px; }
.built-card p { font-size: 15.5px; line-height: 1.7; color: #C9C5D2; }
.built-result { margin-top: 14px; font-weight: 600; color: var(--paper); }
.built-tag {
    display: inline-block;
    margin-top: 20px;
    padding: 5px 10px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(224,198,75,0.5);
    border-radius: 2px;
}
@media (max-width: 900px) {
    .built { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
    .built-cards { min-height: 0; }
    .built-card { position: relative; inset: auto; display: none; }
    .built-card.active { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .built-card { transition: none; }
}

/* ============================================================
   Narrow screens: overrides that must land after every
   wide-screen rule above, so they are grouped here at the end.
   ============================================================ */
@media (max-width: 760px) {
    /* The angled veils are tuned for wide screens. On a narrow one the copy
       runs the full width, so shade from the bottom instead. */
    .hero-dark .hero-veil {
        background: linear-gradient(180deg, rgba(27,24,32,0.62) 0%, rgba(27,24,32,0.46) 26%, rgba(27,24,32,0.66) 58%, rgba(27,24,32,0.92) 100%);
    }
    .hero-light .hero-veil,
    .hero-page.hero-light .hero-veil {
        background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.34) 30%, rgba(255,255,255,0.52) 62%, rgba(255,255,255,0.74) 100%);
    }
    .sec-visual .sv-veil,
    .sec-visual.sv-compact .sv-veil {
        background: linear-gradient(180deg, rgba(27,24,32,0.88) 0%, rgba(27,24,32,0.8) 55%, rgba(27,24,32,0.92) 100%);
    }

    /* Four deployment sizes still fit one row once the labels shrink */
    .scale-row { gap: 22px; margin-top: 56px; }
    .scale-step { gap: 14px; }
    .scale-label { font-size: 11px; }
    .bench-row { grid-template-columns: 92px 1fr 34px; }

    /* Page heroes center on narrow screens, matching the home hero */
    .hero-page .hero-inner { text-align: center; }
    .hero-page h1, .hero-page .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-page .hero-actions { justify-content: center; }

    /* Section intros centre with the heroes. Direct children only, so article
       body copy and the content inside cards and rows stay left aligned. */
    .sec > .wrap > .eyebrow,
    .sec > .wrap > h2,
    .sec > .wrap > .lede,
    .sec > .wrap > .statement,
    .sec > .wrap > .zone-actions,
    .zone-yellow > .wrap > .eyebrow,
    .zone-yellow > .wrap > h2,
    .zone-yellow > .wrap > p,
    .zone-yellow > .wrap > .zone-actions { text-align: center; }
    .sec > .wrap > .lede,
    .sec > .wrap > .statement { margin-left: auto; margin-right: auto; }
    .chips { justify-content: center; }
    .strength, .hw-body, .community-split { text-align: center; }
    .community-split .lede { margin-left: auto; margin-right: auto; }
    /* Industries intro is an .ind-hero, so it sits outside the rule above */
    .ind-hero > .wrap > .eyebrow,
    .ind-hero > .wrap > h2,
    .ind-hero > .wrap > .lede { text-align: center; }
    .ind-hero > .wrap > .lede { margin-left: auto; margin-right: auto; }
    .plat-cards .card { text-align: center; }
    .plat-cards .card-icon { margin-left: auto; margin-right: auto; }
}

/* Expanding panel gallery (embedded applications) */
/* Height tracks the viewport so heading and gallery fit on a laptop screen */
.panels { display: flex; gap: 10px; height: clamp(340px, 52vh, 560px); margin-top: 40px; position: relative; z-index: 1; }
.panel { position: relative; flex: 1; overflow: hidden; border-radius: 2px; cursor: pointer;
    outline: 1px solid var(--line-dark); transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.panel:hover img { transform: scale(1.03); }
.panel .p-veil { position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(27,24,32,0.25) 0%, rgba(27,24,32,0.35) 55%, rgba(27,24,32,0.9) 100%); }
.panel .cat-v { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
    writing-mode: vertical-rl; rotate: 180deg;
    font-family: var(--mono); font-size: 13.5px; font-weight: 500; letter-spacing: 0.14em;
    color: var(--paper); white-space: nowrap; opacity: 1; transition: opacity 0.25s; }
.panel-info { position: absolute; left: 26px; right: 26px; bottom: 24px; opacity: 0; transform: translateY(10px);
    transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s; }
.panel-info h4 { font-family: var(--mono); font-size: 14.5px; font-weight: 500; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 10px; }
.panel-info p { font-size: 17px; line-height: 1.55; color: var(--paper); max-width: 460px; }
.panel.open { flex: 5.2; outline-color: rgba(224,198,75,0.45); }
.panel.open .cat-v { opacity: 0; }
.panel.open .panel-info { opacity: 1; transform: none; }
@media (max-width: 900px) {
    .panels { flex-direction: column; height: auto; }
    .panel { flex: none; height: 64px; transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
    .panel.open { flex: none; height: 340px; }
    .panel .cat-v { writing-mode: horizontal-tb; rotate: none; left: 20px; bottom: 20px; transform: none; }
}
