/* =====================================================================
   MUFASYAH CONSULTANT — "Intelligence in Motion" design system
   Plain CSS, no build step. Sections:
   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
   ===================================================================== */

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

:root {
    --bg: #050816;
    --bg-2: #0B1223;
    --surface: #111C31;
    --surface-2: #16233D;
    --glass: rgba(17, 28, 49, 0.55);
    --glass-strong: rgba(11, 18, 35, 0.82);
    --line: rgba(148, 163, 184, 0.13);
    --line-strong: rgba(148, 163, 184, 0.26);
    --cyan: #00E5FF;
    --blue: #3B82F6;
    --violet: #8B5CF6;
    --emerald: #34D399;
    --whatsapp: #25D366;
    --text: #F8FAFC;
    --text-2: #CBD5E1;
    --muted: #94A3B8;
    --danger: #FCA5A5;
    --grad: linear-gradient(100deg, #00E5FF 0%, #3B82F6 45%, #8B5CF6 100%);
    --grad-soft: linear-gradient(135deg, rgba(0, 229, 255, .16), rgba(59, 130, 246, .10) 45%, rgba(139, 92, 246, .16));

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

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --header-h: 76px;
    --gutter: clamp(16px, 4vw, 32px);
    --container: 1240px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-1: 180ms;
    --dur-2: 320ms;
    --dur-3: 700ms;
    --stagger: 80ms;

    --shadow-1: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -12px rgba(0, 0, 0, .6);
    --shadow-2: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 60px -24px rgba(0, 0, 0, .75);
    --glow-cyan: 0 0 0 1px rgba(0, 229, 255, .35), 0 10px 40px -10px rgba(0, 229, 255, .45);

    color-scheme: dark;
}

/* ---------- 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(--bg);
    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(--text); 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(--text); font-weight: 600; }
::selection { background: rgba(0, 229, 255, .28); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[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(--cyan); color: #04121A; font-weight: 700;
    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(--bg); }
::-webkit-scrollbar-thumb { background: #1E2A44; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2B3B5E; }

#scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120;
    background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
    box-shadow: 0 0 12px rgba(0, 229, 255, .6);
}
#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: grid + slow evolving light */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(148, 163, 184, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.ambient-glow {
    position: absolute; inset: -20%;
    background:
        radial-gradient(40% 35% at 15% 10%, rgba(59, 130, 246, .14), transparent 70%),
        radial-gradient(35% 30% at 85% 20%, rgba(139, 92, 246, .12), transparent 70%),
        radial-gradient(30% 30% at 60% 90%, rgba(0, 229, 255, .07), transparent 70%);
    animation: drift 28s var(--ease-in-out) infinite alternate;
}
@keyframes drift { to { transform: translate3d(3%, 4%, 0) rotate(4deg); } }

.text-gradient {
    background: linear-gradient(100deg, #00E5FF, #3B82F6 35%, #8B5CF6 65%, #00E5FF);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: gradientShift 9s linear infinite;
}
@keyframes gradientShift { to { background-position: 220% 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: 14px; letter-spacing: .01em; 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);
    will-change: transform;
}
.btn i { font-size: .85em; transition: transform var(--dur-2) var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn-sm { --btn-h: 40px; padding: 0 16px; font-size: 13px; border-radius: 11px; }
.btn-lg { --btn-h: 54px; padding: 0 26px; font-size: 15px; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
    color: #03121C;
    background: linear-gradient(100deg, #00E5FF, #3B82F6 60%, #6D7CF7);
    background-size: 160% 100%; background-position: 0% 0;
    box-shadow: 0 10px 30px -10px rgba(0, 229, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -10px rgba(59, 130, 246, .7), inset 0 1px 0 rgba(255, 255, 255, .35); color: #fff; }
.btn-glass {
    color: var(--text); background: rgba(255, 255, 255, .04); border-color: var(--line-strong);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { border-color: rgba(0, 229, 255, .55); background: rgba(0, 229, 255, .07); box-shadow: var(--glow-cyan); }
.btn-ghost { color: var(--cyan); border-color: transparent; padding-inline: 12px; }
.btn-ghost::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; opacity: .6; transition: transform var(--dur-2) var(--ease); }
.btn-ghost:hover::after { transform: scaleX(1); }
.btn-light { color: #0B1223; background: #F8FAFC; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
.btn-light:hover { background: #fff; box-shadow: 0 16px 40px -12px rgba(0, 229, 255, .45); }
.btn-whatsapp { color: #04220F; background: var(--whatsapp); box-shadow: 0 10px 28px -12px rgba(37, 211, 102, .6); }
.btn-whatsapp:hover { background: #2FE077; box-shadow: 0 16px 38px -12px rgba(37, 211, 102, .75); }
.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;
    padding: 14px var(--gutter) 0;
    transition: padding var(--dur-2) var(--ease);
}
.nav-shell {
    max-width: var(--container); margin-inline: auto;
    display: flex; align-items: center; gap: 20px;
    height: 62px; padding: 0 10px 0 10px;
    border-radius: 18px; border: 1px solid transparent;
    transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), height var(--dur-2) var(--ease);
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .nav-shell {
    height: 58px;
    background: rgba(8, 13, 28, .72);
    border-color: var(--line);
    backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; border-radius: 12px; }
.brand-plate {
    display: inline-flex; align-items: center; justify-content: center;
    height: 42px; padding: 4px 10px; border-radius: 11px;
    background: #F8FAFC; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 24px -10px rgba(0, 229, 255, .45);
    transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.brand-plate img { height: 32px; width: auto; object-fit: contain; }
.brand:hover .brand-plate { box-shadow: 0 0 0 1px rgba(0, 229, 255, .6), 0 10px 28px -8px rgba(0, 229, 255, .6); }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--text); line-height: 1.1; }
.brand-word span { color: var(--cyan); }

.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;
    padding: 9px 14px; border-radius: 10px;
    font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
    transition: color var(--dur-2) var(--ease);
}
.nav-item::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease);
}
.nav-item:hover { color: var(--text); }
.nav-item:hover::after { transform: scaleX(1); }
.nav-item.is-current { color: var(--text); }
.nav-item.is-current::after { transform: scaleX(0); }
.nav-badge {
    font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase;
    padding: 2px 6px; border-radius: 6px; color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, .3); background: rgba(0, 229, 255, .07);
}
.nav-pill {
    position: absolute; top: 0; left: 0; height: 100%; width: 0; z-index: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .16), 0 -1px 0 rgba(0, 229, 255, .5) inset;
    opacity: 0;
    transition: transform 450ms var(--ease), width 450ms 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: rgba(255, 255, 255, .04);
    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: 1.5px; background: var(--text); border-radius: 2px; transition: transform var(--dur-2) var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 95;
    background: rgba(5, 8, 22, .94);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: calc(var(--header-h) + 28px) 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: 600; color: var(--text-2);
    opacity: 0; transform: translateY(14px);
    transition: opacity 500ms var(--ease), transform 500ms 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(--text); }
.mobile-link.is-current .mobile-index { color: var(--cyan); }
.mobile-index { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; width: 26px; flex-shrink: 0; }
.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: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; color: var(--cyan); border: 1px solid rgba(0, 229, 255, .3); }
.mobile-cta { margin-top: 28px; opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease) 200ms, transform 500ms var(--ease) 200ms; }
.mobile-contact { margin-top: 24px; display: grid; gap: 10px; font-size: 14px; opacity: 0; transition: opacity 500ms var(--ease) 260ms; }
.mobile-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.mobile-contact i { color: var(--cyan); 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; }
}
@media (max-width: 420px) {
    .brand-word { font-size: 11px; letter-spacing: .1em; }
    .brand-plate { height: 38px; padding: 3px 8px; }
    .brand-plate img { height: 28px; }
}

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

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

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal--right { transform: translateX(30px); }
.js .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity 900ms var(--ease), transform 900ms 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;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(.6) contrast(1.1); mix-blend-mode: luminosity; }
.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(0, 229, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, .05) 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: .7;
}
.hero-vignette {
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 50% at 75% 40%, rgba(59, 130, 246, .16), transparent 70%),
        radial-gradient(40% 40% at 10% 80%, rgba(139, 92, 246, .14), transparent 70%),
        linear-gradient(90deg, rgba(5, 8, 22, .88) 0%, rgba(5, 8, 22, .55) 45%, rgba(5, 8, 22, .1) 100%),
        linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 760px; will-change: transform, opacity; }

