/* =========================================================
   SIRIUS BEATS — Storytelling portfolio (Ishika Dixit inspired)
   Palette: 4C · FOX / EMBER
   ========================================================= */

:root {
    --bg: #0F0906;
    --bg-2: #150C08;
    --bg-3: #1B120D;
    --surface: #221510;
    --surface-2: #2C1D14;
    --line: rgba(245, 235, 224, 0.09);
    --line-strong: rgba(245, 235, 224, 0.20);
    --ember: #FF6B35;
    --ember-2: #FF8A5B;
    --ember-soft: rgba(255, 107, 53, 0.16);
    --ember-glow: rgba(255, 107, 53, 0.35);
    --cream: #F5EBE0;
    --cream-dim: rgba(245, 235, 224, 0.62);
    --cream-faint: rgba(245, 235, 224, 0.35);
    --bubble-cream: #F5EBE0;
    --bubble-cream-shadow: rgba(0, 0, 0, 0.35);

    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-italic: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-hand: 'Caveat', cursive;

    --section-pad-y: clamp(48px, 5vw, 80px);
}

* { box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection { background: var(--ember); color: var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ember); border-radius: 10px; }

a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
img { display: block; max-width: 100%; }
em { font-style: italic; color: var(--ember); font-weight: 500; font-family: var(--font-italic); }
b { font-weight: 600; }

/* =========================================================
   GRAIN + LOADER
   ========================================================= */
.grain {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.loader {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: grid; place-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
    width: 100px !important;
    max-width: 100px !important;
    height: auto !important;
    animation: loaderPulse 1.6s ease-in-out infinite;
}
.loader-bar { width: 140px; height: 2px; background: rgba(255,107,53,0.14); margin-top: 20px; border-radius: 3px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--ember); animation: loaderSlide 1.2s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes loaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }

/* =========================================================
   TOP-LEFT BRAND LOGO
   ========================================================= */
.top-brand {
    position: fixed;
    top: 20px;
    left: 22px;
    z-index: 1000;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(27, 18, 13, 0.65);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(245, 235, 224, 0.18);
    padding: 4px;
    overflow: hidden;
    transition: transform 0.3s;
    animation: brandIn 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) 0.3s both;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55);
}
.top-brand:hover { transform: scale(1.06); }
.top-brand img { width: 100%; height: 100%; object-fit: contain; }
@keyframes brandIn {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* =========================================================
   TOP-RIGHT NAV (expands left on desktop / down on mobile)
   ========================================================= */
.top-nav {
    position: fixed;
    top: 20px;
    right: 22px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: topNavIn 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) 0.3s both;
}
@keyframes topNavIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Toggle button (hamburger / close) */
.top-nav-toggle {
    order: 2;
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(245, 235, 224, 0.18);
    background: rgba(27, 18, 13, 0.65);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    color: var(--cream);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55);
    transition: background 0.3s, transform 0.25s;
    padding: 0;
}
.top-nav-toggle:hover { background: rgba(27, 18, 13, 0.85); }
.top-nav-toggle .open-icon,
.top-nav-toggle .close-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.25s;
}
.top-nav-toggle .close-icon { opacity: 0; transform: rotate(-90deg); font-size: 18px; }
.top-nav.open .top-nav-toggle .open-icon { opacity: 0; transform: rotate(90deg); }
.top-nav.open .top-nav-toggle .close-icon { opacity: 1; transform: rotate(0); }
.top-nav.open .top-nav-toggle {
    background: var(--ember);
    border-color: var(--ember);
    color: var(--cream);
}

/* Nav-items pill — hidden by default, slides in horizontally on desktop */
.top-nav-items {
    order: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(27, 18, 13, 0.55);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid rgba(245, 235, 224, 0.18);
    border-radius: 999px;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55);
    /* Hidden state */
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    overflow: hidden;
    transition: max-width 0.45s cubic-bezier(0.2, 0.9, 0.2, 1),
                opacity 0.35s ease,
                transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1),
                padding 0.35s ease;
    white-space: nowrap;
}
.top-nav.open .top-nav-items {
    max-width: 640px;
    padding: 6px 10px;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Icon buttons inside the expanding panel */
.top-nav-link {
    position: relative;
    display: grid !important;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--cream) !important;
    font-size: 17px;
    background: transparent;
    padding: 0 !important;
    transition: background 0.3s, color 0.3s, transform 0.25s;
    flex-shrink: 0;
}
.top-nav-link::after { display: none !important; }
.top-nav-link:hover {
    background: rgba(245, 235, 224, 0.14);
    color: var(--ember) !important;
}
.top-nav-link.active {
    background: var(--ember);
    color: var(--cream) !important;
    box-shadow: 0 4px 12px -3px var(--ember-glow);
}
.top-nav-cta {
    background: var(--ember) !important;
    color: var(--cream) !important;
}
.top-nav-cta:hover { background: #1B120D !important; color: var(--cream) !important; }

/* Tooltip labels — shown BELOW the icons (since we're at the top of the page) */
.top-nav-link .tip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: #1B120D;
    color: var(--cream);
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    box-shadow: 0 6px 16px -4px rgba(0,0,0,0.5);
}
.top-nav-link:hover .tip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* =========================================================
   TABLET & MOBILE — expand DOWN instead of LEFT
   ========================================================= */
@media (max-width: 991.98px) {
    .top-nav-items {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        flex-direction: column;
        gap: 4px;
        padding: 10px 8px;
        border-radius: 24px;
        max-width: none;
        max-height: 0;
        transform: translateY(-14px);
        white-space: normal;
    }
    .top-nav.open .top-nav-items {
        max-height: 400px;
        padding: 10px 8px;
        transform: translateY(0);
    }
    .top-nav-link .tip {
        /* Move tooltips to the LEFT on mobile so they don't clip off screen */
        top: 50%;
        left: auto;
        right: calc(100% + 10px);
        transform: translateY(-50%) translateX(4px);
    }
    .top-nav-link:hover .tip {
        transform: translateY(-50%) translateX(0);
    }
}

