/* ============================================================
   PUSHPA EDITS — STUDIO GRAPHITE GRAY & CANARY YELLOW SYSTEM
   Carbon Gray (#0E0F12) · Slate Gray (#15171C) · Gunmetal (#1A1D24)
   Mist Gray (#F3F4F6) · Pewter Gray (#9CA3AF) · Studio Yellow (#FACC15)
   Tech: Three.js WebGL + GSAP ScrollTrigger + Lenis Smooth Scroll
   ============================================================ */
:root {
    --bg: #0E0F12;
    --bg-elevated: #15171C;
    --surface: rgba(26, 29, 36, 0.82);
    --surface-solid: #1A1D24;
    --surface-light: #252932;
    --pearl: #F3F4F6;
    --silver: #9CA3AF;
    --slate-muted: #6B7280;
    --yellow: #FACC15;
    --yellow-bright: #FDE047;
    --yellow-amber: #EAB308;
    --gray-light: #D1D5DB;
    --border: rgba(209, 213, 219, 0.11);
    --border-strong: rgba(209, 213, 219, 0.22);
    --border-yellow: rgba(250, 204, 21, 0.44);
    --yellow-glow: rgba(250, 204, 21, 0.16);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --radius: 18px;
}

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

/* Touch-friendly: remove tap highlight, improve tap targets */
* { -webkit-tap-highlight-color: transparent; }
button, a, [role="button"], [tabindex] { touch-action: manipulation; }
img, video { max-width: 100%; display: block; }

html {
    background: var(--bg);
    scroll-behavior: auto;
}

body {
    background: var(--bg);
    color: var(--pearl);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }

/* THREE.JS WEBGL CANVAS + AMBIENT STUDIO GLOW */
#webgl-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.72;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(55vw 55vw at 86% 8%, rgba(250, 204, 21, 0.09), transparent 62%),
        radial-gradient(52vw 52vw at 10% 78%, rgba(156, 163, 175, 0.08), transparent 62%);
}

main, footer { position: relative; z-index: 1; }

/* SCROLL PROGRESS BAR */
#scrollProgress {
    position: fixed;
    top: 0; left: 0;
    height: 2.5px; width: 0%;
    background: linear-gradient(90deg, var(--silver), var(--yellow-amber), var(--yellow-bright));
    z-index: 9995;
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.55);
}

/* FLOATING FROSTED "WATCH" LENS (VIDEO CARDS ONLY) */
#playCursor {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    width: 82px; height: 82px;
    border-radius: 50%;
    background: rgba(20, 22, 27, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid var(--border-yellow);
    color: var(--yellow);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 28px rgba(250, 204, 21, 0.22);
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.5);
    transition: opacity 0.2s var(--ease), transform 0.28s var(--ease);
    will-change: transform, opacity;
}
#playCursor.visible { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }

/* LOADER */
#loader {
    position: fixed; inset: 0;
    background: var(--bg); z-index: 9990;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
    transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 3.1rem; font-style: italic;
    background: linear-gradient(135deg, var(--pearl), var(--yellow-bright), var(--yellow-amber));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.loader-bar { width: 150px; height: 2px; background: rgba(209, 213, 219, 0.14); overflow: hidden; position: relative; border-radius: 2px; }
.loader-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--silver), var(--yellow)); transform-origin: left; animation: loadFill 0.45s var(--ease) forwards; }
@keyframes loadFill { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

/* ============================================================
   ADVANCED FLOATING GLASS DOCK HEADER + LIVE MEGA-MENU
   ============================================================ */
header.dock-header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 clamp(1rem, 4vw, 3.5rem);
    z-index: 2000;
    pointer-events: none;
    transition: top 0.35s var(--ease);
}

header.dock-header.scrolled {
    top: 10px;
}

#nav.floating-dock {
    pointer-events: auto;
    position: relative;
    max-width: 1380px;
    margin: 0 auto;
    height: 66px;
    padding: 0 0.75rem 0 1.55rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: rgba(21, 23, 28, 0.82);
    backdrop-filter: blur(28px) saturate(165%);
    -webkit-backdrop-filter: blur(28px) saturate(165%);
    border: 1px solid rgba(209, 213, 219, 0.16);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.35s var(--ease), border-color 0.35s, height 0.35s var(--ease);
}

header.dock-header.scrolled #nav.floating-dock {
    height: 60px;
    background: rgba(14, 15, 18, 0.94);
    border-color: var(--border-yellow);
}

.dock-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--pearl);
    white-space: nowrap;
}

.nav-logo .dot { color: var(--yellow); }

.nav-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(209, 213, 219, 0.08);
}

.nav-pill-bg {
    position: absolute;
    top: 4px;
    left: 0;
    height: calc(100% - 8px);
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.14);
    border: 1px solid rgba(250, 204, 21, 0.38);
    pointer-events: none;
    opacity: 0;
    transition: transform 0.32s var(--ease), width 0.32s var(--ease), opacity 0.2s;
}

.nav-links > li > a,
.nav-dropdown-btn {
    position: relative;
    z-index: 2;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--pearl);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn {
    color: var(--yellow);
}

