/* =====================================================================
   MUFASYAH CONSULTANT — "Light 3D" design system (v2)
   Plain CSS, no build step. Every selector used by nexus.js is kept.
   01 Tokens · 02 Base · 03 Buttons · 04 Header & nav · 05 Pages & motion
   06 Hero · 07 Trust marquee · 08 Sections · 09 Pillars · 10 Ecosystem
   11 Why · 12 CTA band · 13 Page heroes · 14 About · 15 Training
   16 Consulting · 17 Clients & gallery · 18 Contact · 19 Footer & FABs
   20 Modal · 21 Lightbox · 22 Missing-image fallbacks · 23 Reduced motion
   24 3D hero
   ===================================================================== */

/* ---------- 01 Tokens ---------- */
@property --ang {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

:root {
    /* Brand (from the logo) */
    --brand-blue: #035BC9;
    --brand-blue-700: #02479E;
    --brand-blue-50: #EAF2FC;
    --brand-red: #FF3B33;
    --brand-orange: #FF884B;
    --brand-gradient: linear-gradient(135deg, #FF3B33 0%, #FF884B 100%);
    /* Same hues, deepened just enough to pass 3:1 as large text on white */
    --brand-gradient-text: linear-gradient(135deg, #F0302A 0%, #E2621F 100%);
    --teal: #0E9F8E;
    --slate: #475569;
    --whatsapp: #25D366;

    /* Neutrals */
    --ink: #111827;
    --muted: #4B5563;
    --line: #E5E7EB;
    --line-strong: #D1D5DB;
    --surface: #FFFFFF;
    --surface-alt: #F7F8FA;
    --dark-band: #0B1220;
    --card: #FFFFFF;
    --label: var(--brand-blue);          /* small coloured text (always blue) */
    --danger: #B42318;
    --success: #067647;

    /* Legacy aliases (kept so any older inline style still resolves) */
    --cyan: var(--brand-blue);
    --blue: var(--brand-blue-700);
    --violet: var(--brand-red);
    --emerald: var(--teal);
    --text: var(--ink);
    --text-2: var(--muted);
    --bg: var(--surface);
    --bg-2: var(--surface-alt);

    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 20px;
    --header-h: 72px;
    --gutter: clamp(16px, 4vw, 32px);
    --container: 1264px;                 /* 1200px of content + gutters */

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-1: 160ms;
    --dur-2: 280ms;
    --dur-3: 600ms;
    --stagger: 60ms;

    --shadow-card: 0 1px 2px rgba(17, 24, 39, .04), 0 12px 32px -12px rgba(17, 24, 39, .12);
    --shadow-card-hover: 0 2px 4px rgba(17, 24, 39, .05), 0 24px 48px -16px rgba(17, 24, 39, .20);
    --shadow-pop: 0 2px 6px rgba(17, 24, 39, .06), 0 32px 64px -24px rgba(17, 24, 39, .28);
    --focus-ring: 0 0 0 3px rgba(3, 91, 201, .35);

    color-scheme: light;
}

/* Dark contrast bands: re-scope the tokens so every component adapts. */
.profile, .cta-band {
    --ink: #F8FAFC;
    --muted: #C3CBD8;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .22);
    --card: rgba(255, 255, 255, .05);
    --surface-alt: rgba(255, 255, 255, .03);
    --label: #8DB9F2;
    --text: var(--ink);
    --text-2: var(--muted);
}

/* ---------- 02 Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    background-color: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: rgba(3, 91, 201, .18); color: var(--ink); }

:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; border-radius: 6px; }
.profile :focus-visible, .cta-band :focus-visible { outline-color: #8DB9F2; }
[tabindex="-1"]:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 200;
    padding: 10px 16px; border-radius: 10px; background: var(--brand-blue); color: #fff; font-weight: 600;
    transform: translateY(-160%); transition: transform var(--dur-2) var(--ease);
}
.skip-link:focus { transform: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: #CBD2DC; border-radius: 10px; border: 2px solid var(--surface-alt); }
::-webkit-scrollbar-thumb:hover { background: #AEB7C4; }

#scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120;
    background: var(--brand-gradient); transform-origin: 0 50%; transform: scaleX(0);
}
#scroll-progress.is-sweeping { animation: sweep 600ms var(--ease) both; }
@keyframes sweep { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* Persistent ambient layer: very soft grid + light */
/* The dark theme's fixed ambient grid is retired: on white it reads as an artifact under the header. */
.ambient { display: none; }
.ambient-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(17, 24, 39, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 20%, transparent 70%);
}
.ambient-glow { display: none; }

.text-gradient {
    background: linear-gradient(110deg, #F0302A, #E2621F 45%, #F0302A 90%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: gradientShift 10s linear infinite;
}
@keyframes gradientShift { to { background-position: 200% center; } }

/* ---------- 03 Buttons ---------- */
.btn {
    --btn-h: 46px;
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--btn-h); padding: 0 22px;
    border-radius: 12px; border: 1px solid transparent;
    font-family: var(--font-sans); font-weight: 600; font-size: 14.5px; letter-spacing: 0; line-height: 1.1;
    white-space: nowrap; text-align: center;
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.btn i { font-size: .85em; transition: transform var(--dur-2) var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-sm { --btn-h: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { --btn-h: 52px; padding: 0 26px; font-size: 15.5px; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
    color: #fff; background: var(--brand-blue);
    box-shadow: 0 1px 2px rgba(3, 91, 201, .2), 0 8px 20px -8px rgba(3, 91, 201, .55), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.btn-primary:hover { background: var(--brand-blue-700); box-shadow: 0 2px 4px rgba(3, 91, 201, .2), 0 14px 28px -10px rgba(3, 91, 201, .6); }
.btn-primary:active { background: #023A82; }
.btn-glass, .btn-outline {
    color: var(--ink); background: var(--surface); border-color: var(--line-strong);
    box-shadow: 0 1px 2px rgba(17, 24, 39, .05);
}
.btn-glass:hover, .btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue-700); box-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 8px 20px -10px rgba(3, 91, 201, .35); }
.profile .btn-glass, .cta-band .btn-glass { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.profile .btn-glass:hover, .cta-band .btn-glass:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn-ghost { color: var(--brand-blue); border-color: transparent; padding-inline: 10px; }
.btn-ghost::after { content: '\2192'; font-weight: 600; transition: transform var(--dur-2) var(--ease); }
.btn-ghost:hover { color: var(--brand-blue-700); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-light { color: var(--brand-blue-700); background: #fff; box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .5); }
.btn-light:hover { color: var(--brand-blue); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .55); }
.btn-whatsapp { color: #04220F; background: var(--whatsapp); box-shadow: 0 8px 22px -10px rgba(37, 211, 102, .7); }
.btn-whatsapp:hover { background: #2FE077; box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .8); }
.btn-whatsapp i { font-size: 1.25em; }
.btn:active { transform: translateY(1px) scale(.99); }

/* ---------- 04 Header & navigation ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(17, 24, 39, .35); }
.nav-shell {
    max-width: var(--container); margin-inline: auto;
    display: flex; align-items: center; gap: 20px;
    height: var(--header-h); padding: 0 var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; border-radius: 10px; }
.brand-plate { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0; background: none; }
.brand-plate img { height: 34px; width: auto; object-fit: contain; }
.brand:hover .brand-plate { opacity: .88; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--ink); line-height: 1.1; }
.brand-word span { color: var(--brand-blue); }

.nav-desktop { position: relative; margin-left: auto; display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 40px; padding: 9px 14px; border-radius: 10px;
    font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap;
    transition: color var(--dur-2) var(--ease);
}
.nav-item:hover { color: var(--ink); }
.nav-item.is-current { color: var(--brand-blue-700); }
.nav-badge {
    font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    padding: 2px 6px; border-radius: 6px; color: var(--brand-blue-700); background: var(--brand-blue-50);
}
.nav-pill {
    position: absolute; top: 0; left: 0; height: 100%; width: 0; z-index: 0;
    border-radius: 10px; background: var(--brand-blue-50);
    opacity: 0;
    transition: transform 420ms var(--ease), width 420ms var(--ease), opacity var(--dur-2) var(--ease);
}
.nav-cta { display: none; flex-shrink: 0; }

.menu-toggle {
    margin-left: auto; position: relative; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line-strong); background: var(--surface);
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    z-index: 110;
}
.menu-toggle-bar { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur-2) var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 95;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; transition: opacity var(--dur-2) var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu-inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; }
.mobile-link {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 4px; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: clamp(20px, 5.4vw, 26px); font-weight: 700; color: var(--ink); letter-spacing: -0.02em;
    opacity: 0; transform: translateY(14px);
    transition: opacity 450ms var(--ease), transform 450ms var(--ease), color var(--dur-2);
}
.mobile-menu.is-open .mobile-link, .mobile-menu.is-open .mobile-cta, .mobile-menu.is-open .mobile-contact { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-link:nth-child(2) { transition-delay: 40ms; }
.mobile-menu.is-open .mobile-link:nth-child(3) { transition-delay: 80ms; }
.mobile-menu.is-open .mobile-link:nth-child(4) { transition-delay: 120ms; }
.mobile-menu.is-open .mobile-link:nth-child(5) { transition-delay: 160ms; }
.mobile-link.is-current { color: var(--brand-blue-700); }
.mobile-link.is-current .mobile-index { color: var(--brand-blue); }
.mobile-index { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; width: 26px; flex-shrink: 0; font-weight: 500; }
.mobile-text { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.mobile-tag { flex-shrink: 0; margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; color: var(--brand-blue-700); background: var(--brand-blue-50); }
.mobile-cta { margin-top: 28px; opacity: 0; transform: translateY(14px); transition: opacity 450ms var(--ease) 200ms, transform 450ms var(--ease) 200ms; }
.mobile-contact { margin-top: 24px; display: grid; gap: 10px; font-size: 15px; opacity: 0; transition: opacity 450ms var(--ease) 260ms; }
.mobile-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); }
.mobile-contact i { color: var(--brand-blue); width: 18px; }

@media (min-width: 1100px) {
    .nav-desktop, .nav-cta { display: flex; }
    .nav-desktop { margin-right: 6px; }
    .menu-toggle { display: none; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
    .brand-word { display: none; }
    .nav-item { padding-inline: 11px; font-size: 13.5px; }
}
@media (max-width: 420px) {
    .brand-plate img { height: 30px; }
}

/* ---------- 05 Pages, transitions & reveal ---------- */
main { display: block; outline: none; }
.page { display: none; }
.page.is-active { display: block; }
.js .page.is-entering { animation: pageIn 320ms var(--ease) both; }
.js .page.is-leaving { display: block; animation: pageOut 200ms var(--ease-in-out) both; pointer-events: none; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pageOut { to { opacity: 0; transform: translateY(-8px); } }

/* Intro motion on page heroes: replays whenever a page is shown */
.js .page.is-active .intro { animation: introUp 800ms var(--ease) both; animation-delay: calc(var(--i, 0) * var(--stagger) + 100ms); }
@keyframes introUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Scroll reveal: fade up 24px; cards stagger by --d × 60ms */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal--right { transform: translateX(28px); }
.js .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity 800ms var(--ease), transform 800ms var(--ease);
    transition-delay: calc(var(--d, 0) * var(--stagger));
}

/* ---------- 06 Hero ---------- */
.hero {
    position: relative; isolation: isolate;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 48px) 0 110px;
    overflow: hidden;
    background: var(--surface);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::after {
    /* soft radial brand glows: blue on the left, orange on the top right */
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
    background:
        radial-gradient(50% 55% at 8% 55%, rgba(3, 91, 201, .12), transparent 70%),
        radial-gradient(38% 42% at 92% 6%, rgba(255, 136, 75, .18), transparent 70%),
        radial-gradient(30% 30% at 75% 70%, rgba(3, 91, 201, .06), transparent 70%);
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .07; filter: grayscale(1); }
.hero-photo.is-missing { display: none; }
.nexus-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(3, 91, 201, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(3, 91, 201, .07) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000, transparent 72%);
    transform: perspective(900px) rotateX(58deg) translateY(18%) scale(1.6);
    transform-origin: 50% 100%;
    opacity: .6;
}
.hero-vignette {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .55) 34%, rgba(255, 255, 255, 0) 56%),
        linear-gradient(180deg, transparent 75%, var(--surface) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 720px; will-change: transform, opacity; position: relative; z-index: 2; }

.hero-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 12px; margin-bottom: 26px;
    border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .8);
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04);
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-blue-700);
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gradient); }
.pulse-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--brand-orange); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero-title {
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 1.04; letter-spacing: -0.035em; font-weight: 800;
    margin-bottom: 24px;
    text-wrap: balance;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .w > span { display: inline-block; }
.js .page.is-active .hero-title .w > span { animation: wordRise 900ms var(--ease) both; animation-delay: calc(var(--i) * 60ms + 80ms); }
@keyframes wordRise { from { transform: translateY(70%); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
/* Kicker, lede and actions follow the headline */
.js .page.is-active .hero-copy .intro { animation-delay: calc(var(--i, 0) * 60ms + 380ms); }
.js .page.is-active .hero-copy .hero-kicker.intro { animation-delay: 300ms; }
/* Phones: shorter sequence so the lede (the LCP element) paints sooner */
@media (max-width: 767px) {
    .js .page.is-active .hero-title .w > span { animation-duration: 650ms; animation-delay: calc(var(--i) * 35ms); }
    .js .page.is-active .hero-copy .intro { animation-duration: 550ms; animation-delay: calc(var(--i, 0) * 25ms + 60ms); }
    .js .page.is-active .hero-copy .hero-kicker.intro { animation-delay: 0ms; }
}

.hero-lede { font-size: clamp(16px, 1.3vw, 18.5px); color: var(--muted); max-width: 620px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.wa-chip {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
    font-size: 14px; font-weight: 500; color: var(--ink); border: 1px solid var(--line); background: var(--surface);
    box-shadow: 0 1px 2px rgba(17, 24, 39, .04);
    transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.wa-chip i { color: #128C3E; font-size: 18px; }
.wa-chip:hover { border-color: var(--whatsapp); box-shadow: 0 8px 20px -10px rgba(37, 211, 102, .6); }
.hero-caps { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-caps li { display: inline-flex; align-items: center; gap: 8px; }
.hero-caps li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-gradient); }

/* Hero layered interface: floating glass cards in real CSS 3D */
.hero-visual { display: none; position: relative; z-index: 1; height: 560px; perspective: 1200px; transform-style: preserve-3d; }
.hv-orbit {
    position: absolute; left: 50%; top: 50%; width: 470px; height: 470px; margin: -235px 0 0 -235px;
    border-radius: 50%; border: 1px dashed rgba(3, 91, 201, .18);
    animation: spinSlow 80s linear infinite;
}
.hv-orbit::before, .hv-orbit::after { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-gradient); top: -4px; left: calc(50% - 4px); }
.hv-orbit::after { background: var(--brand-blue); top: auto; bottom: 60px; left: 22px; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hv-panel {
    position: absolute;
    border-radius: 18px; border: 1px solid rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: 0 0 0 1px rgba(17, 24, 39, .05), 0 2px 4px rgba(17, 24, 39, .04), 0 24px 48px -18px rgba(17, 24, 39, .25);
    transform-style: preserve-3d;
    transform: translate3d(var(--px, 0), var(--py, 0), var(--z, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 900ms var(--ease);
}
.hv-dashboard { --z: 30px; --rx: 4deg; --ry: -9deg; }
.hv-flow { --z: 90px; --rx: 2deg; --ry: -6deg; }
.hv-ai { --z: 120px; --rx: 6deg; --ry: -12deg; }
.hv-sources { --z: 60px; --rx: -2deg; --ry: -7deg; }
.js .page.is-active .hv-panel { animation: panelIn 1100ms var(--ease) both; }
.js .page.is-active .hv-dashboard { animation-delay: 400ms; }
.js .page.is-active .hv-flow { animation-delay: 620ms; }
.js .page.is-active .hv-ai { animation-delay: 760ms; }
.js .page.is-active .hv-sources { animation-delay: 900ms; }
@keyframes panelIn { from { opacity: 0; translate: 0 40px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }

.hv-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hv-dots { display: inline-flex; gap: 5px; }
.hv-dots i { width: 7px; height: 7px; border-radius: 50%; background: #D1D5DB; }
.hv-dots i:first-child { background: var(--brand-red); }
.hv-dots i:nth-child(2) { background: var(--brand-orange); }
.hv-title { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink); }
.hv-tag { margin-left: auto; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; }

.hv-dashboard { top: 104px; left: 0; width: 400px; padding: 18px; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.hv-kpi { padding: 10px; border-radius: 12px; background: var(--surface-alt); border: 1px solid var(--line); }
.hv-kpi-label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hv-skel { display: block; height: 10px; width: 70%; border-radius: 4px; margin-bottom: 8px; background: linear-gradient(90deg, #E5E7EB, #F3F4F6, #E5E7EB); background-size: 200% 100%; animation: shimmer 2.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hv-kpi svg { width: 100%; height: 18px; }
.hv-kpi polyline { fill: none; stroke: var(--brand-blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hv-kpi:nth-child(2) polyline { stroke: var(--teal); }
.hv-kpi:nth-child(3) polyline { stroke: var(--brand-orange); }
.hv-chart { width: 100%; height: 130px; }
.hv-bars rect { fill: rgba(3, 91, 201, .16); transform-box: fill-box; transform-origin: bottom; }
.js .page.is-active .hv-bars rect { animation: growY 1000ms var(--ease) both; animation-delay: 500ms; }
.hv-bars rect:nth-child(2) { animation-delay: 560ms !important; } .hv-bars rect:nth-child(3) { animation-delay: 620ms !important; }
.hv-bars rect:nth-child(4) { animation-delay: 680ms !important; } .hv-bars rect:nth-child(5) { animation-delay: 740ms !important; }
.hv-bars rect:nth-child(6) { animation-delay: 800ms !important; } .hv-bars rect:nth-child(7) { animation-delay: 860ms !important; }
.hv-bars rect:nth-child(8) { animation-delay: 920ms !important; fill: var(--brand-orange); }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hv-line { fill: none; stroke: var(--brand-blue); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .page.is-active .hv-line { animation: draw 2000ms var(--ease) 800ms both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.hv-flow { right: 0; bottom: 96px; width: 330px; padding: 16px 18px; }
.hv-flow-track { display: flex; align-items: center; }
.hv-node { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--ink); }
.hv-node i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 14px; color: var(--brand-blue); background: var(--brand-blue-50); border: 1px solid rgba(3, 91, 201, .16); }
.hv-link { position: relative; flex: 1; height: 2px; margin: 0 6px 18px; border-radius: 2px; background: linear-gradient(90deg, rgba(3, 91, 201, .35), rgba(255, 136, 75, .55)); }
.hv-packet { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gradient); box-shadow: 0 0 0 3px rgba(255, 136, 75, .2); animation: packet 2.4s var(--ease-in-out) infinite; }
.hv-link:nth-of-type(4) .hv-packet { animation-delay: 1.2s; }
@keyframes packet { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

.hv-ai { top: 0; right: 10px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; width: 250px; }
.hv-ai-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: var(--brand-blue); box-shadow: 0 8px 20px -8px rgba(3, 91, 201, .7); }
.hv-ai-steps { display: flex; gap: 6px; margin-top: 6px; }
.hv-ai-steps b { font-weight: 500; font-size: 11px; padding: 3px 7px; border-radius: 6px; color: var(--brand-blue-700); background: var(--brand-blue-50); animation: blink 3.6s var(--ease) infinite; }
.hv-ai-steps b:nth-child(2) { animation-delay: 1.2s; }
.hv-ai-steps b:nth-child(3) { animation-delay: 2.4s; }
@keyframes blink { 0%, 60%, 100% { background: var(--brand-blue-50); color: var(--brand-blue-700); } 20% { background: var(--brand-blue); color: #fff; } }

.hv-sources { left: 36px; bottom: 6px; display: flex; align-items: center; gap: 8px; padding: 12px 14px; }
.hv-sources .hv-title { font-size: 11px; font-family: var(--font-mono); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 4px; }
.hv-src { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink); padding: 5px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.hv-src i { color: var(--teal); }

.scroll-cue {
    position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 44px;
    font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue-line { position: relative; width: 1px; height: 46px; background: var(--line-strong); overflow: hidden; }
.scroll-cue-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--brand-blue); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }

@media (min-width: 1024px) {
    .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
    .hero-visual { display: block; }
}
@media (min-width: 1024px) and (max-width: 1239px) {
    .hero-visual { transform: scale(.82); transform-origin: right center; }
}
@media (max-width: 640px) {
    .hero { padding-bottom: 88px; align-items: flex-end; }
    .hero-actions .btn { width: 100%; }
    .hero-actions .btn-ghost { justify-content: flex-start; }
    .hero-kicker { font-size: 10.5px; letter-spacing: .06em; }
    .scroll-cue { display: none; }
}

/* ---------- 07 Trust marquee ---------- */
.trust { position: relative; padding: 44px 0 34px; border-block: 1px solid var(--line); background: var(--surface); }
.trust-label { text-align: center; padding-inline: var(--gutter); margin-bottom: 26px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 16px; padding-right: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-tile {
    position: relative;
    display: grid; place-items: center;
    width: 172px; height: 72px; padding: 14px 22px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--line);
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2);
}
.logo-tile img { max-height: 36px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease); }
.logo-tile:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.logo-tile:hover img { filter: none; opacity: 1; }

.marquee-toggle {
    display: flex; align-items: center; gap: 8px; margin: 18px auto 0; min-height: 44px;
    font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
    padding: 6px 14px; border-radius: 10px; border: 1px solid transparent;
    transition: color var(--dur-2), border-color var(--dur-2);
}
.marquee-toggle:hover { color: var(--ink); border-color: var(--line); }

/* ---------- 08 Section scaffolding ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 9vw, 120px); }
.section--band { background: var(--surface-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
    font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label);
}
.eyebrow-index { color: var(--muted); padding-right: 12px; border-right: 1px solid var(--line-strong); letter-spacing: .1em; }
.section-title { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 18px; font-weight: 800; text-wrap: balance; }
.section-lede { font-size: clamp(16px, 1.2vw, 18px); color: var(--muted); line-height: 1.7; max-width: 640px; }

/* Shared spotlight (cursor-following light, brand blue) */
[data-spotlight] { --mx: 50%; --my: 0%; }
.spot-layer, [data-spotlight]::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
    background: radial-gradient(360px circle at var(--mx) var(--my), rgba(3, 91, 201, .08), transparent 60%);
    opacity: 0; transition: opacity var(--dur-2) var(--ease);
}
[data-spotlight]:hover::before { opacity: 1; }
.cta-band[data-spotlight]::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 136, 75, .16), transparent 60%); }

/* Card baseline shared by every card-like component */
.pillar, .course-card, .service, .format, .vm-card, .why-item, .cred, .contact-lead, .contact-link, .eco-panel, .form-card, .explorer {
    --accent-ink: color-mix(in srgb, var(--accent, #035BC9) 62%, #111827);
}

/* ---------- 09 Solution pillars ---------- */
.pillars { display: grid; gap: 20px; grid-template-columns: 1fr; }
.pillar {
    --accent: var(--brand-blue); --accent-rgb: 3, 91, 201;
    position: relative; isolation: isolate;
    display: flex; flex-direction: column;
    padding: 28px; border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transform-style: preserve-3d;
    transition: transform 500ms var(--ease), border-color var(--dur-2), box-shadow var(--dur-2);
    overflow: hidden;
}
.pillar > * { position: relative; z-index: 1; }
.pillar:hover, .pillar:focus-visible { border-color: rgba(var(--accent-rgb), .35); box-shadow: var(--shadow-card-hover); }
.pillar:hover:not([style*="transform"]) { transform: translateY(-4px); }
/* Moving light reflection that follows the tilt */
.pillar::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%);
    background-size: 250% 100%; background-position: calc(100% - var(--mx-p, 50%)) 0;
    mix-blend-mode: soft-light; opacity: 0; transition: opacity var(--dur-2);
}
.pillar:hover::after { opacity: 1; }
.pillar-border {
    position: absolute !important; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--ang), transparent 0deg, transparent 250deg, rgba(var(--accent-rgb), .9) 320deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 400ms var(--ease);
}
.pillar:hover .pillar-border, .pillar:focus-visible .pillar-border { opacity: 1; animation: borderSpin 3.6s linear infinite; }
@keyframes borderSpin { to { --ang: 360deg; } }

.pillar-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.pillar-icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 20px;
    color: var(--accent-ink); background: rgba(var(--accent-rgb), .1);
    transition: transform var(--dur-2) var(--ease), background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.pillar:hover .pillar-icon { transform: translateY(-2px) rotate(-6deg); box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), .8); }
.pillar-num { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--label); letter-spacing: .08em; }
.pillar-title { font-size: 21px; line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.02em; }
.pillar-text { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 24px; }
.pillar-cta {
    margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
    font-size: 14.5px; font-weight: 600; color: var(--brand-blue);
    padding-top: 18px; border-top: 1px solid var(--line);
}
.pillar-cta i { transition: transform var(--dur-2) var(--ease); }
.pillar:hover .pillar-cta i { transform: translateX(4px); }

/* Pillar mini-visualisations */
.pillar-mini { width: 64px; height: 32px; }
.art-bars rect { fill: rgba(var(--accent-rgb), .3); transform-box: fill-box; transform-origin: bottom; transition: transform 600ms var(--ease), fill var(--dur-2); }
.art-bars rect:nth-child(odd) { transform: scaleY(.55); }
.pillar:hover .art-bars rect { fill: var(--accent); transform: scaleY(1); }
.pillar:hover .art-bars rect:nth-child(even) { transform: scaleY(.7); }
.art-neural path { fill: none; stroke: rgba(var(--accent-rgb), .5); stroke-width: 1.2; }
.art-neural circle { fill: rgba(var(--accent-rgb), .6); transform-box: fill-box; transform-origin: center; }
.pillar:hover .art-neural circle { animation: nodePulse 1.4s var(--ease) infinite; fill: var(--accent); }
.pillar:hover .art-neural circle:nth-of-type(2) { animation-delay: .2s; } .pillar:hover .art-neural circle:nth-of-type(3) { animation-delay: .4s; }
.pillar:hover .art-neural circle:nth-of-type(4) { animation-delay: .6s; } .pillar:hover .art-neural circle:nth-of-type(5) { animation-delay: .8s; }
@keyframes nodePulse { 50% { transform: scale(1.5); } }
.art-flow rect { fill: rgba(var(--accent-rgb), .12); stroke: rgba(var(--accent-rgb), .6); stroke-width: 1; }
.art-flow path { stroke: rgba(var(--accent-rgb), .6); stroke-width: 1.2; stroke-dasharray: 2 3; }
.art-flow-dot { fill: var(--accent); opacity: 0; }
.pillar:hover .art-flow-dot { opacity: 1; animation: flowDot 1.6s var(--ease-in-out) infinite; }
@keyframes flowDot { 0% { transform: translateX(0); } 50% { transform: translateX(10px); } 51% { transform: translateX(24px); } 100% { transform: translateX(34px); } }
.art-merge path { fill: none; stroke: rgba(var(--accent-rgb), .6); stroke-width: 1.4; stroke-dasharray: 60; stroke-dashoffset: 0; }
.art-merge rect { fill: rgba(var(--accent-rgb), .16); stroke: var(--accent); stroke-width: 1; }
.pillar:hover .art-merge path { animation: dash 1.4s var(--ease) both; }
@keyframes dash { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }

.pillar-art { width: 100%; height: auto; margin: -6px 0 22px; overflow: visible; }
.art-path path { fill: none; stroke: rgba(var(--accent-rgb), .55); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.art-path circle { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.art-path circle:last-of-type { fill: var(--brand-orange); stroke: var(--brand-red); }
.art-path text { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; fill: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.reveal.is-in .art-path path { animation: draw 1800ms var(--ease) 300ms both; }

.art-forecast { height: 120px; }
.fc-hist { fill: none; stroke: var(--brand-blue); stroke-width: 2.2; stroke-dasharray: 1; }
.fc-pred { fill: none; stroke: var(--brand-orange); stroke-width: 2.2; stroke-dasharray: 5 5; animation: dashMove 1.2s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -20; } }
.fc-band { fill: rgba(255, 136, 75, .14); }
.art-forecast line { stroke: var(--line-strong); stroke-dasharray: 2 4; }
.art-forecast text { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; fill: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.reveal.is-in .fc-hist { animation: draw 1800ms var(--ease) 200ms both; }

@media (min-width: 640px) {
    .pillars { grid-template-columns: repeat(2, 1fr); }
    .pillar--hero, .pillar--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .pillars { grid-template-columns: 1.15fr 1fr 1fr; }
    .pillar--hero { grid-column: auto; grid-row: span 2; padding: 34px; }
    .pillar--hero .pillar-title { font-size: 28px; }
    .pillar--hero .pillar-art { margin: 10px 0 34px; }
    .pillar--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
    .pillar--wide .pillar-art { margin: 0; }
}
.pillar-wide-copy { display: flex; flex-direction: column; }

/* ---------- 10 Technology ecosystem ---------- */
.eco { display: grid; gap: 20px; grid-template-columns: 1fr; position: relative; }
.eco-stage {
    position: relative;
    border-radius: var(--radius-lg); border: 1px solid var(--line);
    background: radial-gradient(60% 60% at 50% 50%, rgba(3, 91, 201, .05), transparent 70%), var(--surface);
    box-shadow: var(--shadow-card);
    padding: 20px;
    display: grid; gap: 22px;
}
.eco-lines, .eco-core { display: none; }
.eco-group { --c: var(--brand-blue); }
.eco-group[data-domain="data"] { --c: #035BC9; }
.eco-group[data-domain="ai"] { --c: #FF3B33; }
.eco-group[data-domain="automation"] { --c: #0E9F8E; }
.eco-group[data-domain="workplace"] { --c: #02479E; }
.eco-hub { margin-bottom: 12px; font-size: inherit; }
.eco-hub-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
    font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink);
    padding: 6px 12px 6px 6px; border-radius: 12px;
    transition: background-color var(--dur-2), box-shadow var(--dur-2);
}
.eco-hub-btn i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; color: color-mix(in srgb, var(--c) 70%, #111827); background: color-mix(in srgb, var(--c) 12%, #fff); }
.eco-hub-btn:hover, .eco-hub-btn.is-active { background: color-mix(in srgb, var(--c) 8%, #fff); }
.eco-nodes { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-node {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 40px; padding: 8px 13px 8px 11px; border-radius: 999px;
    font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap;
    background: var(--surface); border: 1px solid var(--line-strong);
    transition: opacity var(--dur-2), border-color var(--dur-2), background-color var(--dur-2), box-shadow var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease);
}
.eco-node::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.eco-node:hover, .eco-node.is-active { border-color: var(--c); background: color-mix(in srgb, var(--c) 7%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 14%, transparent); }
.eco-node.is-active { transform: scale(1.05); }
.eco.has-focus .eco-node:not(.is-active):not(.is-related) { opacity: .4; }
.eco-node.is-related { border-color: color-mix(in srgb, var(--c) 60%, transparent); }

.eco-panel {
    border-radius: var(--radius-lg); border: 1px solid var(--line);
    background: var(--card); box-shadow: var(--shadow-card);
    padding: 24px; min-height: 220px;
}
.eco-panel-kicker { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.eco-panel-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--panel-c, var(--brand-blue)); }
.eco-panel-title { font-size: 24px; margin-bottom: 10px; }
.eco-panel-text { font-size: 15px; color: var(--muted); line-height: 1.7; }
.eco-panel-sub { margin: 18px 0 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eco-panel-list { display: grid; gap: 6px; }
.eco-panel-list a, .eco-panel-list button {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; text-align: left;
    padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--ink);
    background: var(--surface-alt); border: 1px solid var(--line);
    transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2);
}
.eco-panel-list a:hover, .eco-panel-list button:hover { color: var(--brand-blue-700); border-color: rgba(3, 91, 201, .45); background: var(--brand-blue-50); }
.eco-panel-list i { color: var(--brand-blue); width: 16px; text-align: center; font-size: 12px; }
.eco-panel-list .eco-level { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.eco-panel-empty { font-size: 14px; color: var(--muted); padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line-strong); }
.eco-panel-empty a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 3px; }
.eco-panel.is-swapping > * { animation: introUp 420ms var(--ease) both; }

.eco-services { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-service {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    padding: 8px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: var(--muted);
    border: 1px solid var(--line); background: var(--surface);
    transition: color var(--dur-2), border-color var(--dur-2), background-color var(--dur-2), box-shadow var(--dur-2);
}
.eco-service i { font-size: 12px; }
.eco-service:hover { color: var(--ink); border-color: var(--line-strong); }
.eco-service.is-lit { color: var(--brand-blue-700); border-color: rgba(3, 91, 201, .5); background: var(--brand-blue-50); box-shadow: 0 8px 20px -12px rgba(3, 91, 201, .6); }
.eco-service.is-lit i { color: var(--brand-blue); }
.eco-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

.eco-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 30; display: none; }
.eco-links path { fill: none; stroke-width: 1.6; stroke-dasharray: 4 6; animation: dashMove 1s linear infinite; opacity: .85; }

@media (min-width: 640px) and (max-width: 1199px) {
    .eco-stage { grid-template-columns: 1fr 1fr; }
}
/* Desktop: the four hubs orbit the core on a tilted 3D ring (positions set by nexus.js) */
@media (min-width: 1200px) {
    .eco { grid-template-columns: minmax(0, 1fr) 340px; }
    .eco-services { grid-column: 1 / -1; justify-content: center; }
    .eco-stage { display: block; aspect-ratio: 10 / 8; padding: 0; overflow: hidden; perspective: 1400px; }
    .eco-stage::before {
        /* the tilted orbit ring */
        content: ''; position: absolute; left: 50%; top: 50%; width: var(--ring-w, 70%); aspect-ratio: 1; pointer-events: none;
        border-radius: 50%; border: 1.5px dashed rgba(3, 91, 201, .22);
        transform: translate(-50%, -50%) rotateX(var(--ring-tilt, 55deg));
        background: radial-gradient(closest-side, rgba(3, 91, 201, .05), transparent 85%);
    }
    .eco-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
    .eco-links { display: block; }
    .eco-lines line { stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: stroke-opacity var(--dur-2), stroke-width var(--dur-2); }
    .eco-lines .l-core { stroke-opacity: .45; stroke-dasharray: 3 5; }
    .eco-lines .l-tech { display: none; }
    .eco-lines .is-hot { stroke-opacity: 1; stroke-width: 2; stroke-dasharray: 5 6; animation: dashMove .9s linear infinite; }
    .eco.has-focus .eco-lines line:not(.is-hot) { stroke-opacity: .12; }
    .eco-core {
        display: grid; place-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
        width: 116px; height: 116px; border-radius: 50%; z-index: 5;
        background: radial-gradient(circle at 35% 30%, #fff, #F2F6FC 70%);
        border: 1px solid rgba(3, 91, 201, .2);
        box-shadow: 0 0 0 10px rgba(3, 91, 201, .05), 0 0 0 22px rgba(3, 91, 201, .03), 0 20px 40px -16px rgba(3, 91, 201, .4);
        text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .1em; color: var(--ink); line-height: 1.5;
    }
    .eco-core::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--brand-orange); animation: ping 3.2s var(--ease) infinite; }
    .eco-group {
        position: absolute; left: 50%; top: 50%; z-index: 4; width: 272px;
        padding: 12px 14px 14px; border-radius: 18px;
        background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
        box-shadow: var(--shadow-card);
        backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
        transform: translate(-50%, -50%) translate3d(var(--ox, 0px), var(--oy, 0px), 0) scale(var(--os, 1));
        opacity: var(--oo, 1);
        will-change: transform;
        transition: opacity var(--dur-2), box-shadow var(--dur-2), border-color var(--dur-2);
    }
    .eco-group::before {
        /* satellite ring hint around the hub icon */
        content: ''; position: absolute; left: 10px; top: 8px; width: 48px; height: 48px; border-radius: 50%;
        border: 1px dashed color-mix(in srgb, var(--c) 45%, transparent); pointer-events: none;
        animation: spinSlow 18s linear infinite;
    }
    .eco-group:hover, .eco-group:focus-within { --oo: 1; border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: var(--shadow-card-hover); }
    .eco-hub { margin-bottom: 10px; }
    .eco-nodes { gap: 6px; }
    .eco-node { min-height: 32px; padding: 5px 10px 5px 9px; font-size: 12.5px; gap: 7px; }
    .eco-node::before { width: 6px; height: 6px; }
}

/* ---------- 11 Why choose ---------- */
.why { overflow: hidden; }
.why::before { content: ''; position: absolute; inset: 0; background: radial-gradient(45% 55% at 100% 50%, rgba(255, 136, 75, .08), transparent 70%); pointer-events: none; }
.why-grid { display: grid; gap: 48px; align-items: center; }
.why-list { display: grid; gap: 12px; margin-top: 34px; counter-reset: why; }
.why-item {
    position: relative; display: flex; gap: 18px; padding: 20px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-card);
    transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), box-shadow var(--dur-2);
}
.why-item:hover { transform: translateY(-4px); border-color: rgba(3, 91, 201, .3); box-shadow: var(--shadow-card-hover); }
.why-icon { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; color: var(--brand-blue); background: var(--brand-blue-50); font-size: 17px; }
.why-item:nth-child(2) .why-icon { color: #0B7C70; background: rgba(14, 159, 142, .1); }
.why-item:nth-child(3) .why-icon { color: #B8401F; background: rgba(255, 136, 75, .14); }
.why-item h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
.why-item p { font-size: 15px; line-height: 1.65; color: var(--muted); }

.why-media, .about-media { position: relative; margin: 0; }
.media-frame {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    border: 1px solid var(--line); background: var(--surface-alt);
    aspect-ratio: 4 / 5; max-height: 640px; width: 100%;
    box-shadow: var(--shadow-pop);
}
.media-frame img { width: 100%; height: 118%; object-fit: cover; transform: translate3d(0, var(--parallax, 0), 0); transition: transform 120ms linear; }
.media-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 32, .45)); pointer-events: none; }
.media-note {
    position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
    display: flex; gap: 14px; align-items: flex-start; padding: 18px;
    border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
}
.media-note-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: var(--brand-blue); background: var(--brand-blue-50); }
.media-note-kicker { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 4px; }
.media-note-text { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.45; }
@media (min-width: 1024px) {
    .why-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; }
}

/* ---------- 12 CTA band (dark contrast band) ---------- */
.cta-band {
    --accent-rgb: 255, 136, 75;
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: 28px; border: 1px solid rgba(255, 255, 255, .08);
    background: radial-gradient(60% 80% at 100% 0%, rgba(255, 136, 75, .22), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(3, 91, 201, .35), transparent 60%), var(--dark-band);
    padding: clamp(44px, 7vw, 88px) clamp(22px, 5vw, 64px);
    text-align: center;
    box-shadow: var(--shadow-pop);
}
.cta-band .nexus-canvas { opacity: .8; z-index: -1; }
.cta-band-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; text-wrap: balance; }
.cta-band p { color: var(--muted); font-size: 17px; margin-bottom: 34px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 520px) { .cta-actions .btn { width: 100%; } }

/* ---------- 13 Page heroes ---------- */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: calc(var(--header-h) + clamp(64px, 10vw, 120px)) 0 clamp(64px, 8vw, 104px);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.page-hero--compact { padding-bottom: clamp(48px, 6vw, 72px); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img { position: absolute; inset: -10% 0 0; width: 100%; height: 125%; object-fit: cover; opacity: .08; filter: grayscale(1); transform: translate3d(0, var(--parallax, 0), 0); }
.page-hero-bg img.is-missing { display: none; }
.page-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(45% 70% at 15% 0%, rgba(3, 91, 201, .12), transparent 70%),
        radial-gradient(35% 60% at 90% 10%, rgba(255, 136, 75, .14), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .4), var(--surface));
}
.page-hero-bg .nexus-canvas { z-index: 1; opacity: .7; }
.page-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.page-title { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 20px; text-wrap: balance; }
.page-lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 720px; margin: 0 auto; line-height: 1.7; }
.page-hero .eyebrow { justify-content: center; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-blue-700);
    padding: 7px 14px; border-radius: 999px; background: var(--brand-blue-50); border: 1px solid rgba(3, 91, 201, .14);
}
.badge-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-gradient); }