@media (max-width: 575.98px) {
    .top-brand { top: 14px; left: 14px; width: 46px; height: 46px; }
    .top-nav { top: 14px; right: 14px; }
    .top-nav-toggle { width: 46px; height: 46px; font-size: 20px; }
    .top-nav-link .tip { display: none; }
}

/* Buttons */
.btn-ember {
    background: var(--ember);
    color: var(--bg) !important;
    border: 1px solid var(--ember);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 999px;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
    box-shadow: 0 8px 22px -8px var(--ember-glow);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-ember:hover {
    background: var(--cream);
    color: var(--bg) !important;
    border-color: var(--cream);
    transform: translateY(-2px);
}

/* "See what we do" CTA — text-only, no border */
.btn-outline-cream {
    background: transparent !important;
    color: var(--cream) !important;
    border: 0 !important;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 8px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}
.btn-outline-cream:hover,
.btn-outline-cream:focus,
.btn-outline-cream:active {
    color: var(--ember) !important;
    background: transparent !important;
    transform: translateX(4px);
}

/* =========================================================
   HERO with YouTube video background
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg);
}
.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-video iframe,
.hero-video #heroPlayer {
    position: absolute;
    top: 50%; left: 50%;
    /* Extra height so YouTube title (top) & "Watch on YouTube" (bottom) fall outside visible area */
    width: calc(100vw + 40px);
    height: calc(56.25vw + 180px);
    min-height: calc(100vh + 180px);
    min-width: calc(177.78vh + 40px);
    transform: translate(-50%, -50%);
    pointer-events: none !important;
    border: 0;
    opacity: 0.95;
    filter: saturate(1.08) contrast(1.05);
}
.hero-veil {
    position: absolute; inset: 0; z-index: 1;
    background:
        /* Wide, dark central band to fully mask YouTube's prev/pause/next controls */
        radial-gradient(ellipse 75% 55% at 50% 52%,
            rgba(15, 9, 6, 0.92) 0%,
            rgba(15, 9, 6, 0.80) 30%,
            rgba(15, 9, 6, 0.55) 60%,
            rgba(15, 9, 6, 0.20) 85%,
            transparent 100%),
        /* Top strip to mask YT title/channel bar */
        linear-gradient(180deg,
            rgba(15,9,6,0.90) 0%,
            rgba(15,9,6,0.50) 6%,
            rgba(15,9,6,0.25) 14%,
            rgba(15,9,6,0.25) 50%,
            rgba(15,9,6,0.65) 90%,
            rgba(15,9,6,0.95) 100%);
    pointer-events: none;
}
.hero-content { z-index: 2; }
.hero-slogan {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(52px, 10vw, 150px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--cream);
    margin: 0;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.hero-slogan em {
    display: inline-block;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    color: var(--ember);
    text-shadow: 0 0 40px var(--ember-glow), 0 4px 30px rgba(0,0,0,0.6);
}
.hero-scroll {
    position: absolute;
    left: 50%; bottom: 30px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cream-dim);
}
.hero-scroll .line {
    width: 1px; height: 50px;
    background: linear-gradient(180deg, var(--ember), transparent);
    position: relative; overflow: hidden;
}
.hero-scroll .line::after {
    content: ''; position: absolute; top: 0; left: -1px;
    width: 3px; height: 18px; background: var(--ember);
    animation: heroScroll 1.8s ease-in-out infinite;
}
@keyframes heroScroll {
    0% { transform: translateY(-100%); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(50px); opacity: 0; }
}
@media (max-width: 767px) {
    /* Portrait phones — video needs a modest scale to fill the tall viewport */
    .hero-video iframe { transform: translate(-50%, -50%) scale(1.25); opacity: 0.9; }
}

/* =========================================================
   STORY SECTIONS + DOTTED GRID BG (Ishika style canvas)
   ========================================================= */
.story-section {
    padding: var(--section-pad-y) 0;
    position: relative;
    overflow: hidden;
}
.section-alt { background: var(--bg-2); }

/* grid-bg previously drew a dashed canvas overlay — now removed */
.grid-bg::before { content: none; }
.story-section > .container-xxl { position: relative; z-index: 1; }

/* =========================================================
   PROFESSIONAL SECTION scaffolding
   (used for Studio + Why sections)
   ========================================================= */
.pro-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cream-dim);
}
.pro-section-num { color: var(--ember); font-weight: 700; }
.pro-section-label::before {
    content: '';
    display: none;
}
.pro-headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 5.2vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin: 0;
}
.pro-headline em {
    font-style: italic;
    color: var(--ember);
    font-weight: 500;
}
.pro-lede {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.7;
    color: var(--cream-dim);
    margin: 0 0 22px;
}
.pro-lede em { color: var(--cream); font-style: normal; font-weight: 500; }
.pro-cta-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 6px;
}
.btn-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--ember);
    letter-spacing: 0.02em;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, color 0.25s;
}
.btn-text:hover { border-bottom-color: var(--ember); color: var(--ember); }