/* BENTO MEGA-MENU WITH LIVE VIDEO PREVIEW */
.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: min(880px, calc(100vw - 2rem));
    background: rgba(21, 23, 28, 0.97);
    backdrop-filter: blur(32px) saturate(160%);
    -webkit-backdrop-filter: blur(32px) saturate(160%);
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    padding: 1.15rem;
    display: grid;
    grid-template-columns: 0.85fr 1.25fr;
    gap: 1.15rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.85), 0 0 40px rgba(250, 204, 21, 0.1);
    transition: all 0.28s var(--ease);
    z-index: 2100;
}

.mega-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-list {
    display: grid;
    gap: 0.45rem;
}

.mega-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.78rem 1rem;
    border-radius: 13px;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.mega-item:hover,
.mega-item.active {
    background: rgba(250, 204, 21, 0.1);
    border-color: var(--border-yellow);
    transform: translateX(4px);
}

.mega-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pearl);
}

.mega-item span {
    font-size: 0.75rem;
    color: var(--silver);
}

.mega-price {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--yellow);
    white-space: nowrap;
}

.mega-preview {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mega-preview-vid {
    flex: 1;
    min-height: 220px;
    max-height: 260px;
    overflow: hidden;
    background: #000;
}

.mega-preview-vid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mega-preview-foot {
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    background: var(--surface-solid);
}

.mega-preview-foot strong { font-size: 0.84rem; font-weight: 700; color: var(--pearl); }
.mega-preview-foot span { font-size: 0.72rem; color: var(--yellow); font-weight: 600; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.dock-reel-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--pearl);
    padding: 0.56rem 1rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.dock-reel-btn:hover {
    border-color: var(--border-yellow);
    background: rgba(250, 204, 21, 0.14);
    color: var(--yellow);
}

.nav-cta {
    background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber));
    color: #0E0F12;
    padding: 0.58rem 1.3rem;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.22s var(--ease), box-shadow 0.22s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(250, 204, 21, 0.36);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 12px;
    cursor: pointer;
}

.nav-burger span { width: 16px; height: 1.5px; background: var(--pearl); }

.mobile-drawer {
    position: fixed; inset: 0;
    background: rgba(14, 15, 18, 0.98);
    backdrop-filter: blur(24px);
    z-index: 1900;
    display: flex; flex-direction: column; justify-content: center;
    padding: 6.5rem 8vw 3rem; gap: 1rem;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: all 0.3s var(--ease);
}
.mobile-drawer.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-drawer a { font-size: 1.35rem; font-weight: 700; color: var(--pearl); border-bottom: 1px solid var(--border); padding-bottom: 0.7rem; }
.mobile-drawer a small { display: block; font-size: 0.7rem; font-weight: 700; color: var(--yellow); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.15rem; }

/* ============================================================
   HERO SECTION — 3-VIDEO BACKDROP + SPOTLIGHT SHOWREEL
   ============================================================ */
.hero {
    position: relative;
    min-height: 96vh;
    display: flex;
    align-items: center;
    padding: 8.2rem clamp(1.25rem, 5vw, 4.5rem) 4.5rem;
    overflow: hidden;
    background: var(--bg);
}

.hero-bg-videos {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    z-index: 0;
    will-change: transform;
}

.hero-bg-vid {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.38) contrast(1.08) saturate(0.75);
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 80% 24%, rgba(250, 204, 21, 0.16), transparent 52%),
        radial-gradient(circle at 18% 82%, rgba(156, 163, 175, 0.14), transparent 54%),
        linear-gradient(180deg, rgba(14, 15, 18, 0.68) 0%, rgba(14, 15, 18, 0.36) 46%, rgba(14, 15, 18, 0.98) 100%);
}

.hero-layout {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    background: rgba(26, 29, 36, 0.82);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-yellow);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--yellow);
    margin-bottom: 1.4rem;
}

.hero-eyebrow .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.85rem, 6.2vw, 5.5rem);
    line-height: 1.01;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--pearl);
    margin-bottom: 1.4rem;
}

.hero-title em {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--yellow-bright) 52%, var(--yellow-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1em;
}

.hero-desc {
    max-width: 550px;
    font-size: 1.04rem;
    color: var(--gray-light);
    margin-bottom: 2.1rem;
    line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.btn-fill {
    background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber));
    color: #0E0F12;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    display: inline-flex; align-items: center; gap: 0.55rem;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(250, 204, 21, 0.34); }

