:root {
    --bg-color: #0B0B0F;
    --bg-secondary: #111116;
    --fg-color: #f0f0f0;
    --accent: #F472B6;
    --accent-dim: rgba(244, 114, 182, 0.15);
    --font-mono: 'Courier New', Courier, monospace;
    --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; cursor: none; }
input, textarea, [contenteditable] { cursor: text; caret-color: var(--accent); }
#access-gate, #access-gate * { cursor: default !important; }
#access-gate input { cursor: text !important; }
#access-gate button { cursor: pointer !important; }

body {
    font-family: var(--font-mono);
    background-color: var(--bg-color);
    color: var(--fg-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========== GLOBAL EFFECTS ========== */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 9998; opacity: 0.045;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.scanlines {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 9997; opacity: 0.03;
    background: linear-gradient(to bottom, transparent, transparent 50%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.03));
    background-size: 100% 4px;
}

/* ========== CUSTOM CURSOR ========== */
.custom-cursor {
    position: fixed; top: -14px; left: -14px; width: 28px; height: 28px;
    border: 1.5px solid var(--accent); border-radius: 50%;
    pointer-events: none; z-index: 999999;
    will-change: transform;
    transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    opacity: 0.8;
}
.cursor-dot {
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: -2.5px; left: -2.5px;
    pointer-events: none;
    z-index: 999999;
    will-change: transform;
    transition: background 0.25s ease, width 0.2s ease, height 0.2s ease;
}
.custom-cursor.hover {
    width: 44px; height: 44px;
    background-color: rgba(244, 114, 182, 0.1);
    border-color: var(--accent);
    opacity: 1;
}
/* On rose/accent elements: invert cursor */
.custom-cursor.on-accent { border-color: var(--fg-color); }
.cursor-dot.on-accent { background: var(--fg-color); }
body.light .custom-cursor { border-color: var(--accent); }
body.light .cursor-dot { background: var(--accent); }
body.light .custom-cursor.on-accent { border-color: var(--fg-color); }
body.light .cursor-dot.on-accent { background: var(--fg-color); }
.custom-cursor.dragging {
    width: 100px; height: 36px;
    background-color: var(--accent);
}

/* ========== TYPOGRAPHY ========== */
h1 { font-family: var(--font-sans); font-size: 7vw; font-weight: 900; line-height: 0.9; text-transform: uppercase; letter-spacing: -0.04em; }
h2 { font-family: var(--font-sans); font-size: 3rem; font-weight: 800; text-transform: uppercase; }
h3 { font-family: var(--font-sans); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 1rem; }

/* ========== LOADER ========== */
.loader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #0a0a0e; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}
.loader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content {
    position: relative; display: flex; flex-direction: column;
    align-items: center; gap: 2.5rem;
}
.loader-globe-3d { width: 240px; height: 240px; display: flex; align-items: center; justify-content: center; }
.loader-binary {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    overflow: hidden; pointer-events: none; z-index: -1;
}
.binary-column {
    position: absolute; top: -100%;
    font-family: var(--font-mono); font-size: 0.65rem;
    color: var(--accent); opacity: 0.06;
    animation: binary-fall linear infinite;
    white-space: nowrap; writing-mode: vertical-lr; letter-spacing: 0.3em;
}
@keyframes binary-fall { 0% { transform: translateY(-100%); } 100% { transform: translateY(100vh); } }
.loader-text {
    font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.5em;
    color: var(--fg-color); opacity: 0.4;
    animation: text-breathe 2s ease-in-out infinite;
}
@keyframes text-breathe { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.6; } }

/* ========== NAV ========== */
.nav { position: fixed; top: 0; left: 0; z-index: 500; pointer-events: none; }
.nav-card {
    position: fixed; top: 1rem; left: 1rem; z-index: 502;
    display: flex; align-items: stretch;
    background: var(--fg-color); border: 1.5px solid var(--accent);
    pointer-events: auto;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease, box-shadow 0.3s;
}
.nav-card:hover {
    box-shadow: 0 0 25px rgba(244,114,182,0.25), 0 0 50px rgba(244,114,182,0.12);
}
.nav.nav-hidden .nav-card { transform: translateY(-120%); opacity: 0; }
.nav.open .nav-card { transform: translateY(0) !important; opacity: 1 !important; }
.nav-card-brand { display: flex; align-items: center; padding: 0.8rem 1.2rem; }
.nav-logo-hover { position: relative; cursor: pointer; }
.nav-card-logo-img { height: 18px; width: auto; object-fit: contain; }
.nav-logo-black { transition: opacity 0.3s ease; }
.nav-logo-pink { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.3s ease; }
.nav-logo-hover:hover .nav-logo-black { opacity: 0; }
.nav-logo-hover:hover .nav-logo-pink { opacity: 1; }
.nav-card-logo { font-family: var(--font-sans); font-size: 2rem; font-weight: 900; color: var(--bg-color); line-height: 1; }
.nav-card-info { display: flex; flex-direction: column; gap: 0.15rem; }
.nav-card-name { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; color: var(--bg-color); }
.nav-card-tagline { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.1em; color: rgba(11,11,15,0.5); line-height: 1.3; text-transform: uppercase; }
.nav-card-divider {
    width: 1px; align-self: stretch;
    background-image: repeating-linear-gradient(to bottom, rgba(11,11,15,0.15) 0px, rgba(11,11,15,0.15) 3px, transparent 3px, transparent 7px);
}
.nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; width: 60px; background: none; border: none; cursor: none; padding: 1rem; pointer-events: auto;
}
.nav-toggle-bar {
    display: block; width: 22px; height: 1.5px; background: var(--bg-color);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, background 0.3s ease; transform-origin: center;
}
.nav-card:hover .nav-toggle-bar { background: var(--accent); }
.nav.open .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.open .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-panel {
    position: fixed; top: 1rem; left: 1rem; width: 420px; height: calc(100vh - 2rem); z-index: 501;
    display: flex; flex-direction: column;
    background: var(--bg-secondary); border: 1px solid rgba(240,240,240,0.08); pointer-events: auto;
    clip-path: inset(0 100% 100% 0 round 0px);
    opacity: 0; visibility: hidden;
    transition: clip-path 0.7s cubic-bezier(0.76,0,0.24,1), opacity 0.4s ease, visibility 0.4s ease;
}
.nav.open .nav-panel { clip-path: inset(0 0 0 0 round 0px); opacity: 1; visibility: visible; }
.nav-panel-links { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 7rem 0 2rem 0; }
.nav-link {
    display: flex; align-items: center; gap: 1.5rem; padding: 1.2rem 2rem;
    text-decoration: none; color: var(--fg-color); position: relative;
    opacity: 0; transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, color 0.3s ease;
}
.nav.open .nav-link { opacity: 1; transform: translateY(0); }
.nav.open .nav-link:nth-of-type(1) { transition-delay: 0.25s, 0.25s, 0s, 0s; }
.nav.open .nav-link:nth-of-type(2) { transition-delay: 0.32s, 0.32s, 0s, 0s; }
.nav.open .nav-link:nth-of-type(3) { transition-delay: 0.39s, 0.39s, 0s, 0s; }
.nav.open .nav-link:nth-of-type(4) { transition-delay: 0.46s, 0.46s, 0s, 0s; }
.nav.open .nav-link:nth-of-type(5) { transition-delay: 0.55s, 0.55s, 0s, 0s; }
.nav.open .nav-link:nth-of-type(6) { transition-delay: 0.62s, 0.62s, 0s, 0s; }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 2rem; right: 2rem; height: 1px;
    background-image: repeating-linear-gradient(to right, rgba(240,240,240,0.12) 0px, rgba(240,240,240,0.12) 3px, transparent 3px, transparent 8px);
}
.nav-link:last-child::after { display: none; }
.nav-link:hover { background: rgba(240,240,240,0.03); }
.nav-link:hover .nav-link-text { color: var(--accent); }
.nav-link:hover .nav-link-num { color: var(--accent); }
.nav-link-num { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: rgba(240,240,240,0.3); min-width: 24px; transition: color 0.3s ease; }
.nav-link-text { font-family: var(--font-sans); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.01em; transition: color 0.3s ease; }

.nav-panel-footer {
    background: var(--accent); color: #0d0d0d; padding: 1.5rem 2rem;
    display: flex; flex-direction: column; gap: 0.6rem;
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.4s ease 0.55s, transform 0.4s ease 0.55s;
}
.nav.open .nav-panel-footer { opacity: 1; transform: translateY(0); }
.nav-panel-footer-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; opacity: 0.5; }
.nav-panel-footer-cta { display: flex; align-items: center; justify-content: space-between; }
.nav-panel-footer-cta span { font-family: var(--font-sans); font-size: 1.4rem; font-weight: 700; }
.nav-panel-footer-cta svg { opacity: 0.6; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-panel-footer:hover .nav-panel-footer-cta svg { transform: translateX(4px); opacity: 1; }
.nav-panel-footer-meta {
    display: flex; justify-content: space-between; font-family: var(--font-mono);
    font-size: 0.6rem; letter-spacing: 0.1em; opacity: 0.4;
    padding-top: 0.4rem; border-top: 1px dashed rgba(13,13,13,0.15);
}
.nav-group-label { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.25em; opacity: 0.25; padding: 0 2rem; margin-bottom: -0.5rem; }
.nav-group-divider { height: 1px; background: rgba(240,240,240,0.06); margin: 0.8rem 2rem; }
.nav-link-soon { position: relative; }
.nav-link-badge { font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.2em; color: var(--accent); border: 1px solid rgba(244,114,182,0.3); padding: 0.15rem 0.5rem; margin-left: 0.8rem; opacity: 0.7; }
.nav-link-soon .nav-link-text { opacity: 0.45; }

/* Coming Soon Overlay */
.coming-soon-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(10, 10, 15, 0.97); z-index: 12000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease;
}
.coming-soon-overlay.active { opacity: 1; visibility: visible; }
.coming-soon-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.coming-soon-content { position: relative; z-index: 2; text-align: center; }
.coming-soon-glitch {
    font-family: var(--font-sans); font-size: clamp(3rem, 8vw, 6rem); font-weight: 900;
    letter-spacing: 0.08em; color: var(--fg-color); position: relative;
    animation: glitch-skew 4s infinite linear alternate-reverse;
}
.coming-soon-glitch::before, .coming-soon-glitch::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden;
}
.coming-soon-glitch::before { color: var(--accent); animation: glitch-1 3s infinite linear alternate-reverse; clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%); }
.coming-soon-glitch::after { color: rgba(244,114,182,0.4); animation: glitch-2 2.5s infinite linear alternate-reverse; clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%); }
@keyframes glitch-1 { 0% { transform: translate(0); } 20% { transform: translate(-3px, 2px); } 40% { transform: translate(3px, -1px); } 60% { transform: translate(-2px, -2px); } 80% { transform: translate(2px, 1px); } 100% { transform: translate(0); } }
@keyframes glitch-2 { 0% { transform: translate(0); } 25% { transform: translate(2px, -2px); } 50% { transform: translate(-3px, 1px); } 75% { transform: translate(1px, 2px); } 100% { transform: translate(0); } }
@keyframes glitch-skew { 0% { transform: skew(0deg); } 2% { transform: skew(0.4deg); } 4% { transform: skew(0deg); } 48% { transform: skew(0deg); } 50% { transform: skew(-0.3deg); } 52% { transform: skew(0deg); } 100% { transform: skew(0deg); } }
.coming-soon-subtitle { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.35em; color: var(--accent); margin-top: 1.5rem; opacity: 0; transform: translateY(15px); transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s; }
.coming-soon-overlay.active .coming-soon-subtitle { opacity: 1; transform: translateY(0); }
.coming-soon-line { width: 60px; height: 1px; background: var(--accent); margin: 1.5rem auto; opacity: 0; transform: scaleX(0); transition: opacity 0.4s ease 0.5s, transform 0.4s ease 0.5s; }
.coming-soon-overlay.active .coming-soon-line { opacity: 0.5; transform: scaleX(1); }
.coming-soon-desc { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.2em; opacity: 0; color: var(--fg-color); transform: translateY(10px); transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s; }
.coming-soon-overlay.active .coming-soon-desc { opacity: 0.4; transform: translateY(0); }
.coming-soon-close { position: absolute; top: -80px; right: -80px; background: none; border: 1px solid rgba(240,240,240,0.15); color: var(--fg-color); font-size: 1.5rem; width: 48px; height: 48px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s, color 0.3s; }
.coming-soon-close:hover { border-color: var(--accent); color: var(--accent); }

.nav-backdrop {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 499; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.nav.open .nav-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }

@media (max-width: 768px) {
    .nav-panel { width: calc(100vw - 2rem); }
    .nav-link-text { font-size: 1.3rem; }
}