.studio-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: clamp(50px, 6vw, 84px);
    padding-top: 34px;
    border-top: 1px solid var(--line);
}
.studio-meta > div { display: flex; flex-direction: column; gap: 4px; }
.studio-meta b {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 2.6vw, 34px);
    color: var(--cream);
    line-height: 1;
    letter-spacing: -0.01em;
}
.studio-meta span {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream-dim);
}
@media (max-width: 767px) {
    .studio-meta { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

/* =========================================================
   FILM STRIP (Why us — 6 reasons as film frames)
   Authentic 35mm look: rectangular sprocket holes + Kodak-style edge text
   ========================================================= */
.filmstrip-wrap { position: relative; }

.filmstrip {
    background: #0A0605;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.75),
        inset 0 0 0 1px rgba(245, 235, 224, 0.06);
    position: relative;
}

/* 35mm rectangular sprocket-hole rows */
.filmstrip-perf {
    height: 46px;
    background-color: #0A0605;
    /* Rectangular sprocket holes — cream fill with slight bevel via inset shadow effect */
    background-image:
        /* Kodak-style stock name text overlay (subtle) */
        linear-gradient(#0A0605, #0A0605),
        /* Rectangular perforations */
        linear-gradient(#F1E4D0, #F1E4D0);
    background-clip: padding-box;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

/* Draw the actual rectangular perforations via a repeating gradient
   38px cell = 14px hole + 24px gap */
.filmstrip-perf {
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 12px,
            #F1E4D0 12px,
            #F1E4D0 26px,
            transparent 26px,
            transparent 38px
        ),
        #0A0605;
    background-repeat: repeat-x;
    background-size: 38px 20px;
    background-position: 0 center;
    display: flex;
    align-items: center;
    padding: 0 12px;
    /* background-position is driven by JS to stay in sync with the frames scroll */
}

/* (Edge type-label removed) */

/* Subtle edge darkening on both extremes for depth */
.filmstrip-perf::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0, transparent 6%, transparent 94%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

/* Frames area — CSS-driven auto-scroll marquee */
.filmstrip-frames {
    display: flex;
    width: max-content;
    background: linear-gradient(180deg, #251813 0%, #2E1E17 40%, #2E1E17 60%, #251813 100%);
    animation: filmMarch 45s linear infinite;
    will-change: transform;
}
.filmstrip:hover .filmstrip-frames,
.filmstrip-wrap:hover .filmstrip-frames { animation-play-state: paused; }
@keyframes filmMarch {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
/* Sprocket rows — same rhythm */
.filmstrip-perf {
    animation: perfMarch 1.4s linear infinite;
}
.filmstrip:hover .filmstrip-perf,
.filmstrip-wrap:hover .filmstrip-perf { animation-play-state: paused; }
@keyframes perfMarch {
    from { background-position: 0 center; }
    to   { background-position: -38px center; }
}
@media (prefers-reduced-motion: reduce) {
    .filmstrip-frames, .filmstrip-perf { animation: none; }
}

.film-frame {
    flex: 0 0 clamp(260px, 30vw, 340px);
    padding: clamp(30px, 3vw, 44px) clamp(24px, 2.4vw, 34px);
    border-right: 1px dashed rgba(245, 235, 224, 0.18);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: background 0.35s;
}
.film-frame:hover { background: rgba(255, 107, 53, 0.10); }

/* Corner ticks — like registration marks on film */
.film-frame::before,
.film-frame::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(245, 235, 224, 0.30);
    pointer-events: none;
}
.film-frame::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.film-frame::after { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.frame-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.28em;
    color: var(--ember);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.frame-label::after { content: none; }

.film-frame h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(19px, 1.55vw, 22px);
    line-height: 1.22;
    color: var(--cream);
    margin: 4px 0 0;
    letter-spacing: -0.01em;
}
.film-frame p {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(245, 235, 224, 0.82);
    margin: 0;
    font-weight: 400;
}
.film-frame p em { color: var(--cream); font-weight: 500; font-style: italic; }

/* Scroll hint below the strip */
.filmstrip-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream-dim);
    font-weight: 500;
}
.filmstrip-hint i { color: var(--ember); font-size: 16px; }
.filmstrip-hint .hint-line { flex: 0 0 60px; height: 1px; background: var(--line-strong); }

@media (max-width: 575.98px) {
    .filmstrip-perf {
        height: 34px;
        background:
            repeating-linear-gradient(
                90deg,
                transparent 0, transparent 9px,
                #F1E4D0 9px, #F1E4D0 20px,
                transparent 20px, transparent 30px
            ) center / auto 16px no-repeat,
            #0A0605;
        background-repeat: repeat-x;
        background-size: auto 16px;
        background-position: center;
    }
    .film-frame::before, .film-frame::after { width: 10px; height: 10px; }
}

/* =========================================================
   STORY HEADINGS
   ========================================================= */
.story-hi {
    font-size: clamp(22px, 2vw, 28px);
    color: var(--ember);
    margin: 0 0 8px;
    font-weight: 500;
}
.story-hello-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 7vw, 100px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: var(--cream);
}
.story-hello-heading .ember-word {
    color: var(--ember);
    display: inline-block;
}
.story-hello-heading .emoji { font-size: 0.8em; margin-left: 8px; }
.story-role {
    font-size: clamp(18px, 1.8vw, 22px);
    color: var(--cream-dim);
    font-weight: 400;
    margin: 0;
}
.story-role .dot-sep { opacity: 0.4; margin: 0 4px; }

.story-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin: 0;
}
.story-heading .hi-em .anim-svg {
    width: clamp(48px, 0.85em, 90px);
    height: clamp(48px, 0.85em, 90px);
    margin-left: 0.1em;
}
@media (max-width: 575.98px) {
    .story-heading .hi-em { flex-wrap: wrap; }
    .story-heading .hi-em .anim-svg { width: 48px; height: 48px; }
}

/* =========================================================
   HEADING ACCENT — ember-coloured emphasis + animated SVG illustration
   ========================================================= */
.hi-em {
    color: var(--ember);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    line-height: 1;
    white-space: nowrap;
}
.hi-em .anim-svg { flex-shrink: 0; }

/* Cursor tap keyframe kept — used by marker-email in contact section */
@keyframes cursorTap {
    0%, 100% { transform: rotate(-8deg) translate(0, 0); }
    50% { transform: rotate(-8deg) translate(2px, 3px); }
}

/* =========================================================
   ANIMATED SVG ILLUSTRATIONS (film / production themed)
   ========================================================= */
.anim-svg {
    display: inline-block;
    width: clamp(56px, 0.9em, 96px);
    height: clamp(56px, 0.9em, 96px);
    color: var(--ember);
    vertical-align: middle;
}
.anim-svg.on-dark { color: var(--ember); }

/* — REEL — spinning film reel */
.anim-reel { animation: reelSpin 8s linear infinite; }
@keyframes reelSpin { to { transform: rotate(360deg); } }

/* — CLAPPER — the top jaw claps down and up */
.anim-clapper .clapper-jaw {
    transform-origin: 12px 42px;
    animation: clap 2.6s cubic-bezier(0.4, 0.0, 0.4, 1) infinite;
}
@keyframes clap {
    0%, 60%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-32deg); }
    22% { transform: rotate(0deg); }
    32% { transform: rotate(-14deg); }
    42% { transform: rotate(0deg); }
}