.btn-outline {
    border: 1px solid var(--border-strong);
    background: rgba(26, 29, 36, 0.72);
    backdrop-filter: blur(12px);
    color: var(--pearl);
    padding: 0.95rem 1.85rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 0.55rem;
    transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.btn-outline:hover { border-color: var(--yellow); background: rgba(250, 204, 21, 0.12); transform: translateY(-2px); }

/* Hero Spotlight Card (Video First Top, Matter Bottom) */
.hero-spotlight {
    justify-self: start;
    width: min(360px, 100%);
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 0.75rem;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.75), 0 0 46px rgba(250, 204, 21, 0.11);
    cursor: pointer;
    transition: transform 0.4s var(--ease), border-color 0.3s;
}
.hero-spotlight:hover { transform: translateY(-6px); border-color: var(--yellow); }
.hero-spotlight-vid { aspect-ratio: 9 / 13.2; border-radius: 17px; overflow: hidden; background: #000; position: relative; }
.hero-spotlight-vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-spotlight-meta { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0.55rem 0.35rem; gap: 0.75rem; }
.hero-spotlight-meta strong { display: block; font-size: 0.98rem; font-weight: 700; color: var(--pearl); }
.hero-spotlight-meta span { font-size: 0.76rem; color: var(--yellow); font-weight: 600; }
.spotlight-play-btn {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber));
    color: #0E0F12; display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
    border-top: 1px solid var(--border-yellow);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    padding: 1.05rem 0;
    overflow: hidden;
}
.marquee-track { display: flex; align-items: center; gap: 2.8rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 1.35rem; color: var(--pearl); white-space: nowrap; }
.marquee-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   SHARED SECTION HEADERS
   ============================================================ */
.section-eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.6rem; }
.section-title { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; color: var(--pearl); }
.section-title em {
    font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.12em;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--yellow-bright) 52%, var(--yellow-amber) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.section-count { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(2.6rem, 4.2vw, 3.8rem); color: rgba(250, 204, 21, 0.35); line-height: 1; }

/* ============================================================
   RECENT PROJECTS SHOWCASE (VIDEOS FIRST, MATTER AT BOTTOM)
   ============================================================ */
.reel-section {
    padding: 6.5rem clamp(1.25rem, 5vw, 4.5rem);
    background: var(--bg);
}

.work-controls { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.filter-btn {
    background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
    color: var(--silver); padding: 0.52rem 1.15rem; font-family: inherit; font-size: 0.82rem; font-weight: 600;
    transition: all 0.2s var(--ease); cursor: pointer;
}
.filter-btn:hover { color: var(--pearl); border-color: var(--border-yellow); }
.filter-btn.active { background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber)); color: #0E0F12; border-color: transparent; font-weight: 800; }

.view-switcher { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem; gap: 0.2rem; }
.view-btn { background: transparent; border: none; color: var(--silver); padding: 0.42rem 0.95rem; border-radius: 999px; font-family: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.view-btn.active { background: rgba(250, 204, 21, 0.16); color: var(--yellow); }

/* Featured Widescreen Showcase: Video First (Top), Matter at Bottom */
.featured-project {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(30, 34, 42, 0.92), rgba(21, 23, 28, 0.98));
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 1rem;
    margin-bottom: 2.2rem;
    cursor: pointer;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.68);
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.featured-project:hover {
    transform: translateY(-4px);
    border-color: var(--border-yellow);
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.78), 0 0 40px rgba(250, 204, 21, 0.12);
}
.featured-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 480px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    position: relative;
}
.featured-media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.65s var(--ease); }
.featured-project:hover .featured-media video { transform: scale(1.025); }
.featured-details {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 1.5rem 2.5rem;
    align-items: center;
    padding: 1.5rem 0.9rem 0.65rem;
}
.featured-badge {
    display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--yellow);
    background: rgba(250, 204, 21, 0.12); border: 1px solid var(--border-yellow);
    padding: 0.3rem 0.82rem; border-radius: 999px; margin-bottom: 0.75rem;
}
.featured-details h3 { font-size: clamp(1.45rem, 2.3vw, 2.05rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.45rem; color: var(--pearl); }
.featured-details p { font-size: 0.92rem; color: var(--silver); line-height: 1.65; max-width: 680px; }
.featured-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.9rem;
}
.featured-specs { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: flex-end; }
.featured-specs span { font-size: 0.74rem; font-weight: 600; padding: 0.32rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--pearl); }

/* Bento Grid: Video Top, Matter Bottom Card Architecture */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }
.bento-grid.reel-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.35rem; padding-bottom: 1.25rem; scrollbar-width: thin; scrollbar-color: var(--yellow) transparent; }
.bento-grid.reel-strip .bento-item { flex: 0 0 295px; scroll-snap-align: start; }

.bento-item {
    display: flex;
    flex-direction: column;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.bento-item.landscape { grid-column: span 2; }
.bento-item:hover {
    transform: translateY(-6px);
    border-color: var(--border-yellow);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.78), 0 0 36px rgba(250, 204, 21, 0.14);
}

.bento-media {
    position: relative;
    flex: 1;
    width: 100%;
    aspect-ratio: 9 / 13;
    overflow: hidden;
    background: #000;
}
.bento-item.landscape .bento-media {
    aspect-ratio: 16 / 9;
}
.bento-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.65s var(--ease); }
.bento-item:hover .bento-thumb { transform: scale(1.04); }

.bento-top-pill {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    background: rgba(14, 15, 18, 0.78);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--yellow);
}

