/* ========================================
   Atelier IRL — Full Stylesheet
   ======================================== */

:root {
    --bg: #08080d;
    --bg-alt: #0e0e16;
    --bg-card: #111119;
    --bg-card-hover: #181824;
    --surface: #131320;
    --border: #1e1e32;
    --border-light: #2a2a44;
    --text: #e8e8f0;
    --text-muted: #7a7a9a;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.25);
    --cyan: #00cec9;
    --pink: #fd79a8;
    --gradient: linear-gradient(135deg, #6c5ce7, #00cec9, #fd79a8);
    --gradient-subtle: linear-gradient(135deg, rgba(108,92,231,0.15), rgba(0,206,201,0.1));
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Space Grotesk', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Grain overlay ── */
.grain-overlay {
    position: fixed; inset: 0; z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* ── Cursor glow (desktop) ── */
.cursor-glow {
    position: fixed; width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108,92,231,0.07) 0%, transparent 70%);
    pointer-events: none; z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ── Canvas ── */
#bg-canvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none; opacity: 0.35;
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ========================================
   NAVIGATION
   ======================================== */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.2rem 0;
    transition: var(--transition);
}
#navbar.scrolled {
    background: rgba(8,8,13,0.88);
    backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 0;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: var(--mono); font-size: 1.15rem; font-weight: 500;
    text-decoration: none; color: var(--text); letter-spacing: -0.02em;
    white-space: nowrap;
}
.logo-bracket { color: var(--accent); font-weight: 700; }
.logo-dot { color: var(--cyan); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
    text-decoration: none; color: var(--text-muted);
    font-size: 0.88rem; font-weight: 400; transition: var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-link--cta {
    color: var(--accent-light) !important;
    padding: 0.45rem 1.1rem;
    border: 1px solid var(--accent);
    border-radius: 100px; font-weight: 500;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--accent); color: #fff !important; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

/* Language toggle */
.lang-toggle {
    display: flex; align-items: center; gap: 0.3rem;
    background: none; border: 1px solid var(--border);
    border-radius: 100px; padding: 0.35rem 0.7rem;
    cursor: pointer; font-family: var(--mono); font-size: 0.7rem;
    transition: var(--transition);
}
.lang-toggle:hover { border-color: var(--accent); }
.lang-option { color: var(--text-muted); transition: var(--transition); }
.lang-option.active { color: var(--accent-light); font-weight: 600; }
.lang-separator { color: var(--border-light); }

/* Burger */
.nav-burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); transition: var(--transition); border-radius: 2px;
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
    display: none; position: fixed; inset: 0; z-index: 99;
    background: rgba(8,8,13,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    opacity: 0; pointer-events: none; transition: var(--transition);
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-link {
    text-decoration: none; color: var(--text);
    font-size: 1.5rem; font-weight: 500; transition: var(--transition);
}
.mobile-link:hover { color: var(--accent-light); }

/* ========================================
   HERO
   ======================================== */
#hero {
    position: relative; z-index: 1;
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center;
    padding: 8rem 0 4rem;
}

/* Video background */
.hero-video-wrap {
    position: fixed; inset: 0; z-index: -1;
}
#hero-video {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-video-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8,8,13,0.45) 0%,
        rgba(8,8,13,0.7) 40%,
        rgba(8,8,13,0.95) 100%
    );
}