/* — SPARKLE — rotating star */
.anim-sparkle { animation: sparkleRotate 5s linear infinite; }
.anim-sparkle .sparkle-ring { animation: sparkleScale 2s ease-in-out infinite; transform-origin: center; }
@keyframes sparkleRotate { to { transform: rotate(360deg); } }
@keyframes sparkleScale {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* — DUO — two circles that pulse toward each other */
.anim-duo .duo-a { animation: duoPulseA 3s ease-in-out infinite; transform-origin: 50px 50px; }
.anim-duo .duo-b { animation: duoPulseB 3s ease-in-out infinite; transform-origin: 50px 50px; }
.anim-duo .duo-heart { animation: duoHeart 3s ease-in-out infinite; transform-origin: center; opacity: 0; }
@keyframes duoPulseA {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}
@keyframes duoPulseB {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-4px); }
}
@keyframes duoHeart {
    0%, 40%, 100% { opacity: 0; transform: scale(0.6); }
    50%, 80% { opacity: 1; transform: scale(1); }
}

/* — COFFEE — with rising steam */
.anim-coffee .coffee-steam path {
    stroke-dasharray: 24;
    animation: steamRise 2.4s ease-in-out infinite;
    opacity: 0.85;
}
.anim-coffee .coffee-steam path:nth-child(1) { animation-delay: 0s; }
.anim-coffee .coffee-steam path:nth-child(2) { animation-delay: 0.4s; }
.anim-coffee .coffee-steam path:nth-child(3) { animation-delay: 0.8s; }
@keyframes steamRise {
    0% { transform: translateY(6px); opacity: 0; }
    30%, 70% { opacity: 0.9; }
    100% { transform: translateY(-12px); opacity: 0; }
}

/* =========================================================
   CHAT BUBBLES (WhatsApp-style, Ishika signature)
   ========================================================= */
.chat {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 12px;
    max-width: 100%;
}
.chat-tilt-left { transform: rotate(-2deg); }
.chat-tilt-right { transform: rotate(2deg); }

.chat-msg {
    position: relative;
    background: var(--bubble-cream);
    color: #1B120D;
    padding: 12px 18px 14px;
    border-radius: 16px 16px 16px 4px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 340px;
    box-shadow: 0 8px 24px -8px var(--bubble-cream-shadow);
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}
.chat-msg b {
    font-weight: 600;
    color: #1B120D;
}
.chat-time {
    align-self: flex-end;
    font-size: 11px;
    color: rgba(27, 18, 13, 0.5);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: -2px;
}
.chat-time i { color: var(--ember); font-size: 14px; }

.chat-msg-ember {
    background: var(--ember);
    color: var(--bg);
}
.chat-msg-ember b, .chat-msg-ember .chat-time { color: var(--bg); }
.chat-msg-ember .chat-time i { color: var(--bg); opacity: 0.55; }

.chat-thumb {
    width: 60px; height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5);
    transform: rotate(-4deg);
    flex-shrink: 0;
}

.chat-cursor {
    position: absolute;
    right: -18px; bottom: -18px;
    font-size: 22px;
    color: var(--cream);
    transform: rotate(-10deg);
    animation: cursorTap 2s ease-in-out infinite;
}

.chat-quote { display: block; max-width: 100%; }
.chat-msg-lg {
    background: var(--bubble-cream);
    color: #1B120D;
    padding: 20px 26px;
    border-radius: 20px 20px 20px 6px;
    box-shadow: 0 12px 30px -10px var(--bubble-cream-shadow);
    display: block;
    max-width: 560px;
}
.chat-meta {
    display: block;
    font-size: 13px;
    color: rgba(27, 18, 13, 0.6);
    margin-bottom: 6px;
    font-weight: 500;
}
.chat-quote-line {
    font-size: clamp(18px, 2vw, 24px);
    color: #1B120D;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}

/* Scattered layout for "Why us" section */
.chat-scatter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px 24px;
    padding: 40px 0;
    justify-items: center;
    align-items: start;
}
.chat-item {
    transform-origin: center;
    animation: bubbleFloat 6s ease-in-out infinite;
    animation-delay: var(--y, 0s);
}
.chat-item:nth-child(2) { animation-delay: 0.5s; }
.chat-item:nth-child(3) { animation-delay: 1s; }
.chat-item:nth-child(4) { animation-delay: 1.5s; }
.chat-item:nth-child(5) { animation-delay: 2s; }
.chat-item:nth-child(6) { animation-delay: 2.5s; }
@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0) rotate(var(--r, -2deg)); }
    50% { transform: translateY(-6px) rotate(var(--r, -2deg)); }
}
.chat-item.chat-tilt-right { --r: 2deg; }
.chat-item.chat-tilt-left { --r: -2deg; }