.bento-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    background: var(--surface-solid);
    border-top: 1px solid var(--border);
}
.bento-name { font-size: 1.02rem; font-weight: 700; color: var(--pearl); line-height: 1.25; }
.bento-cat { font-size: 0.75rem; color: var(--silver); margin-top: 0.18rem; }
.bento-play-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.bento-play-icon svg { width: 12px; height: 12px; fill: var(--pearl); margin-left: 2px; }
.bento-item:hover .bento-play-icon { background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber)); border-color: transparent; transform: scale(1.08); }
.bento-item:hover .bento-play-icon svg { fill: #0E0F12; }

/* ============================================================
   BEFORE / AFTER COLOR GRADING SLIDER (VIDEO FIRST, MATTER BOTTOM)
   ============================================================ */
.grade-section { padding: 6.5rem clamp(1.25rem, 5vw, 4.5rem); background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grade-wrap { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.grade-compare { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 540px; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong); user-select: none; cursor: ew-resize; background: #000; box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72); }
.grade-layer { position: absolute; inset: 0; }
.grade-layer video { width: 100%; height: 100%; object-fit: cover; display: block; }
.grade-raw video { filter: saturate(0.22) contrast(0.75) brightness(1.05); }
.grade-graded { clip-path: inset(0 0 0 50%); }
.grade-graded video { filter: saturate(1.22) contrast(1.1) brightness(0.98); }
.grade-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--yellow); z-index: 4; pointer-events: none; box-shadow: 0 0 12px rgba(250, 204, 21, 0.6); }
.grade-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber)); color: #0E0F12; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 800; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); }
.grade-tag { position: absolute; bottom: 16px; padding: 0.34rem 0.85rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: rgba(14, 15, 18, 0.82); backdrop-filter: blur(8px); border: 1px solid var(--border); color: var(--silver); z-index: 3; }
.grade-tag.left { left: 16px; }
.grade-tag.right { right: 16px; color: var(--yellow); border-color: var(--border-yellow); }
.grade-matter {
    display: grid;
    grid-template-columns: 1.25fr auto;
    gap: 2rem;
    align-items: end;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 2.2rem;
}

/* ============================================================
   CATEGORIES HUB (VIDEO PREVIEW FIRST TOP, MATTER BOTTOM)
   ============================================================ */
.categories-section {
    padding: 6.5rem clamp(1.25rem, 5vw, 4.5rem);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

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

.cat-card {
    position: relative;
    background: var(--surface);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.95rem;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow: hidden;
    transition: transform 0.38s var(--ease), border-color 0.3s, box-shadow 0.38s;
}
.cat-card--highlight {
    border-color: var(--border-yellow);
    background: linear-gradient(155deg, rgba(250, 204, 21, 0.10), var(--surface));
}
.cat-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(250, 204, 21, 0.12), transparent 58%);
    opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--border-yellow); box-shadow: 0 26px 64px rgba(0, 0, 0, 0.65); }
.cat-card:hover::before { opacity: 1; }

.cat-video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
    margin-bottom: 1.15rem;
}
.cat-video-wrap video {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.55s var(--ease);
}
.cat-card:hover .cat-video-wrap video { transform: scale(1.04); }
.cat-pill {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    font-size: 0.68rem; font-weight: 700; padding: 0.28rem 0.75rem; border-radius: 999px;
    background: rgba(14, 15, 18, 0.82); backdrop-filter: blur(8px);
    border: 1px solid var(--border-yellow); color: var(--yellow);
}
.cat-card-body { padding: 0 0.45rem 0.35rem; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.cat-card h3 { font-size: 1.24rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; color: var(--pearl); }
.cat-card p { font-size: 0.87rem; color: var(--silver); line-height: 1.65; margin-bottom: 1.25rem; }
.cat-card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 0.9rem; border-top: 1px solid var(--border); font-size: 0.82rem; font-weight: 700; color: var(--pearl); }
.cat-card-foot svg { color: var(--yellow); transition: transform 0.25s var(--ease); }
.cat-card:hover .cat-card-foot svg { transform: translateX(4px); }

/* ============================================================
   THEATRE VIDEO MODAL
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(10, 11, 14, 0.93); backdrop-filter: blur(24px); z-index: 8000; display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: min(1040px, 95vw); background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 22px; padding: 0.9rem; box-shadow: 0 36px 100px rgba(0, 0, 0, 0.85); }
.modal-box video { width: 100%; max-height: 76vh; border-radius: 14px; background: #000; display: block; }
.modal-close { position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber)); color: #0E0F12; border: none; font-size: 1rem; font-weight: 800; cursor: pointer; z-index: 10; }
.modal-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 0.4rem 0.25rem; gap: 1rem; flex-wrap: wrap; }
.modal-title { font-size: 0.95rem; font-weight: 700; color: var(--pearl); }
.modal-nav { display: flex; gap: 0.55rem; }
.modal-nav button { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border); color: var(--pearl); padding: 0.42rem 0.95rem; border-radius: 999px; font-family: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.modal-nav button:hover { border-color: var(--yellow); color: var(--yellow); }

/* ============================================================
   ABOUT, SERVICES, TESTIMONIALS, CONTACT, FOOTER
   ============================================================ */
