/* ========================================
   Shetti Studios — Deep Tech Noir v4
   Portal Architecture
   ======================================== */

:root {
    --bg: #050505;
    --bg-card: #0a0a0a;
    --text: #c8c2ba;
    --text-muted: #4a4744;
    --text-heading: #f0ece8;
    --border: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(255, 255, 255, 0.1);
    --accent: #d4cfc8;
    --green: #4ade80;
    --amber: #f59e0b;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: rgba(212,207,200,0.12); color: var(--text-heading); }

/* ---- Noise ---- */
.noise-overlay {
    position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
    pointer-events: none; z-index: 9999; opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px; animation: grain .8s steps(6) infinite; mix-blend-mode: overlay;
}
@keyframes grain {
    0%,100%{transform:translate(0)}10%{transform:translate(-2%,-3%)}30%{transform:translate(-1%,4%)}
    50%{transform:translate(-3%,2%)}70%{transform:translate(-4%,3%)}90%{transform:translate(3%,4%)}
}

/* ---- Cursor Glow ---- */
.cursor-glow {
    position: fixed; width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(120,120,160,0.07) 0%, transparent 65%);
    pointer-events: none; z-index: 1; will-change: transform;
}

/* ---- Preloader ---- */
.preloader { position: fixed; inset: 0; z-index: 10000; background: var(--bg); }
.preloader-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.preloader-logo {
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
    letter-spacing: 0.3em; color: var(--text-heading); white-space: nowrap;
}
.preloader-logo .char { display: inline-block; opacity: 0; transform: translateY(100%); }
.preloader-counter {
    position: absolute; bottom: 48px; right: 48px; font-family: var(--font-mono);
    font-size: clamp(4rem,10vw,8rem); font-weight: 700; color: var(--text-heading);
    opacity: 0.12; letter-spacing: -0.04em; line-height: 1;
}

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 160px 0; position: relative; }

/* ---- Navigation ---- */
.nav {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000;
    background: rgba(8,8,8,0.35); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border); border-radius: 100px; padding: 0 8px; opacity: 0;
    transition: opacity .6s var(--ease-out), background .4s ease, border-color .4s ease;
}
.nav.visible { opacity: 1; }
.nav.scrolled { background: rgba(8,8,8,0.8); border-color: rgba(255,255,255,0.06); }
.nav-inner { display: flex; align-items: center; gap: 48px; height: 52px; padding: 0 20px; }
.nav-logo {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em;
    color: var(--text-heading); white-space: nowrap; transition: color .2s;
}
.nav-logo:hover { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
.nav-link {
    font-size: 0.8rem; font-weight: 400; color: var(--text-muted);
    letter-spacing: 0.03em; transition: color .3s; cursor: pointer;
}
.nav-link:hover { color: var(--text-heading); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; z-index: 1; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-gradient {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(20,25,60,0.45) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 70% 60%, rgba(40,20,50,0.25) 0%, transparent 50%),
        linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}
.hero-container {
    position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column;
    min-height: 100vh; justify-content: center; padding-top: 100px; padding-bottom: 60px;
}
.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-title {
    font-family: var(--font-heading); font-size: clamp(2.8rem,7.5vw,6.5rem);
    font-weight: 700; color: var(--text-heading); letter-spacing: -0.04em;
    line-height: 1.02; margin-bottom: 36px;
}
.hero-title-line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; transform: translateY(120%); will-change: transform; }
.hero-title.breathing .word { animation: heroBreath 6s ease-in-out infinite; }
.hero-title.breathing .hero-title-line:nth-child(2) .word { animation-delay: -2s; }
.hero-title.breathing .hero-title-line:nth-child(3) .word { animation-delay: -4s; }
@keyframes heroBreath { 0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)} }