/* Card floating bubble */
.card-bubble {
    position: absolute;
    top: 20px; right: -14px;
    transform: rotate(6deg);
    z-index: 4;
}
.card-bubble .chat-msg {
    font-size: 13px;
    padding: 8px 14px 10px;
    max-width: 220px;
}

/* Tools strip — filmmaking icons */
.tools-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding: 22px 30px;
    background: var(--bg);
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}
.tools-strip span:not(.sep) {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--surface);
    color: var(--ember);
    font-size: 18px;
    transition: transform 0.3s, background 0.3s;
}
.tools-strip span:not(.sep):hover { background: var(--ember); color: var(--bg); transform: translateY(-3px); }
.tools-strip .sep { color: var(--cream-faint); font-size: 12px; }

/* =========================================================
   ROUND BUTTON (Ishika style: circle green arrow)
   ========================================================= */
.round-btn {
    display: inline-grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--ember);
    color: var(--bg);
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
    box-shadow: 0 8px 20px -8px var(--ember-glow);
}
.round-btn:hover {
    background: var(--cream);
    color: var(--bg);
    transform: scale(1.08);
}
.round-btn-lg { width: 76px; height: 76px; font-size: 28px; }

/* =========================================================
   STAT CARDS (What we bring to the table)
   ========================================================= */
.stat-card {
    padding: clamp(24px, 3vw, 40px);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 140px;
    justify-content: center;
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-card b {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-card span {
    font-size: 16px;
    font-weight: 400;
}
.stat-card-light {
    background: var(--cream);
    color: #1B120D;
}
.stat-card-light b { color: var(--ember); }
.stat-card-light span { color: rgba(27, 18, 13, 0.7); }
.stat-card-dark {
    background: var(--surface);
    color: var(--cream);
    border: 1px solid var(--line);
}
.stat-card-dark b { color: var(--ember); }
.stat-card-dark span { color: var(--cream-dim); }

/* =========================================================
   WORK CARDS (Featured work grid)
   ========================================================= */
.work-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    aspect-ratio: 16 / 9;
    isolation: isolate;
    transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0s 0.4s;
    cursor: pointer;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.6); }

/* Instagram-style feed grid — uniform 3-col square tiles */
.work-instagram-grid .ig-card {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
}

/* =========================================================
   WORK SLIDER — horizontal snap-scroll of landscape cards
   ========================================================= */
.work-slider-wrap {
    position: relative;
    /* pull slightly out of container so partial next card shows on the right */
    margin: 0 calc(-1 * clamp(20px, 3vw, 60px));
}
.work-slider {
    display: flex;
    gap: 22px;
    padding: 20px clamp(20px, 3vw, 60px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.work-slider::-webkit-scrollbar { display: none; }

.work-slide {
    position: relative;
    display: block;
    flex: 0 0 clamp(300px, 55vw, 720px);
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: start;
    isolation: isolate;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: var(--surface);
    cursor: pointer;
}
.work-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -18px rgba(0,0,0,0.7);
}
.work-slide img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2,0.9,0.2,1), filter 0.4s;
    filter: saturate(0.95) brightness(0.9);
}
.work-slide:hover img { transform: scale(1.03); filter: saturate(1.1) brightness(1); }
.work-slide .work-overlay {
    position: absolute;
    inset: 0;
    padding: clamp(20px, 2.5vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    background: linear-gradient(180deg, rgba(15,9,6,0.15) 0%, rgba(15,9,6,0.15) 45%, rgba(15,9,6,0.92) 100%);
    color: var(--cream);
    transition: background 0.4s;
}
.work-slide:hover .work-overlay {
    background: linear-gradient(180deg, rgba(15,9,6,0.30) 0%, rgba(15,9,6,0.45) 45%, rgba(15,9,6,0.95) 100%);
}
/* Brand name is the ONLY text on each slide */
.work-slide .work-brand {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(38px, 4.6vw, 64px);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--ember);
    line-height: 0.95;
    margin: 0;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
/* Hide campaign title + feature line — brand name alone */
.work-slide .work-overlay h4,
.work-slide .work-overlay p { display: none; }
.work-slide .play-btn {
    position: absolute;
    top: clamp(20px, 2.5vw, 32px);
    right: clamp(20px, 2.5vw, 32px);
    width: 50px; height: 50px;
    display: grid; place-items: center;
    background: rgba(15,9,6,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--cream);
    font-size: 22px;
    transition: all 0.35s;
}
.work-slide:hover .play-btn {
    background: var(--ember);
    border-color: var(--ember);
    color: var(--bg);
    transform: scale(1.08);
}

/* Nav arrows */
.work-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--ember);
    color: var(--cream);
    border: 0;
    font-size: 22px;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 10px 24px -8px var(--ember-glow);
    transition: transform 0.25s, background 0.3s;
}
.work-slider-arrow:hover {
    transform: translateY(-50%) scale(1.08);
    background: var(--cream);
    color: var(--bg);
}
.work-slider-prev { left: 10px; }
.work-slider-next { right: 10px; }
.work-slider-prev.disabled,
.work-slider-next.disabled {
    opacity: 0;
    pointer-events: none;
}