.about-section { padding: 6.5rem clamp(1.25rem, 5vw, 4.5rem); background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.about-split { display: grid; grid-template-columns: 0.85fr 1.2fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; }
.about-vid-frame { aspect-ratio: 9 / 13; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong); background: #000; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65); }
.about-vid-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-accent-box { position: absolute; bottom: -1.3rem; right: -1.3rem; background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber)); color: #0E0F12; padding: 1.25rem 1.65rem; border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); }
.about-accent-num { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-accent-label { font-size: 0.72rem; font-weight: 700; margin-top: 0.25rem; }

.about-lead { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; margin-bottom: 1.2rem; }
.about-lead em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: var(--yellow); font-size: 1.15em; }
.about-body { font-size: 0.96rem; color: var(--silver); line-height: 1.75; margin-bottom: 1rem; }
.skills-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem; }
.skill-tag { font-size: 0.76rem; font-weight: 600; padding: 0.42rem 0.95rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--yellow); }
.stats-band { display: flex; flex-wrap: wrap; gap: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.stat-n { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--pearl); }
.stat-l { font-size: 0.78rem; color: var(--silver); }

.services-section { padding: 6.5rem clamp(1.25rem, 5vw, 4.5rem); background: var(--bg); border-top: 1px solid var(--border); }
.services-list { border-top: 1px solid var(--border); }
.service-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 2rem; padding: 2rem 1.2rem; border-bottom: 1px solid var(--border); border-radius: 14px; transition: background 0.25s, padding-left 0.3s var(--ease); }
.service-row:hover { background: rgba(250, 204, 21, 0.06); padding-left: 1.65rem; }
.svc-n { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 1.55rem; color: var(--yellow); }
.svc-name { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.svc-desc { font-size: 0.9rem; color: var(--silver); max-width: 640px; margin-bottom: 0.75rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.svc-tag { font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 999px; border: 1px solid var(--border); color: var(--silver); }
.svc-price { text-align: right; }
.svc-from { font-size: 0.72rem; color: var(--silver); }
.svc-amt { font-size: 1.35rem; font-weight: 800; color: var(--pearl); }
.svc-arrow { font-size: 1.2rem; color: var(--yellow); margin-top: 0.2rem; transition: transform 0.25s var(--ease); }
.service-row:hover .svc-arrow { transform: translateX(5px); }

.testimonials-section { padding: 6.5rem clamp(1.25rem, 5vw, 4.5rem); background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testimonials-slider { margin-top: 2.5rem; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.55s var(--ease); }
.testimonial-slide { min-width: 100%; padding: 0 1.5rem; }
.testimonial-inner { max-width: 740px; margin: 0 auto; text-align: center; }
.testi-text { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.45; margin-bottom: 2rem; color: var(--pearl); }
.testi-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--surface-solid); border: 1px solid var(--border-yellow); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testi-name { font-weight: 700; font-size: 0.92rem; text-align: left; }
.testi-role { font-size: 0.78rem; color: var(--silver); text-align: left; }
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.slider-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-light); border: none; transition: all 0.25s; cursor: pointer; }
.slider-dot.active { background: var(--yellow); width: 24px; border-radius: 4px; }

.contact-section { padding: 6.5rem clamp(1.25rem, 5vw, 4.5rem); background: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 5rem; }
.contact-left h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.2rem; }
.contact-left h2 em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: var(--yellow); font-size: 1.12em; }
.contact-left p { font-size: 0.94rem; line-height: 1.75; color: var(--silver); margin-bottom: 2rem; }
.contact-lines { display: flex; flex-direction: column; }
.contact-line { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.contact-line-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-line-icon svg { width: 16px; height: 16px; stroke: var(--yellow); fill: none; stroke-width: 1.8; }
.contact-line-label { font-size: 0.72rem; font-weight: 600; color: var(--silver); }
.contact-line-val { font-size: 0.92rem; color: var(--pearl); font-weight: 600; }

.cform { display: flex; flex-direction: column; gap: 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 2rem; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cform-group { display: flex; flex-direction: column; gap: 0.42rem; }
.cform-label { font-size: 0.78rem; font-weight: 600; color: var(--silver); }
.cform-input, .cform-select, .cform-textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; color: var(--pearl); padding: 0.9rem 1rem; font-family: inherit; font-size: 0.88rem; outline: none; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.cform-input:focus, .cform-select:focus, .cform-textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.14); }
.cform-select option { background: var(--surface-solid); }
.cform-textarea { resize: vertical; min-height: 120px; }
.cform-submit { background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber)); color: #0E0F12; border: none; border-radius: 999px; padding: 0.95rem 2.2rem; font-family: inherit; font-size: 0.88rem; font-weight: 800; align-self: flex-start; cursor: pointer; transition: all 0.25s var(--ease); }
.cform-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(250, 204, 21, 0.32); }