/* ========== DARK HERO ========== */
.hero-dark {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: var(--bg-color); overflow: hidden; padding: 0 3rem;
}
.hero-canvas-dark {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none; opacity: 0.4; will-change: transform; contain: strict;
}
.hero-inner {
    position: relative; z-index: 10; display: flex; align-items: flex-start;
    justify-content: space-between; width: 100%; max-width: 1400px;
    margin: 0 auto; gap: 4rem; padding-top: 10rem;
}
.hero-left { flex: 1.5; }
.hero-headline {
    font-family: var(--font-sans);
    font-size: clamp(2.2rem, 5.5vw, 5.5rem);
    font-weight: 900; line-height: 1.05; letter-spacing: -0.04em;
    color: var(--fg-color); text-transform: uppercase; margin-bottom: 2rem;
    min-height: 4.5em; opacity: 0;
}
.hero-headline .typewriter-cursor {
    display: inline-block; width: 3px; height: 0.85em;
    background: var(--accent); margin-left: 4px;
    animation: blink-cursor 0.7s step-end infinite; vertical-align: baseline;
    -webkit-text-fill-color: var(--accent);
}
@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-static { color: var(--fg-color); }
/* French hero — smaller headline for longer words, stable layout */
body.lang-fr .hero-headline { font-size: clamp(2.2rem, 5.5vw, 5.5rem); min-height: 4em; }
.slot-wrapper {
    display: inline-block; overflow: hidden; vertical-align: bottom;
    height: 1.15em; position: relative;
}
.slot-reel {
    display: inline-flex; flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.slot-reel span {
    display: block; height: 1.15em; line-height: 1.15;
    color: var(--accent); white-space: nowrap;
}
.hero-subtitle {
    font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.15em;
    color: rgba(240,240,240,0.4); text-transform: uppercase;
    opacity: 0; transform: translateY(20px);
}
.hero-right {
    flex: none; width: 320px; display: flex; align-items: flex-start; justify-content: flex-end;
    opacity: 0; transform: translateY(30px);
}
@keyframes hero-reveal { to { opacity: 1; transform: translateY(0); } }

.accent-card {
    background: var(--accent); color: #0d0d0d; padding: 1.8rem; width: 320px; position: relative;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}
.accent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(244, 114, 182, 0.25), 0 4px 80px rgba(244, 114, 182, 0.12);
}
.accent-card::before {
    content: ''; position: absolute; top: -8px; left: -8px; width: 100%; height: 100%;
    border: 1px solid var(--accent); opacity: 0.3; pointer-events: none;
}
.accent-card-icon { display: block; margin-bottom: 1rem; opacity: 0.4; width: 40px; height: 40px; }
.accent-card-title { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.8rem; }
.accent-card-text { font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.8; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }

/* ========== STATS BAR ========== */
.stats-bar {
    border-top: 1px solid rgba(244, 114, 182, 0.15);
    border-bottom: 1px solid rgba(244, 114, 182, 0.15);
    background: var(--bg-secondary);
    padding: 3rem 3rem;
    box-shadow: inset 0 1px 0 rgba(244,114,182,0.06), inset 0 -1px 0 rgba(244,114,182,0.06);
}
.stats-bar-inner {
    display: flex; align-items: center; justify-content: center;
    max-width: 1200px; margin: 0 auto; gap: 0; width: 100%;
}
.stat-item {
    flex: 1 1 25%; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    padding: 0 2rem; min-width: 0;
}
.stat-value {
    font-family: var(--font-sans); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; color: var(--fg-color); line-height: 1;
    font-variant-numeric: tabular-nums; min-width: 3ch; text-align: center; display: inline-block;
}
.stat-suffix {
    font-family: var(--font-sans); font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 700; color: var(--accent); opacity: 0.8;
    display: inline-block; min-width: 2ch;
}
.stat-value-text {
    font-family: var(--font-sans); font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800; color: var(--fg-color); letter-spacing: 0.05em;
    min-width: 8ch; text-align: center; display: inline-block;
}
.stat-label {
    font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em;
    opacity: 0.35; text-transform: uppercase;
    min-height: 1.5em; text-align: center;
}
.stat-divider {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(244,114,182,0.2), transparent);
    flex-shrink: 0;
}

/* ========== PAIN SECTION ========== */
.pain-section {
    padding: 7rem 3rem;
    background: #13131A;
    border-bottom: 1px solid rgba(240,240,240,0.06);
    position: relative; overflow: hidden;
}
.pain-inner { max-width: 1100px; margin: 0 auto; }
.pain-header { margin-bottom: 4rem; }
.pain-label {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.3em;
    color: var(--accent); display: block; margin-bottom: 1rem;
    padding-left: 1.2rem; position: relative;
}
.pain-label::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; background: var(--accent);
}
.pain-title {
    font-family: var(--font-sans); font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900; letter-spacing: -0.03em; text-transform: none;
}
.pain-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
    margin-bottom: 4rem;
    grid-auto-rows: 1fr;
}
.pain-item {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.035) 0%, transparent 45%, rgba(244,114,182,0.02) 100%),
        rgba(17, 17, 22, 0.5);
    backdrop-filter: blur(28px) saturate(1.15); -webkit-backdrop-filter: blur(28px) saturate(1.15);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 6px 24px rgba(0,0,0,0.2);
    padding: 0; cursor: pointer; position: relative;
    display: flex; flex-direction: column;
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s, background 0.3s;
}
.pain-item:hover {
    border-color: rgba(244, 114, 182, 0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 25px rgba(244,114,182,0.06), 0 10px 35px rgba(0,0,0,0.3);
    transform: translateY(-3px);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.05) 0%, transparent 40%, rgba(244,114,182,0.03) 100%),
        rgba(17, 17, 22, 0.45);
}
.pain-item.active {
    border-color: rgba(244, 114, 182, 0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 30px rgba(244,114,182,0.08);
}
.pain-item-header {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 2rem 2rem;
    min-height: 90px;
    flex: 1;
}
.pain-item-num {
    font-family: var(--font-mono); font-size: 0.7rem;
    color: var(--accent); opacity: 0.8; letter-spacing: 0.1em; flex-shrink: 0;
    align-self: flex-start; margin-top: 0.15rem;
}
.pain-item-title {
    font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700;
    text-transform: none; margin: 0; flex: 1; line-height: 1.35;
}
.pain-item-toggle {
    font-family: var(--font-mono); font-size: 1.2rem; color: var(--accent);
    opacity: 0.4; transition: transform 0.3s, opacity 0.3s; flex-shrink: 0;
}
.pain-item.active .pain-item-toggle { transform: rotate(45deg); opacity: 1; }
.pain-item-body {
    max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
    padding: 0 2rem;
    border-top: 0px solid rgba(244, 114, 182, 0);
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.3s, border-top 0.3s;
}
.pain-item.active .pain-item-body {
    max-height: 200px; padding: 0 2rem 2rem;
    border-top: 1px solid rgba(244, 114, 182, 0.1);
}
.pain-item-body p {
    font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.7;
    color: rgba(240,240,240,0.5); padding-top: 1rem;
}
.pain-transition {
    font-family: var(--font-sans); font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600; text-align: center; color: var(--accent) !important;
    line-height: 1.5; opacity: 1; font-style: italic;
    max-width: 700px; margin: 0 auto;
}

/* ========== SECTION DIVIDERS ========== */
.section-divider {
    width: 100%; height: 1px; position: relative; overflow: hidden;
    background: rgba(240,240,240,0.04);
}
.section-divider::before {
    content: ''; position: absolute; top: 0; left: -20%;
    width: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), rgba(244,114,182,0.6), transparent);
    animation: light-streak 3.5s cubic-bezier(0.4,0,0.2,1) infinite;
    box-shadow: 0 0 8px rgba(244,114,182,0.4), 0 0 20px rgba(244,114,182,0.15);
}
@keyframes light-streak {
    0% { left: -20%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ========== MARQUEE ========== */
.marquee-section {
    padding: 1.2rem 0;
    border-top: 1px solid rgba(240,240,240,0.08);
    border-bottom: 1px solid rgba(240,240,240,0.08);
    background: var(--bg-secondary);
    color: rgba(240,240,240,0.3);
    overflow: hidden; white-space: nowrap; position: relative;
}
.marquee-content {
    display: inline-block; font-size: 0.85rem; font-weight: 400;
    font-family: var(--font-mono); letter-spacing: 0.15em;
    animation: marquee-scroll 25s linear infinite;
}
.marquee-content span {
    transition: opacity 0.4s;
}
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ========== CLIENTS CAROUSEL ========== */
.clients-section { padding: 4rem 0 5rem 0; border-bottom: 1px solid rgba(240,240,240,0.08); overflow: hidden; }
.clients-header { display: flex; align-items: baseline; justify-content: space-between; padding: 0 3rem; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.clients-header-left { display: flex; align-items: baseline; gap: 1.5rem; }
.clients-header-slash { font-family: var(--font-mono); font-size: 0.8rem; opacity: 0.3; }
.clients-header-label {
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em; opacity: 0.5;
    padding-left: 1rem; position: relative;
}
.clients-header-label::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; background: var(--accent); opacity: 0.6;
}
.clients-title { font-family: var(--font-sans); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.02em; text-transform: none; }
.clients-header-right { display: flex; align-items: baseline; gap: 2rem; }
.clients-count { font-family: var(--font-mono); font-size: 0.8rem; opacity: 0.3; letter-spacing: 0.05em; }
.clients-view-all { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: opacity 0.3s; }
.clients-view-all:hover { opacity: 0.7; }

/* Carousel wrap with side arrows */
.clients-carousel-wrap { position: relative; display: flex; align-items: center; gap: 0; }
.clients-nav {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(17,17,22,0.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(244,114,182,0.25); color: var(--accent);
    font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.35s ease; z-index: 10; position: relative;
}
.clients-nav:hover:not(.disabled) {
    border-color: var(--accent); background: rgba(244,114,182,0.12);
    box-shadow: 0 0 20px rgba(244,114,182,0.2), 0 0 40px rgba(244,114,182,0.08);
    transform: scale(1.1);
}
.clients-nav.disabled {
    opacity: 0.2; cursor: default; pointer-events: none;
    border-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.2);
}
.clients-nav--prev { margin-right: 1rem; }
.clients-nav--next { margin-left: 1rem; }

.clients-carousel { position: relative; flex: 1; height: 70vh; min-height: 500px; max-height: 700px; cursor: grab; user-select: none; -webkit-user-select: none; overflow: hidden; }
.clients-carousel:active { cursor: grabbing; }
.clients-carousel * { user-select: none; -webkit-user-select: none; }
.clients-track { position: relative; width: 100%; height: 100%; }
.client-card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; will-change: transform; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.6s ease; pointer-events: none; }
.client-card.active { pointer-events: auto; z-index: 3; }
.client-card.prev { z-index: 1; }
.client-card.next { z-index: 2; }

/* Pain Points & Solutions expandable */
.client-card-details { margin-bottom: 1.5rem; }
.client-details-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em;
    color: rgba(240,240,240,0.5); background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 6px;
    padding: 0.55rem 1.2rem; cursor: pointer; transition: all 0.3s;
}
.client-details-toggle:hover { color: var(--accent); border-color: rgba(244,114,182,0.3); background: rgba(244,114,182,0.05); }
.client-details-toggle .toggle-icon { font-size: 0.85rem; transition: transform 0.3s; }
.client-details-toggle.open .toggle-icon { transform: rotate(90deg); }
.client-details-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease, margin 0.35s ease;
    margin-top: 0;
}
.client-details-content.open { max-height: 300px; opacity: 1; margin-top: 1rem; }
.client-details-col h4 {
    font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.2em;
    color: var(--accent); margin-bottom: 0.6rem; text-transform: uppercase;
}
.client-details-col ul { list-style: none; padding: 0; margin: 0; }
.client-details-col ul li {
    font-family: var(--font-sans); font-size: 0.8rem; line-height: 1.6;
    color: rgba(240,240,240,0.55); padding-left: 1rem; position: relative; margin-bottom: 0.3rem;
}
.client-details-col ul li::before {
    content: '>'; position: absolute; left: 0; color: var(--accent); font-family: var(--font-mono); font-size: 0.7rem;
}
.client-card-inner {
    width: 100%; height: 100%; padding: 2rem 2.5rem;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.035) 0%, transparent 40%, rgba(244,114,182,0.02) 100%),
        rgba(17, 17, 22, 0.55);
    backdrop-filter: blur(28px) saturate(1.15); -webkit-backdrop-filter: blur(28px) saturate(1.15);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.25);
}
.client-card-num { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; opacity: 0.35; margin-bottom: 1.5rem; }
.client-card-body { flex: 1; display: flex; gap: 3rem; align-items: stretch; }
.client-card-left { flex: 0 0 35%; max-width: 320px; }
.client-card-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.1) brightness(0.7); display: block; }
.client-card-right { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 1rem 0; }
.client-card-title { font-family: var(--font-sans); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2rem; text-transform: none; }
.client-card-desc { font-family: var(--font-sans); font-size: 1.05rem; line-height: 1.7; color: rgba(240,240,240,0.65); max-width: 480px; margin-bottom: 2.5rem; }
.client-card-cta {
    display: inline-flex; align-items: center; gap: 0.8rem;
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em;
    color: var(--fg-color); text-decoration: none;
    padding: 0.8rem 2rem; border: 1px solid rgba(240,240,240,0.15); width: fit-content;
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.client-card-cta:hover {
    border-color: var(--accent); color: var(--accent);
    box-shadow: 0 0 20px rgba(244,114,182,0.12), 0 0 40px rgba(244,114,182,0.06);
}
.clients-dots { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 1.5rem 3rem 0; }
.clients-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(240,240,240,0.15); transition: background 0.3s, width 0.3s; cursor: none; }
.clients-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ========== CLIENT BANDS (replaces carousel) ========== */
.clients-bands {
    display: flex; gap: 4px; padding: 0 3rem; height: 450px;
}
.client-band {
    flex: 1; position: relative; overflow: hidden;
    background-size: cover; background-position: center;
    transition: flex 0.5s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer; min-width: 0;
}
.client-band:hover { flex: 3; }
.client-band-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,11,15,0.3) 0%, rgba(11,11,15,0.85) 100%);
    transition: background 0.5s ease;
}
.client-band:hover .client-band-overlay {
    background: linear-gradient(180deg, rgba(11,11,15,0.15) 0%, rgba(11,11,15,0.9) 100%);
}
.client-band-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem; z-index: 2; color: #f0f0f0;
}
.client-band-num {
    font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.15em;
    color: var(--accent); display: block; margin-bottom: 0.5rem;
}
.client-band-title {
    font-family: var(--font-sans); font-size: 1.3rem; font-weight: 700;
    letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 0;
    transition: margin-bottom 0.4s ease;
}
.client-band:hover .client-band-title { margin-bottom: 1rem; }
.client-band-expanded {
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
}
.client-band:hover .client-band-expanded { max-height: 200px; opacity: 1; }
.client-band-desc {
    font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.7;
    letter-spacing: 0.05em; color: rgba(240,240,240,0.7); margin-bottom: 1.2rem;
}
.client-band-cta {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
    color: var(--accent); text-decoration: none; transition: color 0.3s;
}
.client-band-cta:hover { color: #fff; }

@media (max-width: 768px) {
    .clients-header { padding: 0 1.5rem; flex-direction: column; }
    .clients-carousel { height: auto; min-height: 600px; }
    .client-card-body { flex-direction: column; gap: 1.5rem; }
    .client-card-left { flex: 0 0 200px; max-width: 100%; }
    .clients-dots { padding: 1.5rem 1.5rem 0; }
    .client-card-inner { padding: 1.5rem; }
}

/* ========== PILLARS / SERVICES (GLASSMORPHISM) ========== */
.pillars-section { padding: 6rem 2rem; border-bottom: 1px solid rgba(240,240,240,0.08); position: relative; overflow: hidden; }
.complex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.grid-card {
    border: 1px solid rgba(255,255,255,0.07);
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.045) 0%, transparent 40%, rgba(244,114,182,0.025) 100%),
        rgba(17, 17, 22, 0.55);
    backdrop-filter: blur(28px) saturate(1.15); -webkit-backdrop-filter: blur(28px) saturate(1.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(255,255,255,0.02), 0 8px 32px rgba(0,0,0,0.25);
    position: relative; overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
    display: flex; flex-direction: column;
}
.grid-card > .card-top { flex-shrink: 0; }
.grid-card > h3 { flex-shrink: 0; }
.grid-card > p { flex: 0 0 auto; }
.grid-card > .data-row { flex-shrink: 0; margin-top: auto; }
.grid-card > .tech-list { flex-shrink: 0; }
.grid-card > .module-cta { flex-shrink: 0; }
.grid-card:hover {
    border-color: rgba(244, 114, 182, 0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 40px rgba(244,114,182,0.06), 0 12px 40px rgba(0,0,0,0.35);
    transform: translateY(-4px);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 35%, rgba(244,114,182,0.04) 100%),
        rgba(17, 17, 22, 0.5);
}
.grid-card::after {
    content: ''; position: absolute; bottom: 0; right: 0; width: 30px; height: 30px;
    background: linear-gradient(135deg, transparent 50%, rgba(244,114,182,0.1) 50%);
}
.card-top { display: flex; justify-content: space-between; margin-bottom: 2rem; border-bottom: 1px solid rgba(240,240,240,0.08); padding-bottom: 0.5rem; }
.index { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; opacity: 0.5; }
.tag {
    background: transparent; color: var(--accent);
    padding: 0.2rem 0.6rem; font-size: 0.75rem; font-weight: bold; letter-spacing: 0.1em;
    border: 1px solid rgba(244, 114, 182, 0.3);
}
.data-row { margin: 1.5rem 0; font-size: 0.85rem; font-weight: bold; opacity: 0.6; }
.progress-bar { width: 100%; height: 4px; border: none; margin-top: 5px; background: rgba(240,240,240,0.05); overflow: hidden; border-radius: 2px; }
.progress-bar .fill { height: 100%; background: linear-gradient(90deg, var(--accent), rgba(244,114,182,0.6)); opacity: 0.85; border-radius: 2px; width: 0; transition: width 1.2s cubic-bezier(0.4,0,0.2,1) 0.4s; }
.progress-bar .fill.fill-animate { width: var(--target-width); }
.tech-list { list-style: none; margin-top: 1.5rem; }
.tech-list li { padding: 0; border-bottom: 1px solid rgba(240,240,240,0.05); font-size: 0.9rem; opacity: 0.7; display: block; }
.tech-list li::before { display: none; }

