/* ============================================================
   AVIS Consulting — Design System v2.0
   Full Dark Premium · Gradient Sections · Glass Cards · Inter Font
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
    --brand-blue:    #4A82C8;
    --brand-cyan:    #5A9AD8;
    --brand-navy:    #7AAEE8;
    --brand-indigo:  #3A5A8A;

    --dark-900:  #05070B;
    --dark-800:  #08101C;
    --dark-700:  #0D1629;
    --dark-600:  #111827;
    --dark-card: #13203A;
    --dark-border: rgba(255,255,255,0.07);

    --light-bg:      #FFFFFF;
    --light-section: #F8FAFF;
    --light-border:  #E2E8F0;
    --light-blue:    #EBF2FF;

    --text-white:    #EEF3FF;
    --text-w70:      rgba(210,225,248,0.72);
    --text-w50:      rgba(185,210,245,0.50);
    --text-dark:     rgba(230,240,255,0.92);
    --text-body:     rgba(210,225,248,0.72);
    --text-muted:    rgba(185,210,245,0.45);
    --text-blue:     #7AAEE8;

    --gradient-brand: linear-gradient(135deg, #4A82C8 0%, #5A9AD8 100%);
    --gradient-blue:  linear-gradient(135deg, #1E3A6A 0%, #2D5A9A 100%);
    --gradient-hero:  linear-gradient(135deg, #0A0F1E 0%, #0D1629 100%);

    --shadow-sm:   0 1px 3px rgba(0,0,0,0.18), 0 1px 2px rgba(0,0,0,0.10);
    --shadow-md:   0 4px 12px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.15);
    --shadow-lg:   0 10px 30px rgba(0,0,0,0.30), 0 4px 10px rgba(0,0,0,0.20);
    --shadow-blue: 0 8px 28px rgba(0,0,0,0.35);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --max-w: 1160px;
}

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-800); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: #000000;
    color: rgba(210,225,248,0.72);
    margin: 0;
    padding-top: 64px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#webgl-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 2.5rem;
    background: rgba(6,11,23,0.80);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(6,11,23,0.97);
    border-bottom-color: rgba(210,225,248,0.1);
}

.navbar-brand {
    font-size: 1.1rem; font-weight: 700;
    text-decoration: none; letter-spacing: -0.3px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 0.3em;
}

/* "AVIS" — brand mark */
.nb-avis {
    color: #A0C4F0;
}

/* "Consulting" — slate gray */
.nb-word {
    color: #6B7E96;
    font-weight: 400;
    letter-spacing: 0.03em;
    font-size: 0.95em;
}

/* ── Launcher button (4-square icon) ── */
.nav-launcher {
    background: none; border: none; cursor: pointer;
    width: 38px; height: 38px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.2s;
}
.nav-launcher:hover { background: rgba(255,255,255,0.07); }
.nav-launcher.open  { background: rgba(255,255,255,0.09); }
.ls-sq {
    border-radius: 3px;
    opacity: 0.60;
    transition: opacity 0.2s;
}
.nav-launcher:hover .ls-sq,
.nav-launcher.open  .ls-sq { opacity: 1; }
.ls-sq-tl { background: #6A9ED8; }
.ls-sq-tr { background: #C9A84C; }
.ls-sq-bl { background: #4CAF7D; }
.ls-sq-br { background: #9B6DD6; }

/* ── Mega popup panel ── */
.mega-panel {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 580px;
    z-index: 998;
    background:
        radial-gradient(ellipse 90% 50% at 50% -10%, rgba(106,158,216,0.13) 0%, transparent 65%),
        linear-gradient(160deg, rgba(12,20,36,0.99) 0%, rgba(5,8,15,0.99) 100%);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.70),
        0 0 0 1px rgba(180,210,255,0.07),
        0 0 24px rgba(106,158,216,0.09),
        0 0 48px rgba(155,109,214,0.05);
    opacity: 0; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    overflow: hidden;
}
.mega-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(106,158,216,0.50) 0%,
        rgba(201,168,76,0.38) 33%,
        rgba(76,175,125,0.38) 66%,
        rgba(155,109,214,0.50) 100%);
    border-radius: 16px 16px 0 0;
}
.mega-panel.open {
    opacity: 1; pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.mega-panel-inner {
    padding: 2rem 2.25rem 2.25rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.mega-col-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem; font-weight: 500;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: rgba(106,158,216,0.55);
    margin-bottom: 1rem; display: block;
}
.mega-link {
    display: block; text-decoration: none;
    font-size: 0.92rem; font-weight: 500;
    color: rgba(185,210,245,0.58);
    padding: 0.42rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.14s, padding-left 0.14s;
}
.mega-link:last-child { border-bottom: none; }
.mega-link:hover { color: rgba(215,232,255,1); padding-left: 0.4rem; }
.mega-link-contact {
    margin-top: 0.6rem;
    padding-top: 0.7rem !important;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: none !important;
    color: rgba(106,158,216,0.75) !important;
}
.mega-link-contact:hover { color: rgba(160,196,240,1) !important; }

/* ============================================================
   HERO — Centered, company-focused, no photo
   ============================================================ */
.hero {
    position: relative; z-index: 1;
    min-height: calc(100vh - 64px);
    display: flex; align-items: center; justify-content: center;
    background: #05070B;
    overflow: hidden;
    padding: 6rem 2rem 8rem;
}

.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 20% 40%, rgba(40,70,110,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 55% at 80% 55%, rgba(40,70,100,0.06) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
}

@keyframes heroAmbient {
    from { opacity: 0.7; }
    to   { opacity: 1; }
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 800px; margin: 0 auto;
}

/* ── Eyebrow label ── */
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--brand-blue);
    margin-bottom: 1.75rem;
}