/* View all Projects — cream pill button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 32px 16px 34px;
    background: var(--cream);
    color: #1B120D !important;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.02em;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
    box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.55);
}
.view-all-btn i {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    transition: transform 0.35s;
}
.view-all-btn:hover {
    background: var(--ember);
    color: var(--cream) !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -10px var(--ember-glow);
}
.view-all-btn:hover i { transform: translateX(4px); }

@media (max-width: 767px) {
    .work-slider-arrow { width: 44px; height: 44px; font-size: 18px; }
    .work-slider-prev { left: 8px; }
    .work-slider-next { right: 8px; }
}
.work-instagram-grid .ig-card img {
    /* hqdefault has letterboxing — scale it up + cover so the square shows content */
    transform: scale(1.2);
    transform-origin: center;
}
.work-instagram-grid .ig-card:hover img {
    transform: scale(1.28);
}
.work-instagram-grid .work-overlay {
    padding: 14px 16px;
    background: linear-gradient(180deg,
        rgba(15,9,6,0.05) 0%,
        rgba(15,9,6,0.05) 45%,
        rgba(15,9,6,0.9) 100%);
}
.work-instagram-grid .work-brand { font-size: 10px; letter-spacing: 0.20em; }
.work-instagram-grid .work-overlay h4 { font-size: 18px; margin-top: 2px; }
.work-instagram-grid .work-overlay p { font-size: 12px; }
.work-instagram-grid .play-btn {
    width: 38px; height: 38px;
    font-size: 18px;
    top: 12px; right: 12px;
}
@media (max-width: 767px) {
    .work-instagram-grid .work-overlay h4 { font-size: 15px; }
    .work-instagram-grid .work-overlay p { font-size: 11px; }
    .work-instagram-grid .play-btn { width: 32px; height: 32px; font-size: 14px; }
}
.work-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2,0.9,0.2,1), filter 0.4s;
    filter: saturate(0.9) brightness(0.9);
}
.work-card:hover img { transform: scale(1.05); filter: saturate(1.1) brightness(1); }
.work-overlay {
    position: absolute;
    inset: 0;
    padding: clamp(18px, 2.5vw, 28px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    background: linear-gradient(180deg, rgba(15,9,6,0.2) 0%, rgba(15,9,6,0.2) 40%, rgba(15,9,6,0.9) 100%);
    color: var(--cream);
    transition: background 0.4s;
}
.work-card:hover .work-overlay {
    background: linear-gradient(180deg, rgba(15,9,6,0.35) 0%, rgba(15,9,6,0.5) 40%, rgba(15,9,6,0.95) 100%);
}
.work-brand {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ember);
    font-weight: 600;
}
.work-overlay h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.1;
    margin: 4px 0 2px;
    color: var(--cream);
}
.work-overlay p {
    font-size: 13px;
    color: var(--cream-dim);
    margin: 0;
    font-style: italic;
}
.work-card-lg .work-overlay h4 { font-size: clamp(24px, 2.6vw, 36px); }

.play-btn {
    position: absolute;
    top: clamp(18px, 2.5vw, 28px);
    right: clamp(18px, 2.5vw, 28px);
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: rgba(15,9,6,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--cream);
    font-size: 22px;
    transition: all 0.35s;
}
.work-card:hover .play-btn { background: var(--ember); border-color: var(--ember); color: var(--bg); transform: scale(1.1); }

/* =========================================================
   PERSON CARDS (The Duo)
   ========================================================= */
.person-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: visible;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1), border-color 0.4s;
    position: relative;
}
.person-card:hover { transform: translateY(-6px); border-color: var(--ember); }
.person-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--bg-2);
    border-radius: 20px 20px 0 0;
}
.person-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.person-card:hover .person-photo img { transform: scale(1.04); }

/* Mirror photo horizontally (subject shifts left→right) */
.person-photo img.flip-x { transform: scaleX(-1); }
.person-card:hover .person-photo img.flip-x { transform: scale(1.04) scaleX(-1); }
.person-role-tag {
    position: absolute;
    top: 20px; left: 20px;
    padding: 8px 14px;
    background: rgba(15,9,6,0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cream);
    font-weight: 500;
    transition: all 0.3s;
}
.person-card:hover .person-role-tag { background: var(--ember); color: var(--bg); border-color: var(--ember); }
.person-body {
    padding: clamp(28px, 3.5vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}
.person-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--cream);
}
.person-sub {
    font-size: 16px;
    color: var(--ember);
    margin: 0;
    font-weight: 500;
}
.person-bio {
    font-size: 15px;
    line-height: 1.7;
    color: var(--cream-dim);
    margin: 0;
}
.person-bio em { color: var(--cream); font-style: normal; font-weight: 500; }
.person-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.person-stats > div { display: flex; flex-direction: column; gap: 4px; }
.person-stats b {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    color: var(--ember);
}
.person-stats span {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-dim);
}
.person-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.person-tags span {
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 12px;
    color: var(--cream-dim);
    transition: all 0.25s;
}

/* =========================================================
   TESTIMONIALS — horizontal auto-scroll marquee
   ========================================================= */
.testimonials-marquee {
    overflow: hidden;
    padding: 20px 0;
    /* fade edges */
    mask-image: linear-gradient(90deg, transparent 0, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 4%, black 96%, transparent 100%);
    /* pull to edges (out of container-xxl padding) */
    margin: 0 calc(-1 * var(--pad, 20px));
}
.testimonials-track {
    display: flex;
    gap: 22px;
    padding: 6px 20px;
    width: max-content;
    animation: tmScroll 80s linear infinite;
}
.testimonials-marquee:hover .testimonials-track { animation-play-state: paused; }
@keyframes tmScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tm-card {
    flex: 0 0 360px;
    padding: 30px 30px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    transition: transform 0.35s, border-color 0.35s, background 0.35s;
    /* Base glass */
    color: var(--cream);
    background: rgba(245, 235, 224, 0.04);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(245, 235, 224, 0.14);
}
.tm-card:hover {
    transform: translateY(-4px);
    border-color: var(--ember);
}