/* Floating blobs */
.hero-blobs {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.blob {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.25;
    animation: blobFloat 15s ease-in-out infinite;
}
.blob-1 {
    width: 400px; height: 400px; top: 10%; right: -5%;
    background: var(--accent);
    animation-delay: 0s;
}
.blob-2 {
    width: 300px; height: 300px; bottom: 20%; left: -8%;
    background: var(--cyan);
    animation-delay: -5s;
}
.blob-3 {
    width: 250px; height: 250px; top: 50%; right: 30%;
    background: var(--pink);
    animation-delay: -10s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    25% { transform: translate(30px,-40px) scale(1.1); }
    50% { transform: translate(-20px,30px) scale(0.95); }
    75% { transform: translate(40px,20px) scale(1.05); }
}

.hero-content {
    position: relative; z-index: 2;
    max-width: 800px; width: 100%;
    padding: 0 2rem;
    margin-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
}

.hero-location {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.82rem; color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem; border-radius: 100px;
    background: rgba(108,92,231,0.08); border: 1px solid rgba(108,92,231,0.15);
}
.hero-location svg { stroke: var(--accent-light); }

h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 700; line-height: 1.1;
    letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero-line { display: inline-block; }
.hero-gradient {
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub {
    font-size: 1.1rem; color: var(--text-muted);
    max-width: 560px; margin-bottom: 2rem; line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

/* Hero badges */
.hero-badges {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.badge {
    font-family: var(--mono); font-size: 0.85rem; color: var(--text-muted);
}
.badge-number {
    font-size: 1.6rem; font-weight: 700; color: var(--accent-light);
}
.badge-suffix {
    font-size: 1.1rem; font-weight: 600; color: var(--accent-light);
}
.badge-sep {
    width: 1px; height: 30px; background: var(--border-light);
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.8rem; border-radius: 100px;
    font-family: var(--font); font-size: 0.92rem; font-weight: 500;
    text-decoration: none; border: none; cursor: pointer;
    transition: var(--transition); position: relative;
}
.btn--primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 4px 24px var(--accent-glow);
}
.btn--primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow);
}
.btn--ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-light); }
.btn--full { width: 100%; justify-content: center; }

/* Scroll indicator */
.hero-scroll {
    position: absolute; bottom: 2.5rem;
    left: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
    display: flex; align-items: center; gap: 0.8rem;
    color: var(--text-muted); font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.15em;
    z-index: 2;
}
.scroll-indicator {
    width: 18px; height: 28px;
    border: 1.5px solid var(--text-muted);
    border-radius: 9px;
    display: flex; justify-content: center; padding-top: 5px;
}
.scroll-dot {
    width: 2px; height: 5px;
    background: var(--accent-light);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
section { position: relative; z-index: 1; padding: 7rem 0; }

.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-tag {
    display: inline-block; font-family: var(--mono);
    font-size: 0.75rem; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.2em;
    margin-bottom: 0.8rem; font-weight: 600;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
}
.text-accent { color: var(--accent-light); }
.section-sub {
    color: var(--text-muted); font-size: 1.05rem;
    max-width: 560px; margin: 1rem auto 0; line-height: 1.7;
}

/* ========================================
   OUR DNA
   ======================================== */
#dna { background: var(--bg-alt); }

.dna-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dna-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.5rem 2rem;
    transition: var(--transition); position: relative; overflow: hidden;
}
.dna-card::after {
    content: ''; position: absolute; inset: 0;
    border-radius: var(--radius);
    background: var(--gradient);
    opacity: 0; transition: opacity 0.4s;
    z-index: 0; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude; -webkit-mask-composite: xor;
    padding: 1px;
}
.dna-card:hover::after { opacity: 1; }
.dna-card:hover { transform: translateY(-4px); background: var(--bg-card-hover); }
.dna-card > * { position: relative; z-index: 1; }

.dna-icon {
    width: 64px; height: 64px; margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center;
}

.dna-card h3 {
    font-size: 1.15rem; font-weight: 600; margin-bottom: 0.8rem;
}
.dna-card p {
    color: var(--text-muted); font-size: 0.9rem; line-height: 1.75;
}

/* ── DNA Icon Animations ── */
/* Broadcast waves */
.anim-broadcast {
    position: relative; width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
}
.anim-broadcast span {
    position: absolute; border: 2px solid var(--accent-light);
    border-radius: 50%; animation: broadcastPulse 2.5s ease-out infinite;
}
.anim-broadcast span:nth-child(1) { width: 20px; height: 20px; animation-delay: 0s; }
.anim-broadcast span:nth-child(2) { width: 38px; height: 38px; animation-delay: 0.5s; }
.anim-broadcast span:nth-child(3) { width: 56px; height: 56px; animation-delay: 1s; }

@keyframes broadcastPulse {
    0% { opacity: 1; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(1.4); }
}

