/* =================================================================
   THE WHITE ONE PRODUCTION — style.css
   Enhancements: BG Video | Entry Animations | Icon Pulse | Film Scroll
   ================================================================= */

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
    --bg: #0d0d0d;
    --white: #ffffff;
    --grey-light: #cccccc;
    --accent-red: #e62117;
    --display: 'Bebas Neue', cursive;
    --body: 'Montserrat', sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Ultra-smooth deceleration — accelerates fast, drifts to rest */
    --entry-ease: cubic-bezier(0.16, 1, 0.3, 1);
    /* Snappy but controlled hover transition */
    --t: 0.24s;
    --film-w: 160px;
    --circle-sz: 115px;

    /* Staggered pulse offsets — golden-ratio spacing for organic feel */
    --pulse-delay-0: 0s;
    --pulse-delay-1: 0.72s;
    --pulse-delay-2: 1.44s;
    --pulse-delay-3: 2.16s;
    --pulse-delay-4: 2.88s;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg);
    color: var(--white);
    font-family: var(--body);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
}

/* ════════════════════════════════════════════════════════════════
   1. FULL-SCREEN BACKGROUND VIDEO
════════════════════════════════════════════════════════════════ */
.bg-video-wrap {
    position: fixed;
    inset: 0;
    z-index: -2;
    /* behind everything */
    overflow: hidden;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fills the entire viewport, no letterboxing */
    object-position: center center;
    will-change: transform;
}

/* Semi-transparent dark overlay — ensures content is always legible */
.bg-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    /* adjust 0.72 to taste after adding video */
    backdrop-filter: blur(0px);
    /* optional: blur(1px) for frosted look */
}

/* ── Site wrapper ──────────────────────────────────────────────── */
.site-wrapper {
    position: relative;
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

/* ════════════════════════════════════════════════════════════════
   SOCIAL MEDIA BAR
   Fixed to the left side, vertically centred.
   Design ref: whitehillstudios.com
════════════════════════════════════════════════════════════════ */
.social-bar {
    position: fixed;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Individual social button */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    position: relative;

    /* Entry: slide in from the left with spring overshoot */
    opacity: 0;
    transform: translateX(-60px);
    animation: socialSlideIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;

    /* Hover transition — matches whitehillstudios.com bouncy cubic-bezier */
    transition:
        transform 0.4s cubic-bezier(0.7, 0.76, 0.16, 1.1),
        box-shadow 0.3s ease,
        filter 0.3s ease;

    will-change: transform;
}

/* Staggered slide-in delays */
.social-btn:nth-child(1) {
    animation-delay: 0.65s;
}

.social-btn:nth-child(2) {
    animation-delay: 0.82s;
}

.social-btn:nth-child(3) {
    animation-delay: 0.99s;
}

.social-btn:nth-child(4) {
    animation-delay: 1.16s;
}

@keyframes socialSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hover: scale 1.22x — identical to whitehillstudios.com */
.social-btn:hover {
    transform: scale(1.22);
    filter: brightness(1.18);
}

.social-btn:active {
    transform: scale(1.05);
}

/* ── Brand colors ───────────────────────────────────────────── */
.social-fb {
    background: #1877f2;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.40);
}

.social-fb:hover {
    box-shadow: 0 6px 24px rgba(24, 119, 242, 0.65);
}

.social-insta {
    background: radial-gradient(circle at 30% 107%,
            #fdf497 0%, #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285aeb 90%);
    box-shadow: 0 4px 14px rgba(214, 36, 159, 0.40);
}

.social-insta:hover {
    box-shadow: 0 6px 24px rgba(214, 36, 159, 0.65);
}

.social-yt {
    background: #ff0000;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.40);
}

.social-yt:hover {
    box-shadow: 0 6px 24px rgba(255, 0, 0, 0.65);
}

.social-tw {
    background: #000;
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.social-tw:hover {
    background: #1a1a1a;
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.18);
}

/* ── Tooltip label — slides in from the left on hover ───────── */
.social-btn::after {
    content: attr(aria-label);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-family: var(--body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    backdrop-filter: blur(4px);
}

.social-btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ── Ghost background logo ─────────────────────────────────────── */
.bg-ghost {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    will-change: transform;
}

.bg-ghost-img {
    width: 72%;
    max-width: 640px;
    opacity: 0.09;
    filter: invert(1);
}

/* ── Watermark text ─────────────────────────────────────────────── */
.bg-watermark {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    will-change: transform;
}

.wm-line {
    font-family: var(--display);
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.wm-the {
    font-size: clamp(44px, 6.8vw, 92px);
}

.wm-white {
    font-size: clamp(74px, 12vw, 158px);
}

.wm-one {
    font-size: clamp(74px, 12vw, 158px);
}

.wm-prod {
    font-size: clamp(28px, 4vw, 54px);
    letter-spacing: 0.22em;
}

/* ── Corner brackets ─────────────────────────────────────────── */
.corner {
    position: absolute;
    width: 38px;
    height: 38px;
    z-index: 3;
    pointer-events: none;
}

.corner::before,
.corner::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.38);
}

.corner.top-left::before,
.corner.bot-left::before {
    left: 0;
    width: 3px;
    height: 100%;
}

.corner.top-right::before,
.corner.bot-right::before {
    right: 0;
    width: 3px;
    height: 100%;
}

.corner.top-left::after,
.corner.top-right::after {
    top: 0;
    height: 3px;
    width: 100%;
}

.corner.bot-left::after,
.corner.bot-right::after {
    bottom: 0;
    height: 3px;
    width: 100%;
}

.corner.top-left {
    top: 18px;
    left: 18px;
}

.corner.top-right {
    top: 18px;
    right:18px;
}

.corner.bot-left {
    bottom: 18px;
    left: 18px;
}

.corner.bot-right {
    bottom: 18px;
    right: 18px;
}

/* ── Main content ───────────────────────────────────────────────── */
.main-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Extra left padding keeps nav grid clear of the social-bar icons */
    padding: 24px 28px 24px 80px;
}

/* ── Nav grid ───────────────────────────────────────────────────── */
.nav-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    width: 100%;
    max-width: 860px;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.top-row {
    gap: 60px;
}

.bot-row {
    gap: 80px;
}

/* ════════════════════════════════════════════════════════════════
   2. NAV ITEM — ENTRY ANIMATION (JS triggers .is-entering)
      Then transitions to .is-visible for the infinite pulse loop
════════════════════════════════════════════════════════════════ */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    /* Hidden before JS kicks in */
    opacity: 0;
    transform: scale(0) translateY(30px);
    will-change: opacity, transform;
}