/* Alternating tint — both transparent, slightly warmer vs neutral */
.tm-light {
    background: rgba(255, 107, 53, 0.06);
    border-color: rgba(255, 107, 53, 0.22);
}
.tm-dark {
    background: rgba(245, 235, 224, 0.04);
    border-color: rgba(245, 235, 224, 0.12);
}
.tm-quote {
    font-size: 34px;
    color: var(--ember);
    line-height: 1;
    opacity: 0.95;
}
.tm-card p {
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    flex: 1;
    font-weight: 500;
    color: var(--cream);
}
.tm-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(245, 235, 224, 0.14);
}
.tm-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--ember);
    color: var(--bg);
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
}
.tm-foot > div { display: flex; flex-direction: column; line-height: 1.25; gap: 2px; }
.tm-foot b {
    color: var(--ember);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.005em;
}
.tm-foot span {
    font-size: 13px;
    color: var(--cream);
    opacity: 0.7;
    font-weight: 500;
}
@media (max-width: 575.98px) {
    .tm-card { flex: 0 0 280px; padding: 22px 22px; }
    .tm-card p { font-size: 14px; }
}

/* =========================================================
   BRANDS
   ========================================================= */
.brands-section {
    padding: var(--section-pad-y) 0;
    overflow: hidden;
    position: relative;
}
.brands-marquee {
    overflow: hidden;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 30px;
}
.brands-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: brandsMarquee 55s linear infinite;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(38px, 6vw, 80px);
    line-height: 1;
    color: var(--cream);
    padding-right: 40px;
}
.brands-track span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1px var(--cream); }
.brands-track span:nth-child(4n+2) { color: var(--ember); }
@keyframes brandsMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================================
   CONTACT — MARKER EMAIL (the big signature block)
   ========================================================= */
.marker-email {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ember);
    color: var(--bg) !important;
    padding: 12px 28px 16px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 3.5vw, 42px);
    letter-spacing: -0.01em;
    box-shadow:
        0 0 0 4px rgba(255, 107, 53, 0.18),
        inset 0 -4px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 100%;
    word-break: break-all;
}
.marker-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.25), 0 20px 40px -15px var(--ember-glow);
    color: var(--bg) !important;
}
.marker-email::before, .marker-email::after {
    content: '';
    position: absolute;
    width: 12px; height: 12px;
    background: var(--cream);
    border: 2px solid var(--ember);
    border-radius: 2px;
}
.marker-email::before { top: -6px; left: -6px; }
.marker-email::after { bottom: -6px; right: -6px; }
.marker-cursor-2 {
    position: absolute;
    bottom: -34px;
    right: -34px;
    color: var(--cream);
    font-size: 26px;
    transform: rotate(-10deg);
    animation: cursorTap 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.contact-card {
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    transition: border-color 0.3s, transform 0.3s;
}
.contact-card:hover { border-color: var(--ember); transform: translateY(-3px); }
.contact-label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-dim);
    display: flex; align-items: center; gap: 6px;
    font-weight: 500;
}
.contact-label i { color: var(--ember); }
.contact-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--cream);
    transition: color 0.25s;
}
.contact-card:hover .contact-value { color: var(--ember); }

/* =========================================================
   PROFESSIONAL CONTACT GRID
   ========================================================= */
.pro-contact-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    height: 100%;
    text-decoration: none;
    color: var(--cream);
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}
.pro-contact-card:hover {
    border-color: var(--ember);
    transform: translateY(-4px);
    color: var(--cream);
    background: var(--surface-2);
}
a.pro-contact-card::after {
    content: '\2197';
    position: absolute;
    top: 22px; right: 22px;
    color: var(--cream-faint);
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
}
a.pro-contact-card:hover::after {
    color: var(--ember);
    transform: translate(2px, -2px);
}
.pro-contact-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--cream-dim);
    font-weight: 600;
}
.pro-contact-label i { color: var(--ember); font-size: 14px; }
.pro-contact-value {
    font-family: var(--font-display);
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.25;
    letter-spacing: -0.01em;
    word-break: break-word;
    margin-top: 4px;
}
.pro-contact-meta {
    margin-top: auto;
    padding-top: 12px;
    font-size: 12px;
    color: var(--cream-faint);
    line-height: 1.4;
    letter-spacing: 0.01em;
    font-weight: 500;
}

/* Featured (Email) — ember accent */
.pro-contact-featured {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.08) 0%, var(--surface) 100%);
    border-color: rgba(255, 107, 53, 0.35);
}
.pro-contact-featured .pro-contact-label { color: var(--ember); }
.pro-contact-featured:hover {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.12) 0%, var(--surface-2) 100%);
    border-color: var(--ember);
}

/* Final CTA row */
.pro-cta-final {
    margin-top: clamp(48px, 5vw, 72px);
    padding-top: 34px;
    border-top: 1px solid var(--line);
}
.pro-cta-line {
    font-size: 15px;
    color: var(--cream-dim);
    margin: 0;
    line-height: 1.6;
}
.pro-cta-line em {
    font-style: normal;
    color: var(--cream);
    font-weight: 600;
}
.pro-cta-line .pipe {
    color: var(--cream-faint);
    margin: 0 10px;
    font-weight: 300;
}
@media (max-width: 767px) {
    .pro-contact-value { font-size: 17px; }
    .pro-cta-line { font-size: 14px; }
    .pro-cta-line .pipe { display: block; height: 8px; visibility: hidden; }
}

.text-cream-dim { color: var(--cream-dim); }

/* =========================================================
   VIDEO MODAL
   ========================================================= */
.video-modal .modal-content { background: transparent; border: 0; position: relative; }
.video-modal .modal-dialog { max-width: min(1200px, 95vw); }
.video-modal .ratio {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 60px -20px var(--ember-glow);
    background: #000;
}
.video-modal iframe { border: 0; }
.video-modal .btn-close {
    position: absolute; top: -50px; right: 0;
    background-color: transparent;
    opacity: 0.85; z-index: 2;
}
.video-modal .btn-close:hover { opacity: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-faint);
    background: var(--bg);
}