/* Dual hat */
.anim-dualhat {
    display: flex; align-items: center; gap: 0.4rem;
    font-family: var(--mono); font-weight: 600;
}
.hat-code {
    font-size: 1.1rem; color: var(--cyan);
    animation: codeGlow 3s ease-in-out infinite;
}
.hat-sep { color: var(--text-muted); font-size: 0.9rem; }
.hat-av {
    font-size: 1.1rem; color: var(--accent-light);
    animation: codeGlow 3s ease-in-out infinite 1.5s;
}
@keyframes codeGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; text-shadow: 0 0 12px currentColor; }
}

/* Team */
.anim-team {
    position: relative; width: 64px; height: 40px;
}
.team-dot {
    position: absolute; width: 12px; height: 12px;
    background: var(--accent-light); border-radius: 50%;
    animation: teamPulse 2s ease-in-out infinite;
}
.team-dot:nth-child(1) { left: 0; top: 0; animation-delay: 0s; }
.team-dot:nth-child(2) { left: 26px; top: 20px; animation-delay: 0.3s; }
.team-dot:nth-child(3) { left: 52px; top: 4px; animation-delay: 0.6s; }

.team-line {
    position: absolute; top: 6px; left: 6px;
    width: 40px; height: 1px; background: var(--accent);
    transform: rotate(25deg); transform-origin: left;
    opacity: 0.5;
}
.team-line.t2 {
    left: 32px; top: 14px;
    transform: rotate(-20deg);
}

@keyframes teamPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* ========================================
   AV INTEGRATION — ORBIT
   ======================================== */
#av-integration { padding-bottom: 5rem; }

.av-orbit {
    position: relative;
    width: 100%; max-width: 500px;
    aspect-ratio: 1; margin: 0 auto 3rem;
}

.orbit-center {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 90px; height: 90px;
    background: var(--bg-card); border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 0.9rem; font-weight: 600;
    color: var(--text);
    box-shadow: 0 0 40px var(--accent-glow), inset 0 0 20px var(--accent-glow);
    z-index: 2;
}

.orbit-ring {
    position: absolute; inset: 0;
    border: 1px dashed var(--border);
    border-radius: 50%;
    animation: orbitSpin 60s linear infinite;
}

.orbit-item {
    position: absolute;
    top: 50%; left: 50%;
    width: 80px; margin-left: -40px; margin-top: -40px;
    transform: rotate(var(--angle)) translateX(min(200px, 38vw)) rotate(calc(-1 * var(--angle)));
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
    animation: orbitCounterSpin 60s linear infinite;
    text-align: center;
}

.orbit-icon {
    width: 44px; height: 44px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.orbit-icon svg { width: 22px; height: 22px; stroke: var(--accent-light); }
.orbit-item:hover .orbit-icon {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.15);
}

.orbit-item span {
    font-size: 0.7rem; color: var(--text-muted);
    font-weight: 500; white-space: nowrap;
}

@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbitCounterSpin { from { transform: rotate(var(--angle)) translateX(min(200px, 38vw)) rotate(calc(-1 * var(--angle) + 0deg)); }
    to { transform: rotate(var(--angle)) translateX(min(200px, 38vw)) rotate(calc(-1 * var(--angle) - 360deg)); } }

/* Protocols bar */
.av-protocols {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.6rem; max-width: 700px; margin: 0 auto;
}
.av-protocols span {
    font-family: var(--mono); font-size: 0.65rem; font-weight: 500;
    padding: 0.3rem 0.7rem;
    background: rgba(0,206,201,0.06); color: var(--cyan);
    border: 1px solid rgba(0,206,201,0.15);
    border-radius: 100px;
    transition: var(--transition);
}
.av-protocols span:hover {
    background: rgba(0,206,201,0.15);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

/* ========================================
   STRENGTHS
   ======================================== */
#expertise { background: var(--bg-alt); }

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

.strength-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem;
    transition: var(--transition); text-align: center;
}
.strength-card:hover {
    border-color: var(--accent); transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.strength-visual {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}

.strength-icon-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}

.strength-card h3 {
    font-size: 1.05rem; font-weight: 600; margin-bottom: 0.7rem;
}
.strength-card p {
    color: var(--text-muted); font-size: 0.88rem; line-height: 1.7;
}