/* ---------- 14 About ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
.display-quote { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 26px; text-wrap: balance; }
.prose { display: grid; gap: 16px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.vm-grid { display: grid; gap: 16px; margin-top: 34px; }
.vm-card { position: relative; padding: 22px 22px 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-card); overflow: hidden; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2); }
.vm-card::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.vm-card h3 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.vm-card h3 i { color: var(--accent-ink); font-size: .95em; }
.vm-card p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-corner { position: absolute; right: 0; top: -14px; width: 120px; height: 120px; border-top: 3px solid var(--brand-orange); border-right: 3px solid var(--brand-red); border-top-right-radius: 28px; pointer-events: none; opacity: .8; }
@media (min-width: 640px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; } .media-corner { right: -14px; } }

.profile {
    display: grid; overflow: hidden;
    border-radius: 28px; border: 1px solid rgba(255, 255, 255, .08);
    background: radial-gradient(70% 60% at 0% 0%, rgba(3, 91, 201, .35), transparent 60%), var(--dark-band);
    box-shadow: var(--shadow-pop);
}
.profile-id { padding: clamp(28px, 4vw, 48px); text-align: center; display: flex; flex-direction: column; align-items: center; border-bottom: 1px solid var(--line); }
.profile-portrait { position: relative; width: 184px; height: 184px; margin-bottom: 22px; }
.profile-portrait img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--dark-band); }
.profile-ring { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from var(--ang), #FF3B33, #FF884B, #035BC9, #FF3B33); animation: borderSpin 8s linear infinite; }
.profile-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; filter: blur(18px); opacity: .35; }
.profile-name { font-size: 26px; margin-bottom: 6px; }
.profile-role { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin-bottom: 12px; }
.profile-badge { font-size: 13px; color: var(--muted); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); margin-bottom: 28px; }
.profile-actions { display: grid; gap: 10px; width: 100%; max-width: 300px; }
.profile-body { padding: clamp(28px, 4vw, 52px); }
.profile-heading { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.025em; margin-bottom: 16px; }
.profile-bio { color: var(--muted); font-size: 16.5px; line-height: 1.8; margin-bottom: 32px; max-width: 640px; }
.cred-grid { display: grid; gap: 14px; }
.cred { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); transition: border-color var(--dur-2); }
.cred:hover { border-color: var(--line-strong); }
.cred h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cred ul { display: grid; gap: 10px; }
.cred li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.cred li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--brand-orange); transform: rotate(45deg); }
@media (min-width: 640px) { .cred-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
    .profile { grid-template-columns: 340px minmax(0, 1fr); }
    .profile-id { border-bottom: 0; border-right: 1px solid var(--line); justify-content: center; }
}

/* ---------- 15 Training explorer ---------- */
.explorer {
    position: relative; z-index: 20;
    padding: 16px; margin-bottom: 32px; border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px) saturate(150%); -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: var(--shadow-card);
}
.explorer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.search-field { position: relative; flex: 1 1 320px; display: flex; align-items: center; }
.search-field > i { position: absolute; left: 16px; color: var(--muted); font-size: 14px; pointer-events: none; transition: color var(--dur-2); }
.search-field:focus-within > i { color: var(--brand-blue); }
.search-field input {
    width: 100%; height: 48px; padding: 0 44px 0 44px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); font-size: 15px;
    transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.search-field input::placeholder { color: #6B7280; }
.search-field input:focus { outline: none; border-color: var(--brand-blue); box-shadow: var(--focus-ring); }
.search-kbd { position: absolute; right: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--surface-alt); }
.search-field:focus-within .search-kbd { opacity: 0; }
.explorer-selects { display: flex; gap: 10px; flex-wrap: wrap; }
.select-field { position: relative; display: flex; align-items: center; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); padding-left: 14px; transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.select-field:focus-within { border-color: var(--brand-blue); box-shadow: var(--focus-ring); }
.select-field > span { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.select-field select { appearance: none; -webkit-appearance: none; height: 100%; padding: 0 34px 0 6px; background: transparent; border: 0; color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: pointer; }
.select-field select:focus { outline: none; }
.select-field::after { content: ''; position: absolute; right: 14px; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg); pointer-events: none; }
.select-field option { background: #fff; color: var(--ink); }
.course-count { margin-left: auto; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.course-count #course-count { color: var(--brand-blue); font-size: 18px; font-weight: 600; margin-right: 2px; }

.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; scroll-snap-type: x proximity; }
.chip-row::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .explorer .chip-row { flex-wrap: wrap; overflow: visible; } }
.chip-row--center { justify-content: center; flex-wrap: wrap; overflow: visible; margin-bottom: 44px; }
.chip {
    flex-shrink: 0; scroll-snap-align: start;
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-strong);
    font-size: 14px; font-weight: 500; color: var(--muted); background: var(--surface);
    transition: color var(--dur-2), border-color var(--dur-2), background-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2) var(--ease);
}
.chip:hover { color: var(--ink); border-color: #9CA3AF; transform: translateY(-1px); }
.chip.is-active { color: #fff; background: var(--brand-blue); border-color: var(--brand-blue); box-shadow: 0 8px 18px -10px rgba(3, 91, 201, .8); }
.chip-count { font-family: var(--font-mono); font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--surface-alt); color: var(--muted); transition: background-color var(--dur-2), color var(--dur-2); }
.chip.is-active .chip-count { background: rgba(255, 255, 255, .2); color: #fff; }

.course-grid { display: grid; gap: 20px; grid-template-columns: 1fr; min-height: 300px; }
@media (min-width: 720px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }

.course-card {
    --accent: var(--brand-blue); --accent-rgb: 3, 91, 201;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 24px; border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transition: transform 400ms var(--ease), border-color var(--dur-2), box-shadow var(--dur-2);
    animation: cardIn 500ms var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.course-card > * { position: relative; z-index: 1; }
.course-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); opacity: .9; }
.course-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .35); box-shadow: var(--shadow-card-hover); }
.course-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.course-cat { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-blue); }
.course-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); color: var(--ink); background: var(--surface-alt); white-space: nowrap; }
.tag i { color: var(--accent-ink, var(--brand-blue)); font-size: 10px; }
.tag--cat { color: var(--brand-blue-700); background: var(--brand-blue-50); border-color: rgba(3, 91, 201, .14); }
.level-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.level-bars i { width: 3px; border-radius: 1px; background: #D1D5DB; }
.level-bars i:nth-child(1) { height: 4px; } .level-bars i:nth-child(2) { height: 7px; } .level-bars i:nth-child(3) { height: 10px; }
.level-bars[data-level="1"] i:nth-child(-n+1), .level-bars[data-level="2"] i:nth-child(-n+2), .level-bars[data-level="3"] i { background: var(--accent); }
.course-title { font-size: 19px; line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.015em; }
.course-desc { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-outcomes-label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.course-outcomes { display: grid; gap: 8px; margin-bottom: 22px; }
.course-outcomes li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.course-outcomes i { color: var(--teal); font-size: 11px; margin-top: 5px; }
.course-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.course-actions .btn { --btn-h: 44px; font-size: 14px; padding: 0 12px; }

.course-empty { grid-column: 1 / -1; text-align: center; padding: 56px 24px; border-radius: 20px; border: 1px dashed var(--line-strong); color: var(--muted); background: var(--surface-alt); }
.course-empty i { font-size: 28px; color: var(--brand-blue); margin-bottom: 14px; display: block; }
.course-empty p { margin-bottom: 18px; }

.custom-note {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; gap: 22px; align-items: center;
    margin-top: clamp(56px, 8vw, 96px); padding: clamp(26px, 4vw, 44px);
    border-radius: 24px; border: 1px solid rgba(3, 91, 201, .14);
    background: radial-gradient(60% 120% at 100% 0%, rgba(255, 136, 75, .12), transparent 60%), var(--brand-blue-50);
}
.custom-note > * { position: relative; z-index: 1; min-width: 0; }
.custom-note .btn { white-space: normal; }
.custom-note-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 22px; color: var(--brand-blue); background: #fff; box-shadow: var(--shadow-card); }
.custom-note h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; letter-spacing: -0.02em; }
.custom-note p { color: var(--muted); line-height: 1.7; max-width: 640px; }
@media (min-width: 900px) { .custom-note { grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; } }

.formats { margin-top: clamp(72px, 10vw, 120px); }
.format-grid { display: grid; gap: 18px; }
.format {
    --accent: var(--brand-blue);
    position: relative; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-card);
    transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), box-shadow var(--dur-2);
}
.format:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: var(--shadow-card-hover); }
.format-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 11%, #fff); margin-bottom: 20px; }
.format h3 { font-size: 18px; margin-bottom: 10px; }
.format p { font-size: 15px; line-height: 1.65; color: var(--muted); }
@media (min-width: 640px) { .format-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .format-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 16 Consulting ---------- */
.story-grid { display: grid; gap: 32px; }
.story-visual { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; align-self: start; }
.story-screen {
    position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
    border: 1px solid var(--line);
    background: radial-gradient(70% 70% at 50% 40%, rgba(3, 91, 201, .06), transparent 70%), var(--surface);
    box-shadow: var(--shadow-pop);
}
.story-screen::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(17, 24, 39, .1) 1px, transparent 1px); background-size: 22px 22px; opacity: .6; }
.story-tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); }
/* Scene switch: crossfade + scale */
.story-scene { position: absolute; inset: 8% 6% 6%; width: 88%; height: 86%; opacity: 0; transform: scale(.92); transition: opacity 500ms var(--ease), transform 700ms var(--ease); }
.story-scene.is-on { opacity: 1; transform: none; }
.story-scene text { font-family: var(--font-mono); font-size: 12px; font-weight: 500; fill: var(--ink); text-anchor: middle; }
.s-flow { fill: none; stroke: rgba(3, 91, 201, .5); stroke-width: 1.6; stroke-dasharray: 5 6; animation: dashMove 1s linear infinite; }
.s1-src rect { fill: var(--brand-blue-50); stroke: rgba(3, 91, 201, .45); }
.s1-table rect { fill: rgba(14, 159, 142, .08); stroke: var(--teal); stroke-width: 1.5; }
.s1-table path { stroke: rgba(14, 159, 142, .45); fill: none; }
.s-caption { fill: #0B7C70 !important; font-size: 11px !important; }
.is-on .s1-src rect { animation: srcPulse 2.4s var(--ease) infinite; }
.s1-src rect:nth-of-type(2) { animation-delay: .3s !important; } .s1-src rect:nth-of-type(3) { animation-delay: .6s !important; } .s1-src rect:nth-of-type(4) { animation-delay: .9s !important; }
@keyframes srcPulse { 50% { fill: #D3E4FA; } }
.s2-frame { fill: var(--surface); stroke: var(--line-strong); }
.s2-kpis rect { fill: var(--surface-alt); stroke: var(--line); }
.s2-kpis rect:first-child { fill: var(--brand-blue-50); stroke: rgba(3, 91, 201, .3); }
.s2-bars rect { fill: rgba(3, 91, 201, .55); transform-box: fill-box; transform-origin: bottom; }
.s2-bars rect:nth-child(4) { fill: var(--brand-orange); }
.is-on .s2-bars rect { animation: growY 900ms var(--ease) both; }
.s2-bars rect:nth-child(2) { animation-delay: 80ms !important; } .s2-bars rect:nth-child(3) { animation-delay: 160ms !important; } .s2-bars rect:nth-child(4) { animation-delay: 240ms !important; } .s2-bars rect:nth-child(5) { animation-delay: 320ms !important; }
.s2-line { fill: none; stroke: var(--brand-blue); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; }
.is-on .s2-line { animation: draw 1600ms var(--ease) 300ms both; }
/* Donut: the circle gets r + pathLength from nexus.js; a track circle is inserted behind it */
.s2-donut-track { fill: none; stroke: var(--line); stroke-width: 10; }
.s2-donut { fill: none; stroke: var(--brand-orange); stroke-width: 10; stroke-linecap: round; stroke-dasharray: .68 1; stroke-dashoffset: 0; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.is-on .s2-donut { animation: donutFill 1400ms var(--ease) 500ms both; }
@keyframes donutFill { from { stroke-dashoffset: .68; } to { stroke-dashoffset: 0; } }
.s3-nodes rect { fill: var(--surface); stroke: var(--line-strong); }
.s3-nodes .s3-ai { fill: rgba(255, 136, 75, .12); stroke: var(--brand-orange); stroke-width: 1.5; }
.s3-packet { fill: var(--brand-orange); }
.s4-ring { fill: none; stroke: rgba(3, 91, 201, .35); stroke-dasharray: 4 6; transform-box: fill-box; transform-origin: center; }
.is-on .s4-ring { animation: spinSlow 30s linear infinite; }
.is-on .s4-ring:nth-of-type(2) { animation-direction: reverse; animation-duration: 22s; stroke: rgba(255, 136, 75, .6); }
.s4-core { fill: var(--brand-blue-50); stroke: var(--brand-blue); stroke-width: 1.5; }
.is-on .s4-core { animation: corePulse 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes corePulse { 50% { transform: scale(1.08); } }
.s4-core-t { fill: var(--brand-blue-700) !important; font-family: var(--font-display) !important; font-weight: 700; }
.s4-labels text { fill: var(--brand-blue-700) !important; font-size: 12px !important; font-weight: 600; }
.story-progress { display: flex; gap: 6px; margin-top: 12px; }
.story-progress li { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.story-progress li::after { content: ''; position: absolute; inset: 0; background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease); }
.story-progress li.is-done::after { transform: scaleX(1); }

.story-steps { display: grid; gap: 0; }
.story-step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding: 28px 0 28px 24px; border-left: 2px solid var(--line); position: relative; opacity: .4; transition: opacity 450ms var(--ease); }
.story-step::before { content: ''; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); transition: background-color var(--dur-2), border-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2) var(--ease); }
.story-step.is-active { opacity: 1; }
.story-step.is-active::before { background: var(--brand-orange); border-color: var(--brand-red); box-shadow: 0 0 0 5px rgba(255, 136, 75, .18); transform: scale(1.15); }
.story-step-num { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 12px; }
.story-step h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.025em; margin-bottom: 14px; text-wrap: balance; }
.story-step p { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 520px; }
.section-title .arrow { color: var(--brand-orange); font-weight: 500; }
@media (max-width: 899px) {
    .story-visual { top: calc(var(--header-h) + 4px); }
    .story-screen { aspect-ratio: 16 / 9; max-height: 34vh; margin-inline: auto; }
    .story-progress { margin-top: 8px; }
    .story-step { min-height: 46vh; }
}
@media (min-width: 900px) {
    .story-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; }
    .story-visual { top: calc(50vh - 220px); }
    .story-step { min-height: 58vh; padding-left: 36px; }
}