/* Expandable tech items */
.tech-expand { cursor: pointer; }
.tech-expand-header {
    display: flex; align-items: center; padding: 0.6rem 0;
    transition: color 0.3s;
}
.tech-expand:hover .tech-expand-header { color: var(--accent); }
.module-cta {
    display: inline-block; margin-top: 1.5rem;
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--accent); border: 1px solid var(--accent); padding: 0.7rem 1.5rem;
    text-decoration: none; transition: all 0.3s;
}
.module-cta:hover { background: var(--accent); color: var(--bg-color); }
.module-cta + .module-cta { margin-top: 0.6rem; }
.global-modules-cta { text-align: center; margin-top: 3rem; }

/* University popup */
.university-popup-overlay {
    display: none; position: fixed; inset: 0; z-index: 12000;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(10px);
    align-items: center; justify-content: center;
}
.university-popup-overlay.visible { display: flex; }
.university-popup-content {
    background: #1a1a1f; border: 1px solid rgba(244,114,182,0.2);
    padding: 2.5rem; max-width: 460px; width: 90%; position: relative;
    text-align: center;
}
.university-popup-close {
    position: absolute; top: 1rem; right: 1rem; background: none; border: none;
    color: rgba(240,240,240,0.5); font-size: 1.5rem; cursor: pointer; transition: color 0.3s;
}
.university-popup-close:hover { color: var(--accent); }
.university-popup-title, .labs-popup-title {
    font-family: var(--font-sans); font-size: 1.8rem; font-weight: 900;
    color: var(--accent); text-transform: uppercase; margin-bottom: 1rem;
}
.university-popup-text, .labs-popup-text {
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em;
    color: rgba(240,240,240,0.6); line-height: 1.7; margin-bottom: 1.5rem;
}
.university-popup-form { display: flex; gap: 0; }
.university-popup-input {
    flex: 1; padding: 0.8rem 1rem; font-family: var(--font-mono); font-size: 0.75rem;
    background: rgba(240,240,240,0.06); border: 1px solid rgba(240,240,240,0.1);
    color: #f0f0f0; outline: none; transition: border-color 0.3s;
}
.university-popup-input:focus { border-color: var(--accent); }
.university-popup-input::placeholder { color: rgba(240,240,240,0.3); }
.university-popup-btn {
    padding: 0.8rem 1.5rem; font-family: var(--font-mono); font-size: 0.75rem;
    letter-spacing: 0.1em; background: var(--accent); color: #0B0B0F;
    border: none; cursor: pointer; white-space: nowrap; transition: opacity 0.3s;
}
.university-popup-btn:hover { opacity: 0.85; }
.tech-expand-arrow {
    color: var(--accent); font-weight: bold; font-family: var(--font-mono);
    margin-right: 10px; display: inline-block;
    animation: arrow-pulse 2s ease-in-out infinite;
    transition: transform 0.3s;
}
.tech-expand:nth-child(2) .tech-expand-arrow { animation-delay: 0.3s; }
.tech-expand:nth-child(3) .tech-expand-arrow { animation-delay: 0.6s; }
.tech-expand.open .tech-expand-arrow {
    transform: rotate(90deg); animation: none;
}
@keyframes arrow-pulse {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(4px); opacity: 1; }
}
.tech-expand-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
    padding: 0;
}
.tech-expand.open .tech-expand-body {
    max-height: 180px; padding: 0.3rem 0 0.8rem 1.4rem;
}
.tech-expand-body p {
    font-family: var(--font-sans); font-size: 0.82rem; line-height: 1.65;
    color: rgba(240,240,240,0.45); margin: 0;
}

/* ========== SECTIONS COMMON ========== */
.section-header { margin-bottom: 4rem; display: flex; align-items: center; gap: 2rem; }
.section-title {
    font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 400; font-family: var(--font-mono);
    letter-spacing: 0.15em; opacity: 0.5;
    padding-left: 1rem; position: relative;
}
.section-title::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; background: var(--accent); opacity: 0.5;
}
.section-num { color: var(--accent); opacity: 0.9; }
.divider-line { flex-grow: 1; height: 1px; background: rgba(240,240,240,0.1); }

/* ========== DEPLOYMENT PROTOCOL ========== */
.protocol-section {
    padding: 8rem 4rem; background: var(--bg-color);
    border-bottom: 1px solid rgba(240,240,240,0.08);
    min-height: 100vh; display: flex; align-items: center;
}
.protocol-layout { display: grid; grid-template-columns: 260px 1fr 260px; align-items: center; gap: 3rem; max-width: 1400px; margin: 0 auto; width: 100%; }
.protocol-left { align-self: start; padding-top: 2rem; position: relative; min-height: 500px; }
.protocol-heading { font-family: var(--font-sans); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 2rem; }
.protocol-counter { display: flex; align-items: baseline; gap: 2rem; margin-bottom: 2.5rem; font-family: var(--font-mono); }
.protocol-current { font-size: 1.4rem; font-weight: 700; color: var(--accent); transition: all 0.3s ease; }
.protocol-divider { font-size: 1rem; opacity: 0.3; }
.protocol-desc { font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.8; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.5; max-width: 260px; transition: opacity 0.4s ease; min-height: 120px; }
.protocol-binary {
    font-family: var(--font-mono); font-size: 0.65rem; line-height: 1.6;
    opacity: 0.3; letter-spacing: 0.1em; color: var(--accent);
    position: absolute; bottom: 0; left: 0;
    /* Scanline effect on monospace */
    background-image: linear-gradient(to bottom, transparent, transparent 50%, rgba(244,114,182,0.03) 50%, rgba(244,114,182,0.03));
    background-size: 100% 4px;
}