.hero-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px 8px 12px; margin-bottom: 26px;
    border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.pulse-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--cyan); 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(2.35rem, 5vw, 4.6rem);
    line-height: 1.02; letter-spacing: -0.04em; font-weight: 800;
    margin-bottom: 26px;
    text-wrap: balance;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; }
.js .page.is-active .hero-title .w > span { animation: maskUp 1000ms var(--ease) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes maskUp { from { transform: translateY(105%) rotate(2deg); opacity: 0; } to { transform: none; opacity: 1; } }

.hero-lede { font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--text-2); font-weight: 300; max-width: 640px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.wa-chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
    font-size: 14px; color: var(--text-2); border: 1px solid rgba(37, 211, 102, .3); background: rgba(37, 211, 102, .06);
    transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2);
}
.wa-chip i { color: var(--whatsapp); font-size: 18px; }
.wa-chip:hover { border-color: var(--whatsapp); background: rgba(37, 211, 102, .12); color: #fff; }
.hero-caps { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-caps li { display: inline-flex; align-items: center; gap: 8px; }
.hero-caps li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* Hero layered interface (illustrative) */
.hero-visual { display: none; position: relative; height: 560px; perspective: 1200px; }
.hv-orbit {
    position: absolute; left: 50%; top: 50%; width: 470px; height: 470px; margin: -235px 0 0 -235px;
    border-radius: 50%; border: 1px dashed rgba(148, 163, 184, .16);
    animation: spinSlow 80s linear infinite;
}
.hv-orbit::before, .hv-orbit::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); top: -4px; left: calc(50% - 4px); }
.hv-orbit::after { background: var(--violet); box-shadow: 0 0 14px var(--violet); top: auto; bottom: 60px; left: 22px; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hv-panel {
    position: absolute;
    border-radius: 18px; border: 1px solid rgba(148, 163, 184, .18);
    background: linear-gradient(160deg, rgba(22, 35, 61, .78), rgba(11, 18, 35, .72));
    backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: var(--shadow-2), 0 0 0 1px rgba(0, 229, 255, .04);
    transform: translate3d(var(--px, 0), var(--py, 0), 0);
    transition: transform 900ms var(--ease);
}
.js .page.is-active .hv-panel { animation: panelIn 1200ms var(--ease) both; }
.js .page.is-active .hv-dashboard { animation-delay: 400ms; }
.js .page.is-active .hv-flow { animation-delay: 650ms; }
.js .page.is-active .hv-ai { animation-delay: 800ms; }
.js .page.is-active .hv-sources { animation-delay: 950ms; }
@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: rgba(148, 163, 184, .35); }
.hv-dots i:first-child { background: rgba(0, 229, 255, .7); }
.hv-title { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text); }
.hv-tag { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); 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: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.hv-kpi-label { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; 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, rgba(148, 163, 184, .18), rgba(148, 163, 184, .34), rgba(148, 163, 184, .18)); 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(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hv-kpi:nth-child(2) polyline { stroke: var(--blue); }
.hv-kpi:nth-child(3) polyline { stroke: var(--violet); }
.hv-chart { width: 100%; height: 130px; }
.hv-bars rect { fill: rgba(59, 130, 246, .28); transform-box: fill-box; transform-origin: bottom; }
.js .page.is-active .hv-bars rect { animation: growY 1100ms var(--ease) both; }
.hv-bars rect:nth-child(2) { animation-delay: 60ms !important; } .hv-bars rect:nth-child(3) { animation-delay: 120ms !important; }
.hv-bars rect:nth-child(4) { animation-delay: 180ms !important; } .hv-bars rect:nth-child(5) { animation-delay: 240ms !important; }
.hv-bars rect:nth-child(6) { animation-delay: 300ms !important; } .hv-bars rect:nth-child(7) { animation-delay: 360ms !important; }
.hv-bars rect:nth-child(8) { animation-delay: 420ms !important; fill: rgba(0, 229, 255, .45); }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hv-line { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(0, 229, 255, .7)); }
.js .page.is-active .hv-line { animation: draw 2200ms var(--ease) 700ms 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: 11px; color: var(--text-2); }
.hv-node i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 14px; color: var(--cyan); background: rgba(0, 229, 255, .08); border: 1px solid rgba(0, 229, 255, .25); }
.hv-link { position: relative; flex: 1; height: 1px; margin: 0 6px 18px; background: linear-gradient(90deg, rgba(0, 229, 255, .5), rgba(139, 92, 246, .5)); }
.hv-packet { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px var(--cyan), 0 0 2px #fff; 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% - 7px); 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: linear-gradient(135deg, var(--violet), var(--blue)); box-shadow: 0 8px 24px -8px rgba(139, 92, 246, .8); }
.hv-ai-steps { display: flex; gap: 6px; margin-top: 6px; }
.hv-ai-steps b { font-weight: 500; font-size: 10.5px; padding: 3px 7px; border-radius: 6px; color: var(--text-2); background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .3); 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: rgba(139, 92, 246, .14); } 20% { background: rgba(139, 92, 246, .42); 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); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.hv-src { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.hv-src i { color: var(--emerald); }


.scroll-cue {
    position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue-line { position: relative; width: 1px; height: 46px; background: rgba(148, 163, 184, .25); overflow: hidden; }
.scroll-cue-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--cyan); 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.15fr) minmax(0, .85fr); }
    .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: 96px; align-items: flex-end; }
    .hero-actions .btn { width: 100%; }
    .hero-actions .btn-ghost { justify-content: flex-start; }
    .hero-title { letter-spacing: -0.035em; }
    .hero-kicker { font-size: 10px; letter-spacing: .08em; }
    .scroll-cue { display: none; }
}