/* ── Strength icon animations ── */
.anim-ripple { position: relative; width: 60px; height: 60px; }
.anim-ripple span {
    position: absolute; inset: 0;
    border: 2px solid var(--cyan); border-radius: 50%;
    animation: rippleOut 2s ease-out infinite;
}
.anim-ripple span:nth-child(2) { animation-delay: 0.6s; }
.anim-ripple span:nth-child(3) { animation-delay: 1.2s; }
@keyframes rippleOut {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.anim-speed { position: relative; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.anim-speed span {
    position: absolute; width: 3px; border-radius: 2px;
    background: var(--accent-light); animation: speedLine 1s ease-in-out infinite;
}
.anim-speed span:nth-child(1) { height: 20px; left: 15px; animation-delay: 0s; }
.anim-speed span:nth-child(2) { height: 28px; left: 28px; animation-delay: 0.2s; }
.anim-speed span:nth-child(3) { height: 16px; left: 41px; animation-delay: 0.4s; }
@keyframes speedLine {
    0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.4; }
    50% { transform: translateY(-5px) scaleY(1.5); opacity: 1; }
}

.anim-device { position: relative; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.anim-device span {
    position: absolute; width: 36px; height: 36px;
    border: 2px solid var(--accent-light); border-radius: 8px;
    animation: devicePulse 2s ease-in-out infinite;
}
.anim-device div {
    width: 14px; height: 14px;
    background: var(--accent); border-radius: 4px;
    animation: deviceCore 2s ease-in-out infinite;
}
@keyframes devicePulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes deviceCore { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(90deg); } }

.anim-turnkey { position: relative; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.anim-turnkey span {
    width: 24px; height: 24px;
    border: 3px solid var(--accent-light); border-top-color: transparent;
    border-radius: 50%; animation: turnkeyRot 1.5s linear infinite;
}
@keyframes turnkeyRot { to { transform: rotate(360deg); } }

.anim-reliable { position: relative; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.anim-reliable span {
    position: absolute; width: 20px; height: 20px;
    border-radius: 50%;
}
.anim-reliable span:first-child {
    background: var(--cyan); left: 12px;
    animation: reliablePulse 2s ease-in-out infinite;
}
.anim-reliable span:last-child {
    background: var(--accent-light); right: 12px;
    animation: reliablePulse 2s ease-in-out infinite 1s;
}
@keyframes reliablePulse {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.anim-global { position: relative; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.anim-global span {
    position: absolute; border: 1.5px solid var(--accent-light);
    border-radius: 50%;
}
.anim-global span:first-child { width: 50px; height: 50px; }
.anim-global span:nth-child(2) { width: 50px; height: 30px; }
.anim-global span:last-child {
    width: 1px; height: 50px; border: none;
    border-left: 1.5px solid var(--accent-light);
    animation: globeRotate 4s linear infinite;
}
@keyframes globeRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* ========================================
   SERVICES
   ======================================== */
#services { padding-top: 5rem; }

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

.service-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.2rem;
    transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--gradient);
    transform: scaleX(0); transition: transform 0.5s ease;
    transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    border-color: var(--accent); transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.service-number {
    font-family: var(--mono); font-size: 2rem; font-weight: 700;
    color: rgba(108,92,231,0.15); margin-bottom: 1rem;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem;
}

.service-card ul {
    list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
}
.service-card li {
    color: var(--text-muted); font-size: 0.88rem; line-height: 1.5;
    padding-left: 1.2rem; position: relative;
}
.service-card li::before {
    content: ''; position: absolute; left: 0; top: 0.55em;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); opacity: 0.6;
}

/* ========================================
   PROJECTS
   ======================================== */
#projects { background: var(--bg-alt); }

.projects-list { display: flex; flex-direction: column; gap: 2.5rem; }

.project-card {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem; align-items: center;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.5rem;
    transition: var(--transition);
}
.project-card.reverse { direction: rtl; }
.project-card.reverse > * { direction: ltr; }
.project-card:hover {
    border-color: var(--accent); transform: translateY(-2px);
}

/* Project thumbnail */
.project-thumbnail {
    width: 100%; aspect-ratio: 16/10;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.project-card:hover .project-thumbnail {
    border-color: var(--accent);
}
.project-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 1.2rem; font-weight: 600;
    color: var(--text-muted); opacity: 0.4;
}
.projects-empty {
    text-align: center; padding: 3rem 0;
    color: var(--text-muted); font-size: 0.95rem;
}

/* Project info */
.project-type {
    font-family: var(--mono); font-size: 0.65rem; text-transform: uppercase;
    color: var(--accent-light); letter-spacing: 0.1em;
    padding: 0.25rem 0.6rem; border: 1px solid rgba(108,92,231,0.3);
    border-radius: 100px; display: inline-block; margin-bottom: 0.8rem;
}
.project-info h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.7rem; }
.project-info p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }

/* ========================================
   CLIENTS
   ======================================== */
#clients { padding-bottom: 4rem; }

.client-categories {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.6rem; margin-bottom: 3rem;
}
.cat-pill {
    font-family: var(--font); font-size: 0.82rem; font-weight: 500;
    padding: 0.5rem 1.2rem; border-radius: 100px;
    background: transparent; border: 1px solid var(--border);
    color: var(--text-muted); cursor: pointer;
    transition: var(--transition);
}
.cat-pill:hover { border-color: var(--accent); color: var(--text); }
.cat-pill.active {
    background: var(--accent); border-color: var(--accent);
    color: #fff;
}

/* Infinite marquee */
.marquee-wrapper { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { overflow: hidden; }
.marquee-track {
    display: flex; gap: 2rem; width: max-content;
    animation: marqueeScroll 30s linear infinite;
}
.client-logo {
    flex-shrink: 0; padding: 1rem 2rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--mono); font-size: 0.9rem; font-weight: 600;
    color: var(--text-muted); white-space: nowrap;
    transition: var(--transition);
}
.client-logo:hover {
    border-color: var(--accent); color: var(--text);
}
.client-logo-img {
    max-height: 28px; width: auto;
    filter: grayscale(1) brightness(1.5);
    transition: var(--transition);
}
.client-logo:hover .client-logo-img {
    filter: grayscale(0) brightness(1);
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   SHOWREEL
   ======================================== */
#showreel {
    position: relative; min-height: 60vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; text-align: center;
}
.showreel-video-wrap {
    position: absolute; inset: 0;
}
.showreel-video {
    width: 100%; height: 100%; object-fit: cover;
}
.showreel-overlay {
    position: absolute; inset: 0;
    background: rgba(8,8,13,0.8);
    backdrop-filter: blur(4px);
}
.showreel-content {
    position: relative; z-index: 2; max-width: 600px;
    padding: 4rem 2rem;
}
.showreel-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; margin-bottom: 1rem;
}
.showreel-content p {
    color: var(--text-muted); font-size: 1rem; line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */
#contact { background: var(--bg-alt); }

.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start;
}
.contact-left h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; line-height: 1.15; margin-bottom: 1rem;
}
.contact-left p { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-line {
    display: flex; align-items: center; gap: 0.7rem;
    color: var(--text-muted); text-decoration: none;
    font-size: 0.92rem; transition: var(--transition);
}
.contact-line:hover { color: var(--accent-light); }
.contact-line svg { stroke: var(--accent); flex-shrink: 0; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { position: relative; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 0.95rem 1.1rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text); font-family: var(--font); font-size: 0.92rem;
    transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group label {
    position: absolute; left: 1.1rem; top: 0.95rem;
    color: var(--text-muted); font-size: 0.92rem;
    pointer-events: none; transition: var(--transition);
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.55rem; left: 0.8rem;
    font-size: 0.72rem; color: var(--accent-light);
    background: var(--bg-alt); padding: 0 0.3rem;
}

.form-group select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237a7a9a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center;
}
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ========================================
   FOOTER
   ======================================== */
footer {
    position: relative; z-index: 1;
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { font-family: var(--mono); font-size: 0.95rem; font-weight: 500; }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.8rem; transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }

/* ========================================
   PROJECT MODAL
   ======================================== */
.project-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.project-modal.active {
    opacity: 1; visibility: visible;
}
.modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}
.modal-content {
    position: relative; z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 800px; width: 90%;
    max-height: 90vh; overflow-y: auto;
    padding: 0;
}
.modal-close {
    position: absolute; top: 1rem; right: 1rem; z-index: 3;
    background: rgba(0, 0, 0, 0.5); border: 1px solid var(--border);
    border-radius: 50%; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text);
    transition: var(--transition);
}
.modal-close:hover {
    background: var(--accent); border-color: var(--accent);
}