/* ── Step 1 — Entry: smooth spring zoom from a tight starting scale ── */
/*    Starts at scale(0.28) — tight enough to feel like a real "pop in"
     but not so small that the motion looks mechanical or excessive.
     A single clean overshoot at 65% → quiet settle. Pure GPU work.    */
@keyframes iconEntry {
    0% {
        opacity: 0;
        transform: scale(0.28) translateY(22px);
    }

    /* Opacity completes well before we reach the peak — no ghost icon */
    28% {
        opacity: 1;
    }

    /* Elegant overshoot — barely past 1, feels confident not bouncy */
    65% {
        transform: scale(1.055) translateY(-4px);
    }

    /* Single soft undershoot — gives the icon a sense of weight */
    82% {
        transform: scale(0.982) translateY(1px);
    }

    /* Micro-lock — seals the resting position imperceptibly */
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ── Step 2 — Pulse: ultra-subtle levitation, cinematic shadow bloom ── */
/*    Rise  : 0% → 40%  — slow, graceful ascent
     Hold   : 40%→ 56%  — hangs at peak like a levitating object
     Descend: 56%→100%  — unhurried glide back to rest
     The box-shadow bloom at peak adds a depth "glow" making circles look
     like they're lifting off the canvas — the key premium differentiator. */
@keyframes iconPulse {
    0% {
        transform: scale(1) translateY(0);
        filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    }

    40% {
        transform: scale(1.032) translateY(-2.5px);
        filter: brightness(1.055) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.60));
    }

    56% {
        /* Gentle hold at peak — the icon "floats" for a beat */
        transform: scale(1.030) translateY(-2.5px);
        filter: brightness(1.055) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.60));
    }

    100% {
        transform: scale(1) translateY(0);
        filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    }
}