/* CATEGORY DETAIL PAGE (VIDEOS FIRST, MATTER AT BOTTOM) */
.page-hero {
    padding: 8.8rem clamp(1.25rem, 5vw, 4.5rem) 4rem;
    background: radial-gradient(45vw 45vw at 20% 15%, rgba(250, 204, 21, 0.10), transparent 60%), var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--silver); margin-bottom: 1.8rem; }
.breadcrumb a:hover { color: var(--pearl); }
.breadcrumb span { color: var(--yellow); font-weight: 600; }
.page-hero-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 3.5rem; align-items: center; }
.page-hero-grid.wide-first { grid-template-columns: 1.08fr 0.92fr; }
.page-hero-title { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 1.25rem; }
.page-hero-title em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: var(--yellow); font-size: 1.12em; }
.page-hero-lead { font-size: 1rem; color: var(--silver); line-height: 1.75; margin-bottom: 1.8rem; max-width: 600px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); margin-top: 1.8rem; }
.meta-chip strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--pearl); }
.meta-chip span { font-size: 0.76rem; color: var(--silver); }
.hero-preview-box {
    border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong);
    aspect-ratio: 9 / 12; width: min(370px, 100%); justify-self: start; background: #000;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(250, 204, 21, 0.08);
    cursor: pointer; position: relative;
}
.hero-preview-box.landscape { aspect-ratio: 16 / 10; width: 100%; }
.hero-preview-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-preview-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.6rem 1.15rem 0.95rem;
    background: linear-gradient(180deg, transparent, rgba(14, 15, 18, 0.94));
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.78rem; font-weight: 700; color: var(--yellow);
}

.detail-section { padding: 6rem clamp(1.25rem, 5vw, 4.5rem); border-bottom: 1px solid var(--border); }
.detail-section.alt { background: var(--bg-elevated); }
.pipeline-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; margin-top: 2.5rem; align-items: start; }
.pipeline-tabs { display: grid; gap: 0.8rem; }
.pipeline-tab { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem 1.4rem; cursor: pointer; transition: all 0.25s var(--ease); color: var(--pearl); font-family: inherit; }
.pipeline-tab span { display: block; font-size: 0.72rem; font-weight: 700; color: var(--yellow); margin-bottom: 0.2rem; }
.pipeline-tab strong { font-size: 1.05rem; font-weight: 700; }
.pipeline-tab.active, .pipeline-tab:hover { border-color: var(--border-yellow); background: rgba(250, 204, 21, 0.1); transform: translateX(4px); }
.pipeline-panel { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; padding: 2.2rem; }
.pipeline-panel h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 0.85rem; }
.pipeline-panel p { font-size: 0.95rem; color: var(--silver); line-height: 1.75; margin-bottom: 1.4rem; }
.pipeline-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pipeline-tools span { font-size: 0.76rem; font-weight: 600; padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(250, 204, 21, 0.12); border: 1px solid rgba(250, 204, 21, 0.25); color: var(--yellow); }

.specs-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
.deliverables-list { list-style: none; display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.deliverables-list li { display: flex; align-items: flex-start; gap: 0.85rem; padding: 1.05rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; font-size: 0.92rem; }
.deliverables-list li::before { content: '◆'; color: var(--yellow); font-size: 0.78rem; margin-top: 0.25rem; flex-shrink: 0; }
.spec-table { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; padding: 1.75rem; }
.spec-row { display: flex; justify-content: space-between; padding: 0.88rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; gap: 1rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row span { color: var(--silver); }
.spec-row strong { color: var(--pearl); text-align: right; }

.faq-list { display: grid; gap: 0.85rem; margin-top: 2rem; max-width: 880px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.3rem 1.6rem; }
.faq-item[open] { border-color: var(--border-yellow); }
.faq-item summary { font-size: 1.05rem; font-weight: 700; cursor: pointer; color: var(--pearl); }
.faq-item p { margin-top: 0.8rem; font-size: 0.9rem; color: var(--silver); line-height: 1.75; }

footer { padding: 3.5rem clamp(1.25rem, 5vw, 4.5rem); border-top: 1px solid var(--border); background: var(--bg-elevated); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.footer-logo { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; color: var(--pearl); margin-bottom: 0.7rem; display: inline-block; }
.footer-logo span { color: var(--yellow); }
.footer-col h4 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.86rem; color: var(--silver); transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: 0.78rem; color: var(--silver); flex-wrap: wrap; gap: 1rem; }

.r { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); will-change: opacity, transform; }
.r.on { opacity: 1; transform: translate3d(0, 0, 0); }

@media (prefers-reduced-motion: reduce) {
    .r { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
}

.whatsapp-float { position: fixed; bottom: 26px; right: 26px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.32); z-index: 1000; transition: transform 0.25s var(--ease); }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); }

/* ============================================================
   TABLET  ≤ 1150px
   ============================================================ */
