/* 1. THEME & RESET */
html, body {
    background-color: #05070a !important;
    color: #ffffff !important;
    margin: 0; padding: 0; min-height: 100vh; width: 100%;
    scroll-behavior: smooth;
}

:root {
    --bg: #05070a;
    --blue: #2563eb;
    --border: rgba(255, 255, 255, 0.1);
    --text-muted: #64748b;
}

* { box-sizing: border-box; font-family: 'Inter', sans-serif; }

/* 2. TOP BAR & NAV */
.top-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 85px;
    background: #05070a; z-index: 1000;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center;
}

.nav-container { 
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 6%; 
}

.brand { text-decoration: none; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.accent { color: var(--blue); }

/* 3. DRAWER & OVERLAY */
.side-drawer {
    position: fixed; top: 0; right: -100%; width: 400px; height: 100%;
    background: #0a0c10; z-index: 2000; transition: 0.5s ease;
    padding: 40px; border-left: 1px solid var(--border);
}
.side-drawer.open { right: 0; }
.drawer-header { display: flex; justify-content: flex-end; width: 100%; margin-bottom: 20px; }
.close-btn { background: none; border: none; color: #fff; font-size: 3.5rem; cursor: pointer; line-height: 0.5; padding: 10px; }

/* 4. MENU LINKS */
.drawer-brand { margin-bottom: 40px; font-weight: 900; font-size: 1.5rem; letter-spacing: 1px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.drawer-tagline { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; font-weight: 400; }
.nav-list { list-style: none; padding: 0; margin: 0; }
.nav-list li { margin-bottom: 25px; padding: 0; }
.main-link, .dropdown-btn { text-decoration: none; color: #fff; font-size: 1.1rem; font-weight: 900; background: none; border: none; width: 100%; text-align: left; display: flex; justify-content: space-between; cursor: pointer; padding: 0; }
.sub-menu { list-style: none; padding-left: 20px; margin-top: 15px; display: none; border-left: 1px solid var(--blue); }
.sub-menu.show { display: block; }
.sub-menu a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; display: block; margin-bottom: 10px; }

/* 5. BLUE CTA BUTTON */
.nav-cta-button {
    display: inline-block; background-color: var(--blue); color: #ffffff !important;
    text-align: center; padding: 16px 32px; border-radius: 4px;
    font-weight: 900; text-decoration: none; text-transform: uppercase;
    letter-spacing: 1px; transition: 0.3s ease;
}
.nav-cta-button:hover { background-color: #1d4ed8; transform: translateY(-2px); }

/* 6. LAYOUT ENGINE (12-Column Grid) */
.container { max-width: 1300px; margin: 0 auto; padding: 0 6%; width: 100%; }
.section-padding { padding: 120px 0; }
.premium-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }

/* Hero Section */
.hero-section { min-height: 85vh; display: flex; align-items: center; }
.hero-content { grid-column: 1 / span 11; }
.hero-section h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1.05; font-weight: 900; letter-spacing: -0.04em; margin: 24px 0; }
.hero-subtext { font-size: 1.2rem; color: #94a3b8; max-width: 600px; line-height: 1.7; margin-bottom: 48px; }

/* REFINED TECH SCROLLER (Snappy & Transparent) */
.tech-marquee { 
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border); 
    border-bottom: 1px solid var(--border); 
    padding: 22px 0; 
    overflow: hidden; 
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-content { display: flex; align-items: center; animation: marquee 20s linear infinite; }
.marquee-content span { font-size: 0.7rem; font-weight: 900; letter-spacing: 2px; color: #94a3b8; padding: 0 40px; text-transform: uppercase; }

/* The Blue Geometric Dot Divider */
.dot {
    width: 6px; height: 6px; background-color: var(--blue);
    display: inline-block; border-radius: 1px; opacity: 0.8;
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.studio-section { border-top: 1px solid var(--border); margin-top: -1px; }
.studio-label { grid-column: 1 / span 3; }
.section-title { font-size: 0.8rem; color: var(--blue); text-transform: uppercase; letter-spacing: 3px; font-weight: 900; }
.studio-body { grid-column: 5 / span 8; }
.studio-body h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; font-weight: 900; margin-bottom: 30px; letter-spacing: -0.02em; }
.studio-body p { font-size: 1.1rem; color: #94a3b8; line-height: 1.8; max-width: 700px; }

/* Featured Work Card */
.work-image-window { width: 100%; height: 500px; background: #0a0c10; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: 0.5s ease; cursor: pointer; }
.work-image-window:hover { border-color: var(--blue); }
.placeholder-img { font-size: 0.7rem; color: #374151; letter-spacing: 2px; text-transform: uppercase; font-weight: 900; }
.work-details h4 { font-size: 1.5rem; margin: 25px 0 10px; font-weight: 900; }

/* Blueprint Process */
.process-list { display: flex; flex-direction: column; gap: 60px; }
.process-item { border-bottom: 1px solid var(--border); padding-bottom: 40px; }
.step-num { color: var(--blue); font-weight: 900; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.process-item h5 { font-size: 1.4rem; font-weight: 900; margin-bottom: 15px; }

/* Final CTA */
.cta-card { background: #0a0c10; border: 1px solid var(--border); padding: 100px 40px; text-align: center; border-radius: 4px; }
.cta-card h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; font-weight: 900; }
.cta-card p { color: #94a3b8; margin-bottom: 40px; font-size: 1.2rem; }

/* Menu Controls */
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); opacity: 0; pointer-events: none; transition: 0.4s; z-index: 1500; }
.overlay.active { opacity: 1; pointer-events: auto; }
.menu-btn { width: 45px; height: 45px; background: none; border: 1px solid var(--border); cursor: pointer; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding-right: 10px; }
.btn-line { width: 22px; height: 2px; background: #fff; margin: 3px 0; }
.btn-line.short { width: 14px; }
.blue-text { color: var(--blue); }
.eyebrow { font-size: 0.7rem; color: var(--blue); letter-spacing: 3px; font-weight: 900; text-transform: uppercase; }

@media (max-width: 992px) {
    .hero-content, .studio-label, .studio-body { grid-column: 1 / span 12; }
    .studio-body { margin-top: 40px; }
    .side-drawer { width: 100%; }
    .section-padding { padding: 80px 0; }
}