/* =========================================================
   REVEAL BASE
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(0.2,0.9,0.2,1), transform 0.9s cubic-bezier(0.2,0.9,0.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15,9,6,0.96);
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 20px;
        margin-top: 14px;
    }
    .navbar-nav .nav-link { padding: 10px 4px !important; }
    .navbar-nav .nav-link::after { display: none; }
    .card-bubble { top: 12px; right: 12px; }
    .card-bubble .chat-msg { max-width: 180px; font-size: 12px; }
}
@media (max-width: 767px) {
    .chat-scatter { padding: 20px 0; gap: 24px; }
    .chat-tilt-left, .chat-tilt-right { transform: rotate(0); }
    .marker { padding: 2px 14px 6px; }
    .marker::before, .marker::after { width: 8px; height: 8px; }
    .card-bubble { position: static; margin: -20px auto 0; text-align: center; transform: rotate(0); max-width: fit-content; }
}
@media (max-width: 575.98px) {
    :root { --section-pad-y: 60px; }
    .hero { padding-top: 90px; padding-bottom: 110px; }
    .story-heading { font-size: 32px; }
    .story-hello-heading { font-size: 40px; }
    .stat-card { padding: 20px; min-height: 110px; }
    .stat-card b { font-size: 40px; }
    .marker-email { font-size: 20px; padding: 10px 18px 12px; }
    .footer { flex-direction: column; text-align: center; }
    .tools-strip { gap: 8px; padding: 14px 18px; }
    .tools-strip span:not(.sep) { width: 34px; height: 34px; font-size: 15px; }
    .chat-msg { font-size: 14px; padding: 10px 14px 12px; }
    .chat-thumb { width: 48px; height: 48px; }
    .person-stats b { font-size: 24px; }
}

/* =========================================================
   FULL RESPONSIVE POLISH — cross-section
   ========================================================= */
@media (max-width: 991.98px) {
    .pro-headline { font-size: clamp(28px, 5vw, 46px); line-height: 1.12; }
    .pro-lede { font-size: 15px; }
    .studio-meta { grid-template-columns: repeat(2, 1fr); }
    .tm-card { flex: 0 0 320px; padding: 26px; }
    .pro-contact-grid .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
    .pro-cta-line { font-size: 14px; margin-bottom: 20px; }
    .work-slide { flex-basis: clamp(280px, 70vw, 500px); }
    .film-frame { flex: 0 0 clamp(240px, 40vw, 300px); }
}

@media (max-width: 767.98px) {
    :root { --section-pad-y: clamp(52px, 8vw, 68px); }
    .hero-slogan { font-size: clamp(44px, 12vw, 78px); }
    .pro-section-head { margin-bottom: 22px; font-size: 11px; }
    .pro-headline { font-size: clamp(28px, 6vw, 42px); }
    .studio-meta { grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 28px; }
    .studio-meta b { font-size: 26px; }
    .story-heading { font-size: clamp(28px, 6.5vw, 44px); }
    .person-body { padding: 24px 22px; gap: 14px; }
    .person-name { font-size: 26px; }
    .person-sub { font-size: 15px; }
    .person-bio { font-size: 14px; line-height: 1.6; }
    .work-slide { flex-basis: min(78vw, 460px); }
    .work-slide .work-overlay h4 { font-size: 20px; }
    .work-slide .work-overlay p { font-size: 12px; }
    .work-slide .play-btn { width: 40px; height: 40px; font-size: 18px; }
    .pro-contact-grid .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .pro-contact-card { padding: 22px 20px; }
    .pro-contact-value { font-size: 16px; }
    .pro-contact-meta { font-size: 11px; }
    .pro-cta-final { margin-top: 40px; padding-top: 28px; }
    .pro-cta-final .btn-lg { width: 100%; justify-content: center; }
    .pro-cta-line { text-align: center; }
    .tm-card { flex: 0 0 280px; padding: 22px; gap: 14px; }
    .tm-card p { font-size: 14.5px; }
    .tm-quote { font-size: 28px; }
    .tm-avatar { width: 38px; height: 38px; font-size: 15px; }
    .tm-foot b { font-size: 14px; }
    .tm-foot span { font-size: 12px; }
    .view-all-btn { width: 100%; justify-content: center; padding: 14px 24px; font-size: 15px; }
    .filmstrip-hint .hint-line { flex-basis: 30px; }
    .filmstrip-hint { font-size: 10px; letter-spacing: 0.2em; }
}

@media (max-width: 575.98px) {
    .pro-contact-grid .col-md-6 { flex: 0 0 100%; max-width: 100%; }
    .tm-card { flex: 0 0 min(80vw, 300px); }
    .side-nav { padding: 6px 8px; gap: 2px; bottom: 12px; }
    .side-nav-link { width: 36px; height: 36px; font-size: 14px; }
    .side-nav-items { gap: 0; }
    .footer { padding: 24px 20px; text-align: center; gap: 12px; }
    .work-slider-arrow { width: 40px; height: 40px; font-size: 16px; }
    .work-slider-prev { left: 6px; }
    .work-slider-next { right: 6px; }
    a.pro-contact-card::after { top: 18px; right: 18px; font-size: 14px; }
    .studio-meta { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .studio-meta b { font-size: 22px; }
    .studio-meta span { font-size: 10px; letter-spacing: 0.16em; }
}

@media (max-width: 360px) {
    :root { --section-pad-y: 46px; }
    .hero-slogan { font-size: 40px; }
    .pro-headline { font-size: 26px; }
    .story-heading { font-size: 26px; }
    .studio-meta { grid-template-columns: 1fr; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding-top: 80px; padding-bottom: 80px; }
    .hero-slogan { font-size: clamp(36px, 7vw, 56px); }
    .side-nav {
        top: 12px; bottom: auto; left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }
}

/* Prevent horizontal overflow anywhere */
html, body { max-width: 100%; overflow-x: hidden; }
img, iframe, video, svg { max-width: 100%; }