@media (max-width: 1150px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-layout,
    .page-hero-grid,
    .page-hero-grid.wide-first,
    .specs-grid,
    .pipeline-wrap { grid-template-columns: 1fr; gap: 2.2rem; }
    .featured-details, .grade-matter { grid-template-columns: 1fr; }
    .featured-right { align-items: flex-start; }
    .featured-specs { justify-content: flex-start; }
    .hero-spotlight { justify-self: center; max-width: 480px; width: 100%; }
    .hero-spotlight-vid { aspect-ratio: 16 / 10; }
    .hero-preview-box { justify-self: center; width: 100%; aspect-ratio: 16 / 10; }
    .about-accent-box { right: -0.5rem; bottom: -0.5rem; }
}

/* ============================================================
   TABLET / LARGE MOBILE  ≤ 960px
   ============================================================ */
@media (max-width: 960px) {
    #playCursor { display: none; }

    /* Nav */
    .nav-links, .dock-reel-btn, .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .mega-menu { display: none; }

    /* Hero bg */
    .hero-bg-videos { grid-template-columns: 1fr; }
    .hero-bg-videos video:not(:first-child) { display: none; }

    /* Hero layout stacks: spotlight first, then text */
    .hero { padding: 7rem 1.25rem 3.5rem; min-height: auto; }
    .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-layout > *:first-child { order: 2; }   /* text second */
    .hero-spotlight { order: 1; justify-self: center; width: 100%; max-width: 100%; }
    .hero-spotlight-vid { aspect-ratio: 16 / 9; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.6rem); }
    .hero-desc { font-size: 0.95rem; }
    .hero-actions { flex-wrap: wrap; }

    /* Sections padding */
    .reel-section,
    .grade-section,
    .categories-section,
    .about-section,
    .services-section,
    .testimonials-section,
    .contact-section { padding: 4rem 1.25rem; }

    /* Work section controls */
    .work-controls { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
    .filter-bar { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.25rem;
        scrollbar-width: none; -ms-overflow-style: none; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn { flex-shrink: 0; font-size: 0.78rem; padding: 0.44rem 0.95rem; }

    /* Bento grid */
    .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
    .bento-item.landscape { grid-column: span 2; }

    /* Featured project */
    .featured-details { grid-template-columns: 1fr; gap: 1rem; padding: 1.1rem 0.6rem 0.5rem; }
    .featured-right { align-items: flex-start; }
    .featured-specs { justify-content: flex-start; }

    /* Grade slider */
    .grade-matter { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.4rem 1.25rem; }

    /* Category grid */
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    /* About */
    .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-vid-frame { max-height: 320px; aspect-ratio: 16 / 9; }
    .about-accent-box { right: 0.5rem; bottom: -0.75rem; padding: 0.9rem 1.2rem; }
    .about-accent-num { font-size: 1.5rem; }
    .stats-band { gap: 1.5rem; }

    /* Services */
    .service-row { grid-template-columns: 1fr; gap: 0.6rem; padding: 1.4rem 0.9rem; }
    .svc-price { text-align: left; }
    .svc-name { font-size: 1.1rem; }

    /* Contact */
    .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .cform-row { grid-template-columns: 1fr; }
    .cform { padding: 1.4rem; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

    /* Page hero (category pages) */
    .page-hero { padding: 7rem 1.25rem 2.5rem; }
    .page-hero-grid,
    .page-hero-grid.wide-first { grid-template-columns: 1fr; gap: 1.8rem; }
    .hero-preview-box { width: 100%; aspect-ratio: 16 / 9; }
    .hero-preview-box.landscape { aspect-ratio: 16 / 9; }

    /* Pipeline */
    .pipeline-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
    .detail-section { padding: 3.5rem 1.25rem; }

    /* Specs */
    .specs-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* Testimonials */
    .testi-text { font-size: clamp(1.2rem, 4vw, 1.65rem); }
    .testimonial-slide { padding: 0 0.5rem; }
}

/* ============================================================
   MOBILE  ≤ 600px
   ============================================================ */
@media (max-width: 600px) {
    /* Nav dock */
    header.dock-header { top: 10px; padding: 0 0.9rem; }
    #nav.floating-dock { height: 56px; padding: 0 0.55rem 0 1rem; border-radius: 999px; }
    .nav-logo { font-size: 1.1rem; }

    /* Sections */
    .reel-section,
    .grade-section,
    .categories-section,
    .about-section,
    .services-section,
    .testimonials-section,
    .contact-section { padding: 3rem 1rem; }
    .detail-section { padding: 2.8rem 1rem; }
    .page-hero { padding: 5.5rem 1rem 2rem; }

    /* Section headers */
    .section-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 1.75rem; }
    .section-count { display: none; }
    .section-title { font-size: clamp(1.75rem, 7.5vw, 2.4rem); }

    /* Hero */
    .hero { padding: 6rem 1rem 3rem; }
    .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
    .hero-desc { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .hero-actions { gap: 0.65rem; }
    .btn-fill, .btn-outline { padding: 0.82rem 1.5rem; font-size: 0.82rem; }
    .hero-spotlight-vid { aspect-ratio: 4 / 3; }

    /* Bento grid → single column */
    .bento-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .bento-item.landscape { grid-column: span 1; }
    .bento-item.landscape .bento-media { aspect-ratio: 16 / 9; }

    /* Featured project */
    .featured-project { padding: 0.65rem; margin-bottom: 1.5rem; }
    .featured-media { max-height: 240px; }
    .featured-details h3 { font-size: 1.25rem; }

    /* Grade slider */
    .grade-section { padding: 2.5rem 1rem; }
    .grade-compare { border-radius: 14px; }
    .grade-matter { padding: 1.1rem; border-radius: 14px; }

    /* Category cards */
    .cat-grid { grid-template-columns: 1fr; gap: 0.9rem; }
    .cat-card { padding: 0.75rem; }
    .cat-card h3 { font-size: 1.08rem; }

    /* About */
    .about-section { padding: 3rem 1rem; }
    .about-vid-frame { max-height: 260px; border-radius: 16px; }
    .about-accent-box { right: 0.3rem; bottom: -0.5rem; padding: 0.75rem 1rem; border-radius: 12px; }
    .about-accent-num { font-size: 1.3rem; }
    .about-lead { font-size: clamp(1.2rem, 5vw, 1.5rem); }
    .stats-band { gap: 1.2rem; }
    .stat-n { font-size: 1.5rem; }

    /* Services */
    .service-row { gap: 0.5rem; padding: 1.1rem 0.75rem; }
    .svc-n { font-size: 1.25rem; }
    .svc-name { font-size: 1rem; }
    .svc-desc { font-size: 0.84rem; }
    .svc-tags { gap: 0.35rem; }

    /* Testimonials */
    .testimonials-section { padding: 3rem 1rem; }
    .testi-text { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }
    .testi-author { gap: 0.65rem; }

    /* Contact */
    .contact-section { padding: 3rem 1rem; }
    .contact-left h2 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
    .cform { padding: 1.1rem; gap: 0.9rem; border-radius: 16px; }
    .cform-submit { width: 100%; text-align: center; justify-content: center; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 1.5rem; }
    footer { padding: 2.5rem 1rem; }
    .footer-bottom { font-size: 0.72rem; }

    /* Page hero (category detail) */
    .page-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .page-hero-lead { font-size: 0.9rem; }
    .page-hero-meta { gap: 1.2rem; }
    .meta-chip strong { font-size: 1rem; }
    .hero-preview-box { border-radius: 14px; }

    /* Pipeline */
    .pipeline-tab { padding: 0.9rem 1rem; }
    .pipeline-panel { padding: 1.4rem; border-radius: 14px; }
    .pipeline-panel h3 { font-size: 1.25rem; }

    /* Specs / FAQ */
    .spec-table { padding: 1.1rem; border-radius: 14px; }
    .faq-item { padding: 1rem 1.2rem; }
    .faq-item summary { font-size: 0.95rem; }

    /* Modal */
    .modal-overlay { padding: 0.75rem; align-items: flex-end; }
    .modal-box { width: 100%; border-radius: 18px 18px 0 0; padding: 0.6rem; }
    .modal-box video { max-height: 55vh; border-radius: 10px; }
    .modal-close { top: -12px; right: 8px; }
    .modal-bar { flex-direction: column; align-items: flex-start; padding: 0.6rem 0.3rem 0.15rem; gap: 0.5rem; }
    .modal-nav { flex-wrap: wrap; }

    /* WhatsApp float */
    .whatsapp-float { bottom: 18px; right: 18px; width: 50px; height: 50px; }

    /* Breadcrumb */
    .breadcrumb { font-size: 0.75rem; gap: 0.35rem; flex-wrap: wrap; }

    /* Mobile drawer spacing */
    .mobile-drawer { padding: 5.5rem 6vw 2.5rem; }
    .mobile-drawer a { font-size: 1.15rem; }
}

/* ============================================================
   TINY MOBILE  ≤ 390px
   ============================================================ */
@media (max-width: 390px) {
    .hero-title { font-size: 1.9rem; }
    .btn-fill, .btn-outline { padding: 0.75rem 1.2rem; font-size: 0.78rem; }
    .cat-card h3 { font-size: 1rem; }
    .cform-input, .cform-select, .cform-textarea { font-size: 0.84rem; }
    .nav-logo { font-size: 0.98rem; }
    .page-hero-title { font-size: 1.75rem; }
    .section-title { font-size: 1.65rem; }
}

/* ============================================================
   SAFE AREA — iPhone notch / Dynamic Island support
   ============================================================ */
@supports (padding: max(0px)) {
    footer {
        padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    }
    .whatsapp-float {
        bottom: max(18px, calc(env(safe-area-inset-bottom) + 14px));
        right: max(18px, calc(env(safe-area-inset-right) + 14px));
    }
    .mobile-drawer {
        padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
        padding-left: max(6vw, env(safe-area-inset-left));
        padding-right: max(6vw, env(safe-area-inset-right));
    }
    header.dock-header {
        padding-left: max(clamp(1rem, 4vw, 3.5rem), env(safe-area-inset-left));
        padding-right: max(clamp(1rem, 4vw, 3.5rem), env(safe-area-inset-right));
    }
}
