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

:root {
    /* ---- Ink: cleaner and colder than the old muddy brown ---- */
    --bg: #0B0705;
    --bg-2: #120C08;
    --bg-3: #17100B;
    --surface: #1C130E;
    --surface-2: #241811;

    /* ---- Film stock cream ---- */
    --cream: #F2E9DC;
    --cream-dim: rgba(242, 233, 220, 0.62);
    --cream-faint: rgba(242, 233, 220, 0.34);
    --bubble-cream: #F2E9DC;
    --bubble-cream-shadow: rgba(0, 0, 0, 0.35);

    --line: rgba(242, 233, 220, 0.09);
    --line-strong: rgba(242, 233, 220, 0.20);

    /* ---- Ember: taken from the logo's gold star ---- */
    --ember: #E8A93A;
    --ember-2: #F3C367;
    --ember-soft: rgba(232, 169, 58, 0.16);
    --ember-glow: rgba(232, 169, 58, 0.35);

    /* ---- Revision blue: call sheets are reissued on coloured paper
           (white → blue → pink). The mono furniture is set in the blue so
           the page isn't a single accent shouting on black. ---- */
    --revision: #8AA6B2;
    --revision-dim: rgba(138, 166, 178, 0.55);

    --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-italic: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Display faces run slightly expanded — title-card proportions */
    --display-width: 112%;

    --section-pad-y: clamp(56px, 5.5vw, 96px);
}

* { 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; }

/* =========================================================
   TYPE SYSTEM
   Display  — Archivo, expanded, heavy. Title-card proportions.
   Body     — Archivo, normal width.
   Furniture— IBM Plex Mono. Every label, number, tag and timecode
              on the page is set in it, because that is how a call
              sheet, camera report or EDL is actually typed.
   ========================================================= */
.hero-slogan,
.pro-headline,
.story-heading,
.person-name,
.film-frame h4,
.work-slide .work-brand,
.brands-track,
.craft-reel-track span {
    font-family: var(--font-display);
    font-stretch: var(--display-width);
    font-weight: 800;
    letter-spacing: -0.025em;
}
.hero-slogan em,
.pro-headline em,
.story-heading em {
    font-stretch: var(--display-width);
    font-weight: 600;
}