/* When JS adds .is-entering */
.nav-item.is-entering {
    /* --entry-ease = cubic-bezier(0.16, 1, 0.3, 1)
       Explosive start, feathers out to a near-zero velocity at rest */
    animation: iconEntry 0.95s var(--entry-ease) forwards;
}

/* When JS swaps to .is-pulsing (after entry completes) */
.nav-item.is-pulsing {
    opacity: 1;
    transform: none;
    /* Custom cubic-bezier mimics a physical spring with natural ease-in
       on the rise and a gentler ease-out on the fall */
    animation: iconPulse 5.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Golden-ratio phase offsets — prevents icons pulsing in sync */
.nav-item[data-delay="0"].is-pulsing {
    animation-delay: var(--pulse-delay-0);
}

.nav-item[data-delay="1"].is-pulsing {
    animation-delay: var(--pulse-delay-1);
}

.nav-item[data-delay="2"].is-pulsing {
    animation-delay: var(--pulse-delay-2);
}

.nav-item[data-delay="3"].is-pulsing {
    animation-delay: var(--pulse-delay-3);
}

.nav-item[data-delay="4"].is-pulsing {
    animation-delay: var(--pulse-delay-4);
}

/* On hover: pause pulse so hover-scale feels clean and intentional */
.nav-item:hover.is-pulsing {
    animation-play-state: paused;
}

/* ════════════════════════════════════════════════════════════════
   VARIATION ANIMATIONS — unique styles for selected icons
   ─────────────────────────────────────────────────────────────
   Music     → iconSwing   : gentle pendulum rotation (rhythm vibe)
   Events    → iconGlow    : radial glow breathe (stage-light pulse)
   Artists   → iconOrbit   : diagonal figure-8 drift (creative flow)
   All use GPU-only properties (transform / filter). Hover still
   pauses animation for a clean, intentional interaction.
════════════════════════════════════════════════════════════════ */

/* ── 1. SWING — Music icon (pendulum, rhythm feel) ─────────────── */
@keyframes iconSwing {
    0% {
        transform: rotate(0deg) scale(1);
        filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    }

    18% {
        transform: rotate(-7deg) scale(1.025);
        filter: brightness(1.06) drop-shadow(0 6px 16px rgba(255, 215, 0, 0.22));
    }

    36% {
        transform: rotate(0deg) scale(1.035);
        filter: brightness(1.08) drop-shadow(0 8px 22px rgba(255, 215, 0, 0.28));
    }

    54% {
        transform: rotate(7deg) scale(1.025);
        filter: brightness(1.06) drop-shadow(0 6px 16px rgba(255, 215, 0, 0.22));
    }

    72% {
        transform: rotate(0deg) scale(1.01);
        filter: brightness(1.02) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.50));
    }

    100% {
        transform: rotate(0deg) scale(1);
        filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    }
}

.nav-item.is-pulsing.anim-swing {
    animation-name: iconSwing;
    animation-duration: 4.8s;
    animation-timing-function: cubic-bezier(0.36, 0.07, 0.19, 0.97);
    transform-origin: center bottom;
}

/* ── 2. GLOW BREATHE — Events icon (stage light bloom) ──────────── */
@keyframes iconGlow {

    0%,
    100% {
        transform: scale(1) translateY(0);
        filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    }

    30% {
        transform: scale(1.018) translateY(-1px);
        filter: brightness(1.12) drop-shadow(0 0 18px rgba(255, 200, 80, 0.55)) drop-shadow(0 6px 20px rgba(255, 160, 40, 0.35));
    }

    50% {
        transform: scale(1.025) translateY(-2px);
        filter: brightness(1.18) drop-shadow(0 0 28px rgba(255, 215, 0, 0.70)) drop-shadow(0 8px 28px rgba(255, 160, 20, 0.45));
    }

    70% {
        transform: scale(1.018) translateY(-1px);
        filter: brightness(1.12) drop-shadow(0 0 18px rgba(255, 200, 80, 0.55)) drop-shadow(0 6px 20px rgba(255, 160, 40, 0.35));
    }
}

.nav-item.is-pulsing.anim-glow {
    animation-name: iconGlow;
    animation-duration: 3.8s;
    animation-timing-function: ease-in-out;
}