.hero-badge-dot {
    width: 6px; height: 6px;
    background: #06B6D4; border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ── Brand mark ── */
.hero h1 { margin: 0 0 1.5rem; line-height: 1; }

.hero-logo-img {
    display: block;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    mix-blend-mode: screen;
    /* fade all four edges so the PNG background dissolves into the hero */
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0%, black 20%),
        linear-gradient(to right,  transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image:
        linear-gradient(to bottom, transparent 0%, black 20%),
        linear-gradient(to right,  transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.brand-avis {
    display: block;
    font-size: clamp(5.1rem, 12vw, 9.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.88;
    background: linear-gradient(180deg, #D8E8FF 0%, #A0C4F0 45%, #6A9ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.1em;
}

.brand-word {
    display: block;
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(210,225,248,0.42);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #60A5FA 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Tagline (below brand mark) ── */
.hero-tagline {
    font-size: 0.97rem;
    color: var(--text-w50);
    letter-spacing: 0.4px;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    margin-top: 0;
}
.tagline-catalyst {
    background: linear-gradient(90deg, #93C5FD 0%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.tagline-pillar {
    background: linear-gradient(90deg, rgba(200,220,255,0.58) 0%, rgba(147,197,253,0.52) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}
.tagline-avis-letter {
    font-weight: 800;
}

/* ── AI-augmented line ── */
.hero-augmented {
    font-size: 1rem; color: var(--text-w70);
    font-weight: 500; letter-spacing: -0.1px;
    margin-bottom: 2.5rem;
}

/* ── CTAs ── */
.hero-actions {
    display: flex; gap: 12px;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* ── Stats row ── */
.hero-stats-row {
    display: flex; gap: 2.5rem;
    justify-content: center; flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat { text-align: center; }

.hero-stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem; font-weight: 500;
    color: var(--text-white); line-height: 1; margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.76rem; color: var(--text-w50);
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* ── GSAP initial states ── */
.hero-eyebrow, .brand-avis, .brand-word, .hero-tagline, .hero-augmented,
.hero-actions, .hero-stats-row .hero-stat { opacity: 0; }

/* ── Typewriter (used on Founder page) ── */
.hero-typewriter {
    font-size: 0.88rem; min-height: 1.5rem; display: block;
    color: rgba(210,225,248,0.55); font-weight: 500; margin: 0;
    font-family: 'JetBrains Mono', monospace; letter-spacing: 0.2px;
}
.hero-typewriter::after {
    content: '|'; animation: blink 0.9s step-end infinite;
    color: rgba(210,225,248,0.35); margin-left: 1px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    background: linear-gradient(180deg, #060B17 0%, #080D1C 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    position: relative; z-index: 1;
}

.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; max-width: var(--max-w); margin: 0 auto;
}

.stat-item { text-align: center; }

.stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.4rem; font-weight: 500;
    color: rgba(210,225,248,0.88);
    line-height: 1.1; margin-bottom: 6px;
    display: block;
}

.stat-label {
    font-size: 0.85rem; color: rgba(210,225,248,0.55); font-weight: 500;
}

/* ============================================================
   SCROLL HINT
   ============================================================ */
.scroll-hint {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0; animation: fadeUp 1s ease 2.2s forwards;
    z-index: 3;
}
.scroll-hint span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem; color: rgba(210,225,248,0.65);
    text-transform: uppercase; letter-spacing: 5px;
    font-weight: 500;
}
.scroll-hint-line {
    width: 1px; height: 56px;
    background: rgba(255,255,255,0.15); position: relative; overflow: hidden;
}
.scroll-hint-line::after {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.05));
    animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
@keyframes fadeUp {
    to { opacity: 1; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
    overflow: hidden;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: #060B17;
    position: relative; z-index: 1;
}
.marquee {
    display: flex; gap: 3rem;
    animation: marqueeScroll 35s linear infinite;
    white-space: nowrap; width: max-content;
}
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem; color: rgba(210,225,248,0.4);
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0; text-transform: uppercase; letter-spacing: 1px;
}
.marquee-item::before { content: '·'; color: rgba(210,225,248,0.20); font-size: 1rem; }
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION PRIMITIVES
   ============================================================ */
.section-full {
    padding: 7.5rem 0;
    background: #07101E;
    position: relative; z-index: 1;
}
.section-full::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 65% 55% at 85% 50%, rgba(30,58,92,0.03), transparent 65%);
}

.section-full.alt {
    background: #0B1222;
}
.section-full.alt::before {
    background: radial-gradient(ellipse 60% 55% at 15% 50%, rgba(30,58,92,0.025), transparent 65%);
}

.section-dark {
    background: #05070B;
    padding: 7.5rem 0;
    position: relative; z-index: 1;
}
.section-dark::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(20,40,70,0.04), transparent 65%);
}

.wrap {
    max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
}

.section-label {
    display: flex; align-items: center; gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 2px;
    color: rgba(210,225,248,0.52); margin-bottom: 0.85rem;
}

.section-label::before {
    content: '';
    width: 28px; height: 1px;
    background: rgba(255,255,255,0.20);
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800; letter-spacing: -0.8px;
    line-height: 1.15; color: var(--text-white);
    margin-top: 0; margin-bottom: 1.5rem;
}

.section-sub {
    font-size: 1.05rem; color: rgba(210,225,248,0.62);
    line-height: 1.85; max-width: 560px; margin-bottom: 3.5rem;
}

/* Statement (dark sections) */
.statement-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; text-align: center; }

.statement-head {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 800; line-height: 1.22;
    letter-spacing: -0.8px; color: var(--text-white);
    margin-top: 0; margin-bottom: 1.25rem;
}

.statement-head em {
    font-style: normal;
    color: rgba(210,225,248,0.88);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0.72rem 1.6rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.22s ease; letter-spacing: 0.05px;
}

.btn-primary {
    background: linear-gradient(135deg, #1A3550 0%, #243F5C 100%);
    color: rgba(210,225,248,0.78);
    box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1F3D5E 0%, #2B4A6E 100%);
    color: rgba(210,225,248,0.90);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.50);
}

.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.14);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: #93C5FD;
    border: 1.5px solid rgba(147,197,253,0.3);
}
.btn-outline:hover { background: rgba(147,197,253,0.08); border-color: #93C5FD; transform: translateY(-1px); }

.btn-pill { border-radius: 30px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 2rem;
    transition: all 0.25s ease;
}
.card::before {
    content: '';
    position: absolute; inset: 0; border-radius: var(--radius-md);
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,0.07), transparent 40%);
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.card:hover { border-color: rgba(37,99,235,0.25); box-shadow: var(--shadow-blue); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.service-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.12);
    position: relative; overflow: hidden;
    transition: all 0.25s ease;
}