/* Furniture — the signature texture of the page */
.slate,
.slate-id,
.frame-label,
.pro-contact-label,
.person-stats span,
.person-tags span,
.hero-scroll,
.footer,
.top-nav-link .tip,
.view-all-btn,
.craft-reel-label,
.tc-hud {
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

/* =========================================================
   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-inner { display: flex; flex-direction: column; align-items: center; }
.loader-logo {
    width: 240px !important;
    max-width: 60vw !important;
    height: auto !important;
    animation: loaderPulse 1.6s ease-in-out infinite;
}
.loader-bar { width: 140px; height: 2px; background: rgba(232, 169, 58,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: 64px;
    height: 76px;
    padding: 0;
    overflow: visible;
    transition: transform 0.3s;
    animation: brandIn 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) 0.3s both;
}
.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(242, 233, 220, 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(242, 233, 220, 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(242, 233, 220, 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: #17100B !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: #17100B;
    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);
}
/* Still frame from the hero clip sits underneath the player, so the hero is
   never a flat black rectangle while YouTube loads — or if it never does. */
.hero-video {
    position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    background-image: url('https://img.youtube.com/vi/O1Kekm3Va4I/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(0.9);
}
.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(11, 7, 5, 0.92) 0%,
            rgba(11, 7, 5, 0.80) 30%,
            rgba(11, 7, 5, 0.55) 60%,
            rgba(11, 7, 5, 0.20) 85%,
            transparent 100%),
        /* Top strip to mask YT title/channel bar */
        linear-gradient(180deg,
            rgba(11, 7, 5,0.90) 0%,
            rgba(11, 7, 5,0.50) 6%,
            rgba(11, 7, 5,0.25) 14%,
            rgba(11, 7, 5,0.25) 50%,
            rgba(11, 7, 5,0.65) 90%,
            rgba(11, 7, 5,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: 600;
    color: var(--ember);
    /* Crisp, not neon — the old glow was doing work the typeface should do */
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
}
.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)
   ========================================================= */
/* ---- Slate line ----------------------------------------------------
   Replaces the old 01–07 eyebrows. Those numbered a sequence that
   didn't exist (nothing here is 4th *because* something was 3rd).
   The right-hand slug carries a real fact about the section instead. */
.slate {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: clamp(30px, 3vw, 46px);
    font-size: 11px;
}
.slate-label { color: var(--cream); white-space: nowrap; }
.slate-rule {
    flex: 1 1 auto;
    height: 1px;
    background: var(--line-strong);
    transform: translateY(-3px);
}
.slate-id { color: var(--revision); white-space: nowrap; }
@media (max-width: 575.98px) {
    .slate { font-size: 10px; gap: 12px; letter-spacing: 0.12em; }
    .slate-id { 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); }

/* =========================================================
   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(242, 233, 220, 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(242, 233, 220, 0.18);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: background 0.35s;
}
.film-frame:hover { background: rgba(232, 169, 58, 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(242, 233, 220, 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-mono);
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--revision);
    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(242, 233, 220, 0.82);
    margin: 0;
    font-weight: 400;
}
.film-frame p em { color: var(--cream); font-weight: 500; font-style: italic; }

@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-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); }
}

/* 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;
}

/* =========================================================
   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(11, 7, 5,0.15) 0%, rgba(11, 7, 5,0.15) 45%, rgba(11, 7, 5,0.92) 100%);
    color: var(--cream);
    transition: background 0.4s;
}
.work-slide:hover .work-overlay {
    background: linear-gradient(180deg, rgba(11, 7, 5,0.30) 0%, rgba(11, 7, 5,0.45) 45%, rgba(11, 7, 5,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(11, 7, 5,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: #17100B !important;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    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 .work-overlay {
    padding: 14px 16px;
    background: linear-gradient(180deg,
        rgba(11, 7, 5,0.05) 0%,
        rgba(11, 7, 5,0.05) 45%,
        rgba(11, 7, 5,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-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(11, 7, 5,0.2) 0%, rgba(11, 7, 5,0.2) 40%, rgba(11, 7, 5,0.9) 100%);
    color: var(--cream);
    transition: background 0.4s;
}
.work-card:hover .work-overlay {
    background: linear-gradient(180deg, rgba(11, 7, 5,0.35) 0%, rgba(11, 7, 5,0.5) 40%, rgba(11, 7, 5,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(11, 7, 5,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); }

/* =========================================================
   THE CRAFT — expertise section
   ========================================================= */
.craft-row { min-height: 60vh; }
.craft-heading { margin-bottom: 24px; }
.craft-lead {
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.65;
    color: var(--cream-dim);
    max-width: 48ch;
    margin-bottom: 32px;
}

/* Teleprompter panel — cinematic vertical prompter for crafts */
.craft-reel {
    position: relative;
    padding: 22px 24px 24px;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(232, 169, 58, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, #0B0603 0%, #05030B 100%);
    border: 1px solid rgba(242, 233, 220, 0.1);
    border-radius: 16px;
    box-shadow:
        inset 0 0 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(242, 233, 220, 0.08),
        0 40px 80px -40px rgba(0, 0, 0, 0.8),
        0 0 0 8px rgba(242, 233, 220, 0.02),
        0 0 0 9px rgba(242, 233, 220, 0.04);
    overflow: hidden;
    font-family: var(--font-mono);
}

.craft-reel-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(232, 169, 58, 0.75);
    margin-bottom: 14px;
    font-family: var(--font-mono);
}
.prompter-time {
    margin-left: auto;
    color: var(--cream-faint);
    letter-spacing: 0.2em;
    font-variant-numeric: tabular-nums;
}
.reel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 0 4px var(--ember-soft);
    animation: reelDotPulse 1.6s ease-in-out infinite;
}
@keyframes reelDotPulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--ember-soft); }
    50% { box-shadow: 0 0 0 8px rgba(232, 169, 58, 0); }
}

.craft-reel-viewport {
    position: relative;
    height: 280px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%);
}