.protocol-circles { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.protocol-circles::before { content: ''; display: block; padding-top: 120%; }
.proto-ring {
    position: absolute; border-radius: 50%; left: 50%; transform: translateX(-50%);
    transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.proto-ring-1 { width: 90%; padding-top: 90%; top: 0; background: #a8a49b; border: 1px solid rgba(26,26,31,0.2); animation: ring-rotate-1 60s linear infinite; }
.proto-ring-2 { width: 72%; padding-top: 72%; top: 18%; background: #bfbbb2; border: 1px solid rgba(26,26,31,0.25); animation: ring-rotate-2 45s linear infinite reverse; }
.proto-ring-3 { width: 56%; padding-top: 56%; top: 36%; background: #d6d2c9; border: 1px solid rgba(26,26,31,0.3); animation: ring-rotate-3 35s linear infinite; }
.proto-ring-4 { width: 38%; padding-top: 38%; top: 52%; background: #ece9e2; border: 1px solid rgba(26,26,31,0.35); animation: ring-rotate-4 25s linear infinite reverse; }

@keyframes ring-rotate-1 { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }
@keyframes ring-rotate-2 { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }
@keyframes ring-rotate-3 { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }
@keyframes ring-rotate-4 { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }

.proto-ring.active {
    border-color: rgba(244,114,182,0.8);
    box-shadow: 0 0 60px rgba(244,114,182,0.25), 0 0 120px rgba(244,114,182,0.1), inset 0 0 40px rgba(244,114,182,0.08);
    animation-play-state: paused;
}
.proto-ring.pulse {
    animation: ring-pulse 0.6s ease-out;
}
@keyframes ring-pulse {
    0% { box-shadow: 0 0 0 rgba(244,114,182,0); }
    50% { box-shadow: 0 0 50px rgba(244,114,182,0.3); }
    100% { box-shadow: 0 0 60px rgba(244,114,182,0.25); }
}

.proto-label {
    position: absolute; font-family: var(--font-mono); font-size: 0.68rem;
    letter-spacing: 0.15em; text-transform: uppercase; text-align: center;
    line-height: 1.6; opacity: 0.35; cursor: pointer;
    transition: all 0.4s ease; z-index: 2;
}
.proto-label { color: #1A1A1F; opacity: 0.6; }
.proto-label:hover, .proto-label.active { opacity: 1; color: #1A1A1F; }

.protocol-right { align-self: center; opacity: 0; transform: translateY(8px); transition: all 0.5s cubic-bezier(0.4,0,0.2,1); }
.protocol-right.visible { opacity: 1; transform: translateY(0); }
.proto-detail-title { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.5; }
.proto-detail-text { font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.9; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.5; max-width: 260px; }

/* ========== FEATURED WORK ========== */
.work-section { padding: 6rem 2rem; border-bottom: 1px solid rgba(240,240,240,0.08); position: relative; background: var(--bg-color); z-index: 5; }
.work-list { display: flex; flex-direction: column; position: relative; z-index: 1; border-top: 1px solid rgba(240,240,240,0.1); }
.work-item {
    display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto; gap: 0.8rem 1rem;
    align-items: center;
    padding: 2.5rem 2rem; border-bottom: 1px solid rgba(240,240,240,0.1);
    text-decoration: none; color: var(--fg-color);
    transition: background-color 0.3s, color 0.3s;
    position: relative; z-index: 2;
}
.work-item:hover {
    background: rgba(244, 114, 182, 0.03);
}
.work-item:hover .work-title { transform: translateX(10px); color: var(--accent); }
.work-item:hover .work-number { color: var(--accent); opacity: 1; }
.work-item:hover .work-tags { transform: none; }
.work-item:hover .work-tags span { border-color: var(--accent); color: var(--accent); }
.work-number { grid-column: 1; grid-row: 1; font-size: 1.2rem; font-weight: 400; transition: color 0.3s, opacity 0.3s; color: var(--accent); opacity: 0.5; font-family: var(--font-mono); }
.work-title { grid-column: 2; grid-row: 1; font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; text-transform: uppercase; margin: 0; transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1), color 0.3s; line-height: 1; }
.work-tags { grid-column: 2; grid-row: 2; display: flex; gap: 0.6rem; flex-wrap: wrap; transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1); }
.work-tags span { padding: 0.4rem 0.8rem; border: 1px solid rgba(240,240,240,0.15); font-size: 0.7rem; font-weight: 400; font-family: var(--font-mono); letter-spacing: 0.1em; transition: all 0.4s; }
/* Work item detail — accordion expand */
.work-detail {
    grid-column: 1 / -1; width: 100%;
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.4s ease, opacity 0.3s;
    padding: 0 0 0 60px;
    opacity: 0;
}
.work-item:hover .work-detail {
    max-height: 400px; padding: 1.5rem 0 0.5rem 60px;
    opacity: 1;
}
.work-detail-inner { width: 100%; }
.work-detail-title {
    font-family: var(--font-sans); font-size: 1.1rem; font-weight: 800;
    color: var(--accent); margin-bottom: 0.8rem; letter-spacing: 0.05em;
}
.work-detail-desc {
    font-family: var(--font-sans); font-size: 0.9rem; line-height: 1.6;
    color: rgba(240,240,240,0.6); margin-bottom: 1.5rem;
}
.work-detail-section { margin-bottom: 1.2rem; }
.work-detail-label {
    font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em;
    color: var(--accent); opacity: 0.7; display: block; margin-bottom: 0.5rem;
}
.work-detail-list {
    list-style: none; padding: 0;
}
.work-detail-list li {
    font-family: var(--font-sans); font-size: 0.85rem; line-height: 1.5;
    color: rgba(240,240,240,0.5); padding: 0.3rem 0; padding-left: 1.2rem; position: relative;
}
.work-detail-list li::before {
    content: '>'; position: absolute; left: 0;
    color: var(--accent); font-family: var(--font-mono); font-weight: bold; opacity: 0.6;
}
.work-detail-solution {
    font-family: var(--font-sans); font-size: 0.85rem; line-height: 1.6;
    color: rgba(240,240,240,0.55);
}

/* ========== SYNAPSE DIAGNOSTIC ========== */
.diagnostic-section { padding: 6rem 3rem; border-bottom: 1px solid rgba(240,240,240,0.08); background: linear-gradient(180deg, var(--bg-color), rgba(244,114,182,0.015)); position: relative; overflow: hidden; }
.diagnostic-inner { display: flex; gap: 5rem; max-width: 1400px; margin: 0 auto; align-items: flex-start; }
.diagnostic-copy { flex: 0 0 40%; position: sticky; top: 8rem; }
.diagnostic-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--accent); margin-bottom: 1.5rem; }
.diagnostic-title { font-family: var(--font-sans); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem; text-transform: none; }
.diagnostic-desc { font-family: var(--font-sans); font-size: 1rem; line-height: 1.7; color: rgba(240,240,240,0.5); margin-bottom: 2.5rem; }
.diagnostic-stats-preview { display: flex; gap: 2rem; }
.diagnostic-stat-mini { display: flex; flex-direction: column; gap: 0.3rem; }
.diagnostic-stat-mini-val { font-family: var(--font-sans); font-size: 1.4rem; font-weight: 700; color: var(--fg-color); }
.diagnostic-stat-mini-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em; opacity: 0.35; }
.diagnostic-scanner { flex: 1; min-width: 0; }
.scanner-box {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%, rgba(244,114,182,0.02) 100%),
        rgba(17, 17, 22, 0.55);
    backdrop-filter: blur(24px) saturate(1.1); -webkit-backdrop-filter: blur(24px) saturate(1.1);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 6px 24px rgba(0,0,0,0.2);
    padding: 2.5rem;
}
.scanner-label { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.25em; opacity: 0.4; display: block; margin-bottom: 1.2rem; }
.scanner-field { display: flex; align-items: center; border: 1px solid rgba(240,240,240,0.12); margin-bottom: 1.5rem; transition: border-color 0.3s; }
.scanner-field:focus-within { border-color: var(--accent); }
.scanner-protocol { font-family: var(--font-mono); font-size: 0.8rem; padding: 1rem; color: rgba(240,240,240,0.25); border-right: 1px solid rgba(240,240,240,0.08); user-select: none; }
.scanner-input { flex: 1; background: none; border: none; padding: 1rem; font-family: var(--font-mono); font-size: 1rem; color: var(--fg-color); outline: none; letter-spacing: 0.02em; }
.scanner-input::placeholder { color: rgba(240,240,240,0.2); }
.scanner-btn {
    display: flex; align-items: center; gap: 0.8rem; width: 100%; justify-content: center;
    padding: 1rem 2rem; background: var(--fg-color); color: var(--bg-color); border: none;
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em; cursor: none;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.scanner-btn:hover { background: var(--accent); box-shadow: 0 0 25px rgba(244,114,182,0.2); }
.scanner-btn:active { transform: scale(0.98); }
.scanner-disclaimer { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; opacity: 0.25; margin-top: 1rem; text-align: center; }

.scanner-progress { display: none; background: var(--bg-secondary); border: 1px solid rgba(240,240,240,0.08); padding: 2.5rem; }
.scanner-progress.active { display: block; }
.scanner-progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.scanner-progress-status { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--accent); animation: text-breathe 1.5s ease-in-out infinite; }
.scanner-progress-url { font-family: var(--font-mono); font-size: 0.7rem; opacity: 0.3; }
.scanner-progress-bar { width: 100%; height: 2px; background: rgba(240,240,240,0.06); margin-bottom: 2rem; overflow: hidden; }
.scanner-progress-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.3s ease; }
.scanner-progress-log { display: flex; flex-direction: column; gap: 0.6rem; }
.scanner-log-line { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; opacity: 0; transform: translateY(5px); animation: log-appear 0.3s ease forwards; }
.scanner-log-line .check { color: var(--accent); margin-right: 0.5rem; }
@keyframes log-appear { to { opacity: 0.5; transform: translateY(0); } }

.scanner-error { display: none; background: var(--bg-secondary); border: 1px solid rgba(244,114,182,0.2); padding: 3rem; text-align: center; }
.scanner-error.active { display: block; }
.scanner-error-icon { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.8; }
.scanner-error-text { font-family: 'Space Mono', monospace; font-size: 0.85rem; letter-spacing: 0.1em; color: #F472B6; margin-bottom: 1.5rem; }
.scanner-error .scanner-btn { margin: 0 auto; }
body.light .scanner-error { background: rgba(26,26,31,0.04); border-color: rgba(244,114,182,0.15); }

.scanner-results { display: none; background: var(--bg-secondary); border: 1px solid rgba(240,240,240,0.08); padding: 2.5rem; }
.scanner-results.active { display: block; }
.scanner-results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(240,240,240,0.06); }
.scanner-results-badge { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.3em; color: var(--accent); }
.scanner-results-count { font-family: var(--font-mono); font-size: 0.7rem; opacity: 0.4; }
.scanner-results-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(240,240,240,0.06); margin-bottom: 2rem; }
.scanner-stat { background: var(--bg-secondary); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.scanner-stat-value { font-family: var(--font-sans); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--fg-color); line-height: 1; }
.scanner-stat-label { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.2em; opacity: 0.35; }
.scanner-results-list { display: flex; flex-direction: column; margin-bottom: 2rem; }
.scanner-result-item { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid rgba(240,240,240,0.04); opacity: 0; transform: translateX(10px); animation: result-slide-in 0.4s ease forwards; }
.scanner-result-item-name { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; }
.scanner-result-item-tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em; padding: 0.3rem 0.7rem; }
.scanner-result-item-tag.high { color: #fff; background: #FF2DAA; border: 1px solid #FF2DAA; }
.scanner-result-item-tag.medium { color: rgba(240,240,240,0.4); border: 1px solid rgba(240,240,240,0.1); }
@keyframes result-slide-in { to { opacity: 1; transform: translateX(0); } }
.scanner-results-cta {
    display: flex; align-items: center; justify-content: center; gap: 0.8rem;
    width: 100%; padding: 1.1rem 2rem; background: var(--accent); color: var(--bg-color);
    text-decoration: none; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em;
    transition: opacity 0.3s, box-shadow 0.3s;
}
.scanner-results-cta:hover { opacity: 0.9; box-shadow: 0 0 25px rgba(244,114,182,0.2); }

/* ========== BUTTONS ========== */
.brutal-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; background: transparent; color: var(--fg-color);
    border: 1px solid rgba(240,240,240,0.15);
    font-family: var(--font-mono); font-weight: 400; font-size: 0.85rem;
    letter-spacing: 0.15em; text-decoration: none;
    transition: all 0.3s; text-transform: uppercase;
}
.brutal-btn:hover {
    border-color: var(--accent); color: var(--accent);
    box-shadow: 0 0 20px rgba(244,114,182,0.15), 0 0 40px rgba(244,114,182,0.08);
}
.brutal-btn:active { transform: translateY(2px); }
.hover-glitch:hover { animation: none; background: transparent; }

/* ========== TEAM SECTION ========== */
.team-section {
    padding: 7rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(240,240,240,0.08);
    position: relative; overflow: hidden;
}
.team-inner { max-width: 1200px; margin: 0 auto; }
.team-header { margin-bottom: 4rem; }
.team-label {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.3em;
    color: var(--accent); display: block; margin-bottom: 1rem;
    padding-left: 1.2rem; position: relative;
}
.team-label::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; background: var(--accent); opacity: 0.6;
}
.team-title {
    font-family: var(--font-sans); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em;
}
.team-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    margin-bottom: 3rem;
}
.team-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.04) 0%, transparent 45%, rgba(244,114,182,0.02) 100%),
        rgba(17, 17, 22, 0.5);
    backdrop-filter: blur(28px) saturate(1.15); -webkit-backdrop-filter: blur(28px) saturate(1.15);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 6px 24px rgba(0,0,0,0.2);
    padding: 2.5rem 2rem;
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
    position: relative; overflow: hidden;
}
.team-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--accent); opacity: 0; transition: opacity 0.4s;
}
.team-card:hover {
    border-color: rgba(244, 114, 182, 0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 40px rgba(244,114,182,0.06), 0 12px 40px rgba(0,0,0,0.35);
    transform: translateY(-4px);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.06) 0%, transparent 35%, rgba(244,114,182,0.04) 100%),
        rgba(17, 17, 22, 0.45);
}
.team-card:hover::before { opacity: 1; }
.team-card-name {
    font-family: var(--font-sans); font-size: 1.4rem; font-weight: 800;
    margin-bottom: 0.5rem; text-transform: uppercase;
}
.team-card-role {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
    color: var(--accent); margin-bottom: 1.5rem; opacity: 0.8;
}
.team-card-desc {
    font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.7;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(240,240,240,0.5);
}
.team-tagline {
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em;
    color: var(--accent); text-align: center; opacity: 0.5;
}

/* ========== FORM SECTION (TERMINAL) ========== */
.data-form-section { padding: 8rem 2rem; display: flex; justify-content: center; align-items: center; background: var(--bg-secondary); }
.form-wrapper {
    background: #c5c1b8;
    border: 1px solid rgba(26,26,31,0.1);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    padding: 3rem; max-width: 640px; width: 100%;
}
.form-header {
    display: flex; flex-direction: column; gap: 1rem;
    margin-bottom: 2.5rem; padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(26,26,31,0.12);
}
.form-header h2 { font-size: 1.5rem; color: #1A1A1F; }
.form-wrapper p { color: rgba(26,26,31,0.6); }
.form-progress {
    width: 100%; height: 2px; background: rgba(26,26,31,0.08);
    border-radius: 1px; overflow: hidden;
}
.form-progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent), rgba(244,114,182,0.5));
    transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 0 8px rgba(244,114,182,0.3);
}