.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px; background: rgba(255,255,255,0.10);
}

.service-card::after {
    content: '';
    position: absolute; inset: 0; border-radius: var(--radius-lg);
    background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,0.06), transparent 40%);
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); border-color: rgba(210,225,248,0.14); }
.service-card:hover::after { opacity: 1; }

.service-icon {
    width: 46px; height: 46px;
    background: rgba(255,255,255,0.04);
    border-radius: 11px; border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.6rem; margin-top: 0;
    border-bottom: none; padding-bottom: 0;
}

.service-card p { color: rgba(210,225,248,0.62); font-size: 0.97rem; line-height: 1.75; margin-bottom: 1.5rem; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.12);
    transition: all 0.25s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    border-color: rgba(210,225,248,0.14);
}

.product-badge {
    display: inline-block;
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px;
    padding: 3px 10px; border-radius: 20px;
    margin-bottom: 0.85rem;
}

.badge-live { background: rgba(16,185,129,0.1); color: #059669; border: 1px solid rgba(16,185,129,0.18); }
.badge-dev  { background: rgba(37,99,235,0.08); color: var(--brand-blue); border: 1px solid rgba(37,99,235,0.18); }

.product-name { font-size: 1.2rem; font-weight: 700; color: var(--text-white); margin-bottom: 3px; }
.product-sub  { font-size: 0.88rem; color: rgba(210,225,248,0.50); font-style: italic; margin-bottom: 0.75rem; display: block; }
.product-desc { font-size: 0.97rem; color: rgba(210,225,248,0.65); line-height: 1.75; margin-bottom: 1rem; }

.product-metrics {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; margin: 1rem 0;
}

.metric-chip {
    background: rgba(255,255,255,0.04);
    border-radius: 8px; padding: 10px;
    text-align: center; border: 1px solid rgba(255,255,255,0.08);
}

.metric-num {
    display: block; font-size: 1.25rem; font-weight: 800;
    color: rgba(210,225,248,0.85);
    line-height: 1.1;
}

.metric-lbl {
    display: block; font-size: 0.78rem; color: rgba(210,225,248,0.50); margin-top: 2px;
}

/* ============================================================
   AVIS FRAMEWORK PILLARS
   ============================================================ */
.split-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}

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