/* Center "cue zone" with corner brackets and a read caret */
.craft-reel-spotlight {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    height: 62px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}
.cue {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--ember);
    filter: drop-shadow(0 0 6px rgba(232, 169, 58, 0.5));
}
.cue-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.cue-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.cue-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.cue-br { bottom: 0; right: 0; border-left: none; border-top: none; }
.cue-caret {
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translate(-100%, -50%);
    color: var(--ember);
    font-size: 18px;
    line-height: 1;
    animation: cueBlink 1.2s steps(2) infinite;
    text-shadow: 0 0 8px rgba(232, 169, 58, 0.7);
}
@keyframes cueBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.25; }
}

/* Faint horizontal scanlines overlay for CRT/monitor feel */
.prompter-scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(242, 233, 220, 0.03) 0px,
        rgba(242, 233, 220, 0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: overlay;
}

.craft-reel-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: craftReelScroll 22s linear infinite;
}
.craft-reel-track span {
    display: block;
    text-align: center;
    padding: 14px 0;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    color: rgba(232, 169, 58, 0.55);
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-shadow: 0 0 12px rgba(232, 169, 58, 0.25);
    transition: color 0.3s;
}
@keyframes craftReelScroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.craft-reel:hover .craft-reel-track { animation-play-state: paused; }

@media (max-width: 991px) {
    .craft-reel { margin-top: 24px; }
    .craft-reel-viewport { height: 220px; }}
@media (prefers-reduced-motion: reduce) {
    .craft-reel-track { animation: none; }
    .reel-dot { animation: none; }}

/* =========================================================
   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%); } }

/* =========================================================
   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(232, 169, 58, 0.08) 0%, var(--surface) 100%);
    border-color: rgba(232, 169, 58, 0.35);
}
.pro-contact-featured .pro-contact-label { color: var(--ember); }
.pro-contact-featured:hover {
    background: linear-gradient(180deg, rgba(232, 169, 58, 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);
}
@media (max-width: 767px) {
    .pro-contact-value { font-size: 17px; }}

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

/* =========================================================
   TIMECODE HUD  — the signature element
   A tape counter for the page: scroll depth read as SMPTE
   timecode, plus whatever section the playhead is sitting in.
   ========================================================= */
.tc-hud {
    position: fixed;
    left: 22px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 10.5px;
    line-height: 1;
    color: var(--revision);
    background: rgba(11, 7, 5, 0.72);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid var(--line);
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.tc-hud.visible { opacity: 1; transform: translateY(0); }
.tc-rec {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ember);
    flex-shrink: 0;
    animation: tcRec 2s ease-in-out infinite;
}
@keyframes tcRec { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.tc-time { color: var(--cream); }
.tc-sep { color: var(--cream-faint); }
.tc-section { color: var(--revision); }

@media (max-width: 767.98px) {
    .tc-hud { left: 12px; bottom: 12px; padding: 7px 11px; font-size: 9.5px; gap: 8px; }
    .tc-sep, .tc-section { display: none; }}
@media (prefers-reduced-motion: reduce) {
    .tc-rec { animation: none; }
    .tc-hud { transition: opacity 0.2s ease; transform: none; }}

/* =========================================================
   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(11, 7, 5,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) {
    .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; }
    .footer { flex-direction: column; text-align: center; }
    .person-stats b { font-size: 26px; }}

/* =========================================================
   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; }
    .pro-contact-grid .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
    .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-headline { font-size: clamp(28px, 6vw, 42px); }
    .story-heading { font-size: clamp(28px, 6.5vw, 44px); }
    .person-name { font-size: 30px; }
        .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; }
    .view-all-btn { width: 100%; justify-content: center; padding: 14px 24px; font-size: 15px; }}

@media (max-width: 575.98px) {
    .pro-contact-grid .col-md-6 { flex: 0 0 100%; max-width: 100%; }
    .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; }}

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

@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); }}

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

/* =========================================================
   KEYBOARD FOCUS
   The page had no focus indicator of its own — keyboard users got
   whatever the UA drew, which is close to invisible on this ink.
   :focus-visible only, so pointer users never see a ring.
   ========================================================= */
:focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 3px;
}

/* Bootstrap zeroes the outline on .btn:focus-visible and substitutes its own
   box-shadow, which its higher specificity makes stick. Put ours back. */
.btn:focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 3px;
    box-shadow: none;
}

/* Circular controls — hug the shape, and add a dark halo so the ring
   stays legible when it sits over a photo or the hero video. */