.hero-sub {
    font-size: clamp(1rem,1.8vw,1.15rem); color: var(--text-muted);
    max-width: 480px; line-height: 1.7; margin-bottom: 48px; opacity: 0; transform: translateY(20px);
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 12px; font-size: 0.8rem; font-weight: 500;
    color: var(--text-heading); letter-spacing: 0.1em; text-transform: uppercase;
    padding: 16px 32px; border: 1px solid var(--border); border-radius: 100px;
    width: fit-content; transition: border-color .4s, background .4s; opacity: 0; transform: translateY(20px);
}
.hero-cta:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.03); }
.hero-cta-arrow { font-size: 1.1rem; transition: transform .3s var(--ease-out); }
.hero-cta:hover .hero-cta-arrow { transform: translateY(4px); }
.hero-scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-bottom: 20px; }
.hero-scroll-indicator span {
    font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--text-muted); opacity: 0; font-family: var(--font-mono);
}
.hero-scroll-line { width: 1px; height: 48px; background: var(--border); position: relative; overflow: hidden; }
.hero-scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
    background: var(--accent); animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%{top:-100%}50%{top:100%}100%{top:100%} }

/* ---- Section Shared ---- */
.section-label {
    font-size: 0.75rem; font-weight: 400; letter-spacing: 0.1em;
    color: var(--text-muted); margin-bottom: 20px; font-family: var(--font-mono);
    opacity: 0; transform: translateY(15px);
}
.section-title {
    font-family: var(--font-heading); font-size: clamp(2.4rem,5vw,4.5rem);
    font-weight: 700; color: var(--text-heading); letter-spacing: -0.04em; line-height: 1.05;
}
.section-title .word { display: inline-block; transform: translateY(120%); will-change: transform; }
.split-line { display: block; overflow: hidden; }

/* ============================================
   SELECTED WORKS — TYPOGRAPHY LIST
   ============================================ */

.section-works {
    position: relative;
    z-index: 2;
    background: var(--bg);
    padding: 160px 0 120px;
}

.works-intro {
    font-size: 1.1rem; color: var(--text); line-height: 1.8;
    max-width: 600px; margin-top: 40px; margin-bottom: 80px;
    opacity: 0; transform: translateY(20px);
}

.works-list {
    border-top: 1px solid var(--border);
}

.works-row {
    display: flex; align-items: center; gap: 20px;
    padding: 44px 0; border-bottom: 1px solid var(--border);
    cursor: pointer;
    opacity: 0; transform: translateY(20px);
    transition: padding-left .5s var(--ease-out), opacity .5s ease-out, transform .5s ease-out, border-color .3s;
}

.works-row.visible {
    opacity: 1; transform: translateY(0);
}

.works-list.has-hover .works-row.visible { opacity: 0.15; }
.works-list.has-hover .works-row.visible:hover {
    opacity: 1; padding-left: 24px; border-color: var(--border-hover);
}

.works-num {
    font-family: var(--font-mono); font-size: 0.8rem;
    color: var(--text-muted); letter-spacing: 0.05em;
    min-width: 28px; flex-shrink: 0;
}

.works-slash {
    font-family: var(--font-mono); font-size: 0.9rem;
    color: var(--text-muted); opacity: 0.3; flex-shrink: 0;
}

.works-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700; color: var(--text-heading);
    letter-spacing: -0.04em; line-height: 1.1; flex: 1;
}

.works-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.7rem;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 100px; flex-shrink: 0;
}
.works-tag--live { color: var(--green); background: rgba(74,222,128,0.06); border: 1px solid rgba(74,222,128,0.1); }
.works-tag--dev { color: var(--amber); background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.1); }
.works-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-in-out infinite; }
.works-tag-dot--dev { background: var(--amber); }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.3} }

.works-arrow {
    color: var(--text-muted); opacity: 0;
    transition: opacity .3s, transform .3s var(--ease-out); flex-shrink: 0;
}
.works-row:hover .works-arrow { opacity: 1; transform: translate(4px, -4px); }

/* Works hover preview */
.works-preview {
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 998;
}

.works-preview-card {
    position: absolute; width: 320px; height: 200px;
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border); background: var(--bg-card);
    opacity: 0; transform: scale(0.9);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}