/* Slider */
.modal-slider {
    position: relative; overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    aspect-ratio: 16/10;
    background: var(--surface);
}
.slider-track {
    display: flex; height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-track img {
    width: 100%; height: 100%;
    object-fit: cover; flex-shrink: 0;
}
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); border: 1px solid var(--border);
    border-radius: 50%; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text);
    transition: var(--transition); z-index: 2;
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); }
.slider-prev { left: 0.8rem; }
.slider-next { right: 0.8rem; }
.slider-dots {
    position: absolute; bottom: 0.8rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 2;
}
.slider-dots span {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer; transition: var(--transition);
}
.slider-dots span.active {
    background: var(--accent-light);
    box-shadow: 0 0 8px var(--accent-glow);
}

/* Modal info */
.modal-info {
    padding: 1.5rem 2rem 2rem;
}
.modal-info .project-type { margin-bottom: 0.6rem; }
.modal-info h3 {
    font-size: 1.4rem; font-weight: 600; margin-bottom: 0.8rem;
}
.modal-description {
    color: var(--text-muted); font-size: 0.92rem; line-height: 1.75;
}
.modal-description p { margin-bottom: 0.8rem; }

/* No images state */
.modal-slider:empty,
.modal-slider.no-images {
    display: none;
}
.modal-slider.no-images + .modal-info {
    padding-top: 2.5rem;
}