.service-grid { display: grid; gap: 20px; }
.service {
    --accent: var(--brand-blue); --accent-rgb: 3, 91, 201;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 28px; border-radius: 20px;
    border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-card);
    transition: transform 400ms var(--ease), border-color var(--dur-2), box-shadow var(--dur-2);
}
.service > * { position: relative; z-index: 1; }
.service:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .35); box-shadow: var(--shadow-card-hover); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: var(--accent-ink); background: rgba(var(--accent-rgb), .1); margin-bottom: 24px; transition: transform var(--dur-2) var(--ease); }
.service:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service h3 { font-size: 19px; line-height: 1.3; margin-bottom: 18px; }
.service ul { display: grid; gap: 12px; margin-bottom: 26px; }
.service li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.service li::before { content: ''; position: absolute; left: 0; top: .65em; width: 8px; height: 2px; border-radius: 2px; background: var(--accent); }
.service-cta {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px;
    padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-alt);
    font-size: 14.5px; font-weight: 600; color: var(--brand-blue);
    transition: background-color var(--dur-2), border-color var(--dur-2), color var(--dur-2);
}
.service-cta i { transition: transform var(--dur-2) var(--ease); }
.service-cta:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.service-cta:hover i { transform: translateX(4px); }
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

/* Process timeline: the line draws as you scroll; numbers pop when it reaches them */
.process { position: relative; display: grid; gap: 14px; --prog: 0; }
.process-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); border-radius: 2px; }
.process-line span { position: absolute; inset: 0; background: var(--brand-gradient); border-radius: inherit; transform: scaleY(0); transform-origin: top; transition: transform 1600ms var(--ease); }
.process.is-drawn .process-line span { transform: none; }
.process-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 4px 0; }
.process-num {
    grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--ink);
    background: var(--surface); border: 2px solid var(--line-strong); position: relative; z-index: 1;
    transition: border-color var(--dur-2), background-color var(--dur-2), box-shadow var(--dur-2);
}
.process-num::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; padding: 2px; background: var(--brand-gradient); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--dur-2); }
.process.is-drawn .process-num, .process-step.is-reached .process-num { background: #FFF4EE; box-shadow: 0 8px 20px -10px rgba(255, 59, 51, .5); }
.process.is-drawn .process-num::after, .process-step.is-reached .process-num::after { opacity: 1; }
.process-step.is-reached .process-num { animation: numPop 520ms var(--ease) both; }
@keyframes numPop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.process-step:hover .process-num { box-shadow: 0 10px 24px -10px rgba(3, 91, 201, .5); }
/* Final step: gradient fill with dark ink (≥18.66px bold, so 3:1 applies) */
.process-step--final .process-num { background: var(--brand-gradient) !important; border-color: transparent; color: var(--ink); }
.process-step h3 { font-size: 17px; margin: 6px 0 6px; }
.process-step p { font-size: 15px; color: var(--muted); line-height: 1.6; }
/* Scroll-scrubbed mode (GSAP) */
.process.is-scrub .process-line span { transition: none; transform: scaleY(var(--prog)); }
@media (min-width: 1024px) {
    .process { grid-template-columns: repeat(6, 1fr); gap: 16px; }
    .process-line { left: 6%; right: 6%; top: 27px; bottom: auto; width: auto; height: 2px; }
    .process-line span { transform: scaleX(0); transform-origin: left; }
    .process.is-scrub .process-line span { transform: scaleX(var(--prog)); }
    .process-step { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 0 4px; }
    .process-num { grid-row: auto; margin-bottom: 18px; }
    .process-step h3, .process-step p { padding: 0 6px; }
}

/* ---------- 17 Clients & gallery ---------- */
.client-grid { --cols: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.client-grid > li { flex: 0 0 calc((100% - (var(--cols) - 1) * 16px) / var(--cols)); }
.client-card {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    height: 150px; padding: 22px; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2), border-color var(--dur-2);
    animation: cardIn 450ms var(--ease) both; animation-delay: calc(var(--n, 0) * 40ms);
}
.client-card img { max-height: 52px; max-width: 80%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter var(--dur-2), opacity var(--dur-2), transform var(--dur-2) var(--ease); }
.client-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-card-hover); }
.client-card:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.client-sector { position: absolute; bottom: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-blue); opacity: 0; transform: translateY(4px); transition: opacity var(--dur-2), transform var(--dur-2) var(--ease); }
.client-card:hover .client-sector { opacity: 1; transform: none; }
.client-card[hidden] { display: none; }
@media (min-width: 640px) { .client-grid { --cols: 3; } }
@media (min-width: 1024px) { .client-grid { --cols: 5; } }