.works-preview-card.active { opacity: 1; transform: scale(1); }

.works-preview-img { width: 100%; height: 100%; object-fit: cover; }

.works-preview-wave {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    padding: 20px; background: linear-gradient(135deg, #0a0800, #0c0a04);
}
.works-preview-wave svg { width: 100%; height: auto; }

/* ============================================
   PROJECT MODAL
   ============================================ */

.project-modal {
    position: fixed; inset: 0; z-index: 5000;
    pointer-events: none; visibility: hidden;
}
.project-modal.active { pointer-events: auto; visibility: visible; }

.project-modal-bg {
    position: absolute; inset: 0;
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    opacity: 0;
}

.project-modal-scroll {
    position: absolute; inset: 0;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}

.project-modal-content {
    max-width: 1000px; margin: 0 auto;
    padding: 100px 40px 80px; position: relative;
}

.project-modal-content.scrollytelling {
    max-width: none;
    padding: 0;
}

.project-close {
    position: fixed; top: 28px; right: 28px; z-index: 5001;
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 0.75rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: 100px; padding: 10px 20px; cursor: pointer;
    transition: color .3s, border-color .3s, background .3s;
    opacity: 0; pointer-events: none;
}
.project-modal.active .project-close { opacity: 1; pointer-events: auto; }
.project-close:hover { color: var(--text-heading); border-color: var(--border-hover); background: rgba(255,255,255,0.06); }

/* ============================================
   CASE STUDY SECTIONS
   ============================================ */

.cs-section {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 80px;
}
.cs-section:last-child { margin-bottom: 0; }
.cs-section.visible { opacity: 1; transform: translateY(0); }

/* -- Header -- */
.cs-header { margin-bottom: 64px; }

.cs-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 0.65rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
}
.cs-badge--live { color: var(--green); background: rgba(74,222,128,0.06); border: 1px solid rgba(74,222,128,0.1); }
.cs-badge--dev { color: var(--amber); background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.1); }

.cs-title {
    font-family: var(--font-heading); font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700; color: var(--text-heading); letter-spacing: -0.04em;
    line-height: 1.02; margin-bottom: 20px;
}

.cs-tagline {
    font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text);
    max-width: 540px; line-height: 1.7; margin-bottom: 28px;
}

.cs-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cs-pill {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em;
    color: var(--text-muted); padding: 4px 14px;
    border: 1px solid var(--border); border-radius: 100px;
}

.cs-version {
    font-family: var(--font-mono); font-size: 0.7rem;
    color: var(--text-muted); letter-spacing: 0.06em;
}

/* -- Hero Visual (parallax container) -- */
.cs-hero-visual { margin-bottom: 96px; }

.cs-hero-frame {
    position: relative; overflow: hidden;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 20px;
    box-shadow:
        0 0 120px rgba(100,100,200,0.04),
        0 8px 40px rgba(0,0,0,0.4);
}

.cs-hero-img {
    width: 100%; height: auto; display: block;
    border-radius: 12px; object-fit: contain;
    will-change: transform;
}

.cs-hero-placeholder {
    width: 100%; aspect-ratio: 16/9;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0a0800, #0c0a04); border-radius: 12px;
}
.cs-hero-placeholder svg { width: 100%; max-width: 400px; }

/* -- Problem / Solution Grid -- */
.cs-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    padding: 64px 0; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cs-grid-label {
    display: block; font-family: var(--font-mono); font-size: 0.7rem;
    font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-heading); margin-bottom: 20px;
}

.cs-grid-text {
    font-size: 0.95rem; color: var(--text); line-height: 1.8;
}

/* -- Section Headings (shared) -- */
.cs-section-heading {
    font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700; color: var(--text-heading); letter-spacing: -0.03em;
    margin-bottom: 48px;
}

/* -- Feature Showcase -- */
.cs-feature {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: center; margin-bottom: 64px;
}
.cs-feature:last-child { margin-bottom: 0; }
.cs-feature--reverse { direction: rtl; }
.cs-feature--reverse > * { direction: ltr; }