/* Terminal fields */
.terminal-field {
    margin-bottom: 1.8rem; transition: opacity 0.5s, transform 0.4s;
}
.terminal-field.locked {
    opacity: 0.25; pointer-events: none;
    transform: translateY(4px);
}
.terminal-field.active {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}
.terminal-field.done {
    opacity: 0.6; pointer-events: auto; cursor: pointer;
}
.terminal-label {
    display: flex; align-items: center; gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.terminal-prefix {
    font-family: var(--font-mono); font-size: 0.7rem;
    color: rgba(26,26,31,0.5); letter-spacing: 0.05em;
}
.terminal-label-text {
    font-family: var(--font-mono); font-size: 0.7rem;
    letter-spacing: 0.15em; color: rgba(26,26,31,0.5);
    transition: color 0.3s, opacity 0.3s;
}
.terminal-field.active .terminal-label-text {
    color: var(--accent); opacity: 1;
}
.terminal-field.active .terminal-prefix { color: var(--accent); opacity: 1; }
.terminal-input {
    width: 100%; padding: 0.9rem 1rem;
    font-family: var(--font-mono); font-size: 0.95rem;
    color: #1A1A1F; background: rgba(26,26,31,0.06);
    border: 1px solid rgba(26,26,31,0.1);
    transition: border-color 0.4s, background 0.3s, box-shadow 0.4s;
    outline: none; resize: none;
}
.terminal-field.active .terminal-input {
    border-color: var(--accent);
    background: rgba(244,114,182,0.15);
    box-shadow: 0 0 20px rgba(244,114,182,0.1);
}
.terminal-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(244,114,182,0.2);
    background: rgba(244,114,182,0.2);
}
.terminal-field.done .terminal-input {
    border-color: rgba(26,26,31,0.08);
    background: rgba(26,26,31,0.04);
    color: rgba(26,26,31,0.5); opacity: 0.8;
}
.terminal-field.done .terminal-label-text { color: rgba(26,26,31,0.35); }
.terminal-field.done { cursor: pointer; }
.terminal-field.hover-reactivate { opacity: 0.85; }
.terminal-field.hover-reactivate .terminal-input { border-color: rgba(244,114,182,0.4) !important; box-shadow: 0 0 12px rgba(244,114,182,0.1); }
.terminal-field.hover-reactivate .terminal-label-text { color: var(--accent) !important; }
.terminal-field.hover-reactivate .terminal-prefix { color: var(--accent) !important; }
.terminal-status {
    display: flex; align-items: center; gap: 0.5rem;
    margin-top: 0.4rem;
    font-family: var(--font-mono); font-size: 0.55rem;
    letter-spacing: 0.15em; color: rgba(26,26,31,0.35);
    transition: color 0.3s, opacity 0.3s;
}
.terminal-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(26,26,31,0.15);
    transition: background 0.3s, box-shadow 0.3s;
}
.terminal-field.active .terminal-dot {
    background: var(--accent);
    box-shadow: 0 0 6px rgba(244,114,182,0.4);
    animation: dot-blink 1.5s ease-in-out infinite;
}
.terminal-field.active .terminal-status { opacity: 0.5; color: var(--accent); }
.terminal-field.done .terminal-dot { background: rgba(244,114,182,0.4); }
.terminal-field.done .terminal-status { opacity: 0.3; }
@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Submit button */
.terminal-submit {
    width: 100%; padding: 1.1rem 2rem;
    font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.2em;
    border: none; cursor: none;
    position: relative; overflow: hidden;
    opacity: 0.3;
}
.terminal-field.active .terminal-submit {
    opacity: 1; cursor: pointer;
}

/* Consent checkboxes */
.consent-checkboxes {
    padding: 1rem 0; display: none; flex-direction: column; gap: 0.8rem;
}
.consent-checkboxes.visible { display: flex; }
.consent-label {
    display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer;
    font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.6;
    color: rgba(240,240,240,0.7); letter-spacing: 0.03em;
}
.consent-label a { color: var(--accent); text-decoration: underline; }
.consent-checkbox { display: none; }
.consent-check {
    flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px;
    border: 1.5px solid rgba(240,240,240,0.4); background: transparent;
    transition: all 0.2s; position: relative;
}
.consent-checkbox:checked + .consent-check {
    border-color: #FF2DAA; background: #FF2DAA;
}
.consent-checkbox:checked + .consent-check::after {
    content: '✓'; position: absolute; top: -1px; left: 2px;
    font-size: 0.7rem; color: #fff; font-weight: bold;
}
body.light .consent-label { color: rgba(26,26,31,0.7); }
body.light .consent-check { border-color: rgba(26,26,31,0.4); }