/* ── 3. ORBIT FLOAT — Artists icon (creative diagonal drift) ────── */
@keyframes iconOrbit {
    0% {
        transform: translate(0, 0) scale(1);
        filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    }

    25% {
        transform: translate(3px, -3.5px) scale(1.028);
        filter: brightness(1.07) drop-shadow(3px 10px 18px rgba(0, 0, 0, 0.60));
    }

    50% {
        transform: translate(0, -5px) scale(1.038);
        filter: brightness(1.10) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.65));
    }

    75% {
        transform: translate(-3px, -3.5px) scale(1.028);
        filter: brightness(1.07) drop-shadow(-3px 10px 18px rgba(0, 0, 0, 0.60));
    }

    100% {
        transform: translate(0, 0) scale(1);
        filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    }
}

.nav-item.is-pulsing.anim-orbit {
    animation-name: iconOrbit;
    animation-duration: 6.2s;
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── Nav button wrapper ─────────────────────────────────────────── */
.nav-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--circle-sz);
    height: var(--circle-sz);
    border-radius: 50%;
    cursor: pointer;
    outline: none;
}

/* ── CSS Circle shell ─────────────────────────────────────────── */
.circle-shell {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 135deg,
            #8a8a8a 0deg, #d8d8d8 60deg,
            #f0f0f0 120deg, #b0b0b0 180deg,
            #6a6a6a 240deg, #c0c0c0 300deg,
            #8a8a8a 360deg);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.7),
        0 0 0 2px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Faster, spring-like hover response — --t is now 0.24s */
    transition:
        transform var(--t) cubic-bezier(0.34, 1.42, 0.64, 1),
        box-shadow var(--t) var(--ease),
        filter var(--t) var(--ease);
    will-change: transform;
}

/* White inner disc */
.circle-shell::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff, #e4e4e4);
    z-index: 0;
}

/* Icon on top of inner disc */
.circle-icon {
    position: relative;
    z-index: 1;
    width: 62%;
    height: 62%;
    object-fit: contain;
    transition: transform var(--t) var(--ease);
}

/* Glow ring */
.hover-ring {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    box-shadow: none;
    transition:
        border-color var(--t) var(--ease),
        box-shadow var(--t) var(--ease);
    pointer-events: none;
}

/* Hover */
.nav-btn:hover .circle-shell {
    transform: scale(1.1) translateY(-5px);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.88),
        0 0 30px rgba(255, 255, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    /* Premium glow: brightness + subtle white drop-shadow lift */
    filter: brightness(1.08) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.10));
}

.nav-btn:hover .circle-icon {
    transform: scale(1.07);
}

.nav-btn:hover .hover-ring {
    border-color: rgba(255, 255, 255, 0.50);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.15), 0 12px 32px rgba(0, 0, 0, 0.60);
}

.nav-btn:active .circle-shell {
    transform: scale(1.04) translateY(-2px);
    transition-duration: 0.1s;
}

/* Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.28);
    transform: translate(-50%, -50%) scale(0);
    animation: ripple-out 0.65s ease-out forwards;
    pointer-events: none;
    z-index: 10;
}

@keyframes ripple-out {
    to {
        transform: translate(-50%, -50%) scale(17);
        opacity: 0;
    }
}

/* ── Nav Label ──────────────────────────────────────────────────── */
.nav-label {
    font-family: var(--body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--white);
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    white-space: nowrap;
    transition: letter-spacing var(--t) var(--ease);
}

.nav-item:hover .nav-label {
    letter-spacing: 0.09em;
}

/* ════════════════════════════════════════════════════════════════
   CENTER LOGO
════════════════════════════════════════════════════════════════ */
.logo-wrap {
    position: relative;
    flex: 0 0 auto;
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.7s var(--ease) 0.15s, transform 0.7s var(--spring) 0.15s;
}

.logo-wrap.logo-visible {
    opacity: 1;
    transform: scale(1);
}

/* Logo bracket corners */
.logo-brackets {
    position: absolute;
    inset: -6px;
    pointer-events: none;
}

.lb {
    position: absolute;
    width: 26px;
    height: 26px;
}

.lb::before,
.lb::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.55);
}

.lb.lb-tl {
    top: 0;
    left: 0;
}

.lb.lb-br {
    bottom: 0;
    right: 0;
}

.lb.lb-tl::before {
    top: 0;
    left: 0;
    width: 2.5px;
    height: 100%;
}