.gallery { display: grid; grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 14px; grid-auto-flow: dense; }
.gallery-item[hidden] { display: none; }
.gallery-item.is-filtered-in { animation: cardIn 480ms var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms); }
.gallery-btn {
    position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 18px;
    border: 1px solid var(--line); background: var(--surface-alt); text-align: left; box-shadow: var(--shadow-card);
}
.gallery-btn img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1100ms var(--ease); }
.gallery-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 18, 32, .82)); transition: opacity var(--dur-2); }
.gallery-btn:hover img, .gallery-btn:focus-visible img { transform: scale(1.08); }
.gallery-cap { position: absolute; left: 16px; right: 56px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: #fff; line-height: 1.3; }
.gallery-cat { align-self: flex-start; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-blue-700); padding: 3px 8px; border-radius: 6px; background: #fff; }
.gallery-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .92); opacity: 0; transform: scale(.85); transition: opacity var(--dur-2), transform var(--dur-2) var(--ease); }
.gallery-btn:hover .gallery-zoom, .gallery-btn:focus-visible .gallery-zoom { opacity: 1; transform: none; }
@media (min-width: 560px) {
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
    .gallery-item--tall { grid-row: span 2; }
}
@media (min-width: 1024px) {
    .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
    .gallery-item--wide { grid-column: span 2; }
}