/* ---------- 07 Trust marquee ---------- */
.trust { position: relative; padding: 40px 0 34px; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 18, 35, .6), rgba(5, 8, 22, .4)); }
.trust-label { text-align: center; padding-inline: var(--gutter); margin-bottom: 26px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; 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: 18px; padding-right: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-tile {
    position: relative;
    display: grid; place-items: center;
    width: 176px; height: 72px; padding: 14px 22px; border-radius: 14px;
    background: linear-gradient(180deg, rgba(241, 245, 249, .94), rgba(226, 232, 240, .9));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 26px -14px rgba(0, 0, 0, .9);
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-2);
}
.logo-tile img { max-height: 36px; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease); }
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(0, 229, 255, .55), 0 14px 34px -10px rgba(0, 229, 255, .45); }
.logo-tile:hover img { filter: none; opacity: 1; }

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

/* ---------- 08 Section scaffolding ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); }
.section--band { background: linear-gradient(180deg, rgba(11, 18, 35, .55), rgba(11, 18, 35, .25)); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.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: 18px;
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow-index { color: var(--muted); padding-right: 12px; border-right: 1px solid var(--line-strong); letter-spacing: .14em; }
.section-title { font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 18px; text-wrap: balance; }
.section-lede { font-size: clamp(1rem, 1.2vw, 1.0625rem); color: var(--muted); font-weight: 300; line-height: 1.75; max-width: 640px; }

/* Shared spotlight (cursor-following light) */
[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(380px circle at var(--mx) var(--my), rgba(var(--accent-rgb, 0, 229, 255), .13), transparent 60%);
    opacity: 0; transition: opacity var(--dur-2) var(--ease);
}
[data-spotlight]:hover::before { opacity: 1; }

/* ---------- 09 Solution pillars ---------- */
.pillars { display: grid; gap: 18px; grid-template-columns: 1fr; }
.pillar {
    --accent: var(--cyan); --accent-rgb: 0, 229, 255;
    position: relative; isolation: isolate;
    display: flex; flex-direction: column;
    padding: 28px; border-radius: var(--radius-lg);
    background: linear-gradient(170deg, rgba(22, 35, 61, .62), rgba(11, 18, 35, .55));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    transform-style: preserve-3d;
    transition: transform 600ms 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-2), 0 0 50px -20px rgba(var(--accent-rgb), .6); }
.pillar-border {
    position: absolute !important; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--ang), transparent 0deg, transparent 250deg, rgba(var(--accent-rgb), .95) 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: 26px; }
.pillar-icon {
    width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 20px;
    color: var(--accent); background: rgba(var(--accent-rgb), .09); border: 1px solid rgba(var(--accent-rgb), .28);
    box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .03);
    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); background: var(--accent); color: #050816; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12), 0 10px 30px -6px rgba(var(--accent-rgb), .7); }
.pillar-num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.pillar-title { font-size: 1.28rem; line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.015em; }
.pillar-text { font-size: 14.5px; line-height: 1.7; color: var(--muted); font-weight: 300; margin-bottom: 26px; }
.pillar-cta {
    margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
    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(5px); }