.cs-feature-num {
    display: block; font-family: var(--font-mono); font-size: 0.7rem;
    color: var(--text-muted); letter-spacing: 0.1em; margin-bottom: 12px;
}

.cs-feature-title {
    font-family: var(--font-heading); font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700; color: var(--text-heading); letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cs-feature-desc {
    font-size: 0.9rem; color: var(--text); line-height: 1.8;
}

.cs-feature-visual {
    position: relative; overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.cs-feature-placeholder {
    aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(15,15,20,1), rgba(10,10,15,1));
    position: relative;
}
.cs-feature-placeholder::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(100,100,200,0.06), transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(60,40,100,0.04), transparent 50%);
}
.cs-feature-placeholder span {
    font-family: var(--font-mono); font-size: 0.75rem;
    color: var(--text-muted); letter-spacing: 0.12em;
    text-transform: uppercase; position: relative;
}

/* -- Technical Deep Dive (Stats) -- */
.cs-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.cs-stat {
    padding: 32px 28px; border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.015);
    transition: border-color .3s, background .3s;
}
.cs-stat:hover {
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.025);
}

.cs-stat-icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    color: var(--text-heading); font-size: 0.9rem;
}

.cs-stat-label {
    font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
    color: var(--text-heading); margin-bottom: 10px;
}

.cs-stat-desc {
    font-size: 0.85rem; color: var(--text-muted); line-height: 1.7;
}

/* -- Final CTA -- */
.cs-final {
    text-align: center; padding: 80px 0 0;
    border-top: 1px solid var(--border);
}

.cs-final-text {
    font-family: var(--font-heading); font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700; color: var(--text-heading); letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.cs-final-cta {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.85rem; font-weight: 500; color: var(--text-heading);
    padding: 16px 32px; border: 1px solid var(--border); border-radius: 100px;
    transition: border-color .3s, background .3s, gap .3s var(--ease-out);
    will-change: transform;
}
.cs-final-cta:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.03); gap: 14px; }

/* ============================================
   INSTASWEEP SCROLLYTELLING
   ============================================ */

/* -- Brand Intro -- */
.is-intro {
    position: relative;
    height: 350vh;
}
.is-intro-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--bg);
}
.is-intro-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    will-change: transform, opacity;
    opacity: 0;
}
.is-intro-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.is-intro-title {
    font-family: var(--font-body);
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
    white-space: nowrap;
}
.is-intro-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}
.is-intro-screenshot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 92%;
    max-width: 1100px;
    z-index: 1;
    will-change: transform;
    perspective: 1200px;
}
.is-intro-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
    background: #1a1a1e;
}
.is-intro-img {
    width: 100%;
    display: block;
}
.is-intro-titlebar {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    background: linear-gradient(180deg, #2a2a2e, #222226);
    border-bottom: 1px solid rgba(0,0,0,0.3);
}
.is-intro-dots {
    display: flex;
    gap: 7px;
}
.is-dot-r { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.is-dot-y { width: 11px; height: 11px; border-radius: 50%; background: #FEBC2E; }
.is-dot-g { width: 11px; height: 11px; border-radius: 50%; background: #28C840; }
.is-intro-titlebar-label {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}
.is-intro-titlebar-label img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

/* -- The Problem -- */
.is-problem {
    position: relative;
    height: 900vh;
}
.is-problem-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--bg);
}
.is-problem-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.04em;
    white-space: nowrap;
    will-change: transform, opacity;
}
.is-problem-cards {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: 42%;
    max-width: 480px;
    display: grid;
}
.is-problem-card {
    grid-area: 1 / 1;
    opacity: 0;
    will-change: transform, opacity;
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}
.is-problem-card-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}
.is-problem-card h4 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.is-problem-card p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
}

/* -- Progress Bar -- */
.is-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    opacity: 0;
    will-change: opacity;
}
.is-progress-track {
    width: 160px;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}