/* ---------- 18 Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
.contact-side { display: grid; gap: 20px; align-content: start; }
.contact-brand { font-size: 26px; margin-bottom: 8px; }
.contact-tagline { color: var(--muted); line-height: 1.7; }
.contact-lead { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-card); }
.contact-lead-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 6px; }
.contact-lead-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.contact-lead-role { font-size: 14px; color: var(--muted); }
.contact-links { display: grid; gap: 10px; }
.contact-link {
    --accent: var(--brand-blue);
    display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-card);
    transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), box-shadow var(--dur-2);
}
.contact-link:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--shadow-card-hover); }
.contact-link-icon { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; font-size: 18px; color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 11%, #fff); }
.contact-link-label { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-link-value { display: block; font-size: 15px; font-weight: 600; color: var(--ink); word-break: break-all; }

.form-card {
    position: relative; padding: clamp(24px, 4vw, 44px); border-radius: 24px;
    border: 1px solid var(--line); background: var(--card);
    box-shadow: var(--shadow-pop);
}
.form-card::before { content: ''; position: absolute; left: 32px; right: 32px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand-gradient); }
.form-title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 10px; letter-spacing: -0.02em; }
.form-lede { color: var(--muted); margin-bottom: 28px; }
.selected-course { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 22px; border-radius: 12px; border: 1px solid rgba(3, 91, 201, .25); background: var(--brand-blue-50); font-size: 14.5px; color: var(--ink); animation: introUp 450ms var(--ease) both; }
.selected-course[hidden] { display: none; }
.selected-course > i { color: var(--brand-blue); }
.selected-course-clear { margin-left: auto; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.selected-course-clear:hover { color: var(--ink); background: rgba(3, 91, 201, .08); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row--3 { grid-template-columns: 1fr 1.45fr 1fr; } }
.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); font-size: 15.5px;
    transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, #6B7280 50%), linear-gradient(135deg, #6B7280 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: #fff; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #6B7280; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9CA3AF; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: var(--focus-ring); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .14); }
.field.is-valid input, .field.is-valid textarea { border-color: rgba(6, 118, 71, .55); }
.field-error { font-size: 13px; color: var(--danger); min-height: 0; margin-top: 6px; display: none; }
.field.is-invalid .field-error { display: block; animation: introUp 300ms var(--ease) both; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; }
.field-count { margin-left: auto; margin-top: 6px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.form-howto { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--ink); padding: 14px 16px; border-radius: 12px; background: var(--brand-blue-50); border: 1px solid rgba(3, 91, 201, .16); }
.form-howto i { color: var(--brand-blue); margin-top: 4px; }
.form-actions { display: grid; gap: 12px; }
@media (min-width: 560px) { .form-actions { grid-template-columns: 1fr 1fr; } }
.form-status { padding: 16px 18px; border-radius: 14px; font-size: 14.5px; line-height: 1.65; color: var(--ink); border: 1px solid var(--line); background: var(--surface-alt); animation: introUp 400ms var(--ease) both; }
.form-status[hidden] { display: none; }
.form-status strong { display: block; margin-bottom: 4px; }
.form-status a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 3px; }
.form-status.is-info { border-color: rgba(3, 91, 201, .3); background: var(--brand-blue-50); }
.form-status.is-error { border-color: rgba(180, 35, 24, .35); background: #FEF3F2; }
.form-status-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.form-status-actions .btn { --btn-h: 44px; font-size: 14px; padding: 0 14px; text-decoration: none; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 360px minmax(0, 1fr); gap: 56px; } .contact-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

/* ---------- 19 Footer & floating actions ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); background: var(--surface-alt); padding: 80px 0 28px; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 50%; top: -1px; width: min(800px, 80%); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--brand-orange), var(--brand-red), transparent); opacity: .7; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 52px; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-word { font-family: var(--font-display); font-weight: 800; color: var(--ink); letter-spacing: .1em; font-size: 15px; }
.footer-brand p { max-width: 400px; font-size: 15px; line-height: 1.75; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); font-size: 17px; transition: color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease), box-shadow var(--dur-2); }
.footer-social a:hover { color: var(--brand-blue); border-color: var(--brand-blue); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.footer-heading { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; font-weight: 600; }
.footer-list { display: grid; gap: 12px; font-size: 15px; }
.footer-list a { display: inline-block; transition: color var(--dur-2), transform var(--dur-2) var(--ease); }
.footer-list a:hover { color: var(--brand-blue-700); transform: translateX(4px); }
.footer-accent { color: var(--brand-blue); font-weight: 600; }
.footer-list--dots li { position: relative; padding-left: 16px; }
.footer-list--dots li::before { content: ''; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; }
.footer-contact a:hover { color: var(--brand-blue-700); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.fab-whatsapp {
    position: fixed; right: 20px; bottom: 20px; z-index: 80;
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    font-size: 28px; color: #fff; background: #1FAF56;
    box-shadow: 0 12px 28px -8px rgba(31, 175, 86, .6);
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2);
}
.fab-whatsapp::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: ping 3s var(--ease) infinite; }
.fab-whatsapp:hover { transform: scale(1.08); box-shadow: 0 16px 34px -8px rgba(31, 175, 86, .75); }
.fab-label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--ink); padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); opacity: 0; pointer-events: none; transition: opacity var(--dur-2), transform var(--dur-2) var(--ease); }
.fab-whatsapp:hover .fab-label, .fab-whatsapp:focus-visible .fab-label { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 639px) { .fab-label { display: none; } }
.fab-top {
    position: fixed; right: 26px; bottom: 92px; z-index: 80;
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    color: var(--ink); background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity var(--dur-2), transform var(--dur-2) var(--ease), border-color var(--dur-2), color var(--dur-2);
}
.fab-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab-top:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* ---------- 20 Course modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11, 18, 32, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity var(--dur-2) var(--ease); }
.modal-dialog {
    --accent: var(--brand-blue); --accent-rgb: 3, 91, 201;
    position: relative; width: 100%; max-width: 780px; max-height: min(90vh, 900px);
    display: flex; flex-direction: column;
    border-radius: 24px; border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 40px 100px -30px rgba(11, 18, 32, .5);
    opacity: 0; transform: translateY(18px) scale(.97);
    transition: opacity var(--dur-2) var(--ease), transform 450ms var(--ease);
    overflow: hidden;
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-dialog { opacity: 1; transform: none; }
.modal-dialog::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); pointer-events: none; z-index: 2; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease); }
.modal-close:hover { color: var(--ink); border-color: var(--line-strong); transform: rotate(90deg); }
.modal-body { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 44px); }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; padding-right: 48px; }
.modal-title { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 14px; }
.modal-desc { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin-bottom: 26px; }
.modal-block { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-alt); margin-bottom: 18px; }
.modal-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 14px; font-weight: 600; }
.modal-outcomes { display: grid; gap: 12px; counter-reset: oc; }
.modal-outcomes li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.modal-outcomes li::before { counter-increment: oc; content: counter(oc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--brand-blue-700); padding: 3px 0; border-radius: 6px; background: var(--brand-blue-50); text-align: center; }
.modal-cols { display: grid; gap: 18px; margin-bottom: 8px; }
.modal-cols p, .modal-cols li { font-size: 15px; line-height: 1.65; color: var(--muted); }
.modal-cols ul { display: grid; gap: 6px; }
.modal-cols li::before { content: '•'; color: var(--brand-orange); margin-right: 8px; font-weight: 700; }
@media (min-width: 640px) { .modal-cols { grid-template-columns: 1fr 1fr; } }
.modal-actions { position: relative; display: grid; gap: 10px; padding: 18px clamp(24px, 4vw, 44px); border-top: 1px solid var(--line); background: var(--surface-alt); }
@media (max-width: 639px) { .modal-actions { grid-template-columns: 1fr 1fr; padding-block: 14px; } .modal-actions > :first-child { grid-column: 1 / -1; } }
@media (min-width: 640px) { .modal-actions { grid-template-columns: 1fr 1fr auto; } }

/* ---------- 21 Lightbox (stays dark: photos read best on black) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(11, 18, 32, .94); opacity: 0; transition: opacity var(--dur-2); }
.lightbox.is-open .lightbox-backdrop { opacity: 1; }
.lightbox-dialog { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 16px 90px; pointer-events: none; }
.lightbox-dialog > * { pointer-events: auto; }
.lightbox-figure { margin: 0; max-width: min(1200px, 100%); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0; transform: scale(.97); transition: opacity var(--dur-2) var(--ease), transform 450ms var(--ease); touch-action: pan-y; }
.lightbox.is-open .lightbox-figure { opacity: 1; transform: none; }
.lightbox-media { position: relative; width: 100%; display: grid; place-items: center; min-height: 240px; }
.lightbox-media img { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100svh - 200px); border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); user-select: none; -webkit-user-drag: none; }
.lightbox-media img.is-swapping { animation: introUp 380ms var(--ease) both; }
.lightbox-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; font-family: var(--font-display); font-weight: 700; color: #fff; text-align: center; }
.lightbox-count { font-family: var(--font-mono); font-size: 12.5px; color: #C3CBD8; font-weight: 500; }
.lightbox-btn { position: absolute; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 17px; color: var(--ink); background: rgba(255, 255, 255, .92); border: 1px solid transparent; transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease); }
.lightbox-btn:hover { background: #fff; color: var(--brand-blue); }
.lightbox :focus-visible { outline-color: #8DB9F2; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-close { right: 16px; top: 16px; }
@media (max-width: 640px) {
    .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
    .lightbox-prev { left: calc(50% - 60px); } .lightbox-next { right: calc(50% - 60px); }
}

/* ---------- 22 Missing-image fallbacks (clearly identified, never stock) ---------- */
[data-fallback].has-missing img.is-missing { display: none; }
.logo-tile.has-missing::after, .client-card.has-missing::before {
    content: attr(data-name);
    font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--slate); text-align: center;
}
.media-frame.has-missing, .gallery-btn.has-missing, .lightbox-media.has-missing {
    display: grid; place-items: center;
    background: repeating-linear-gradient(135deg, rgba(17, 24, 39, .04) 0 12px, transparent 12px 24px), var(--surface-alt);
}
.media-frame.has-missing::before, .gallery-btn.has-missing::before, .lightbox-media.has-missing::before {
    content: 'Photo unavailable · ' attr(data-label);
    position: relative; z-index: 1; max-width: 80%; text-align: center;
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted);
    padding: 8px 12px; border-radius: 8px; border: 1px dashed var(--line-strong); background: var(--surface);
}
.lightbox-media.has-missing { min-height: 50vh; border-radius: 14px; }
.brand-plate.has-missing { display: none; }
.site-footer .brand-plate.has-missing { display: none; }
.profile-portrait.has-missing { display: grid; place-items: center; }
.profile-portrait.has-missing::before {
    content: 'FS'; position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%;
    display: grid; place-items: center; background: #16223A; border: 4px solid var(--dark-band);
    font-family: var(--font-display); font-size: 48px; font-weight: 800; color: #fff;
}