/* Pillar mini-visualisations */
.pillar-mini { width: 64px; height: 32px; opacity: .8; }
.art-bars rect { fill: rgba(var(--accent-rgb), .35); 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), .45); stroke-width: 1.2; }
.art-neural circle { fill: rgba(var(--accent-rgb), .55); 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), .5); stroke-width: 1; }
.art-flow path { stroke: rgba(var(--accent-rgb), .5); 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), .5); stroke-width: 1.4; stroke-dasharray: 60; stroke-dashoffset: 0; }
.art-merge rect { fill: rgba(var(--accent-rgb), .18); 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: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.art-path circle { fill: var(--bg-2); stroke: var(--accent); stroke-width: 1.5; }
.art-path circle:last-of-type { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .9)); }
.art-path text { font-family: var(--font-mono); font-size: 9px; fill: var(--muted); letter-spacing: .06em; 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(--accent); stroke-width: 2; stroke-dasharray: 1; }
.fc-pred { fill: none; stroke: rgba(var(--accent-rgb), .9); stroke-width: 2; stroke-dasharray: 5 5; animation: dashMove 1.2s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -20; } }
.fc-band { fill: rgba(var(--accent-rgb), .12); }
.art-forecast line { stroke: var(--line-strong); stroke-dasharray: 2 4; }
.art-forecast text { font-family: var(--font-mono); font-size: 9px; fill: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.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: 1.7rem; }
    .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(59, 130, 246, .08), transparent 70%), rgba(11, 18, 35, .5);
    padding: 20px;
    display: grid; gap: 22px;
}
.eco-lines, .eco-core { display: none; }
.eco-group { --c: var(--cyan); }
.eco-group[data-domain="data"] { --c: #3B82F6; }
.eco-group[data-domain="ai"] { --c: #8B5CF6; }
.eco-group[data-domain="automation"] { --c: #00E5FF; }
.eco-group[data-domain="workplace"] { --c: #34D399; }
.eco-hub { margin-bottom: 12px; font-size: inherit; }
.eco-hub-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text);
    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: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.eco-hub-btn:hover, .eco-hub-btn.is-active { background: color-mix(in srgb, var(--c) 10%, transparent); }
.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(--text-2); white-space: nowrap;
    background: rgba(11, 18, 35, .85); 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); box-shadow: 0 0 8px var(--c); flex-shrink: 0; }
.eco-node:hover, .eco-node.is-active { color: #fff; border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, #0B1223); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 14%, transparent), 0 0 28px -4px var(--c); }
.eco-node.is-active { transform: scale(1.06); }
.eco.has-focus .eco-node:not(.is-active):not(.is-related) { opacity: .32; }
.eco-node.is-related { border-color: color-mix(in srgb, var(--c) 60%, transparent); color: #fff; }

.eco-panel {
    border-radius: var(--radius-lg); border: 1px solid var(--line);
    background: linear-gradient(170deg, rgba(22, 35, 61, .7), rgba(11, 18, 35, .6));
    padding: 24px; min-height: 220px;
}
.eco-panel-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--panel-c, var(--cyan)); margin-bottom: 10px; }
.eco-panel-title { font-size: 1.45rem; margin-bottom: 10px; }
.eco-panel-text { font-size: 14px; color: var(--muted); line-height: 1.7; }
.eco-panel-sub { margin: 18px 0 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; 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%; text-align: left;
    padding: 9px 12px; border-radius: 10px; font-size: 13.5px; color: var(--text-2);
    background: rgba(255, 255, 255, .03); 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: #fff; border-color: rgba(0, 229, 255, .45); background: rgba(0, 229, 255, .06); }
.eco-panel-list i { color: var(--panel-c, var(--cyan)); width: 16px; text-align: center; font-size: 12px; }
.eco-panel-list .eco-level { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.eco-panel-empty { font-size: 13.5px; color: var(--muted); padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line-strong); }
.eco-panel-empty a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.eco-panel.is-swapping > * { animation: introUp 450ms var(--ease) both; }

.eco-services { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-service {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
    padding: 8px 14px; border-radius: 12px; font-size: 12.5px; font-weight: 500; color: var(--muted);
    border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
    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(--text); border-color: var(--line-strong); }
.eco-service.is-lit { color: #fff; border-color: rgba(0, 229, 255, .6); background: rgba(0, 229, 255, .08); box-shadow: 0 0 24px -8px rgba(0, 229, 255, .8); }
.eco-service.is-lit i { color: var(--cyan); }
.eco-note { margin-top: 18px; font-size: 12px; color: var(--muted); opacity: .8; }

.eco-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; display: none; }
.eco-links path { fill: none; stroke-width: 1.4; 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; }
}
@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: visible; }
    .eco-group, .eco-hub, .eco-nodes, .eco-nodes li { display: contents; }
    .eco-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
    .eco-links { display: block; }
    .eco-lines line { stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke-opacity var(--dur-2), stroke-width var(--dur-2); }
    .eco-lines .l-core { stroke-opacity: .32; stroke-dasharray: 3 5; }
    .eco-lines .l-tech { stroke-opacity: .2; }
    .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: .07; }
    .eco-core {
        display: grid; place-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
        width: 112px; height: 112px; border-radius: 50%; z-index: 2;
        background: radial-gradient(circle at 35% 30%, #1B2B4D, #0B1223 70%);
        border: 1px solid rgba(0, 229, 255, .4);
        box-shadow: 0 0 0 10px rgba(0, 229, 255, .04), 0 0 0 22px rgba(0, 229, 255, .025), 0 0 60px -10px rgba(0, 229, 255, .6);
        text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; color: var(--text); line-height: 1.5;
    }
    .eco-core::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--cyan); animation: ping 3.2s var(--ease) infinite; }
    .eco-hub-btn, .eco-node {
        position: absolute; z-index: 2; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
        transform: translate(-50%, -50%);
    }
    .eco-node.is-active { transform: translate(-50%, -50%) scale(1.08); }
    .eco-hub-btn { background: rgba(11, 18, 35, .92); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); padding: 6px 14px 6px 6px; box-shadow: 0 0 30px -10px var(--c); font-size: 13.5px; white-space: nowrap; }
    .eco-node { min-height: 34px; padding: 6px 11px 6px 9px; font-size: 12px; }
}
@media (min-width: 1360px) {
    .eco { grid-template-columns: minmax(0, 1fr) 360px; }
    .eco-node { font-size: 12.5px; }
}

/* ---------- 11 Why choose ---------- */
.why { overflow: hidden; }
.why::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 50%, rgba(59, 130, 246, .12), 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: rgba(255, 255, 255, .02);
    transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), background-color var(--dur-2);
}
.why-item:hover { transform: translateX(6px); border-color: rgba(0, 229, 255, .3); background: rgba(0, 229, 255, .04); }
.why-icon { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; color: var(--cyan); background: rgba(0, 229, 255, .08); border: 1px solid rgba(0, 229, 255, .22); font-size: 17px; }
.why-item:nth-child(2) .why-icon { color: #60A5FA; background: rgba(59, 130, 246, .1); border-color: rgba(59, 130, 246, .28); }
.why-item:nth-child(3) .why-icon { color: #A78BFA; background: rgba(139, 92, 246, .1); border-color: rgba(139, 92, 246, .28); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.why-item p { font-size: 14px; line-height: 1.65; color: var(--muted); font-weight: 300; }

.why-media, .about-media { position: relative; margin: 0; }
.media-frame {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    border: 1px solid var(--line-strong); background: var(--surface);
    aspect-ratio: 4 / 5; max-height: 640px; width: 100%;
    box-shadow: var(--shadow-2);
}
.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 50%, rgba(5, 8, 22, .85)); 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, .12);
    background: rgba(8, 13, 28, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.media-note-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: var(--cyan); background: rgba(0, 229, 255, .12); }