/* Cookie banner */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 11000;
    background: rgba(11,11,15,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(244,114,182,0.15);
    padding: 1.5rem 2.5rem; display: none; align-items: center; justify-content: space-between; gap: 2rem;
}
.cookie-banner.visible { display: flex; }
.cookie-text {
    font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.7;
    color: rgba(240,240,240,0.7); letter-spacing: 0.03em; flex: 1;
}
.cookie-link { color: var(--accent); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-btn {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
    padding: 0.7rem 1.5rem; border: none; cursor: pointer; transition: all 0.3s;
}
.cookie-accept { background: #FF2DAA; color: #fff; border: 1px solid #FF2DAA; }
.cookie-accept:hover { background: #e0259a; }
.cookie-decline { background: transparent; color: rgba(240,240,240,0.6); border: 1px solid rgba(240,240,240,0.2); }
.cookie-decline:hover { border-color: rgba(240,240,240,0.5); color: #f0f0f0; }
body.light .cookie-banner { background: rgba(203,200,193,0.95); border-color: rgba(244,114,182,0.2); }
body.light .cookie-text { color: rgba(26,26,31,0.7); }
body.light .cookie-decline { color: rgba(26,26,31,0.5); border-color: rgba(26,26,31,0.2); }
body.light .cookie-decline:hover { color: #1a1a1f; border-color: rgba(26,26,31,0.5); }

/* Terminal log (success message) */
.terminal-log {
    font-family: var(--font-mono); font-size: 0.7rem;
    letter-spacing: 0.1em; color: var(--accent);
    opacity: 0; max-height: 0; overflow: hidden;
    transition: opacity 0.5s, max-height 0.5s, margin 0.3s;
}
.terminal-log.visible {
    opacity: 0.7; max-height: 100px; margin-top: 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {
    .form-wrapper { padding: 2rem 1.5rem; }
    .form-header h2 { font-size: 1.2rem; }
    .terminal-input { font-size: 0.85rem; padding: 0.8rem; }
    .terminal-prefix { font-size: 0.6rem; }
    .terminal-label-text { font-size: 0.6rem; }
}

/* ========== FOOTER (DARK) ========== */
.footer {
    background: var(--bg-color);
    color: var(--fg-color);
    padding: 5rem 3rem 2rem;
    border-top: 1px solid rgba(244, 114, 182, 0.08);
}
.footer-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; margin-bottom: 6rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-title {
    font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.15em; margin-bottom: 0.8rem; text-transform: uppercase;
    color: var(--accent); opacity: 0.7;
}
.footer-link {
    font-family: var(--font-sans); font-size: 1rem;
    color: rgba(240,240,240,0.45); text-decoration: none;
    transition: color 0.3s; line-height: 1.6;
}
.footer-link:hover { color: var(--accent); }
.footer-offices { display: flex; align-items: baseline; gap: 0; margin-bottom: 2rem; }
.footer-offices-label { font-family: var(--font-sans); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin-right: auto; color: var(--fg-color); }
.footer-office { margin-left: 3rem; }
.footer-office-country { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; color: rgba(240,240,240,0.5); }
.footer-divider {
    width: 100%; height: 1px; margin-bottom: 2rem;
    background-image: repeating-linear-gradient(to right, rgba(244,114,182,0.15) 0px, rgba(244,114,182,0.15) 4px, transparent 4px, transparent 10px);
}
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-bottom-left { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.footer-bottom-center { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; text-align: center; }
.footer-bottom-right { flex: 1; text-align: right; }
.footer-address { display: flex; flex-direction: column; gap: 0.2rem; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; opacity: 0.5; line-height: 1.5; }
.footer-legal { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(240,240,240,0.35); text-decoration: none; transition: color 0.3s; }
.footer-legal:hover { color: var(--accent); }
.footer-credit { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.15em; opacity: 0.6; color: var(--accent); font-weight: 800; }
.footer-tagline { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--accent); opacity: 0.45; font-weight: 800; }

@media (max-width: 768px) {
    .footer { padding: 3rem 1.5rem 1.5rem; }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-bottom: 3rem; }
    .footer-offices { flex-direction: column; gap: 0.5rem; }
    .footer-office { margin-left: 0; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; }
}

/* ========== LANGUAGE TOGGLE ========== */
.theme-toggle {
    position: fixed; top: 1.2rem; right: 1.2rem; z-index: 503;
    display: flex; border: 1px solid rgba(244,114,182,0.3);
    overflow: hidden; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.theme-btn {
    min-width: 2.4rem; height: 2rem; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 0.65rem;
    background: rgba(11,11,15,0.7); color: rgba(240,240,240,0.4);
    border: none; cursor: pointer; transition: all 0.3s;
}
.theme-btn:hover { color: var(--fg-color); }
.theme-btn.active {
    background: var(--accent); color: var(--bg-color);
}
.theme-btn svg { display: block; }
.lang-toggle {
    position: fixed; top: 3.2rem; right: 1.2rem; z-index: 503;
    display: flex; border: 1px solid rgba(244,114,182,0.3);
    overflow: hidden; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lang-btn {
    min-width: 2.4rem; height: 2rem; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em;
    background: rgba(11,11,15,0.7); color: rgba(240,240,240,0.4);
    border: none; cursor: pointer; transition: all 0.3s;
}
.lang-btn:hover { color: var(--fg-color); }
.lang-btn.active {
    background: var(--accent); color: var(--bg-color); font-weight: 700;
}

/* ========== LIGHT THEME — COMPLETE v2 ========== */
body.light {
    --bg-color: #CCC8BF;
    --bg-secondary: #C2BEB5;
    --fg-color: #1A1A1F;
    --accent: #F472B6;
}

/* --- Global overrides --- */
body.light .noise-overlay, body.light .scanlines { opacity: 0.01; }
body.light .hero-grid-overlay { opacity: 0.03; }
body.light .glow-orb { opacity: 0.02; }
body.light .section-divider::after { background: linear-gradient(90deg, transparent, rgba(26,26,31,0.12), transparent); }
body.light .divider-line { background: rgba(26,26,31,0.1); }
body.light .section-indicator-dot { background: rgba(26,26,31,0.2); }
body.light .section-indicator-dot.active { background: var(--accent); }
body.light .back-to-top { background: #1A1A1F; color: var(--accent); }
body.light .section-num { color: var(--accent); }
body.light .section-title { color: var(--fg-color); }

/* --- Nav card (top left) --- */
body.light .nav-card { background: var(--fg-color); border-color: rgba(26,26,31,0.15); }
body.light .nav-card-logo-img.nav-logo-black { filter: invert(1); }
body.light .nav-card-logo-img.nav-logo-pink { filter: none; }
body.light .nav-toggle-bar { background: var(--bg-color); }
body.light .nav-card:hover .nav-toggle-bar { background: var(--accent); }
body.light .nav-card-divider { background-image: repeating-linear-gradient(to bottom, rgba(204,200,191,0.2) 0px, rgba(204,200,191,0.2) 3px, transparent 3px, transparent 7px); }

/* --- Nav panel (hamburger dropdown) --- */
body.light .nav-panel { background: var(--bg-color); border-color: rgba(26,26,31,0.1); }
body.light .nav-link::after { background-image: repeating-linear-gradient(to right, rgba(26,26,31,0.15) 0px, rgba(26,26,31,0.15) 3px, transparent 3px, transparent 8px); }
body.light .nav-link:hover { background: rgba(26,26,31,0.05); }
body.light .nav-link-num { color: rgba(26,26,31,0.55); }
body.light .nav-link-text { color: var(--fg-color); }
body.light .nav-link:hover .nav-link-text { color: var(--accent); }
body.light .nav-link:hover .nav-link-num { color: var(--accent); }
body.light .nav-group-divider { background: rgba(26,26,31,0.1); }
body.light .nav-group-label { color: rgba(26,26,31,0.5); }
body.light .nav-panel-footer { background: var(--accent); }
body.light .nav-link-soon::after { color: rgba(26,26,31,0.55); }
body.light .coming-soon-close { border-color: rgba(26,26,31,0.2); color: var(--fg-color); }

/* --- Toggles (lang + theme) --- */
body.light .theme-btn { background: rgba(203,200,193,0.8); color: rgba(26,26,31,0.7); border-color: rgba(26,26,31,0.1); }
body.light .theme-btn:hover { color: var(--fg-color); }
body.light .theme-btn.active { background: var(--accent); color: var(--bg-color); }
body.light .lang-btn { background: rgba(203,200,193,0.8); color: rgba(26,26,31,0.7); border-color: rgba(26,26,31,0.1); }
body.light .lang-btn:hover { color: var(--fg-color); }
body.light .lang-btn.active { background: var(--accent); color: var(--bg-color); }

/* --- Hero --- */
body.light .hero-dark { background: var(--bg-color); }
body.light .hero-canvas-dark { opacity: 0.45; filter: invert(1); }
body.light .hero-subtitle { color: rgba(26,26,31,0.7); }
body.light .hero-cta { background: linear-gradient(135deg, rgba(26,26,31,0.9), rgba(26,26,31,0.75)); color: var(--bg-color); }
body.light .accent-card { background: var(--accent); }
body.light .accent-card-title { color: var(--fg-color); }
body.light .accent-card-text { color: rgba(26,26,31,0.8); }

/* --- Pain section --- */
body.light .pain-section { background: var(--bg-secondary); border-color: rgba(26,26,31,0.06); }
body.light .pain-header-label { color: var(--accent); }
body.light .pain-item { background: rgba(204,200,191,0.6); border-color: rgba(26,26,31,0.1); }
body.light .pain-item-num { color: var(--accent); }
body.light .pain-item-title { color: var(--fg-color); }
body.light .pain-item-toggle { color: rgba(26,26,31,0.6); }
body.light .pain-item-body p { color: rgba(26,26,31,0.85); }
body.light .pain-cta-text { color: rgba(26,26,31,0.75); }

/* --- Services / Pillars --- */
body.light .pillars-section { background: var(--bg-color); border-color: rgba(26,26,31,0.06); }
body.light .grid-card { background: rgba(26,26,31,0.04); border-color: rgba(26,26,31,0.1); }
body.light .grid-card::before { border-color: rgba(26,26,31,0.06); }
body.light .grid-card-header { border-color: rgba(26,26,31,0.06); }
body.light .grid-card-module { color: rgba(26,26,31,0.6); }
body.light .grid-card-tag { background: rgba(26,26,31,0.08); color: rgba(26,26,31,0.75); }
body.light .grid-card-title { color: var(--fg-color); }
body.light .grid-card-desc { color: rgba(26,26,31,0.8); }
body.light .grid-card-capacity-label { color: rgba(26,26,31,0.55); }
body.light .grid-card-progress-bar { background: rgba(26,26,31,0.08); }
body.light .tech-item { border-color: rgba(26,26,31,0.08); color: var(--fg-color); }
body.light .tech-item:hover { background: rgba(26,26,31,0.04); }
body.light .tech-item-arrow { color: var(--accent); }
body.light .tech-item-desc { color: rgba(26,26,31,0.8); }
body.light .tech-expand-body p { color: rgba(26,26,31,0.8); }
body.light .tech-expand-header { color: var(--fg-color); }

/* --- Stats bar (keep dark) --- */
body.light .stats-bar { background: var(--bg-secondary); }
body.light .stat-value, body.light .stat-value-text { color: var(--fg-color); }
body.light .stat-suffix { color: var(--accent); }
body.light .stat-label { color: rgba(26,26,31,0.6); }
body.light .stat-divider { background: rgba(26,26,31,0.12); }

/* --- Marquee --- */
body.light .marquee-section { background: var(--bg-secondary); border-color: rgba(26,26,31,0.06); }
body.light .marquee-content { color: rgba(26,26,31,0.7); }

/* --- Diagnostic --- */
body.light .diagnostic-section { background: var(--bg-color); border-color: rgba(26,26,31,0.06); }
body.light .diagnostic-label { color: var(--accent); }
body.light .diagnostic-title { color: var(--fg-color); }
body.light .diagnostic-desc { color: rgba(26,26,31,0.8); }
body.light .diagnostic-stat-value { color: var(--fg-color); }
body.light .diagnostic-stat-label { color: rgba(26,26,31,0.65); }
body.light .scanner-box { background: rgba(194,190,181,0.5); border-color: rgba(26,26,31,0.12); box-shadow: none; }
body.light .scanner-label { color: rgba(26,26,31,0.8); }
body.light .scanner-field { border-color: rgba(26,26,31,0.15); background: rgba(204,200,191,0.4); }
body.light .scanner-protocol, body.light .scanner-prefix { color: rgba(26,26,31,0.7); border-color: rgba(26,26,31,0.12); }
body.light .scanner-input { color: var(--fg-color); }
body.light .scanner-input::placeholder { color: rgba(26,26,31,0.5); }
body.light .scanner-btn { background: var(--fg-color); color: var(--bg-color); }
body.light .scanner-disclaimer { color: rgba(26,26,31,0.7); }
body.light .scanner-progress { background: rgba(26,26,31,0.04); border-color: rgba(26,26,31,0.1); }
body.light .scanner-progress-bar { background: rgba(26,26,31,0.08); }
body.light .scanner-results { background: rgba(26,26,31,0.04); border-color: rgba(26,26,31,0.1); }
body.light .scanner-results-stats { background: rgba(26,26,31,0.05); }
body.light .scanner-result-item { border-color: rgba(26,26,31,0.08); color: var(--fg-color); }
body.light .scanner-result-item-tag { color: rgba(26,26,31,0.7); border-color: rgba(26,26,31,0.12); }
body.light .scanner-result-item-tag.high { color: #fff; background: #FF2DAA; border-color: #FF2DAA; }
body.light .scanner-stat { background: rgba(26,26,31,0.04); }

/* --- Projects --- */
body.light .work-section { background: var(--bg-color); border-color: rgba(26,26,31,0.06); }
body.light .work-item { border-color: rgba(26,26,31,0.12); }
body.light .work-number { color: rgba(26,26,31,0.2); }
body.light .work-title { color: var(--fg-color); }
body.light .work-tags span { border-color: rgba(26,26,31,0.18); color: rgba(26,26,31,0.75); }
body.light .work-detail { background: rgba(26,26,31,0.03); }
body.light .work-detail-title { color: var(--fg-color); }
body.light .work-detail-desc { color: rgba(26,26,31,0.85); }
body.light .work-detail-label { color: rgba(26,26,31,0.65); }
body.light .work-detail-list li { color: rgba(26,26,31,0.8); }
body.light .work-detail-solution { color: rgba(26,26,31,0.85); }

/* --- Clients --- */
body.light .clients-section { background: var(--bg-secondary); border-color: rgba(26,26,31,0.06); }
body.light .clients-title { color: var(--fg-color); }
body.light .clients-header-label, body.light .clients-header-slash { color: rgba(26,26,31,0.55); }
body.light .clients-count { color: rgba(26,26,31,0.55); }
body.light .clients-view-all { color: var(--accent); }
body.light .clients-dot { background: rgba(26,26,31,0.15); }
body.light .client-card-inner { background: rgba(204,200,191,0.7); border-color: rgba(26,26,31,0.1); box-shadow: none; }
body.light .client-card-number { color: rgba(26,26,31,0.2); }
body.light .client-card-title { color: var(--fg-color); }
body.light .client-card-desc { color: rgba(26,26,31,0.85); }
body.light .client-card-cta { border-color: rgba(26,26,31,0.18); color: var(--fg-color); }
body.light .client-card-expand-toggle, body.light .client-details-toggle { color: rgba(26,26,31,0.65); border-color: rgba(26,26,31,0.12); background: rgba(26,26,31,0.04); }
body.light .client-pain-title, body.light .client-solution-title { color: var(--fg-color); }
body.light .client-pain-list li, body.light .client-solution-list li { color: rgba(26,26,31,0.8); }
body.light .clients-arrow { background: rgba(26,26,31,0.06); color: var(--fg-color); border-color: rgba(26,26,31,0.12); }
body.light .clients-card { background: rgba(204,200,191,0.7); }

/* --- Deployment Protocol --- */
body.light .protocol-section { background: var(--bg-color); border-color: rgba(26,26,31,0.06); }
body.light .protocol-title { color: var(--fg-color); }
body.light .protocol-counter { color: rgba(26,26,31,0.55); }
body.light .protocol-current { color: var(--accent); }
body.light .protocol-counter-total { color: rgba(26,26,31,0.2); }
body.light .protocol-desc-text { color: rgba(26,26,31,0.85); }
body.light .protocol-binary { color: var(--accent); opacity: 0.3; }
body.light .protocol-circles-container { opacity: 1; }
body.light .protocol-circle { border-color: rgba(26,26,31,0.15); }
body.light .protocol-step { border-color: rgba(26,26,31,0.15); color: rgba(26,26,31,0.8); }
body.light .protocol-step:hover, body.light .protocol-step.active { background: rgba(26,26,31,0.05); color: var(--fg-color); }
body.light .protocol-step-title { color: inherit; }
body.light .protocol-label { color: rgba(26,26,31,0.85); }
body.light .protocol-detail-title { color: var(--fg-color); }
body.light .protocol-detail-desc { color: rgba(26,26,31,0.9); }

/* --- Team --- */
body.light .team-section { background: var(--bg-secondary); border-color: rgba(26,26,31,0.06); }
body.light .team-label { color: var(--accent); }
body.light .team-title { color: var(--fg-color); }
body.light .team-card { background: rgba(204,200,191,0.7); border-color: rgba(26,26,31,0.1); }
body.light .team-card-desc { color: rgba(26,26,31,0.75); }
body.light .team-initials { background: rgba(26,26,31,0.08); color: var(--fg-color); }
body.light .team-name { color: var(--fg-color); }
body.light .team-role { color: rgba(26,26,31,0.8); }
body.light .team-bio { color: rgba(26,26,31,0.9); }
body.light .team-tagline { color: rgba(26,26,31,0.75); }

/* --- Contact --- */
body.light .data-form-section { background: var(--bg-color) !important; }
body.light .form-wrapper {
    background: #1a1a1f;
    border: 1px solid rgba(240,240,240,0.06);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
body.light .form-header { border-bottom-color: rgba(240,240,240,0.08); }
body.light .form-progress { background: rgba(240,240,240,0.06); }
body.light .form-title, body.light .form-wrapper h2 { color: #f0f0f0; }
body.light .form-subtitle, body.light .form-wrapper p { color: rgba(240,240,240,0.55); }
/* Fields: gray by default, pink when active, gray when done */
body.light .terminal-field .terminal-input { background: rgba(240,240,240,0.06); border: 1px solid rgba(240,240,240,0.1); color: rgba(240,240,240,0.5); }
body.light .terminal-field.active .terminal-input { background: rgba(244,114,182,0.18); border-color: var(--accent); color: #f0f0f0; box-shadow: 0 0 25px rgba(244,114,182,0.15); }
body.light .terminal-field.active .terminal-input:focus { border-color: var(--accent); box-shadow: 0 0 30px rgba(244,114,182,0.25); background: rgba(244,114,182,0.22); }
body.light .terminal-field.done .terminal-input { background: rgba(240,240,240,0.04); border-color: rgba(240,240,240,0.08); color: var(--accent); opacity: 0.7; }
body.light .terminal-field input::placeholder { color: rgba(240,240,240,0.3); }
body.light .terminal-prompt { color: rgba(240,240,240,0.45); }
body.light .terminal-label { color: rgba(240,240,240,0.5); }
body.light .terminal-field.active .terminal-label { color: rgba(240,240,240,0.8); }
body.light .terminal-status { color: rgba(240,240,240,0.3); }
body.light .terminal-field.active .terminal-status { color: var(--accent); }
body.light .terminal-dot { background: rgba(240,240,240,0.15); }
body.light .terminal-field.active .terminal-dot { background: var(--accent); }
body.light .terminal-field.done .terminal-dot { background: rgba(244,114,182,0.3); }
/* Submit button — liquid glass */
body.light .terminal-field.active .terminal-submit { opacity: 1; }

/* --- Footer (keep dark) --- */
body.light footer { background: var(--bg-secondary); color: var(--fg-color); }
body.light footer h4 { color: var(--accent); }
body.light footer a { color: rgba(26,26,31,0.75); }
body.light footer a:hover { color: var(--accent); }
body.light .footer-cta { background: var(--fg-color); color: var(--bg-color); }
body.light .footer-cta-btn { color: var(--bg-color); }

/* --- CTA buttons --- */
body.light .cta-block-btn { background: var(--fg-color); color: var(--bg-color); border-color: var(--fg-color); }
body.light .cta-block-btn:hover { background: var(--accent); border-color: var(--accent); }

/* --- MISSING OVERRIDES: all var(--fg-color) text elements --- */
body.light .hero-headline { color: var(--fg-color); }
body.light .hero-static { color: var(--fg-color); }
body.light .nav-link { color: var(--fg-color); }
body.light .coming-soon-text { color: var(--fg-color); }
body.light .coming-soon-desc { color: rgba(26,26,31,0.8); }

/* --- Pain section missing --- */
body.light .pain-conclusion { color: rgba(26,26,31,0.75); }
body.light .pain-section p { color: rgba(26,26,31,0.8); }

/* --- Services / Grid cards missing --- */
body.light .grid-card-subtitle { color: rgba(26,26,31,0.7); }
body.light .grid-card-module { color: rgba(26,26,31,0.6); }
body.light .grid-card-desc { color: rgba(26,26,31,0.8); }
body.light .grid-card-capacity-label { color: rgba(26,26,31,0.55); }
body.light .tech-item { color: var(--fg-color); }
body.light .tech-item-arrow { color: var(--accent); }

/* --- Protocol / Deployment rings --- */
body.light .proto-ring-1 { background: #504e58; border-color: rgba(240,240,240,0.15); transition: border-color 0.4s; }
body.light .proto-ring-2 { background: #3a3842; border-color: rgba(240,240,240,0.2); transition: border-color 0.4s; }
body.light .proto-ring-3 { background: #24222c; border-color: rgba(240,240,240,0.25); transition: border-color 0.4s; }
body.light .proto-ring-4 { background: #0f0e14; border-color: rgba(240,240,240,0.3); transition: border-color 0.4s; }
body.light .proto-ring.active { border-color: rgba(244,114,182,0.8); box-shadow: 0 0 50px rgba(244,114,182,0.2), 0 0 100px rgba(244,114,182,0.08), inset 0 0 30px rgba(244,114,182,0.06); }
body.light .proto-ring.pulse { border-color: var(--accent); }
body.light .proto-label { color: rgba(240,240,240,0.6); }
body.light .proto-label:hover, body.light .proto-label.active { color: #f0f0f0; }
body.light .proto-detail-title { color: var(--fg-color); }
body.light .proto-detail-text { color: rgba(26,26,31,0.85); }
body.light .protocol-heading { color: var(--fg-color); }
body.light .protocol-divider { color: rgba(26,26,31,0.5); }
body.light .protocol-desc { color: rgba(26,26,31,0.85); }
body.light .proto-cta, body.light .protocol-cta { color: var(--accent); border-color: var(--accent); }
body.light .protocol-binary { color: var(--accent); opacity: 0.3; }

/* --- Work section all text --- */
body.light .work-item { color: var(--fg-color); border-color: rgba(26,26,31,0.12); }
body.light .work-list { border-color: rgba(26,26,31,0.12); }
body.light .work-detail-desc { color: rgba(26,26,31,0.85); }
body.light .work-detail-list li { color: rgba(26,26,31,0.8); }
body.light .work-detail-solution { color: rgba(26,26,31,0.85); }

/* --- Diagnostic all text --- */
body.light .diagnostic-desc { color: rgba(26,26,31,0.8); }
body.light .diagnostic-stat-mini-val { color: var(--fg-color); }
body.light .scanner-stat-value { color: var(--fg-color); }
body.light .scanner-results-cta { color: var(--fg-color); border-color: var(--fg-color); }

/* --- Contact / LET'S BUILD form (light mode: dark card on light bg) --- */
body.light .terminal-field .terminal-label-text { color: rgba(240,240,240,0.5); }
body.light .terminal-field.active .terminal-label-text { color: var(--accent); }
body.light .terminal-field.done .terminal-label-text { color: rgba(240,240,240,0.35); }
body.light .terminal-prefix { color: rgba(240,240,240,0.4); }
body.light .terminal-field.active .terminal-prefix { color: var(--accent); }
body.light .terminal-field.hover-reactivate .terminal-input { border-color: rgba(244,114,182,0.4) !important; box-shadow: 0 0 12px rgba(244,114,182,0.15); }
body.light .terminal-field.hover-reactivate .terminal-label-text { color: var(--accent) !important; }
body.light .terminal-field.hover-reactivate .terminal-prefix { color: var(--accent) !important; }

/* --- Footer (keep dark but fix inner text) --- */
body.light .footer-offices-label { color: rgba(26,26,31,0.6); }
body.light .footer-office-name { color: rgba(26,26,31,0.75); }
body.light .footer-office-country { color: rgba(26,26,31,0.6); }
body.light .footer-legal { color: rgba(26,26,31,0.5); }
body.light .footer-tagline { color: var(--accent); opacity: 0.5; }
body.light .footer-bottom { border-color: rgba(26,26,31,0.1); }

/* --- Team missing text --- */
body.light .team-tagline { color: rgba(26,26,31,0.65); }
@media (max-width: 768px) {
    .theme-toggle { top: 1rem; right: 1rem; }
    .theme-btn { min-width: 2rem; height: 1.7rem; }
    .theme-btn svg { width: 12px; height: 12px; }
    .lang-toggle { top: 2.6rem; right: 1rem; }
    .lang-btn { min-width: 2rem; height: 1.7rem; font-size: 0.55rem; }
}

/* ========== LIQUID GLASS BUTTONS — MAX ========== */
.cta-block-btn, .hero-cta, .footer-cta-btn, .scanner-results-cta, .terminal-submit, .scanner-btn, .client-card-cta {
    position: relative; overflow: hidden;
    backdrop-filter: blur(40px) saturate(1.6); -webkit-backdrop-filter: blur(40px) saturate(1.6);
    border-radius: 50px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-top: 1.5px solid rgba(255,255,255,0.45) !important;
    border-bottom: 1px solid rgba(0,0,0,0.25) !important;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(244,114,182,0.08) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 40%, rgba(0,0,0,0.12) 100%),
        rgba(244, 114, 182, 0.1) !important;
    box-shadow:
        inset 0 3px 6px rgba(255,255,255,0.15),
        inset 0 -3px 6px rgba(0,0,0,0.2),
        inset 2px 0 4px rgba(255,255,255,0.04),
        inset -2px 0 4px rgba(255,255,255,0.04),
        0 8px 24px rgba(0,0,0,0.4),
        0 2px 6px rgba(0,0,0,0.3);
    color: var(--fg-color) !important;
    transform: perspective(600px) rotateX(3deg);
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1) !important;
}
/* Top bubble highlight */
.cta-block-btn::after, .hero-cta::after, .footer-cta-btn::after, .scanner-results-cta::after, .terminal-submit::after, .scanner-btn::after, .client-card-cta::after {
    content: ''; position: absolute;
    top: 1px; left: 12%; right: 12%; height: 38%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.04) 60%, transparent 100%);
    border-radius: 50%; pointer-events: none; z-index: 2;
}
.cta-block-btn:hover, .hero-cta:hover, .footer-cta-btn:hover, .scanner-results-cta:hover, .terminal-submit:hover, .scanner-btn:hover, .client-card-cta:hover {
    transform: perspective(600px) rotateX(0deg) translateY(-4px) scale(1.02) !important;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(244,114,182,0.12) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 40%, rgba(0,0,0,0.1) 100%),
        rgba(244, 114, 182, 0.16) !important;
    border-top-color: rgba(255,255,255,0.55) !important;
    box-shadow:
        inset 0 3px 8px rgba(255,255,255,0.22),
        inset 0 -3px 6px rgba(0,0,0,0.18),
        0 14px 40px rgba(244,114,182,0.22),
        0 6px 12px rgba(0,0,0,0.35) !important;
}
.cta-block-btn:active, .hero-cta:active, .footer-cta-btn:active, .scanner-results-cta:active, .terminal-submit:active, .scanner-btn:active, .client-card-cta:active {
    transform: perspective(600px) rotateX(1deg) translateY(-1px) scale(0.98) !important;
    box-shadow:
        inset 0 4px 8px rgba(0,0,0,0.2),
        inset 0 -2px 4px rgba(255,255,255,0.1),
        0 4px 12px rgba(0,0,0,0.3) !important;
}

/* Transmit button — always white text */
.terminal-submit { color: #f0f0f0 !important; }

/* Secondary buttons */
.brutal-btn {
    position: relative; overflow: hidden;
    backdrop-filter: blur(36px) saturate(1.5); -webkit-backdrop-filter: blur(36px) saturate(1.5);
    border-radius: 50px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-top: 1.5px solid rgba(255,255,255,0.28) !important;
    border-bottom: 1px solid rgba(0,0,0,0.2) !important;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(244,114,182,0.04) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 40%, rgba(0,0,0,0.1) 100%),
        rgba(17,17,22,0.4) !important;
    box-shadow:
        inset 0 3px 5px rgba(255,255,255,0.1),
        inset 0 -3px 5px rgba(0,0,0,0.18),
        0 6px 18px rgba(0,0,0,0.3),
        0 2px 4px rgba(0,0,0,0.2);
    transform: perspective(600px) rotateX(2deg);
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.brutal-btn::after {
    content: ''; position: absolute;
    top: 1px; left: 12%; right: 12%; height: 38%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 60%, transparent 100%);
    border-radius: 50%; pointer-events: none; z-index: 2;
}
.brutal-btn:hover {
    transform: perspective(600px) rotateX(0deg) translateY(-4px) scale(1.02) !important;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(244,114,182,0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 40%, rgba(0,0,0,0.08) 100%),
        rgba(17,17,22,0.3) !important;
    border-top-color: rgba(255,255,255,0.4) !important;
    box-shadow:
        inset 0 3px 6px rgba(255,255,255,0.14),
        inset 0 -3px 5px rgba(0,0,0,0.15),
        0 12px 35px rgba(244,114,182,0.12),
        0 4px 8px rgba(0,0,0,0.25) !important;
    color: var(--accent) !important;
}
.brutal-btn:active {
    transform: perspective(600px) rotateX(1deg) translateY(-1px) scale(0.97) !important;
}

/* ========== SECONDARY CTA (non-calendar) ========== */
.cta-secondary {
    background: transparent !important;
    backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(240,240,240,0.12) !important;
    border-top: 1px solid rgba(240,240,240,0.18) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.04), 0 4px 12px rgba(0,0,0,0.2) !important;
    color: rgba(240,240,240,0.7) !important;
    transform: none !important;
}
.cta-secondary::after { display: none !important; }
.cta-secondary .lg-light { display: none; }
.cta-secondary:hover {
    border-color: var(--accent) !important;
    border-top-color: var(--accent) !important;
    color: var(--accent) !important;
    box-shadow: 0 0 20px rgba(244,114,182,0.1), 0 4px 16px rgba(0,0,0,0.2) !important;
    transform: translateY(-2px) !important;
    background: rgba(244,114,182,0.04) !important;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
    width: 44px; height: 44px; border-radius: 50%;
    background: #f0f0f0;
    border: 1px solid rgba(244,114,182,0.2);
    color: var(--accent); font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    transform: translateY(10px);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(244,114,182,0.15);
    transform: translateY(-2px);
}

/* ========== SECTION INDICATOR ========== */
.section-indicator {
    position: fixed; right: 1.5rem; top: 50%; transform: translateY(-50%);
    z-index: 400; display: flex; flex-direction: column; gap: 12px;
    opacity: 0; transition: opacity 0.4s;
}
.section-indicator.visible { opacity: 1; }
.section-indicator-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(240,240,240,0.15);
    transition: all 0.3s; cursor: pointer;
    position: relative;
}
.section-indicator-dot.active {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(244,114,182,0.4);
    transform: scale(1.4);
}
.section-indicator-dot:hover { background: rgba(244,114,182,0.5); }
.section-indicator-dot .indicator-label {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.1em;
    color: rgba(240,240,240,0.4); white-space: nowrap;
    opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.section-indicator-dot:hover .indicator-label { opacity: 1; }

/* ========== FORM MICRO-COPY ========== */
.form-micro-copy {
    font-family: var(--font-mono); font-size: 0.65rem;
    letter-spacing: 0.1em; color: rgba(240,240,240,0.3);
    margin-bottom: 1.5rem; text-align: center;
}

/* ========== MOBILE CAROUSEL ARROWS ========== */
@media (max-width: 768px) {
    .clients-carousel-wrap { padding: 0 0.5rem; }
    .clients-nav { flex: 0 0 36px; width: 36px; height: 36px; font-size: 0.85rem; }
    .clients-nav--prev { margin-right: 0.4rem; }
    .clients-nav--next { margin-left: 0.4rem; }
    .client-details-content { grid-template-columns: 1fr; }
    .section-indicator { display: none; }
    .back-to-top { bottom: 1.5rem; right: 1.5rem; width: 40px; height: 40px; }
}

/* Dynamic light spot on buttons */
.lg-light {
    position: absolute; width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.06) 35%, transparent 60%);
    border-radius: 50%; pointer-events: none; z-index: 3;
    opacity: 0; transition: opacity 0.25s;
    transform: translate(-50%, -50%);
    mix-blend-mode: overlay;
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed; top: 0; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, rgba(244,114,182,0.2), var(--accent));
    z-index: 10001; pointer-events: none;
    box-shadow: 0 0 8px rgba(244,114,182,0.4), 0 0 20px rgba(244,114,182,0.15);
}

/* ========== GRID CARD BORDER TRACE ========== */
.grid-card::before {
    content: ''; position: absolute; inset: 0;
    border: 1px solid var(--accent); pointer-events: none;
    opacity: 0; z-index: 1;
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4,0,0.2,1), opacity 0.4s;
}
.grid-card:hover::before {
    opacity: 0.35;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* ========== MAGNETIC TILT ========== */
.grid-card, .team-card {
    transform-style: preserve-3d;
}

/* ========== TEXT REVEAL MASK ========== */
.text-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.4,0,0.2,1);
}
.text-reveal.revealed {
    clip-path: inset(0 0% 0 0);
}

/* ========== DOT BOUNCE ========== */
@keyframes dot-bounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.clients-dot.bounce { animation: dot-bounce 0.4s cubic-bezier(0.4,0,0.2,1); }

/* ========== FOOTER CTA ROW ========== */
.footer-cta-row {
    display: flex; justify-content: center; padding: 0 0 3rem;
    margin-bottom: 3rem; border-bottom: 1px solid rgba(244,114,182,0.08);
}
.footer-brand-line {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--accent); opacity: 0.5;
    text-align: center; margin-bottom: 2.5rem;
}
.footer-cta-btn {
    display: inline-flex; align-items: center; gap: 1rem;
    padding: 1.1rem 3rem; font-family: var(--font-mono); font-size: 0.8rem;
    letter-spacing: 0.2em; color: var(--fg-color); background: transparent;
    border: 1px solid rgba(244,114,182,0.3); text-decoration: none;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.footer-cta-btn:hover {
    color: var(--bg-color); background: var(--accent);
    box-shadow: 0 0 30px rgba(244,114,182,0.25);
    border-color: var(--accent);
}
.footer-cta-btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}
.footer-cta-btn:hover::before { left: 100%; }

/* ========== HERO CTA ========== */
.hero-cta {
    display: inline-flex; align-items: center; gap: 0.8rem;
    font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em;
    color: var(--bg-color); background: var(--accent); text-decoration: none;
    padding: 1rem 2.5rem; margin-top: 2rem;
    transition: box-shadow 0.3s, transform 0.2s;
    position: relative; overflow: hidden;
    opacity: 0; transform: translateY(20px);
}
.hero-cta:hover {
    box-shadow: 0 0 30px rgba(244,114,182,0.3), 0 0 60px rgba(244,114,182,0.12);
    transform: translateY(-2px);
}
.hero-cta::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.hero-cta:hover::before { left: 100%; }

/* ========== HERO GRID OVERLAY ========== */
.hero-grid-overlay {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background-image: radial-gradient(rgba(244,114,182,0.03) 1px, transparent 1px);
    background-size: 50px 50px; opacity: 0.6;
}

/* ========== WORK MORE ========== */
.work-more { text-align: center; font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.5); margin-top: 3rem; text-transform: uppercase; }
body.light .work-more { color: rgba(26,26,31,0.4); }

/* ========== CTA BLOCKS ========== */
.cta-block { display: flex; justify-content: center; padding: 3rem 2rem 1rem; }
.cta-block-btn {
    display: inline-flex; align-items: center; gap: 1rem;
    padding: 1.1rem 3rem; font-family: var(--font-mono); font-size: 0.8rem;
    letter-spacing: 0.2em; color: var(--bg-color); background: var(--accent);
    text-decoration: none; transition: box-shadow 0.3s, transform 0.2s;
    position: relative; overflow: hidden;
}
.cta-block-btn:hover {
    box-shadow: 0 0 30px rgba(244,114,182,0.25), 0 0 60px rgba(244,114,182,0.1);
    transform: translateY(-2px);
}
.cta-block-btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.cta-block-btn:hover::before { left: 100%; }

/* ========== PROTOCOL CTA ========== */
.protocol-cta {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
    color: var(--accent); text-decoration: none;
    padding: 0.7rem 0; margin-top: 1.5rem; border-bottom: 1px solid rgba(244,114,182,0.3);
    transition: border-color 0.3s, letter-spacing 0.3s;
}
.protocol-cta:hover { border-color: var(--accent); letter-spacing: 0.2em; }

/* ========== GLOW ORBS ========== */
.glow-orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(100px); z-index: 0;
}
.glow-orb-1 { top: 15%; right: -5%; width: 400px; height: 400px; background: rgba(244,114,182,0.04); animation: float-orb 20s ease-in-out infinite; }
.glow-orb-2 { bottom: 10%; left: -8%; width: 350px; height: 350px; background: rgba(244,114,182,0.03); animation: float-orb 25s ease-in-out infinite reverse; }
.glow-orb-3 { top: 30%; left: -10%; width: 500px; height: 500px; background: rgba(244,114,182,0.025); animation: float-orb 30s ease-in-out infinite; }
.glow-orb-4 { top: 20%; right: -8%; width: 380px; height: 380px; background: rgba(244,114,182,0.035); animation: float-orb 22s ease-in-out infinite reverse; }
@keyframes float-orb {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -25px); }
    66% { transform: translate(-20px, 18px); }
}

/* ========== TEAM CARD PHOTOS ========== */
.team-card-photo {
    width: 100%; aspect-ratio: 4/5; margin-bottom: 1.5rem;
    overflow: hidden; border: 1px solid rgba(244,114,182,0.08);
    position: relative;
}
.team-card-photo-inner {
    width: 100%; height: 100%;
    background: linear-gradient(145deg, var(--bg-secondary) 0%, rgba(244,114,182,0.05) 60%, var(--bg-secondary) 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.team-card-photo-inner::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(244,114,182,0.04) 1px, transparent 1px);
    background-size: 20px 20px; opacity: 0.5;
}
.team-card-img {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; inset: 0; z-index: 2;
}
.team-card-initials {
    font-family: var(--font-sans); font-size: 3.5rem; font-weight: 900;
    color: var(--accent); opacity: 0.1; letter-spacing: 0.1em;
    position: relative; z-index: 1;
}
.team-card:hover .team-card-initials { opacity: 0.2; transition: opacity 0.4s; }
.team-card:hover .team-card-photo {
    border-color: rgba(244,114,182,0.25);
    transition: border-color 0.4s;
}

/* progress bar animation handled in pillars section */

/* ========== ANIMATED UNDERLINE ON HOVER ========== */
.footer-link, .clients-view-all, .protocol-cta, .footer-legal {
    position: relative;
}
.footer-link::after, .clients-view-all::after, .footer-legal::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px; background: var(--accent);
    transition: width 0.3s ease;
}
.footer-link:hover::after, .clients-view-all:hover::after, .footer-legal:hover::after { width: 100%; }