/* ---------- 23 Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
    .marquee-track { animation: none; }
    .marquee-set[aria-hidden="true"] { display: none; }
    .marquee-toggle { display: none; }
    .text-gradient { animation: none; }
    .hv-panel { transform: translateZ(var(--z, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) !important; }
    .media-frame img, .page-hero-bg img { transform: none !important; }
    [data-tilt] { transform: none !important; }
    .hero-title .w > span { filter: none !important; }
}
html.reduce-motion .marquee-track { animation: none; }

/* Pillar: training categories + live programme count */
.pillar-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.pillar-tags li { font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 999px; color: var(--brand-blue-700); background: var(--brand-blue-50); }
.pillar-stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; font-size: 14.5px; color: var(--muted); }
.pillar-stat b { font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; min-width: 2ch; font-variant-numeric: tabular-nums; background: var(--brand-gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.form-howto span { flex: 1; }

@media (min-width: 900px) { .explorer { position: sticky; top: calc(var(--header-h) + 8px); } }
@media (max-width: 639px) {
    .fab-whatsapp { width: 52px; height: 52px; font-size: 25px; right: 14px; bottom: 14px; }
    .fab-top { right: 18px; bottom: 76px; width: 44px; height: 44px; }
    .explorer-selects { width: 100%; }
    .explorer-selects .select-field { flex: 1 1 140px; }
    .course-count { margin-left: 0; }
}

/* Tablet: show the layered interface beneath the hero copy */
@media (min-width: 700px) and (max-width: 1023px) {
    .hero { min-height: auto; padding-bottom: 96px; }
    .hero-visual { display: block; width: 560px; height: 520px; margin: 0 auto; transform: scale(.94); }
}
.art-path { max-width: 380px; }
.mobile-link:has(.mobile-tag) { flex-wrap: wrap; row-gap: 8px; }
.mobile-link .mobile-tag { margin-left: 40px; }
@media (min-width: 480px) { .mobile-link .mobile-tag { margin-left: auto; } }

/* ---------- 24 3D hero (Three.js, progressive enhancement) ---------- */
.nexus-3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero--3d .nexus-3d { opacity: 1; }
.hero--3d .nexus-canvas[data-network="hero"] { opacity: 0; transition: opacity 1s var(--ease); }
.hero--3d .hv-orbit { display: none; }
/* Static fallback (phones, no WebGL, no JS): an SVG of the three gradient prisms */
.hero-bg::before {
    content: ''; position: absolute; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .6s var(--ease);
    right: max(-60px, calc(50% - 640px)); top: 50%; width: min(560px, 70vw); aspect-ratio: 1; transform: translateY(-46%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FF3B33'/%3E%3Cstop offset='1' stop-color='%23FF884B'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23C9241D'/%3E%3Cstop offset='1' stop-color='%23E8662B'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke-linejoin='round'%3E%3Cpath d='M214 72 L318 252 L110 252 Z' fill='url(%23s)' stroke='url(%23s)' stroke-width='34' transform='translate(10 14)'/%3E%3Cpath d='M214 72 L318 252 L110 252 Z' fill='url(%23g)' stroke='url(%23g)' stroke-width='34'/%3E%3Cpath d='M110 250 L160 336 L60 336 Z' fill='url(%23s)' stroke='url(%23s)' stroke-width='22' transform='translate(7 9) rotate(-12 110 300)'/%3E%3Cpath d='M110 250 L160 336 L60 336 Z' fill='url(%23g)' stroke='url(%23g)' stroke-width='22' transform='rotate(-12 110 300)'/%3E%3Cpath d='M318 262 L352 320 L284 320 Z' fill='url(%23s)' stroke='url(%23s)' stroke-width='16' transform='translate(5 7) rotate(14 318 300)'/%3E%3Cpath d='M318 262 L352 320 L284 320 Z' fill='url(%23g)' stroke='url(%23g)' stroke-width='16' transform='rotate(14 318 300)'/%3E%3C/g%3E%3Cg fill='%23035BC9'%3E%3Ccircle cx='70' cy='92' r='5'/%3E%3Ccircle cx='96' cy='70' r='3.5'/%3E%3Ccircle cx='340' cy='96' r='5'/%3E%3Ccircle cx='366' cy='126' r='3.5'/%3E%3Ccircle cx='48' cy='206' r='3.5'/%3E%3Ccircle cx='372' cy='212' r='3.5'/%3E%3C/g%3E%3Cg stroke='%23035BC9' stroke-opacity='.3' stroke-width='1.5' fill='none'%3E%3Cpath d='M70 92 L96 70 L214 72 L340 96 L366 126 M48 206 L70 92 M372 212 L366 126'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 30px 40px rgba(255, 59, 51, .18));
}
html:not(.js) .hero-bg::before, .hero--static .hero-bg::before { opacity: 1; }
@media (max-width: 1023px) {
    /* Small and solid in the top-right corner, clear of the headline (keeps text contrast intact) */
    .hero-bg::before { width: 128px; right: 10px; top: calc(var(--header-h) - 8px); transform: none; opacity: 0; filter: drop-shadow(0 14px 20px rgba(255, 59, 51, .2)); }
    html:not(.js) .hero-bg::before, .hero--static .hero-bg::before { opacity: 1; }
}

.hero-3d-labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.h3d-label {
    position: absolute; left: 0; top: 0;
    transform: translate3d(var(--lx, -999px), var(--ly, -999px), 0) translate(-50%, -50%);
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 32px;
    padding: 6px 12px 6px 9px; border-radius: 999px;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
    background: rgba(255, 255, 255, .88); border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 10px 24px -12px rgba(17, 24, 39, .3);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: var(--lo, 0); pointer-events: auto;
    transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.h3d-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.h3d-label:hover { border-color: var(--c); box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--c) 70%, transparent); }
.h3d-label.is-hidden { pointer-events: none; }
.hero:not(.hero--3d) .hero-3d-labels { display: none; }
@media (max-width: 699px) {
    .hero-3d-labels { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nexus-3d { transition: none; } }