/* ========================================
   FOOTER ADMIN LINK
   ======================================== */
.footer-admin {
    opacity: 0.3; font-size: 0.7rem;
    text-decoration: none; color: var(--text-muted);
    transition: var(--transition);
}
.footer-admin:hover { opacity: 1; }

/* ========================================
   REVEAL ANIMATION
   ======================================== */
[data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
    opacity: 1; transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .dna-grid { grid-template-columns: 1fr; }
    .strengths-grid { grid-template-columns: repeat(2, 1fr); }
    .av-orbit { max-width: 400px; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .mobile-menu { display: flex; }

    .dna-grid { grid-template-columns: 1fr; }
    .strengths-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }

    .project-card, .project-card.reverse {
        grid-template-columns: 1fr; direction: ltr; gap: 1.5rem;
    }

    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }

    .orbit-item { transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle))); }
    .av-orbit { max-width: 340px; }
}

@media (max-width: 600px) {
    section { padding: 4.5rem 0; }
    h1 { font-size: 2rem; }
    .hero-content { margin-left: 0; padding: 0 1.5rem; }
    .hero-scroll { left: 1.5rem; }
    .hero-badges { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .badge-sep { width: 30px; height: 1px; }
    .strengths-grid { grid-template-columns: 1fr; }

    .av-orbit { max-width: 280px; }
    .orbit-center { width: 60px; height: 60px; font-size: 0.7rem; }
    .orbit-item { transform: rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle))); }
    .orbit-icon { width: 36px; height: 36px; border-radius: 8px; }
    .orbit-icon svg { width: 18px; height: 18px; }
    .orbit-item span { font-size: 0.6rem; }

    .hero-location { font-size: 0.72rem; }
    .hero-sub { font-size: 0.95rem; }
    .btn { padding: 0.75rem 1.4rem; font-size: 0.85rem; }

    .client-categories { gap: 0.4rem; }
    .cat-pill { font-size: 0.72rem; padding: 0.4rem 0.9rem; }

    .modal-content { width: 95%; }
    .modal-slider { aspect-ratio: 4/3; }
    .modal-info { padding: 1.2rem 1.2rem 1.5rem; }
    .modal-info h3 { font-size: 1.15rem; }
}

@media (max-width: 400px) {
    .container { padding: 0 1rem; }
    #hero { padding: 7rem 1rem 3rem; }
    .av-orbit { max-width: 240px; }
    .orbit-item { transform: rotate(var(--angle)) translateX(90px) rotate(calc(-1 * var(--angle))); }
}