.lb.lb-tl::after {
    top: 0;
    left: 0;
    height: 2.5px;
    width: 100%;
}

.lb.lb-br::before {
    bottom: 0;
    right: 0;
    width: 2.5px;
    height: 100%;
}

.lb.lb-br::after {
    bottom: 0;
    right: 0;
    height: 2.5px;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.logo-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo icon subtle breathe */
@keyframes logoBreathe {

    0%,
    100% {
        transform: scale(1);
        filter: invert(1);
    }

    50% {
        transform: scale(1.02);
        filter: invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
    }
}

.logo-icon-img {
    width: 96px;
    height: auto;
    filter: invert(1);
    animation: logoBreathe 4s ease-in-out infinite;
    will-change: transform, filter;
}

.logo-link:hover .logo-icon-img {
    animation-play-state: paused;
    filter: invert(1) drop-shadow(0 0 18px rgba(255, 255, 255, 0.45));
    transform: scale(1.04);
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--white);
}

.lt-the {
    font-family: var(--display);
    font-size: 21px;
    letter-spacing: 0.14em;
    line-height: 1.1;
}

.lt-white {
    font-family: var(--display);
    font-size: 50px;
    letter-spacing: 0.06em;
    line-height: 0.92;
}

.lt-one {
    font-family: var(--display);
    font-size: 50px;
    letter-spacing: 0.06em;
    line-height: 0.92;
}

.lt-prod {
    font-family: var(--display);
    font-size: 13px;
    letter-spacing: 0.38em;
    color: var(--grey-light);
    margin-top: 5px;
}

/* ════════════════════════════════════════════════════════════════
   3. FILMSTRIP SIDEBAR — Continuous CSS Scroll Motion
════════════════════════════════════════════════════════════════ */
.filmstrip {
    position: relative;
    z-index: 2;
    width: var(--film-w);
    min-width: var(--film-w);
    height: 100%;
    background: #000;
    display: flex;
    align-items: stretch;
    border-left: 2px solid #111;
    box-shadow: -3px 0 18px rgba(0, 0, 0, 0.7);
    overflow: hidden;

    /* Subtle left-border pulse glow to signal it's alive */
    animation: filmEdgeGlow 3s ease-in-out infinite;
}

@keyframes filmEdgeGlow {

    0%,
    100% {
        box-shadow: -3px 0 18px rgba(0, 0, 0, 0.7);
    }

    50% {
        box-shadow: -3px 0 26px rgba(220, 30, 20, 0.22), -3px 0 8px rgba(220, 30, 20, 0.12);
    }
}

/* Sprocket perforations */
.perf {
    width: 14px;
    min-width: 14px;
    height: 100%;
    flex-shrink: 0;
    background: repeating-linear-gradient(to bottom,
            #000 0px, #000 5px,
            #fff 5px, #fff 11px,
            #000 11px, #000 17px);
    opacity: 0.9;
}

/* Track: CSS infinite scroll animation */
/* 8 cards × ~120px each ≈ 960px total; animation moves by half (4 cards) to loop */
.filmstrip-track {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* animate upward: translate from 0 to -(4 cards height) then reset */
    animation: filmScroll 16s linear infinite;
    will-change: transform;
    padding: 0;
}

/* Pause on hover so user can click */
.filmstrip:hover .filmstrip-track {
    animation-play-state: paused;
}

/* The scroll distance = height of 4 cards (original set).
   Each card = padding(10px) + img(~115px) = ~125px → 4×125 = 500px */
@keyframes filmScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }

    /* exactly half of 8-card track */
}

/* Film card */
.film-card {
    flex: 0 0 auto;
    padding: 5px 4px;
    cursor: pointer;
}

.film-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.film-card:hover .film-img-wrap {
    transform: scale(1.04);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.8), 0 0 10px rgba(230, 33, 23, 0.28);
}

.film-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter var(--t) var(--ease);
}

.film-card:hover .film-img-wrap img {
    filter: brightness(0.7);
}

/* Badge */
.film-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-family: var(--body);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 4px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

.film-badge--red {
    background: rgba(198, 18, 8, 0.9);
}

.film-badge--green {
    background: rgba(18, 138, 78, 0.9);
}