.media-note-kicker { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.media-note-text { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--text); 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 ---------- */
.cta-band {
    --accent-rgb: 0, 229, 255;
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: 28px; border: 1px solid rgba(0, 229, 255, .22);
    background: linear-gradient(120deg, rgba(37, 99, 235, .35), rgba(11, 18, 35, .9) 55%, rgba(139, 92, 246, .3));
    padding: clamp(40px, 7vw, 80px) clamp(22px, 5vw, 64px);
    text-align: center;
}
.cta-band .nexus-canvas { opacity: .7; z-index: -1; }
.cta-band-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); letter-spacing: -0.03em; margin-bottom: 16px; text-wrap: balance; }
.cta-band p { color: var(--text-2); font-weight: 300; 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);
}
.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: .2; filter: grayscale(.5); 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(70% 70% at 50% 0%, rgba(59, 130, 246, .2), transparent 70%), linear-gradient(180deg, rgba(5, 8, 22, .55), var(--bg));
}
.page-hero-bg .nexus-canvas { z-index: 1; opacity: .75; }
.page-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.page-title { font-size: clamp(2.3rem, 5.6vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.04; margin-bottom: 20px; text-wrap: balance; }
.page-lede { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--text-2); font-weight: 300; 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: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
    padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(0, 229, 255, .4); background: rgba(0, 229, 255, .08);
}
.badge-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---------- 14 About ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
.display-quote { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 26px; text-wrap: balance; }
.prose { display: grid; gap: 16px; font-size: 16px; line-height: 1.8; color: var(--muted); font-weight: 300; }
.vm-grid { display: grid; gap: 14px; margin-top: 34px; }
.vm-card { position: relative; padding: 22px 22px 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); overflow: hidden; transition: transform var(--dur-2) var(--ease), border-color var(--dur-2); }
.vm-card::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.vm-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.vm-card h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.vm-card h3 i { color: var(--accent); font-size: .95em; }
.vm-card p { font-size: 14px; 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: 1px solid rgba(0, 229, 255, .5); border-right: 1px solid rgba(0, 229, 255, .5); border-top-right-radius: 28px; pointer-events: none; }
@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 var(--line-strong);
    background: linear-gradient(160deg, rgba(22, 35, 61, .7), rgba(11, 18, 35, .65));
    box-shadow: var(--shadow-2);
}
.profile-id { padding: clamp(28px, 4vw, 48px); text-align: center; display: flex; flex-direction: column; align-items: center; border-bottom: 1px solid var(--line); background: radial-gradient(80% 60% at 50% 0%, rgba(0, 229, 255, .1), transparent 70%); }
.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 rgba(11, 18, 35, .9); }
.profile-ring { position: absolute; inset: -8px; border-radius: 50%; background: conic-gradient(from var(--ang), var(--cyan), var(--blue), var(--violet), var(--cyan)); animation: borderSpin 8s linear infinite; filter: blur(.3px); }
.profile-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; filter: blur(18px); opacity: .45; }
.profile-name { font-size: 1.6rem; margin-bottom: 6px; }
.profile-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.profile-badge { font-size: 12.5px; color: var(--text-2); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); 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(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; margin-bottom: 16px; }
.profile-bio { color: var(--text-2); font-weight: 300; 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: rgba(5, 8, 22, .35); transition: border-color var(--dur-2); }
.cred:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.cred h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); 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: 14.5px; line-height: 1.55; color: var(--text-2); font-weight: 300; }
.cred li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); 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-strong);
    background: rgba(8, 13, 28, .82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
}
.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(--cyan); }
.search-field input {
    width: 100%; height: 48px; padding: 0 44px 0 44px; border-radius: 13px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); color: var(--text); font-size: 14.5px;
    transition: border-color var(--dur-2), box-shadow var(--dur-2), background-color var(--dur-2);
}
.search-field input::placeholder { color: #7C8BA3; }
.search-field input:focus { outline: none; border-color: rgba(0, 229, 255, .6); box-shadow: 0 0 0 4px rgba(0, 229, 255, .12); background: rgba(255, 255, 255, .06); }
.search-field input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.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); }
.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: 13px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); padding-left: 14px; transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.select-field:focus-within { border-color: rgba(0, 229, 255, .6); box-shadow: 0 0 0 4px rgba(0, 229, 255, .12); }
.select-field > span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; 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(--text); font-size: 14px; 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: #0B1223; color: var(--text); }
.course-count { margin-left: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.course-count #course-count { color: var(--cyan); font-size: 18px; font-weight: 600; margin-right: 2px; }

.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; 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: 40px;
    padding: 8px 14px; border-radius: 11px; border: 1px solid var(--line-strong);
    font-size: 13px; font-weight: 500; color: var(--muted); background: rgba(255, 255, 255, .02);
    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(--text); border-color: rgba(148, 163, 184, .45); }