.top-nav-toggle:focus-visible,
.top-nav-link:focus-visible,
.work-slider-arrow:focus-visible,
.play-btn:focus-visible {
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(11, 7, 5, 0.75);
}

/* Work tiles clip their contents, so draw the ring inside the tile. */
.work-slide:focus-visible {
    outline-offset: -5px;
    outline-width: 3px;
}

/* Controls on cream backgrounds: ember on cream is too low-contrast. */
.view-all-btn:focus-visible,
.btn-ember:focus-visible {
    outline-color: var(--bg);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px var(--ember-soft);
}

/* Cards are large targets — a ring plus a border tint reads more clearly. */
.pro-contact-card:focus-visible {
    outline-offset: 2px;
    border-color: var(--ember);
}

/* The brand mark sits over the hero video. */
.top-brand:focus-visible {
    outline-offset: 4px;
    box-shadow: 0 0 0 7px rgba(11, 7, 5, 0.7);
}

/* Bootstrap paints its own focus shadow on the modal close button. */
.video-modal .btn-close:focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 4px;
    box-shadow: none;
}

/* The collapsed nav hid its links with opacity alone, so they stayed in
   the tab order and focus vanished into an invisible panel. visibility
   removes them from it properly; the delay lets the collapse animation
   finish before they disappear. */
.top-nav-items {
    visibility: 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,
                visibility 0s linear 0.45s;
}
.top-nav.open .top-nav-items {
    visibility: visible;
    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,
                visibility 0s linear 0s;
}

/* =========================================================
   PEOPLE — one wide row per person, portrait on alternating
   sides. The source photos come from different worlds (outdoor
   colour / studio red) at different face scales; one tonal grade
   plus a per-photo crop puts the faces at a common size.
   ========================================================= */
.people { display: grid; gap: clamp(40px, 6vw, 80px); }
.person {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(24px, 4.5vw, 64px);
    align-items: center;
}
.person-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.person-flip .person-photo { order: 2; justify-self: end; }

.person-photo {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--bg);
}
.person-photo img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: var(--op);
    transform: scale(var(--s));
    transform-origin: var(--o);
    /* warm mono — a contact-sheet grade, not an Instagram filter */
    filter: var(--f, grayscale(1) sepia(0.32) saturate(1.2) hue-rotate(-12deg) contrast(1.06));
    transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.person:hover .person-photo img { transform: scale(calc(var(--s) * 1.04)); }
/* Scrim keeps both tiles ending on the same value regardless of
   how bright or dark the original background was. */
.person-photo::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background:
        radial-gradient(120% 90% at 50% 28%, transparent 42%, rgba(11, 7, 5, 0.45) 100%),
        linear-gradient(180deg, transparent 62%, rgba(11, 7, 5, 0.6) 100%);
}
/* Per-photo crop: object-position picks the region, the scale
   zooms around the face. */
.pp-prashanth {
    --op: 50% 50%; --o: 53% 45%; --s: 2;
    --f: grayscale(1) sepia(0.32) saturate(1.2) hue-rotate(-12deg) contrast(1.13) brightness(0.8);
}
.pp-abhinav { --op: 50% 0%; --o: 52% 18%; --s: 1.35; }

.person-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 60ch;
}
.person-name {
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1;
    margin: 0;
    color: var(--cream);
}
.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: flex;
    gap: 32px;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.person-stats > div { display: flex; flex-direction: column; gap: 4px; }
.person-stats b {
    font-family: var(--font-display);
    font-stretch: var(--display-width);
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    color: var(--ember);
}
.person-stats span {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cream-dim);
}
.person-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.person-tags span {
    padding: 4px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 11px;
    color: var(--cream-dim);
}

/* Relationship badge. Ember = in the company. Revision blue =
   brought in per project. The colour carries the distinction. */
.person-badge {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 5px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    color: var(--revision);
    white-space: nowrap;
}
.person-badge-inhouse {
    color: var(--ember);
    border-color: rgba(232, 169, 58, 0.4);
    background: rgba(232, 169, 58, 0.06);
}

@media (max-width: 767.98px) {
    .person, .person-flip { grid-template-columns: 1fr; }
    .person-flip .person-photo { order: 0; justify-self: start; }
    .person-photo { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
    .person-photo img { transition: none; }
}