.film-badge--orange {
    background: rgba(208, 98, 8, 0.9);
}

/* YouTube overlay */
.film-yt-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: opacity var(--t) var(--ease);
}

.film-card:hover .film-yt-overlay {
    opacity: 1;
}

/* YouTube button — subtle idle pulse */
@keyframes ytIdlePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 18px rgba(230, 33, 23, 0.5);
    }
}

.yt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--accent-red);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    animation: ytIdlePulse 2s ease-in-out infinite;
    transition: background var(--t) var(--ease);
}

.yt-btn:hover {
    background: #b51a10;
    color: #fff;
    animation-play-state: paused;
    transform: scale(1.2);
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */

/* ── XL monitors ────────────────────────────────────────────── */
@media (min-width: 1400px) {
    :root {
        --circle-sz: 166px;
        --film-w: 180px;
    }

    .top-row {
        gap: 72px;
    }

    .bot-row {
        gap: 100px;
    }

    .lt-white,
    .lt-one {
        font-size: 56px;
    }

    .logo-icon-img {
        width: 108px;
    }
}

/* ── Large desktops ─────────────────────────────────────────── */
@media (max-width: 1200px) {
    :root {
        --circle-sz: 128px;
        --film-w: 148px;
    }

    .top-row {
        gap: 44px;
    }

    .bot-row {
        gap: 60px;
    }

    .lt-white,
    .lt-one {
        font-size: 44px;
    }
}

/* ════════════════════════════════════════════════════════════════
   TABLET  (≤ 900px)
   • Page becomes scrollable
   • Filmstrip rotates to a horizontal bottom strip
   • Social bar shrinks, tooltips hidden (touch device)
════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

    html,
    body {
        overflow: auto;
    }

    :root {
        --circle-sz: 108px;
        --film-w: 100%;
    }

    /* Stack content above filmstrip */
    .site-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    /* Horizontal filmstrip strip */
    .filmstrip {
        width: 100%;
        height: 148px;
        border-left: none;
        border-top: 2px solid #111;
        flex-direction: column;
        animation: none;
        /* skip glow on mobile — perf */
    }

    .perf {
        width: 100%;
        height: 13px;
        min-width: unset;
        min-height: 13px;
        background: repeating-linear-gradient(to right,
                #000 0px, #000 5px,
                #fff 5px, #fff 11px,
                #000 11px, #000 17px);
    }

    .filmstrip-track {
        flex-direction: row;
        animation: filmScrollH 16s linear infinite;
    }

    @keyframes filmScrollH {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    .filmstrip:hover .filmstrip-track {
        animation-play-state: paused;
    }

    .film-card {
        flex: 0 0 148px;
        padding: 0 5px;
    }

    /* Nav layout */
    .main-content {
        padding: 36px 20px 36px 64px;
        /* left-pad clears social bar */
    }

    .top-row {
        gap: 26px;
    }

    .bot-row {
        gap: 34px;
    }

    .nav-grid {
        gap: 22px;
    }

    /* Corner brackets: right side now sits at page edge, not filmstrip edge */
    .corner.top-right,
    .corner.bot-right {
        right: 18px;
    }

    /* Social bar — tablet */
    .social-bar {
        left: 10px;
        gap: 9px;
    }

    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Hide tooltips on touch devices */
    .social-btn::after {
        display: none;
    }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE PHONE  (≤ 640px)
   Matches competitor's approach:
     • Nav becomes a 2-column CSS Grid (3 rows of icon-pairs)
     • Logo spans full width above grid
     • Filmstrip hidden completely
     • Corner brackets hidden
     • Social bar moves to bottom-center horizontal row
     • Content area padded at bottom so social bar never overlaps
════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

    :root {
        --circle-sz: 92px;
    }

    /* ── Hide filmstrip entirely — matches competitor ── */
    .filmstrip {
        display: none;
    }

    /* ── Hide corner brackets — matches competitor ── */
    .corner {
        display: none;
    }

    /* ── Main content: full-width, centred, bottom-safe ── */
    .main-content {
        padding: 28px 16px 88px;
        /* 88px = social bar (34px) + gap (34px) + buffer */
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }

    /* ── Nav grid: switch to CSS 2-column grid ── */
    .nav-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        align-items: start;
    }

    /* Dissolve .nav-row wrappers so items flow into the parent grid */
    .nav-row {
        display: contents;
    }

    /* Logo: span both columns, appear FIRST above the nav icons.
       order: -10 puts it firmly before all nav-items (order: 0). */
    .logo-wrap {
        grid-column: 1 / -1;
        justify-self: center;
        margin-bottom: 8px;
        order: -10;
    }

    /* Each nav item: explicit order: 0 ensures they follow the logo */
    .nav-item {
        justify-self: center;
        gap: 10px;
        order: 0;
    }

    /* ── Logo sizing ── */
    .logo-icon-img {
        width: 60px;
    }

    .logo-inner {
        gap: 10px;
    }

    .lt-white,
    .lt-one {
        font-size: 34px;
    }

    .lt-the {
        font-size: 16px;
    }

    .lt-prod {
        font-size: 9px;
        letter-spacing: 0.22em;
    }

    /* ── Nav label ── */
    .nav-label {
        font-size: 11px;
        letter-spacing: 0.07em;
        text-transform: uppercase;
    }

    .circle-icon {
        width: 56%;
    }

    /* ── Social bar → bottom-center horizontal row ── */
    .social-bar {
        position: fixed;
        left: 50%;
        bottom: 36px;
        /* sits above footer bar */
        top: auto;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 10px;
        z-index: 200;
    }

    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
        /* Re-run fade-in (replaces slide-in which is desktop only) */
        animation: socialFadeIn 0.5s ease forwards;
    }

    .social-btn:nth-child(1) {
        animation-delay: 0.60s;
    }

    .social-btn:nth-child(2) {
        animation-delay: 0.72s;
    }

    .social-btn:nth-child(3) {
        animation-delay: 0.84s;
    }

    .social-btn:nth-child(4) {
        animation-delay: 0.96s;
    }

    @keyframes socialFadeIn {
        from {
            opacity: 0;
            transform: scale(0.55);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .social-btn::after {
        display: none;
    }

    /* ── Touch UX polish ── */
    .nav-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        /* Ensure minimum 48px touch-target even if circle is smaller */
        min-width: 48px;
        min-height: 48px;
    }

    .social-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Watermark: scale down gracefully */
    .wm-the {
        font-size: clamp(32px, 8vw, 64px);
    }

    .wm-white {
        font-size: clamp(56px, 14vw, 110px);
    }

    .wm-one {
        font-size: clamp(56px, 14vw, 110px);
    }

    .wm-prod {
        font-size: clamp(22px, 5vw, 40px);
    }
}

/* ── Extra small phones (≤ 420px) ────────────────────────────── */
@media (max-width: 420px) {
    :root {
        --circle-sz: 78px;
    }

    .nav-grid {
        gap: 10px 8px;
    }

    .nav-label {
        font-size: 10px;
    }

    .logo-icon-img {
        width: 52px;
    }

    .lt-white,
    .lt-one {
        font-size: 28px;
    }
}

/* ── Respect user motion preferences ────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    .nav-item.is-entering,
    .nav-item.is-pulsing,
    .logo-icon-img,
    .filmstrip-track,
    .yt-btn,
    .filmstrip,
    .social-btn {
        animation: none !important;
    }

    .nav-item {
        opacity: 1;
        transform: none;
    }

    .logo-wrap.logo-visible {
        opacity: 1;
        transform: none;
    }

    .social-btn {
        opacity: 1;
        transform: none;
    }
}

/* ════════════════════════════════════════════════════════════════
   SPOTLIGHT — Diverging ray lines from top-centre
   Mimics the cinematic stage-lighting on whitehillstudios.com
════════════════════════════════════════════════════════════════ */
.spotlight {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* 8 thin diverging rays from top-center, very low opacity */
    background:
        repeating-conic-gradient(from -90deg at 50% -10%,
            rgba(255, 255, 255, 0.028) 0deg,
            rgba(255, 255, 255, 0.028) 2deg,
            transparent 2deg,
            transparent 22.5deg);
    /* Slow, subtle pulse to feel alive */
    animation: spotlightPulse 8s ease-in-out infinite;
    will-change: opacity;
}

@keyframes spotlightPulse {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

/* Dark video overlay sits above spotlight so rays remain subtle */
.bg-video-overlay {
    z-index: 0;
}

.spotlight {
    z-index: -1;
}

/* ════════════════════════════════════════════════════════════════
   SITE FOOTER
════════════════════════════════════════════════════════════════ */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    height: 28px;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.site-footer span {
    font-family: var(--body);
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.40);
    letter-spacing: 0.06em;
    white-space: nowrap;
    text-transform: uppercase;
}

/* ── Mobile footer: shrink height, allow text to wrap, stay below social bar */
@media (max-width: 640px) {
    .site-footer {
        height: auto;
        min-height: 28px;
        padding: 4px 12px;
        /* lower z-index so social bar icons appear above footer */
        z-index: 190;
    }

    .site-footer span {
        font-size: 9px;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
        letter-spacing: 0.04em;
    }
}

/* ════════════════════════════════════════════════════════════════
   FILMSTRIP VIEW-COUNT BADGE
════════════════════════════════════════════════════════════════ */
.film-views {
    position: absolute;
    top: 5px;
    right: 4px;
    font-family: var(--body);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(0, 0, 0, 0.70);
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    text-transform: uppercase;
    /* Yellow accent line on left edge like competitor */
    border-left: 2px solid #f5c518;
}

/* ════════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   Two-element design: snappy inner dot + lerp-smoothed outer ring.
   Hover on interactive elements: ring expands, dot fades.
   Mobile / touch: entire system hidden via (hover: hover).
════════════════════════════════════════════════════════════════ */
@media (hover: hover) {

    html,
    body {
        cursor: none;
    }

    a,
    button,
    [role="button"],
    .nav-btn,
    .social-btn,
    .yt-btn,
    .film-card,
    .logo-link {
        cursor: none;
    }

    /* ── Inner dot — snaps immediately ─────────────────────────── */
    .cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ffffff;
        pointer-events: none;
        /* transform set by JS */
        transform: translate3d(-50%, -50%, 0);
        will-change: transform;
        transition:
            opacity 0.2s ease,
            transform 0.12s ease;
        mix-blend-mode: difference;
    }

    /* ── Outer ring — lerp-delayed ─────────────────────────────── */
    .cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9998;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.42);
        pointer-events: none;
        transform: translate3d(-50%, -50%, 0);
        will-change: transform;
        transition:
            width 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
            height 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
            border-color 0.25s ease,
            box-shadow 0.25s ease,
            opacity 0.22s ease;
    }

    /* ── Hover state: ring expands, dot fades ──────────────────── */
    body.cursor--hovering .cursor-ring {
        width: 58px;
        height: 58px;
        border-color: rgba(255, 255, 255, 0.80);
        box-shadow:
            0 0 18px rgba(255, 255, 255, 0.22),
            inset 0 0 8px rgba(255, 255, 255, 0.06);
    }

    body.cursor--hovering .cursor-dot {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(0);
    }

    /* ── Click feedback: ring briefly squeezes ─────────────────── */
    body.cursor--clicking .cursor-ring {
        width: 28px;
        height: 28px;
        border-color: rgba(255, 255, 255, 1);
        transition:
            width 0.1s ease,
            height 0.1s ease,
            border-color 0.1s ease;
    }

    /* ── Hidden until first mouse move ────────────────────────── */
    .cursor-dot,
    .cursor-ring {
        opacity: 0;
    }

    .cursor-dot.cursor-active,
    .cursor-ring.cursor-active {
        opacity: 1;
    }
}

/* Reduced motion: ring snaps to cursor, no lerp delay at all */
@media (prefers-reduced-motion: reduce) {
    .cursor-ring {
        transition: none !important;
    }
}

/* ════════════════════════════════════════════════════════════════
   SPARKLE / STARDUST BURST — on page load
   Canvas sits above everything; pointer-events: none keeps it
   fully non-blocking. Fades out after the burst completes.
════════════════════════════════════════════════════════════════ */
#sparkle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    /* canvas fades away once JS finishes */
    opacity: 1;
    transition: opacity 0.8s ease;
}

#sparkle-canvas.sparkle-done {
    opacity: 0;
}

/* Reduced motion — hide canvas entirely; JS will skip spawning */
@media (prefers-reduced-motion: reduce) {
    #sparkle-canvas {
        display: none;
    }
}