.chip.is-active { color: #03121C; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 8px 24px -8px rgba(0, 229, 255, .7); }
.chip-count { font-family: var(--font-mono); font-size: 10.5px; padding: 1px 6px; border-radius: 6px; background: rgba(148, 163, 184, .14); color: inherit; }
.chip.is-active .chip-count { background: rgba(3, 18, 28, .16); }

.course-grid { display: grid; gap: 18px; 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(--cyan); --accent-rgb: 0, 229, 255;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 24px; border-radius: 20px;
    background: linear-gradient(170deg, rgba(22, 35, 61, .62), rgba(11, 18, 35, .55));
    border: 1px solid var(--line);
    transition: transform 500ms var(--ease), border-color var(--dur-2), box-shadow var(--dur-2);
    animation: cardIn 600ms var(--ease) both; animation-delay: calc(var(--n, 0) * 45ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } 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: 2px; background: linear-gradient(90deg, var(--accent), transparent 70%); opacity: .7; }
.course-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .4); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9), 0 0 40px -18px rgba(var(--accent-rgb), .7); }
.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: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.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: 10.5px; letter-spacing: .04em; padding: 4px 8px; border-radius: 7px; border: 1px solid var(--line-strong); color: var(--text-2); background: rgba(255, 255, 255, .03); white-space: nowrap; }
.tag i { color: var(--accent); font-size: 10px; }
.level-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.level-bars i { width: 3px; border-radius: 1px; background: rgba(148, 163, 184, .3); }
.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: 1.16rem; line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.015em; }
.course-desc { font-size: 14px; line-height: 1.65; color: var(--muted); font-weight: 300; 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: 10px; letter-spacing: .16em; 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: 13.5px; line-height: 1.5; color: var(--text-2); font-weight: 300; }
.course-outcomes i { color: var(--accent); font-size: 10px; margin-top: 6px; }
.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: 42px; font-size: 13px; padding: 0 12px; }
.btn-outline { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: rgba(var(--accent-rgb, 0, 229, 255), .6); background: rgba(var(--accent-rgb, 0, 229, 255), .07); }

.course-empty { grid-column: 1 / -1; text-align: center; padding: 56px 24px; border-radius: 20px; border: 1px dashed var(--line-strong); color: var(--muted); }
.course-empty i { font-size: 28px; color: var(--cyan); 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(0, 229, 255, .25);
    background: var(--grad-soft), rgba(11, 18, 35, .7);
}
.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(--cyan); background: rgba(0, 229, 255, .1); border: 1px solid rgba(0, 229, 255, .3); }
.custom-note h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: 10px; letter-spacing: -0.02em; }
.custom-note p { color: var(--text-2); font-weight: 300; 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: 16px; }
.format {
    position: relative; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
    transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), background-color var(--dur-2);
}
.format:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 5%, transparent); }
.format-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); margin-bottom: 20px; }
.format h3 { font-size: 1.12rem; margin-bottom: 10px; }
.format p { font-size: 14px; line-height: 1.65; color: var(--muted); font-weight: 300; }
@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: 24px; overflow: hidden;
    border: 1px solid var(--line-strong);
    background: radial-gradient(70% 70% at 50% 40%, rgba(59, 130, 246, .14), transparent 70%), linear-gradient(170deg, #0E1830, #070C1C);
    box-shadow: var(--shadow-2);
}
.story-screen::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(148, 163, 184, .16) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; }
.story-tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line-strong); background: rgba(5, 8, 22, .6); }
.story-scene { position: absolute; inset: 8% 6% 6%; width: 88%; height: 86%; opacity: 0; transform: scale(.96); transition: opacity 600ms var(--ease), transform 800ms var(--ease); }
.story-scene.is-on { opacity: 1; transform: none; }
.story-scene text { font-family: var(--font-mono); font-size: 12px; fill: var(--text-2); text-anchor: middle; }
.s-flow { fill: none; stroke: rgba(0, 229, 255, .55); stroke-width: 1.6; stroke-dasharray: 5 6; animation: dashMove 1s linear infinite; }
.s1-src rect { fill: rgba(59, 130, 246, .12); stroke: rgba(59, 130, 246, .55); }
.s1-table rect { fill: rgba(52, 211, 153, .1); stroke: #34D399; }
.s1-table path { stroke: rgba(52, 211, 153, .45); fill: none; }
.s-caption { fill: #34D399 !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: rgba(59, 130, 246, .3); } }
.s2-frame { fill: rgba(255, 255, 255, .02); stroke: var(--line-strong); }
.s2-kpis rect { fill: rgba(0, 229, 255, .08); stroke: rgba(0, 229, 255, .35); }
.s2-bars rect { fill: rgba(59, 130, 246, .5); transform-box: fill-box; transform-origin: bottom; }
.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(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; filter: drop-shadow(0 0 6px rgba(0, 229, 255, .7)); }
.is-on .s2-line { animation: draw 1600ms var(--ease) 300ms both; }
.s3-nodes rect { fill: rgba(192, 132, 252, .1); stroke: rgba(192, 132, 252, .55); }
.s3-nodes .s3-ai { fill: rgba(139, 92, 246, .25); stroke: var(--violet); }
.s3-packet { fill: #fff; filter: drop-shadow(0 0 6px var(--cyan)); }
.s4-ring { fill: none; stroke: rgba(0, 229, 255, .3); 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(139, 92, 246, .45); }
.s4-core { fill: rgba(0, 229, 255, .14); stroke: var(--cyan); }
.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(--text) !important; font-family: var(--font-display) !important; font-weight: 600; }
.s4-labels text { fill: var(--cyan) !important; font-size: 12px !important; }
.story-progress { display: flex; gap: 6px; margin-top: 12px; }
.story-progress li { flex: 1; height: 3px; border-radius: 2px; background: rgba(148, 163, 184, .18); overflow: hidden; position: relative; }
.story-progress li::after { content: ''; position: absolute; inset: 0; background: var(--grad); 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: 1px solid var(--line); position: relative; opacity: .38; transition: opacity 500ms var(--ease); }
.story-step::before { content: ''; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); transition: background-color var(--dur-2), border-color var(--dur-2), box-shadow var(--dur-2); }
.story-step.is-active { opacity: 1; }
.story-step.is-active::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.story-step-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.story-step h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); letter-spacing: -0.025em; margin-bottom: 14px; text-wrap: balance; }
.story-step p { color: var(--muted); font-weight: 300; line-height: 1.75; max-width: 520px; }
.section-title .arrow { color: var(--cyan); font-weight: 400; }
@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: 18px; }
.service {
    --accent: var(--cyan); --accent-rgb: 0, 229, 255;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 28px; border-radius: 22px;
    border: 1px solid var(--line); background: linear-gradient(170deg, rgba(22, 35, 61, .6), rgba(11, 18, 35, .5));
    transition: transform 500ms 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), .4); box-shadow: 0 0 50px -24px rgba(var(--accent-rgb), .8); }