.pillar {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border-radius: var(--radius-md);
    padding: 1.6rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center; transition: all 0.22s ease;
}

.pillar:hover {
    transform: translateY(-2px);
    border-color: rgba(210,225,248,0.14);
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.pillar-letter {
    display: block; font-size: 2.2rem; font-weight: 800;
    color: rgba(210,225,248,0.75);
    line-height: 1; margin-bottom: 6px;
}

.pillar-word {
    display: block; font-size: 0.97rem; font-weight: 700;
    color: var(--text-white); margin-bottom: 3px;
}

.pillar-tagline { font-size: 0.82rem; color: rgba(210,225,248,0.52); }

/* ============================================================
   HERO SUPPORTING LINE
   ============================================================ */
.hero-supporting {
    font-size: 1.05rem;
    color: rgba(210,225,248,0.38);
    letter-spacing: 0.1px;
    margin-bottom: 2.75rem;
}

.hero-credential {
    font-size: 0.8rem;
    color: rgba(100,160,220,0.55);
    letter-spacing: 0.06em;
    margin-top: 1.5rem;
    line-height: 1.5;
    font-weight: 400;
    opacity: 0;
}

/* ============================================================
   COHERENCE PROBLEM LIST
   ============================================================ */
.problem-list {
    margin: 3rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.problem-item {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 2rem;
    align-items: baseline;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.problem-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(210,225,248,0.20);
    letter-spacing: 0.05em;
    padding-top: 0.2em;
}
.problem-name {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
    color: rgba(210,225,248,0.82);
    margin-bottom: 0.4rem;
    letter-spacing: -0.2px;
}
.problem-desc {
    font-size: 0.93rem;
    color: rgba(210,225,248,0.40);
    line-height: 1.65;
}
.problem-result {
    font-size: 1rem;
    color: rgba(210,225,248,0.50);
    line-height: 1.85;
    margin-top: 1.5rem;
    max-width: 640px;
    font-style: italic;
}

/* ============================================================
   ARCHITECTURE GRID (2x2)
   ============================================================ */
.arch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 3.5rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
}
.arch-item {
    padding: 2.5rem;
    background: rgba(255,255,255,0.015);
    transition: background 0.3s;
}
.arch-item:nth-child(1) { border-right: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.arch-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.05); }
.arch-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.05); }
.arch-item:hover { background: rgba(255,255,255,0.035); }
.arch-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: rgba(210,225,248,0.20);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: block;
}
.arch-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(210,225,248,0.85);
    margin-bottom: 0.75rem;
    letter-spacing: -0.2px;
}
.arch-desc {
    font-size: 0.9rem;
    color: rgba(210,225,248,0.45);
    line-height: 1.72;
}
@media (max-width: 640px) {
    .arch-grid { grid-template-columns: 1fr; }
    .arch-item:nth-child(1),
    .arch-item:nth-child(2),
    .arch-item:nth-child(3) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .arch-item:nth-child(4) { border-bottom: none; }
}