.is-progress-bar {
    width: 0%;
    height: 100%;
    background: #e88a3a;
    border-radius: 2px;
    will-change: width;
}
.is-progress-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* -- Features -- */
.is-features {
    position: relative;
    height: 900vh;
}
.is-features-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.is-features-label {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    will-change: opacity;
}
.is-features-cards {
    display: grid;
    width: 85%;
    max-width: 680px;
}
.is-features-card {
    grid-area: 1 / 1;
    opacity: 0;
    text-align: center;
    will-change: transform, opacity;
}
.is-features-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #e88a3a;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 20px;
}
.is-features-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    line-height: 1.1;
}
.is-features-desc {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
}
.is-features-screenshot {
    margin-top: 28px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.is-features-screenshot img {
    width: 100%;
    display: block;
}

/* -- Solution + CTA -- */
.is-solution {
    position: relative;
    height: 200vh;
}
.is-solution-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.is-solution-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    will-change: opacity;
}
.is-solution-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: #e88a3a;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 48px;
    opacity: 0;
    will-change: transform, opacity;
}
.is-solution-platforms-heading {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    will-change: opacity;
}
.is-solution-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 56px;
    opacity: 0;
    will-change: opacity, transform;
}
.is-platform {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text);
    letter-spacing: 0.04em;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: border-color 0.3s;
}
.is-platform:hover {
    border-color: var(--border-hover);
}
.is-cta-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    text-align: center;
    opacity: 0;
    will-change: transform, opacity;
}

/* -- CTA Section (bottom of presentation) -- */
.is-cta {
    position: relative;
    height: 150vh;
}
.is-cta-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.is-cta-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    text-align: center;
    opacity: 0;
    will-change: transform, opacity;
}

/* -- Vertical Progress Line (whole presentation) -- */
.is-vertical-progress {
    position: fixed;
    right: 20px;
    top: 0;
    width: 2px;
    height: 0%;
    background: rgba(255,255,255,0.3);
    z-index: 100;
    pointer-events: none;
    will-change: height;
}

/* -- Coming Soon (Audio Tech) -- */
.cs-coming-soon {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cs-coming-soon-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}
.cs-coming-soon-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */

.section-contact {
    position: relative; z-index: 10;
    background: var(--bg);
    padding: 180px 0 160px;
}

.contact-container {
    text-align: center; display: flex; flex-direction: column; align-items: center;
}

.contact-title {
    font-family: var(--font-heading); font-size: clamp(3rem,8vw,7rem);
    font-weight: 700; color: var(--text-heading); letter-spacing: -0.05em;
    margin-bottom: 40px; line-height: 1.1; overflow: hidden;
}
.contact-title .word { display: inline-block; transform: translateY(120%); will-change: transform; }

.contact-sub {
    font-size: 1rem; color: var(--text); max-width: 420px;
    margin-bottom: 64px; line-height: 1.7; opacity: 0; transform: translateY(20px);
}

.contact-vortex { position: relative; width: 220px; height: 220px; margin-bottom: 48px; }

.contact-orb {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--border-hover);
    background: rgba(255,255,255,0.02); cursor: pointer;
    transition: background .4s, border-color .4s; will-change: transform;
}
.contact-orb:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }

.contact-orb-text {
    font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
    color: var(--text-heading); letter-spacing: 0.15em; text-align: center;
    line-height: 1.4; text-transform: uppercase;
}

.contact-orb-ring {
    position: absolute; inset: -12px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.04); animation: orbSpin 12s linear infinite;
}
.contact-orb-ring--2 {
    inset: -24px; border-style: dashed; border-color: rgba(255,255,255,0.03);
    animation-duration: 20s; animation-direction: reverse;
}
@keyframes orbSpin { 0%{transform:rotate(0)}100%{transform:rotate(360deg)} }

.contact-email-label {
    font-family: var(--font-mono); font-size: 0.8rem;
    color: var(--text-muted); letter-spacing: 0.06em;
    opacity: 0; transform: translateY(15px);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    position: relative; z-index: 11;
    background: var(--bg);
    padding: 0 0 48px; border-top: 1px solid var(--border); overflow: hidden;
}