.service-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 20px; color: var(--accent); background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .3); margin-bottom: 24px; transition: transform var(--dur-2) var(--ease); }
.service:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service h3 { font-size: 1.2rem; 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: 14.5px; line-height: 1.55; color: var(--text-2); font-weight: 300; }
.service li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 1px; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.service-cta {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03);
    font-size: 13.5px; font-weight: 600; color: var(--text);
    transition: background-color var(--dur-2), border-color var(--dur-2), color var(--dur-2);
}
.service-cta i { color: var(--accent); transition: transform var(--dur-2) var(--ease), color var(--dur-2); }
.service-cta:hover { background: var(--accent); border-color: var(--accent); color: #050816; }
.service-cta:hover i { color: #050816; 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 { position: relative; display: grid; gap: 14px; }
.process-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-strong); border-radius: 2px; }
.process-line span { position: absolute; inset: 0; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform 1600ms var(--ease); box-shadow: 0 0 10px rgba(0, 229, 255, .6); }
.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: 18px; font-weight: 600; color: var(--text);
    background: var(--bg-2); border: 1px solid var(--line-strong); position: relative; z-index: 1;
    transition: border-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.process-step:hover .process-num { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 24px -4px rgba(0, 229, 255, .7); }
.process-step--final .process-num { background: var(--cyan); color: #03121C; border-color: var(--cyan); box-shadow: 0 0 30px -6px rgba(0, 229, 255, .9); }
.process-step h3 { font-size: 1.05rem; margin: 6px 0 6px; }
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.6; font-weight: 300; }
@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-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: 14px; }
.client-grid > li { flex: 0 0 calc((100% - (var(--cols) - 1) * 14px) / 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: linear-gradient(180deg, rgba(241, 245, 249, .95), rgba(226, 232, 240, .92));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -26px rgba(0, 0, 0, .9);
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2);
    animation: cardIn 500ms 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: .8; transition: filter var(--dur-2), opacity var(--dur-2), transform var(--dur-2) var(--ease); }
.client-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0, 229, 255, .6), 0 24px 40px -20px rgba(0, 229, 255, .5); }
.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: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #475569; 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 520ms var(--ease) both; animation-delay: calc(var(--n, 0) * 50ms); }
.gallery-btn {
    position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 18px;
    border: 1px solid var(--line); background: var(--surface); text-align: left;
}
.gallery-btn img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1200ms var(--ease), filter var(--dur-3); filter: saturate(.9); }
.gallery-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 8, 22, .9)); transition: opacity var(--dur-2); }
.gallery-btn:hover img, .gallery-btn:focus-visible img { transform: scale(1.09); filter: saturate(1.05); }
.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: 600; font-size: 15px; color: var(--text); line-height: 1.3; }
.gallery-cat { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); padding: 3px 8px; border-radius: 6px; background: rgba(5, 8, 22, .6); border: 1px solid rgba(0, 229, 255, .3); }
.gallery-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--text); background: rgba(5, 8, 22, .6); border: 1px solid var(--line-strong); 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: 1.6rem; margin-bottom: 8px; }
.contact-tagline { color: var(--muted); font-weight: 300; line-height: 1.7; }
.contact-lead { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.contact-lead-kicker { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.contact-lead-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.contact-lead-role { font-size: 13px; color: var(--muted); }
.contact-links { display: grid; gap: 10px; }
.contact-link {
    display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius);
    border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
    transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), background-color var(--dur-2);
}
.contact-link:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.contact-link-icon { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; font-size: 18px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.contact-link-label { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-link-value { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); word-break: break-all; }

.form-card {
    position: relative; padding: clamp(24px, 4vw, 44px); border-radius: 26px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(170deg, rgba(22, 35, 61, .72), rgba(11, 18, 35, .65));
    box-shadow: var(--shadow-2);
}
.form-card::before { content: ''; position: absolute; left: 32px; right: 32px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent); }
.form-title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 10px; letter-spacing: -0.02em; }
.form-lede { color: var(--muted); font-weight: 300; margin-bottom: 28px; }
.selected-course { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 22px; border-radius: 13px; border: 1px solid rgba(0, 229, 255, .35); background: rgba(0, 229, 255, .07); font-size: 14px; color: var(--text-2); animation: introUp 500ms var(--ease) both; }
.selected-course[hidden] { display: none; }
.selected-course > i { color: var(--cyan); }
.selected-course-clear { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.selected-course-clear:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.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-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.field .req { color: var(--cyan); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 13px;
    background: rgba(5, 8, 22, .45); border: 1px solid var(--line-strong); color: var(--text); font-size: 15px;
    transition: border-color var(--dur-2), box-shadow var(--dur-2), background-color var(--dur-2);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, #94A3B8 50%), linear-gradient(135deg, #94A3B8 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: #0B1223; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #6E7D96; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(148, 163, 184, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(0, 229, 255, .7); box-shadow: 0 0 0 4px rgba(0, 229, 255, .13); background-color: rgba(5, 8, 22, .65); }
.field.is-invalid input, .field.is-invalid textarea { border-color: rgba(248, 113, 113, .8); box-shadow: 0 0 0 4px rgba(248, 113, 113, .12); }
.field.is-valid input, .field.is-valid textarea { border-color: rgba(52, 211, 153, .55); }
.field-error { font-size: 12.5px; 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: 11px; color: var(--muted); }
.form-howto { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); padding: 14px 16px; border-radius: 13px; background: rgba(59, 130, 246, .08); border: 1px solid rgba(59, 130, 246, .25); }
.form-howto i { color: #60A5FA; 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: 14px; line-height: 1.65; color: var(--text-2); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); animation: introUp 400ms var(--ease) both; }
.form-status[hidden] { display: none; }
.form-status strong { display: block; margin-bottom: 4px; }
.form-status.is-info { border-color: rgba(0, 229, 255, .4); background: rgba(0, 229, 255, .06); }
.form-status.is-error { border-color: rgba(248, 113, 113, .5); background: rgba(248, 113, 113, .07); }
.form-status-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.form-status-actions .btn { --btn-h: 38px; font-size: 13px; padding: 0 14px; }
@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: linear-gradient(180deg, rgba(11, 18, 35, .4), #03050F); padding: 72px 0 28px; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 50%; top: -1px; width: min(800px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .6), transparent); }
.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: 700; color: var(--text); letter-spacing: .1em; font-size: 15px; }
.footer-brand p { max-width: 400px; font-size: 14px; line-height: 1.75; font-weight: 300; 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); color: var(--muted); font-size: 17px; transition: color var(--dur-2), border-color var(--dur-2), background-color var(--dur-2), transform var(--dur-2) var(--ease); }
.footer-social a:hover { color: #fff; border-color: var(--cyan); background: rgba(0, 229, 255, .1); transform: translateY(-3px); }
.footer-heading { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; font-weight: 600; }
.footer-list { display: grid; gap: 12px; font-size: 14px; font-weight: 300; }
.footer-list a { display: inline-block; transition: color var(--dur-2), transform var(--dur-2) var(--ease); }
.footer-list a:hover { color: var(--text); transform: translateX(4px); }
.footer-accent { color: var(--cyan); font-weight: 500; }
.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: #334155; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: #7C8BA3; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); font-size: 12px; }
.footer-contact a:hover { color: var(--text); }
@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: var(--whatsapp);
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .65);
    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 36px -8px rgba(37, 211, 102, .8); }