/* ============================================================
   PILLARS SPLIT (Intelligence + Systems)
   ============================================================ */
.pillars-split {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 5rem;
    align-items: start;
    margin-top: 3.5rem;
}
.pillar-divider {
    background: rgba(255,255,255,0.06);
    min-height: 200px;
}
.pillar-col h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 700;
    color: rgba(210,225,248,0.85);
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin: 0.75rem 0 1rem;
}
.pillar-col p {
    font-size: 0.96rem;
    color: rgba(210,225,248,0.48);
    line-height: 1.82;
    margin-bottom: 1.75rem;
}
@media (max-width: 768px) {
    .pillars-split { grid-template-columns: 1fr; gap: 3rem 0; }
    .pillar-divider { display: none; }
}

/* ============================================================
   HOW PRINCIPLES LIST
   ============================================================ */
.how-principles {
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.how-principle {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.how-principle-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(210,225,248,0.20);
    padding-top: 0.2em;
}
.how-principle-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(210,225,248,0.82);
    margin-bottom: 0.5rem;
    letter-spacing: -0.1px;
}
.how-principle-desc {
    font-size: 0.93rem;
    color: rgba(210,225,248,0.43);
    line-height: 1.75;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.95s cubic-bezier(0.4,0,0.2,1),
                transform 0.95s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.18s; }
.reveal-d2 { transition-delay: 0.36s; }
.reveal-d3 { transition-delay: 0.54s; }
.reveal-d4 { transition-delay: 0.72s; }

/* ============================================================
   LEGACY: .section (used by all sub-pages)
   ============================================================ */
.section {
    background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.11);
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
                transform 0.6s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.3s ease;
    position: relative;
}
.section.visible { opacity: 1; transform: translateY(0); }
.section:hover   { box-shadow: 0 6px 32px rgba(37,99,235,0.12); border-color: rgba(37,99,235,0.22); }

.container {
    max-width: var(--max-w); margin: 2rem auto; padding: 0 2rem;
}

/* Sub-page headings (inside .section) */
.section h2 {
    font-size: 1.75rem; font-weight: 700;
    margin-bottom: 1.25rem; letter-spacing: -0.3px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan)) left bottom no-repeat;
    background-size: 100% 2px;
    line-height: 1.3; color: var(--text-white);
}

.section h3 {
    font-size: 1.2rem; font-weight: 600;
    margin-top: 2rem; margin-bottom: 0.9rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(210,225,248,0.88);
}
.section h3:first-of-type { margin-top: 0; }

.section h4 { font-size: 1rem; font-weight: 600; color: rgba(210,225,248,0.82); margin-bottom: 0.5rem; }

/* Banner (sub-pages) */
.banner {
    position: relative; text-align: center;
    padding: 4rem 2rem; border-radius: var(--radius-md);
    margin-bottom: 2rem; overflow: hidden;
    min-height: 220px; display: flex;
    align-items: center; justify-content: center;
    background: var(--dark-800); box-shadow: var(--shadow-lg);
}
.banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 20% 50%, rgba(37,99,235,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 80% 45%, rgba(6,182,212,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.banner::after {
    content: '';
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none;
}
.banner-home         { background: var(--dark-800); }
.banner-coaching     { background: var(--dark-800); }
.banner-transform    { background: var(--dark-800); }
.banner-products     { background: var(--dark-800); }
.banner-framework    { background: var(--dark-800); }
.banner-contact      { background: var(--dark-800); }
.banner-testimonials { background: var(--dark-800); }
.banner-capital      { background: var(--dark-800); }

.banner-content { position: relative; z-index: 2; max-width: 800px; }
.banner-content h1 {
    color: var(--text-white);
    font-size: 2.5rem; margin-bottom: 0.75rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.banner-content p { color: var(--text-w70); font-size: 1.1rem; margin-bottom: 0.4rem; }

.banner-photo {
    width: 120px; height: 120px; border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(37,99,235,0.45);
    box-shadow: 0 0 0 8px rgba(37,99,235,0.07), 0 8px 32px rgba(0,0,0,0.4);
    margin-bottom: 1rem; display: block; margin-left: auto; margin-right: auto;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; margin-top: 1.5rem;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: var(--radius-md);
    padding: 2rem; border: 1px solid rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.12);
    position: relative; transition: all 0.25s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px); box-shadow: 0 8px 32px rgba(37,99,235,0.15);
    border-color: rgba(37,99,235,0.28);
}
.testimonial-card::before {
    content: '\201C'; position: absolute; top: 1rem; left: 1.5rem;
    font-size: 3.5rem; line-height: 1; color: rgba(96,165,250,0.18);
    font-family: Georgia, serif; pointer-events: none;
}
.testimonial-quote { color: rgba(210,225,248,0.72); font-size: 0.95rem; line-height: 1.8; margin: 0.75rem 0 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.07); }
.testimonial-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gradient-brand); display: flex;
    align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: var(--text-white); font-size: 0.88rem; }