.footer-massive { position: relative; padding: 80px 0 64px; overflow: hidden; }

.footer-massive-text,
.footer-massive-fill {
    display: block; font-family: var(--font-heading);
    font-size: clamp(3.5rem,11vw,10rem); font-weight: 700;
    letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
    text-align: center; width: 100%;
}
.footer-massive-text { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.06); }
.footer-massive-fill {
    position: absolute; top: 80px; left: 0;
    color: var(--text-heading); clip-path: inset(0 100% 0 0);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-logo-sm { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em; color: var(--text-heading); display: block; margin-bottom: 12px; }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); }
.footer-heading { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-heading); margin-bottom: 20px; font-family: var(--font-mono); }
.footer-link { display: block; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 12px; transition: color .2s; }
.footer-link:hover { color: var(--text-heading); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-legal, .footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .section { padding: 100px 0; }
    .nav { top: 12px; left: 12px; right: 12px; transform: none; border-radius: 16px; }
    .nav-inner { gap: 24px; height: 48px; padding: 0 16px; }
    .nav-links { gap: 20px; }
    .nav-link { font-size: 0.75rem; }
    .nav-logo { font-size: 0.6rem; }
    .hero-title { font-size: clamp(2.2rem,10vw,3.5rem); }
    .section-title { font-size: clamp(2rem,7vw,3rem); }

    .section-works { padding: 100px 0 80px; }
    .works-name { font-size: clamp(1.5rem, 8vw, 2.5rem); }
    .works-tag { display: none; }
    .works-arrow { display: none; }
    .works-row { padding: 28px 0; gap: 14px; }
    .works-preview { display: none; }

    .project-modal-content { padding: 80px 24px 60px; }
    .project-close { top: 16px; right: 16px; padding: 8px 16px; font-size: 0.7rem; }
    .cs-title { font-size: clamp(2rem, 8vw, 3rem); }
    .cs-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
    .cs-feature { grid-template-columns: 1fr; gap: 28px; }
    .cs-feature--reverse { direction: ltr; }
    .cs-stats { grid-template-columns: 1fr; gap: 16px; }
    .cs-hero-frame { padding: 12px; border-radius: 14px; }
    .cs-hero-img { border-radius: 8px; }
    .cs-section { margin-bottom: 56px; }
    .cs-section-heading { margin-bottom: 32px; }

    .is-intro { height: 280vh; }
    .is-intro-title { font-size: clamp(2rem, 12vw, 3.5rem); }
    .is-intro-screenshot { width: 92%; }
    .is-intro-frame { border-radius: 12px; }
    .is-problem { height: 700vh; }
    .is-problem-heading { font-size: clamp(2rem, 8vw, 3rem); }
    .is-problem-cards { right: auto; left: 50%; transform: translate(-50%, -50%); width: 85%; }
    .is-problem-card { padding: 28px; }
    .is-features { height: 700vh; }
    .is-features-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .is-solution { height: 160vh; }
    .is-solution-title { font-size: clamp(2.5rem, 10vw, 4rem); }
    .is-cta { height: 120vh; }
    .is-solution-platforms { gap: 8px; }
    .is-platform { font-size: 0.7rem; padding: 6px 14px; }

    .section-contact { padding: 120px 0 100px; }
    .contact-title { font-size: clamp(2.5rem,12vw,4rem); }
    .contact-vortex { width: 180px; height: 180px; }
    .contact-orb-text { font-size: 0.9rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .cursor-glow { display: none; }
    .preloader-counter { bottom: 32px; right: 32px; font-size: clamp(3rem,12vw,5rem); }
    .footer-massive-text, .footer-massive-fill { font-size: clamp(2.5rem,12vw,5rem); }
    .footer-massive-fill { top: 80px; }
}

@media (max-width: 480px) {
    .section { padding: 80px 0; }
    .container { padding: 0 20px; }
    .contact-email-label { font-size: 0.7rem; }
    .preloader-counter { bottom: 24px; right: 24px; }
}