.fab-label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--text); padding: 7px 12px; border-radius: 10px; background: rgba(11, 18, 35, .92); border: 1px solid var(--line-strong); 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(--text); background: rgba(11, 18, 35, .85); border: 1px solid var(--line-strong);
    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(--cyan); color: var(--cyan); }

/* ---------- 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(3, 5, 15, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity var(--dur-2) var(--ease); }
.modal-dialog {
    --accent: var(--cyan); --accent-rgb: 0, 229, 255;
    position: relative; width: 100%; max-width: 780px; max-height: min(90vh, 900px);
    display: flex; flex-direction: column;
    border-radius: 26px; border: 1px solid var(--line-strong);
    background: linear-gradient(170deg, #121E36, #0A1122 60%);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--accent-rgb), .12), 0 0 80px -30px rgba(var(--accent-rgb), .5);
    opacity: 0; transform: translateY(18px) scale(.97);
    transition: opacity var(--dur-2) var(--ease), transform 500ms 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: 180px; background: radial-gradient(80% 100% at 20% 0%, rgba(var(--accent-rgb), .18), transparent 70%); pointer-events: none; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); transition: color var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease); }
.modal-close:hover { color: #fff; border-color: var(--accent); 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(1.5rem, 3.2vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 14px; }
.modal-desc { font-size: 16px; line-height: 1.75; color: var(--text-2); font-weight: 300; margin-bottom: 26px; }
.modal-block { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(5, 8, 22, .4); margin-bottom: 18px; }
.modal-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; font-weight: 600; }
.modal-outcomes { display: grid; gap: 12px; counter-reset: oc; }
.modal-outcomes li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.55; color: var(--text); font-weight: 300; }
.modal-outcomes li::before { counter-increment: oc; content: counter(oc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--accent); padding: 3px 0; border-radius: 6px; border: 1px solid rgba(var(--accent-rgb), .35); text-align: center; }
.modal-cols { display: grid; gap: 18px; margin-bottom: 8px; }
.modal-cols p, .modal-cols li { font-size: 14.5px; line-height: 1.65; color: var(--text-2); font-weight: 300; }
.modal-cols ul { display: grid; gap: 6px; }
.modal-cols li::before { content: '•'; color: var(--accent); 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: rgba(5, 8, 22, .55); }
@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 ---------- */
.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(2, 4, 12, .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 500ms 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 400ms 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: 600; color: var(--text); text-align: center; }
.lightbox-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); font-weight: 500; }
.lightbox-btn { position: absolute; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 17px; color: var(--text); background: rgba(17, 28, 49, .8); border: 1px solid var(--line-strong); transition: border-color var(--dur-2), color var(--dur-2), background-color var(--dur-2); }
.lightbox-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.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: 700; font-size: 14px; letter-spacing: .08em; color: #334155; 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(148, 163, 184, .05) 0 12px, transparent 12px 24px), var(--surface);
}
.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: 11px; letter-spacing: .06em; color: var(--muted);
    padding: 8px 12px; border-radius: 8px; border: 1px dashed var(--line-strong); background: rgba(5, 8, 22, .6);
}
.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: #0B1223; border: 4px solid rgba(11, 18, 35, .9);
    font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--text);
}

/* ---------- 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: none !important; }
    .media-frame img, .page-hero-bg img { transform: 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: 12px; padding: 5px 10px; border-radius: 8px; color: var(--text-2); background: rgba(var(--accent-rgb), .06); border: 1px solid rgba(var(--accent-rgb), .2); }
.pillar-stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; font-size: 13.5px; color: var(--muted); }
.pillar-stat b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--text); letter-spacing: -0.03em; }
.form-howto span { flex: 1; }

@media (min-width: 900px) { .explorer { position: sticky; top: calc(var(--header-h) + 4px); } }
@media (max-width: 639px) {
    .fab-whatsapp { width: 52px; height: 52px; font-size: 25px; right: 14px; bottom: 14px; }
    .fab-top { right: 18px; bottom: 76px; width: 42px; height: 42px; }
    .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.4s var(--ease); }
.hero--3d .nexus-3d { opacity: 1; }
.hero--3d .nexus-canvas[data-network="hero"] { opacity: 0; transition: opacity 1s var(--ease); }
/* In 3D mode the sphere is the single focal point; the 2D panels remain the fallback */
.hero--3d .hv-panel, .hero--3d .hv-orbit { display: none; }
.hero-3d-labels { position: absolute; inset: 0; z-index: 1; 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;
    padding: 6px 12px 6px 9px; border-radius: 999px;
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text);
    background: rgba(5, 8, 22, .72); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
    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: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.h3d-label:hover { border-color: var(--c); box-shadow: 0 0 26px -6px var(--c); }
.h3d-label.is-hidden { pointer-events: none; }
@media (max-width: 699px) {
    .hero--3d .nexus-3d { opacity: .42; }
    .hero-3d-labels { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nexus-3d { transition: none; } }