/* ========== CLIENT IMAGE HOVER ========== */
.client-card-img {
    transition: filter 0.6s ease;
}
.client-card:hover .client-card-img {
    filter: grayscale(40%) contrast(1.1) brightness(0.85);
}

/* ========== SECTION NUMBER SHIMMER ========== */
.section-num {
    background: linear-gradient(90deg, var(--accent) 40%, #fff 50%, var(--accent) 60%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ========== ANIMATIONS ========== */
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.revealed { opacity: 1; transform: translate(0,0); transition: 0.8s cubic-bezier(0.2,0.8,0.2,1); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    html, body { overflow-x: hidden; }
    .custom-cursor, .cursor-dot { display: none !important; }

    .nav-card { margin: 0.5rem; padding: 0.6rem 0.8rem; }
    .nav-card-brand { gap: 0.5rem; }
    .nav-card-logo { font-size: 1.2rem; }
    .nav-card-name { font-size: 0.55rem; }
    .nav-card-tagline { font-size: 0.4rem; }
    .nav-panel { width: calc(100vw - 1rem); }
    .nav-link-text { font-size: 1.2rem; }
    .nav-link-badge { font-size: 0.45rem; padding: 0.1rem 0.4rem; }
    .nav-group-label { font-size: 0.5rem; padding: 0 1.5rem; }
    .nav-group-divider { margin: 0.6rem 1.5rem; }

    .clients-bands { flex-direction: column; height: auto; padding: 0 1.5rem; gap: 8px; }
    .client-band { height: 180px; flex: none; }
    .client-band:hover { flex: none; }

    .hero-dark { padding: 0 1.5rem; min-height: 100svh; }
    .hero-inner { flex-direction: column; padding-top: 7rem; padding-bottom: 3rem; gap: 2rem; align-items: flex-start; }
    .hero-headline { font-size: clamp(2.5rem, 11vw, 4.5rem); }
    .hero-subtitle { font-size: 0.75rem; letter-spacing: 0.1em; }
    .hero-right { flex: none; width: 100%; }
    .accent-card { max-width: 100%; padding: 1.8rem; }
    .accent-card::before { top: -5px; left: -5px; }
    .accent-card-title { font-size: 1rem; }
    .accent-card-text { font-size: 0.65rem; }

    .stats-bar { padding: 2rem 1.5rem; }
    .stats-bar-inner { flex-wrap: wrap; gap: 1.5rem; }
    .stat-item { flex: 1 1 40%; min-width: 120px; }
    .stat-divider { display: none; }

    .pain-section { padding: 4rem 1.5rem; }
    .pain-grid { grid-template-columns: 1fr; gap: 1rem; }
    .pain-item-header { padding: 1.5rem; }
    .pain-item.active .pain-item-body { padding: 0 1.5rem 1.5rem; }
    .pain-item-body p { padding-top: 0.8rem; }
    .pain-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }

    .marquee-section { padding: 0.8rem 0; }
    .marquee-content { font-size: 0.7rem; }

    .clients-section { padding: 3rem 0 4rem; }
    .clients-header { padding: 0 1.5rem; flex-direction: column; gap: 0.5rem; }
    .clients-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .clients-header-right { gap: 1rem; }
    .clients-carousel { padding: 0 1.5rem; height: 65vh; min-height: 450px; max-height: 550px; }
    .client-card-inner { padding: 1.5rem; overflow-y: auto; }
    .client-card-body { flex-direction: column; gap: 1.5rem; }
    .client-card-left { flex: none; width: 100%; max-width: 100%; height: 180px; overflow: hidden; }
    .client-card-img { width: 100%; height: 180px; object-fit: cover; }
    .client-card-right { padding: 0; }
    .client-card-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
    .client-card-desc { font-size: 0.65rem; }
    .clients-dots { padding: 1.5rem 1.5rem 0; }

    .pillars-section { padding: 4rem 1.5rem; }
    .section-title { font-size: 0.85rem; }
    .complex-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .work-item { grid-template-columns: 40px 1fr; gap: 0.5rem 0.8rem; }
    .work-number { font-size: 1rem; }
    .module-cta { font-size: 0.65rem; padding: 0.6rem 1.2rem; }
    .grid-card { padding: 1.5rem; }
    .grid-card h3 { font-size: 1.1rem; }
    .grid-card p { font-size: 0.8rem; }

    .protocol-section { padding: 4rem 1.5rem; min-height: auto; }
    .protocol-layout { grid-template-columns: 1fr; gap: 2rem; }
    .protocol-left { min-height: auto; padding-top: 0; }
    .protocol-heading { font-size: 1.6rem; margin-bottom: 1.2rem; }
    .protocol-counter { margin-bottom: 1.5rem; }
    .protocol-desc { font-size: 0.65rem; max-width: 100%; }
    .protocol-binary { position: static; margin-top: 2rem; }
    .protocol-circles { max-width: 300px; }
    .proto-label { font-size: 0.55rem; letter-spacing: 0.1em; }
    .protocol-right { text-align: center; }
    .proto-detail-title { font-size: 0.7rem; }
    .proto-detail-text { font-size: 0.6rem; margin: 0 auto; max-width: 100%; }

    .work-section { padding: 4rem 1.5rem; }
    .work-item { padding: 1.5rem 1rem; gap: 0.8rem; }
    .work-number { font-size: 1rem; width: 40px; }
    .work-title { font-size: 1.3rem; }
    .work-tags { justify-content: flex-end; }
    .work-tags span { font-size: 0.55rem; }
    .work-item:hover .work-tags { transform: none; }
    .work-item:hover .work-title { transform: none; }
    .work-detail { padding-left: 0 !important; }
    .work-item:hover .work-detail { padding: 1.2rem 0 0.5rem 0 !important; }

    .diagnostic-section { padding: 4rem 1.5rem; }
    .diagnostic-inner { flex-direction: column; gap: 2rem; }
    .diagnostic-copy { position: static; flex: none; width: 100%; }
    .diagnostic-scanner { width: 100%; }
    .diagnostic-title { font-size: clamp(1.4rem, 5vw, 2rem); }
    .diagnostic-desc { font-size: 0.75rem; }
    .diagnostic-stats-preview { flex-wrap: wrap; gap: 1rem; }
    .scanner-box, .scanner-progress, .scanner-results { padding: 1.5rem; width: 100%; box-sizing: border-box; }
    .scanner-results-stats { grid-template-columns: 1fr; }

    .team-section { padding: 4rem 1.5rem; }
    .team-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .team-card { padding: 2rem 1.5rem; }
    .team-card-name { font-size: 1.2rem; }
    .team-card-photo { aspect-ratio: 3/4; }
    .team-card-initials { font-size: 2.5rem; }

    .cta-block { padding: 2rem 1.5rem 0; }
    .cta-block-btn { padding: 0.9rem 2rem; font-size: 0.7rem; width: 100%; justify-content: center; }
    .hero-cta { font-size: 0.65rem; padding: 0.8rem 1.5rem; }
    .glow-orb { display: none; }
    .hero-grid-overlay { display: none; }
    .footer-cta-row { padding: 0 1.5rem 2rem; }
    .footer-cta-btn { width: 100%; justify-content: center; font-size: 0.7rem; padding: 0.9rem 2rem; }

    .data-form-section { padding: 4rem 1.5rem; }
    .form-wrapper { padding: 2rem 1.5rem; }
    .form-header h2 { font-size: 1.2rem; }

    .footer { padding: 3rem 1.5rem 1.5rem; }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
    .footer-col-title { font-size: 0.7rem; }
    .footer-link { font-size: 0.85rem; }
    .footer-offices { flex-direction: column; gap: 0.5rem; }
    .footer-office { margin-left: 0; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

    .coming-soon-glitch { font-size: clamp(2rem, 10vw, 3.5rem); }
    .coming-soon-subtitle { font-size: 0.7rem; letter-spacing: 0.2em; }
    .coming-soon-close { top: -50px; right: 0; }
}

@media (max-width: 1024px) {
    .complex-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .grid-card > p { min-height: auto; }
    .hero-headline { font-size: clamp(2.5rem, 7vw, 5rem); }
    body.lang-fr .hero-headline { font-size: clamp(2rem, 5vw, 4rem); }
}
@media (max-width: 400px) {
    .hero-headline { font-size: 2.2rem; }
    .accent-card { padding: 1.4rem; }
    .accent-card-title { font-size: 0.9rem; }
    .clients-carousel { min-height: 420px; }
    .client-card-inner { padding: 1.2rem; }
    .client-card-title { font-size: 1.6rem; }
    .protocol-circles { max-width: 260px; }
    .footer-top { grid-template-columns: 1fr; }
}

/* Mobile tap toggles */
.work-item.mobile-open .work-detail {
    max-height: 1200px; padding: 1.2rem 0 0.5rem 0 !important;
    opacity: 1; overflow-y: auto;
}
.work-item.mobile-open .work-title { color: var(--accent); }
.work-item.mobile-open .work-number { color: var(--accent); opacity: 1; }
.work-item.mobile-open .work-tags span { border-color: var(--accent); color: var(--accent); }
.work-item.mobile-open { background: rgba(244, 114, 182, 0.03); }

.client-band.mobile-open { height: auto; min-height: 200px; }
.client-band.mobile-open .client-band-content {
    position: relative; align-items: flex-start;
    flex-direction: column; gap: 0; padding: 1.2rem 1.5rem;
}
.client-band.mobile-open .client-band-num { margin-bottom: 0.3rem; }
.client-band.mobile-open .client-band-title { font-size: 0.85rem; margin-bottom: 0.8rem; }
.client-band.mobile-open .client-band-expanded { max-height: 500px; opacity: 1; }
.client-band.mobile-open .client-band-desc { font-size: 0.65rem; line-height: 1.6; }
.client-band.mobile-open .client-band-overlay {
    background: linear-gradient(180deg, rgba(11,11,15,0.4) 0%, rgba(11,11,15,0.92) 60%);
}

/* Cookie banner responsive */
@media (max-width: 768px) {
    .cookie-banner { flex-direction: column; padding: 1.2rem 1.5rem; gap: 1rem; }
    .cookie-text { font-size: 0.65rem; }
    .cookie-buttons { width: 100%; }
    .cookie-btn { flex: 1; padding: 0.8rem; font-size: 0.65rem; }
}