.testimonial-role  { font-size: 0.78rem; color: rgba(210,225,248,0.45); }

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion {
    margin-bottom: 20px; border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
}
.accordion-item { border: none; background: transparent; overflow: hidden; }
.accordion-item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.06); }
.accordion-header {
    padding: 18px 24px; cursor: pointer;
    font-weight: 600; font-size: 0.97rem;
    background: transparent; border: none;
    color: rgba(210,225,248,0.88); transition: all 0.2s ease;
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Inter', sans-serif; width: 100%; text-align: left;
}
.accordion-header:hover { background: rgba(96,165,250,0.06); color: #93C5FD; }
.accordion-header::after {
    content: '▼'; font-size: 0.72em; color: #60A5FA;
    transition: transform 0.3s ease; flex-shrink: 0; margin-left: 12px;
}
.accordion-header.active { background: rgba(96,165,250,0.07); color: #93C5FD; }
.accordion-header.active::after { transform: rotate(180deg); }
.accordion-content {
    padding: 0 24px; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: rgba(0,0,0,0.12);
}
.accordion-content.active { max-height: 2000px; padding: 24px; }
.accordion-content p   { color: rgba(210,225,248,0.68); line-height: 1.75; margin-bottom: 14px; font-size: 0.95rem; }
.accordion-content ul  { margin-bottom: 18px; padding-left: 20px; }
.accordion-content ul li { margin-bottom: 6px; line-height: 1.65; color: rgba(210,225,248,0.68); font-size: 0.93rem; }
.accordion-content h4  { color: rgba(210,225,248,0.9); margin-top: 18px; margin-bottom: 10px; }
.accordion-content h4:first-child { margin-top: 0; }

.avis-accordion .accordion-header { font-size: 1rem; padding: 20px 24px; }
.avis-accordion .accordion-header em { font-style: italic; color: rgba(210,225,248,0.42); font-size: 0.82em; display: block; margin-top: 3px; font-weight: 400; }

.deliverables-accordion .accordion-header { font-size: 0.93rem; padding: 15px 24px; }
.deliverables-accordion .accordion-content ul { list-style-type: none; padding-left: 0; }
.deliverables-accordion .accordion-content ul li {
    padding: 10px 15px; margin-bottom: 6px;
    background: rgba(255,255,255,0.04); border-radius: 8px;
    border-left: 3px solid var(--brand-blue);
    transition: all 0.2s ease; font-size: 0.9rem;
}
.deliverables-accordion .accordion-content ul li:hover { background: rgba(96,165,250,0.08); transform: translateX(3px); }

/* ============================================================
   FORMS
   ============================================================ */
.contact-form { display: flex; flex-direction: column; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.875rem; color: rgba(210,225,248,0.78); }
.form-control {
    width: 100%; padding: 0.72rem 1rem;
    border: 1.5px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-sm);
    font-size: 0.95rem; font-family: 'Inter', sans-serif;
    background: rgba(255,255,255,0.05); color: var(--text-white); transition: all 0.2s;
}
.form-control:focus { outline: none; border-color: #60A5FA; box-shadow: 0 0 0 3px rgba(96,165,250,0.12); background: rgba(255,255,255,0.07); }
.form-control::placeholder { color: rgba(210,225,248,0.28); }
.select-control {
    width: 100%; padding: 0.72rem 1rem;
    border: 1.5px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-sm);
    font-size: 0.95rem; font-family: 'Inter', sans-serif;
    background: rgba(255,255,255,0.05); color: var(--text-white); transition: all 0.2s;
    appearance: none; -webkit-appearance: none;
}
.select-control:focus { outline: none; border-color: #60A5FA; box-shadow: 0 0 0 3px rgba(96,165,250,0.12); }

/* ============================================================
   DATA STACK GRID
   ============================================================ */
.data-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}
.data-stack-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center; transition: all 0.25s ease;
}
.data-stack-item:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(37,99,235,0.14); border-color: rgba(37,99,235,0.28); }
.data-stack-item img { height: 80px; margin-bottom: 1rem; }
.data-stack-item h4 { color: var(--text-white); margin-bottom: 0.5rem; font-size: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark-800);
    color: var(--text-w70);
    padding: 3.5rem 2rem 1.75rem;
    margin-top: 0;
    position: relative; z-index: 1;
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem; padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 { color: #C8D8F0; font-size: 1.1rem; font-weight: 700; margin: 0 0 0.75rem; border-bottom: none; padding-bottom: 0; }
.footer-brand p  { font-size: 0.875rem; color: var(--text-w50); line-height: 1.65; margin-bottom: 1.25rem; }
.footer-email {
    display: inline-flex; align-items: center; gap: 8px;
    color: #C8D8F0; text-decoration: none; font-weight: 600; font-size: 0.875rem;
    background: rgba(255,255,255,0.08); padding: 8px 16px;
    border-radius: 20px; border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.2s;
}
.footer-email:hover { background: rgba(255,255,255,0.15); }
.footer-nav h4 { color: #C8D8F0; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 1rem; border-bottom: none; padding-bottom: 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav ul li { margin-bottom: 0.5rem; }
.footer-nav ul li a { color: var(--text-w50); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; border-bottom: none !important; }
.footer-nav ul li a:hover { color: #C8D8F0; }
.footer-social { display: flex; gap: 10px; margin-top: 1.25rem; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 8px;
    background: rgba(255,255,255,0.08); color: #C8D8F0;
    text-decoration: none; transition: background 0.2s; border-bottom: none !important;
}
.footer-social a:hover { background: rgba(255,255,255,0.18); }
.footer-bottom {
    max-width: var(--max-w); margin: 1.5rem auto 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; color: var(--text-w50);
    flex-wrap: wrap; gap: 0.5rem;
}
.footer-tagline { font-style: italic; }

/* ============================================================
   CREDENTIAL PILLS
   ============================================================ */
.credential-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2rem; }
.credential-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(37,99,235,0.10);
    border: 1px solid rgba(96,165,250,0.22);
    border-radius: 20px; padding: 5px 14px;
    font-size: 0.79rem; font-weight: 600; color: #93C5FD;
}

/* ============================================================
   TYPOGRAPHY (generic)
   ============================================================ */
h1, h2, h3, h4 { color: var(--text-white); margin-top: 0; }
p { line-height: 1.8; margin-bottom: 1rem; color: rgba(210,225,248,0.65); font-size: 0.97rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    body { padding-top: 60px; }
    .navbar { padding: 0 1.25rem; height: 60px; }

    .mega-panel { width: calc(100vw - 1.5rem); top: 68px; border-radius: 12px; }
    .mega-panel-inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: 1.5rem; }
    .mega-col-end { grid-column: 1 / -1; justify-content: flex-start; padding-top: 0.5rem; padding-bottom: 1rem; }
    .navbar-nav.active { display: flex; }
    .nav-link { padding: 0.85rem 1.5rem; border-radius: 0; font-size: 0.97rem; min-height: 44px; display: flex; align-items: center; }
    .nav-cta { border-radius: 0 !important; margin: 4px 0; }
    .navbar-toggler { display: flex; }

    .hero { height: auto; min-height: auto; padding: 3.5rem 1.25rem 2.5rem; }
    .brand-avis { font-size: clamp(3.8rem, 15vw, 5.5rem); }
    .brand-word { font-size: clamp(1.1rem, 4.5vw, 1.8rem); letter-spacing: 0.2em; }
    .hero-stats-row { gap: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .founder-hero { flex-direction: column; gap: 2.5rem; padding: 4rem 1.5rem; align-items: center; text-align: center; }
    .founder-photo-col { width: 180px; height: 230px; }
    .founder-content-col { flex: none; width: 100%; }

    .stats-strip { padding: 2.5rem 1.25rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

    .section-full { padding: 3.5rem 0; }
    .section-dark { padding: 3.5rem 0; }
    .wrap { padding: 0 1.25rem; }

    .service-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .framework-pillars { grid-template-columns: repeat(2, 1fr); }

    .banner { min-height: 180px; padding: 3rem 1.25rem; }
    .banner-content h1 { font-size: 1.9rem; }

    .container { padding: 0 1rem; }
    .section { padding: 1.75rem 1.25rem; }

    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2rem; }
    .brand-avis { font-size: 3.4rem; }
    .brand-word { font-size: 1rem; letter-spacing: 0.18em; }

    .mega-panel { width: calc(100vw - 1rem); }
    .mega-panel-inner { grid-template-columns: 1fr; gap: 0; padding: 1.25rem 1.5rem; }
    .mega-col { margin-bottom: 1rem; }
    .mega-col:last-child { margin-bottom: 0; }
}

/* ============================================================
   FOUNDER PAGE
   ============================================================ */
.founder-hero {
    position: relative; z-index: 1;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    padding: 5rem 4rem;
    background: #000;
    overflow: hidden;
}
.founder-photo-col {
    flex: 0 0 auto;
    width: 260px;
    height: 340px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
    animation: founderPhotoIn 0.9s ease-out 0.1s both;
}
.founder-photo-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}
.founder-photo-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 65%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}
.founder-content-col {
    flex: 0 1 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    animation: founderContentIn 0.85s ease-out 0.25s both;
}
@keyframes founderPhotoIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes founderContentIn {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
.founder-name {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--text-white);
    line-height: 1.05;
    margin: 0 0 0.35rem;
}
.founder-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-blue);
    margin-bottom: 0.65rem;
}
.founder-typewriter-wrap {
    min-height: 1.6rem;
    margin-bottom: 2rem;
}
.founder-bio-lead {
    font-size: 1rem;
    color: var(--text-w70);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2.25rem;
}
.founder-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.founder-stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 3px;
}
.founder-stat-lbl {
    font-size: 0.67rem;
    color: var(--text-w50);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.founder-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Founder bio sections ── */
.founder-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}
.founder-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.expertise-chip {
    background: rgba(37,99,235,0.10);
    border: 1px solid rgba(96,165,250,0.20);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #93C5FD;
    text-align: center;
    line-height: 1.3;
}
.founder-operating-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.25rem;
}
.founder-operating-card {
    min-height: 190px;
    padding: 1.5rem;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(96,165,250,0.18);
    border-radius: var(--radius-md);
}
.founder-operating-card span {
    display: block;
    color: #93C5FD;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.8rem;
}
.founder-operating-card p {
    color: rgba(210,225,248,0.58);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}
.founder-quote-block {
    border-left: 3px solid var(--brand-blue);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
}
.founder-quote-block blockquote {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.55;
    margin: 0 0 0.5rem;
    font-style: italic;
}
.founder-quote-block cite {
    font-size: 0.82rem;
    color: rgba(210,225,248,0.45);
    font-style: normal;
}
.founder-portrait-secondary {
    width: 100%;
    max-width: 360px;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px rgba(0,0,0,0.18);
    display: block;
}
.timeline-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 26px;
    bottom: -1.75rem;
    width: 1px;
    background: rgba(255,255,255,0.10);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(37,99,235,0.15);
    border: 2px solid var(--brand-blue);
    flex-shrink: 0;
    margin-top: 2px;
}
.timeline-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--brand-blue);
    margin-bottom: 2px;
}
.timeline-role {
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--text-white);
    margin-bottom: 3px;
}
.timeline-company {
    font-size: 0.84rem;
    color: rgba(210,225,248,0.52);
}
@media (max-width: 900px) {
    .founder-expertise-grid,
    .founder-operating-grid { grid-template-columns: repeat(2, 1fr); }
    .founder-bio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .founder-operating-grid { grid-template-columns: 1fr; }
    .founder-operating-card { min-height: 0; }
}
