        :root {
            /* Keep it primarily dark */
            --bg-black: #000000;

            /* Incorporating palette */
            --trim-dark: #2a2522;
            /* Smoke */
            --trim-light: #faebe3;
            /* Polar */
            --text-light: #ffffff;
            /* White */
            --brand-pink: #ffa3d1;
            /* Pink */
            --brand-mandarin: #db4221;
            /* Mandarin */
            --brand-taupe: #d4b5ab;
            /* Taupe */

            /* Font Stacks */
            --font-display: 'Hubot Sans', sans-serif;
            --font-body: 'Bricolage Grotesque', sans-serif;
        }

        /* Custom Font Imports */
        /* NOTE: Local PP Neue Machina declarations kept as optional offline fallback */
        @font-face {
            font-family: 'PP Neue Machina';
            src: url('PPNeueMachina-PlainBlackItalic.woff2') format('woff2'),
                url('PPNeueMachina-PlainBlackItalic.woff') format('woff'),
                url('PPNeueMachina-PlainBlackItalic.otf') format('opentype'),
                url('PPNeueMachina-PlainBlackItalic.ttf') format('truetype');
            font-weight: 900;
            font-style: italic;
            font-display: swap;
        }

        @font-face {
            font-family: 'PP Neue Machina Inktrap';
            src: url('PPNeueMachina-InktrapMedium.ttf') format('truetype');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        }

        /* Hide native cursor only when JS confirms a fine pointer (real mouse) is present.
           html.fine-pointer is set/removed by matchMedia('(pointer: fine)') in the script below.
           Previously this was a global `* { cursor: none }` gated only by a 900px width
           breakpoint, so any touch-primary device wider than 900px (iPad Pro landscape,
           Surface, touchscreen laptops) lost the native cursor with no custom one to replace
           it, since the custom cursor only responds to mousemove. */
        html.fine-pointer * {
            cursor: none !important;
        }

        .cursor-wrapper {
            display: none;
        }

        html.fine-pointer .cursor-wrapper {
            display: block;
        }

        body {
            margin: 0;
            font-family: var(--font-body);
            background-color: var(--bg-black);
            color: var(--text-light);
            line-height: 1.6;
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Prevent scrolling during password/intro */
        body.locked-active,
        body.intro-active {
            overflow: hidden;
        }

        /* ---------------------------------------------
           PASSWORD SCREEN
           --------------------------------------------- */
        #password-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            height: 100dvh;
            background-color: var(--bg-black);
            z-index: 20000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: opacity 0.8s ease, visibility 0.8s ease;
        }

        #password-screen.fade-out {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .password-container {
            text-align: center;
            padding: 2rem;
        }

        .password-container h2 {
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 2rem;
            color: var(--brand-mandarin);
            letter-spacing: 2px;
            margin-bottom: 2rem;
        }

        #password-form {
            display: block;
            margin: 0;
            padding: 0;
        }

        #site-password {
            background: transparent;
            border: none;
            border-bottom: 2px solid var(--trim-dark);
            color: var(--text-light);
            font-family: var(--font-body);
            font-weight: 400;
            font-size: 1.2rem;
            text-align: center;
            padding: 0.5rem;
            outline: none;
            width: 250px;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: border-color 0.3s ease;
            pointer-events: auto;
        }

        #site-password:focus {
            border-bottom-color: var(--brand-pink);
        }

        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            overflow: hidden;
            clip: rect(0 0 0 0);
            white-space: nowrap;
        }

        #password-error {
            color: var(--brand-mandarin);
            font-family: var(--font-body);
            font-weight: 700;
            font-size: 0.8rem;
            margin-top: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        /* ---------------------------------------------
           INTRO SCREEN
           --------------------------------------------- */
        #intro-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            height: 100dvh;
            background-color: var(--bg-black);
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 1.2s;
            /* Fully opaque by default to block the home page from flashing */
            opacity: 1;
            visibility: visible;
        }

        #intro-screen.fade-out {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        #intro-screen video {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100vw;
            height: 56.25vw;
            max-height: 100vh;
            max-height: 100dvh;
            max-width: 177.78vh;
            max-width: 177.78dvh;
            transform: translate(-50%, -50%) scale(1);
            transform-origin: center center;
            transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
            will-change: transform;
            pointer-events: none;
            border: 0;
        }

        #intro-screen video.scale-to-full-height {
            transform: translate(-50%, -50%) scale(var(--intro-scale, 1));
        }

        #intro-screen iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: translate(-50%, -50%);
            pointer-events: none;
            border: 0;
        }

        /* ---------------------------------------------
           CUSTOM LAGGING CURSOR
           --------------------------------------------- */
        .cursor-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 999999;
            will-change: transform;
        }

        .cursor-dot {
            width: 20px;
            height: 20px;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background-color: transparent;
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* The bear is an <img> rather than a CSS background so referrerpolicy can apply
           (Google Drive hotlinks 403 without it, and CSS backgrounds can't set one). */
        .cursor-dot img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 50%;
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        .cursor-scrub-icon {
            display: none;
            width: 22px;
            height: 22px;
            color: #111;
            stroke-width: 2.5;
            position: absolute;
            transition: transform 0.2s ease;
        }

        /* Custom cursor expands smoothly on hoverables */
        .cursor-wrapper.hovering .cursor-dot {
            width: 50px;
            height: 50px;
        }

        /* Scrub mode replaces the bear logo with a dedicated scrub arrow indicator */
        .cursor-wrapper.scrub-mode .cursor-dot {
            width: 44px;
            height: 44px;
            background-color: var(--brand-pink, #ffa3d1);
            box-shadow: 0 0 15px rgba(255, 163, 209, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
            border: 2px solid #fff;
        }

        .cursor-wrapper.scrub-mode .cursor-dot img {
            display: none;
        }

        .cursor-wrapper.scrub-mode .cursor-scrub-icon {
            display: block;
        }

        /* ---------------------------------------------
           MAIN NAVIGATION & HEADER
           --------------------------------------------- */
        #main-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 7rem;
            z-index: 999;
            pointer-events: none;
            transition: background-color 0.4s ease, border-color 0.4s ease, height 0.3s ease;
        }

        /* Scrolled Backdrop */
        body.scrolled #main-header,
        body.artist-view-active #main-header,
        body.facilities-view-active #main-header {
            background-color: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-bottom: 1px solid var(--trim-dark);
            height: 5.5rem;
        }

        /* Capabilities / Orbit View Specific Header Override */
        body.capabilities-view-active #main-header {
            background-color: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            border-bottom: none !important;
        }

        /* Top Left Logo. Hidden on the home hero (the big centred logo takes over there),
           shown on every other view and once the home page is scrolled. */
        .header-logo {
            position: absolute;
            left: 2.5rem;
            top: 50%;
            transform: translateY(-50%);
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 1.3rem;
            color: var(--brand-mandarin);
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;
            transition: color 0.3s ease, opacity 0.3s ease;
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
        }

        body.scrolled .header-logo,
        body.artist-view-active .header-logo,
        body.artists-index-active .header-logo,
        body.capabilities-view-active .header-logo,
        body.facilities-view-active .header-logo {
            opacity: 1;
            pointer-events: auto;
        }

        .header-logo:hover {
            color: var(--brand-pink);
        }

        /* Keyboard focus for the nav links (they're real anchors now, not divs) */
        .header-logo:focus-visible,
        .menu-title:focus-visible,
        .back-to-artists:focus-visible,
        .artist-name-link:focus-visible {
            outline: 2px solid var(--brand-pink);
            outline-offset: 4px;
        }

        /* Top Central Navigation Wrapper */
        .nav-central-top {
            display: flex;
            gap: 2.5rem;
            align-items: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: auto;
            transition: all 0.3s ease;
        }

        .menu-container {
            position: relative;
        }

        .menu-title {
            display: inline-block;
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 0.9rem;
            color: var(--trim-light);
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;
            cursor: pointer;
            padding-bottom: 1.5rem;
            margin-bottom: -1.5rem;
            transition: color 0.3s ease;
        }

        .menu-title:hover {
            color: var(--brand-pink);
        }

        /* View Containers */
        #home-view {
            display: block;
        }

        #artists-index-view {
            display: none;
            width: 100vw;
            height: 100vh;
            height: 100dvh;
            position: relative;
            overflow: hidden;
            background-color: var(--bg-black);
        }

        #artist-view {
            display: none;
            padding-top: 8rem;
            min-height: 80vh;
        }

        #capabilities-view {
            display: none;
            padding-top: 0;
            min-height: 100vh;
            min-height: 100dvh;
        }

        #facilities-view {
            display: none;
            padding-top: 8rem;
            min-height: 80vh;
        }

        /* Disable Chrome pull-to-refresh and rubber-band overscroll on mobile when in capabilities view */
        html.capabilities-view-active,
        body.capabilities-view-active {
            overscroll-behavior: none;
            overscroll-behavior-y: none;
        }

        body.capabilities-view-active #capabilities-view,
        body.capabilities-view-active .carousel-scroll-container {
            overscroll-behavior: none;
            overscroll-behavior-y: none;
        }

        /* Hide Footer when in specific views */
        body.capabilities-view-active footer,
        body.artists-index-active footer {
            display: none !important;
        }

        /* True Full Screen Hero Video */
        .hero {
            position: relative;
            z-index: 10;
            width: 100%;
            height: 100vh;
            height: 100dvh;
            margin: 0;
            padding: 0;
            background-color: var(--bg-black);
            overflow: hidden;
        }

        .hero-video-wrapper {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            border: none;
            z-index: 1;
            transform: scale(0.85);
            opacity: 0;
            /* Delayed scale and opacity so it perfectly triggers right as the intro curtain fades away */
            transition: transform 3.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s, opacity 2s ease 0.4s;
        }

        body.intro-done .hero-video-wrapper {
            transform: scale(1);
            opacity: 1;
        }

        /* Cover-fit: the iframe is always at least 16:9 relative to the hero box, so the video
           fills it edge to edge instead of letterboxing on portrait phones or tall windows. */
        .hero-video-wrapper iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100vw;
            height: 100vh;
            min-width: 177.78vh;
            min-height: 56.25vw;
            transform: translate(-50%, -50%);
            border: 0;
            pointer-events: auto;
        }

        .hero-link-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10;
        }

        /* Centered Hero Logo */
        .hero-logo {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.85);
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 1.5rem;
            color: var(--brand-mandarin);
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 1px;
            z-index: 20;
            pointer-events: none;
            opacity: 0;
            transition: transform 3.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s, opacity 2s ease 0.4s;
        }

        body.intro-done .hero-logo {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }

        /* Scroll Down Indicator */
        .hero-scroll-indicator {
            position: absolute;
            bottom: 2.5rem;
            left: 50%;
            transform: translateX(-50%);
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 0.9rem;
            color: var(--trim-light);
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1px;
            z-index: 20;
            pointer-events: auto;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .hero-scroll-indicator:hover {
            color: var(--brand-pink);
        }

        .hero-scroll-indicator .arrow {
            display: inline-block;
            margin-top: 0.5rem;
            animation: bounceArrow 2s infinite cubic-bezier(0.445, 0.05, 0.55, 0.95);
        }

        @keyframes bounceArrow {

            0%,
            20%,
            50%,
            80%,
            100% {
                transform: translateY(0);
            }

            40% {
                transform: translateY(5px);
            }

            60% {
                transform: translateY(3px);
            }
        }

        /* Universal Speaker Toggle Icon */
        .audio-toggle-icon {
            position: absolute;
            bottom: 2rem;
            right: 2.5rem;
            z-index: 30;
            width: 24px;
            height: 24px;
            cursor: pointer;
            fill: none;
            stroke: var(--brand-taupe);
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: stroke 0.3s ease, transform 0.2s ease;
            pointer-events: auto;
            touch-action: manipulation;
        }

        /* 44x44px accessible touch target expansion for mobile / tablet devices */
        .audio-toggle-icon::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 44px;
            min-height: 44px;
            width: 100%;
            height: 100%;
        }

        .audio-toggle-icon:hover {
            stroke: var(--brand-pink);
            transform: scale(1.1);
        }

        .grid-audio-icon {
            bottom: 1.25rem;
            right: 1.25rem;
            width: 20px;
            height: 20px;
            z-index: 20;
        }

        .audio-toggle-icon.unmuted .mute-line {
            display: none;
        }

        /* ---------------------------------------------
           HORIZONTAL SOFTWARE ICONS
           --------------------------------------------- */
        /* Sized down from its old hero-adjacent treatment (was 45px/75px icons with 8rem of
           breathing room either side) now that this sits quietly in the footer instead. */
        .software-icons-row {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: nowrap;
            gap: 2.25rem;
            padding: 0 1.5rem;
            margin: 0 auto 2.5rem auto;
            max-width: 100%;
            box-sizing: border-box;
            background-color: transparent;
            border: none;
        }

        .software-icons-row img {
            width: 32px;
            height: 32px;
            flex-shrink: 1;
            object-fit: contain;
            opacity: 0;
            scale: 1;
            filter: grayscale(100%);
            transform: translateY(20px);
            transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.3s ease, scale 0.2s ease;
        }

        .software-icons-row img.scale-up-icon {
            width: 52px !important;
            height: 52px !important;
            margin: -10px 0;
        }

        .software-icons-row.visible img {
            opacity: 0.55;
            transform: translateY(0);
        }

        /* Same specificity as .visible img above (two classes + element), so this needs to
           come after it in the stylesheet to win the hover state. */
        .software-icons-row img:hover {
            filter: grayscale(0%);
            scale: 1.25;
            opacity: 1;
        }

        .software-icons-row img:nth-child(1) {
            transition-delay: 0.05s;
        }

        .software-icons-row img:nth-child(2) {
            transition-delay: 0.05s;
        }

        .software-icons-row img:nth-child(3) {
            transition-delay: 0.05s;
        }

        .software-icons-row img:nth-child(4) {
            transition-delay: 0.05s;
        }

        .software-icons-row img:nth-child(5) {
            transition-delay: 0.05s;
        }

        .software-icons-row img:nth-child(6) {
            transition-delay: 0.05s;
        }

        .software-icons-row img:nth-child(7) {
            transition-delay: 0.05s;
        }

        /* Portfolio Work Section */
        .portfolio {
            position: relative;
            z-index: 10;
            background-color: var(--bg-black);
            width: 100%;
            margin: 0;
            padding: 0 0 8rem 0;
            box-sizing: border-box;
        }

        .section-title-wrapper {
            text-align: center;
            margin-bottom: 4rem;
            padding: 0 2rem;
        }

        .section-title-wrapper h2 {
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 2rem;
            color: var(--trim-light);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin: 0;
        }

        /* Seamless Grid Layout */
        .seamless-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0;
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
        }

        #work .seamless-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .grid-item {
            position: relative;
            width: 100%;
            margin-bottom: 0;
            background-color: var(--bg-black);
            transition: all 0.3s ease;
            display: block;
            overflow: hidden;
            border-radius: 0;
        }

        .grid-item:hover {
            box-shadow: 0 0 30px rgba(250, 235, 227, 0.15);
            z-index: 10;
        }

        .grid-item iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 5;
            display: flex;
            flex-direction: column;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            line-height: 1.6;
            text-decoration: none;
            color: var(--trim-light);
        }

        .grid-item:hover .video-overlay {
            opacity: 1;
        }

        /* Touch devices have no hover, so without this a tap fires straight through to Vimeo
           and the title/credit is never seen. Keep the overlay visible but lighter, title
           pinned bottom-left clear of the mute toggle. */
        @media (hover: none) {
            .video-overlay {
                opacity: 1;
                background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100%);
            }

            .overlay-center {
                margin: auto 3.5rem 1.1rem 1.25rem;
                padding: 0;
                text-align: left;
            }

            .overlay-top {
                top: 1rem;
                text-align: left;
                padding-left: 1.25rem;
                box-sizing: border-box;
            }
        }

        .overlay-center {
            margin: auto;
            text-align: center;
            padding: 0 2rem;
        }

        .overlay-center h3 {
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 1.08rem;
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--brand-pink);
        }

        .overlay-top {
            position: absolute;
            top: 1.5rem;
            width: 100%;
            text-align: center;
        }

        .overlay-top p {
            font-family: 'Bricolage Grotesque', sans-serif;
            font-weight: 500;
            font-size: 0.67rem;
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--brand-mandarin);
        }

        /* -------------------------------------------
           NEW FULL-SCREEN ARTIST TYPOGRAPHY INDEX
           ------------------------------------------- */
        #artist-bg-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
        }

        .artist-bg-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease;
            pointer-events: none;
        }

        .artist-bg-item iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100vw;
            height: 100vh;
            min-width: 177.77vh;
            min-height: 56.25vw;
            transform: translate(-50%, -50%);
            border: 0;
            pointer-events: none;
        }

        .artist-index-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 2;
            pointer-events: none;
            transition: background 0.8s ease;
        }

        #artist-names-container {
            position: relative;
            z-index: 10;
            display: grid;
            grid-template-columns: max-content max-content max-content;
            /* Hugs text extremely tightly */
            align-content: center;
            justify-content: center;
            /* Centers the whole block */
            width: 100%;
            height: 100%;
            padding: 4rem 2rem 0 2rem;
            box-sizing: border-box;
            gap: 1.5rem 2.5rem;
            /* Tightly grouped layout */
        }

        .artist-name-link {
            display: block;
            text-decoration: none;
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: clamp(0.6rem, 1.25vw, 1.5rem);
            /* Scaled down 50% for delicate editorial feel */
            color: var(--trim-light);
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
            cursor: pointer;
            transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            width: 100%;
            line-height: 1.2;
        }

        /* On devices with real hover (mouse/trackpad), dim other names and scale active name */
        @media (hover: hover) and (pointer: fine) {
            #artist-names-container.hover-active .artist-name-link {
                opacity: 0.15;
            }

            #artist-names-container .artist-name-link:hover {
                opacity: 1;
                color: var(--brand-pink);
                transform: scale(1.1);
            }
        }

        /* On touch-primary screens, ensure active tap provides crisp immediate feedback without sticking */
        @media (hover: none) {
            #artist-names-container .artist-name-link:active {
                color: var(--brand-pink);
            }
        }

        /* -------------------------------------------
           DEDICATED ARTIST PAGE LAYOUT COMPONENTS
           ------------------------------------------- */

        .artist-header-wrapper {
            max-width: 1680px;
            margin: 0 auto;
            padding: 0 2rem 2rem 2rem;
        }

        /* Secondary nav affordance for "I'm on one artist's page, take me back to the index"
           rather than relying on the browser back button or the main ARTISTS nav link (which
           doesn't read as a "back" action from here). Same family as .menu-title, smaller and
           quieter since it's a tertiary action, not primary nav. */
        .back-to-artists {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 0.75rem;
            color: var(--trim-light);
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;
            cursor: pointer;
            padding: 0.7rem 0;
            margin: 0 0 1.3rem 0;
            opacity: 0.7;
            transition: color 0.3s ease, opacity 0.3s ease;
        }

        .back-to-artists:hover {
            color: var(--brand-pink);
            opacity: 1;
        }

        .back-to-artists .arrow {
            font-style: normal;
            transition: transform 0.3s ease;
        }

        .back-to-artists:hover .arrow {
            transform: translateX(-4px);
        }

        .artist-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
        }

        .artist-photo-wrapper {
            width: 144px;
            height: 144px;
            border-radius: 50%;
            border: 2px solid var(--trim-dark);
            overflow: hidden;
            flex-shrink: 0;
            display: none;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 50;
        }

        .artist-photo-wrapper:hover {
            transform: scale(1.6);
        }

        .artist-photo-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            filter: grayscale(100%);
        }

        .artist-header h2 {
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 2.5rem;
            color: var(--trim-light);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin: 0;
            text-align: center;
        }

        #dynamic-artist-hero {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .hero-reel-title {
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 1.5rem;
            color: var(--trim-light);
            text-transform: uppercase;
            letter-spacing: 2px;
            text-align: center;
            margin: 0 auto 1.5rem auto;
        }

        .artist-showreel-wrapper {
            position: relative;
            width: 100%;
            max-width: 1680px;
            aspect-ratio: 16 / 9;
            margin: 0 auto;
            background-color: #000;
        }

        .artist-showreel-inner {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

        .artist-showreel-inner iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        .artist-bio-container {
            max-width: 1000px;
            margin: 4rem auto 6rem auto;
            padding: 0 2rem;
            font-family: 'Bricolage Grotesque', sans-serif;
            font-size: 1.2rem;
            color: var(--trim-light);
            line-height: 1.8;
            text-align: center;
        }

        .bio-paragraph {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.4s ease-out, transform 0.4s ease-out;
            margin-bottom: 1.5rem;
        }

        .artist-bio-container.visible .bio-paragraph {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===========================================
           WHAT WE DO / CAPABILITIES 3D ORBIT PAGE
           =========================================== */

        .carousel-scroll-container {
            height: 100vh;
            height: 100dvh;
            background-color: var(--bg-black);
            position: relative;
            width: 100%;
            overflow: hidden;
            touch-action: pan-y;
        }

        .carousel-sticky-wrapper {
            position: relative;
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            perspective: 1800px;
            background: radial-gradient(circle at center, #111 0%, #000 70%);
        }

        .carousel-mobile-header {
            display: none;
        }

        .carousel-scene {
            position: relative;
            width: 63vw;
            max-width: 1080px;
            height: 58.5vh;
            transform-style: preserve-3d;
            will-change: transform;
            margin-top: -8vh;
        }

        .carousel-card {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: transparent;
            border: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            box-shadow: none;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            backface-visibility: hidden;
            opacity: 0;
            will-change: transform, opacity, filter;
        }

        /* Flexible Text Block */
        .card-top {
            display: flex;
            flex-direction: row-reverse;
            justify-content: space-between;
            align-items: flex-start;
            gap: 4rem;
            flex-shrink: 0;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease-out, transform 0.5s ease-out;
        }

        .carousel-card.active .card-top {
            opacity: 1;
            transform: translateY(0);
        }

        .card-top h3 {
            flex: 0 0 35%;
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            font-size: 1.95rem;
            color: var(--brand-pink);
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 2px;
            line-height: 1.1;
            text-align: right;
        }

        .card-top p {
            flex: 1;
            font-family: var(--font-body);
            font-weight: 400;
            font-size: 0.85rem;
            color: var(--trim-light);
            margin: 0;
            line-height: 1.6;
            text-align: left;
        }

        .card-media-area {
            flex: 1;
            position: relative;
            width: 100%;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .card-media-area>iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* Standard 16:9 Aspect Box */
        .aspect-box {
            position: relative;
            height: 100%;
            max-width: 100%;
            aspect-ratio: 16 / 9;
            margin: 0 auto;
            border-radius: 8px;
            overflow: hidden;
            background-color: #000;
        }

        .aspect-box>iframe,
        .aspect-box>img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            object-fit: cover;
        }

        /* Expanded Offline Layout */
        .editing-wrapper {
            width: 160%;
            margin: 0 -30%;
            display: flex;
            flex-direction: row;
            gap: 0;
            align-items: center;
            justify-content: center;
            border: none;
            background-color: transparent;
        }

        .editing-video-container {
            flex: 1;
            position: relative;
            aspect-ratio: 16 / 9;
            background-color: #000;
            overflow: hidden;
            border-radius: 8px 0 0 8px;
        }

        .editing-video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            pointer-events: auto;
        }

        .pr-timeline-wrapper {
            flex: 1;
            position: relative;
            background-color: #111;
            overflow: hidden;
            border-radius: 0 8px 8px 0;
            height: 100%;
        }

        .pr-timeline-wrapper img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
        }

        #playhead-track {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 15%;
            right: 0;
            pointer-events: none;
        }

        .pr-playhead {
            position: absolute;
            top: 0;
            left: 0;
            width: 1px;
            height: 100%;
            background-color: var(--brand-mandarin);
            z-index: 10;
            transition: transform 0.05s linear;
        }

        .pr-playhead::before {
            content: '';
            position: absolute;
            top: 0;
            left: -5px;
            width: 11px;
            height: 10px;
            background-color: var(--brand-mandarin);
            clip-path: polygon(0 0, 100% 0, 50% 100%);
        }

        /* VFX 4-Grid Layout */
        .vfx-media-split {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 0.5rem;
            width: 115%;
            margin: 2% -7.5% 0 -7.5%;
        }

        .slider-container {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background-color: #000;
            width: 100%;
            border-radius: 8px;
            /* Stops touch gestures on the wipe slider from also scrolling the page */
            touch-action: none;
            cursor: ew-resize;
            user-select: none;
            -webkit-user-select: none;
        }

        .slider-container img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
        }

        .slider-container .image-after {
            clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
            z-index: 10;
        }

        .slider-container .image-after.auto-anim {
            animation: auto-wipe 4s ease-in-out infinite;
        }

        .slider-line {
            position: absolute;
            top: 0;
            left: 50%;
            width: 2px;
            height: 100%;
            background-color: var(--brand-mandarin);
            transform: translateX(-50%);
            pointer-events: none;
            z-index: 15;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slider-line.auto-anim {
            animation: auto-slide 4s ease-in-out infinite;
        }

        @keyframes auto-wipe {

            0%,
            100% {
                clip-path: polygon(0 0, 20% 0, 20% 100%, 0 100%);
            }

            50% {
                clip-path: polygon(0 0, 80% 0, 80% 100%, 0 100%);
            }
        }

        @keyframes auto-slide {

            0%,
            100% {
                left: 20%;
            }

            50% {
                left: 80%;
            }
        }

        .slider-tab {
            background-color: var(--bg-black);
            border: 1px solid var(--brand-mandarin);
            color: var(--brand-mandarin);
            font-family: var(--font-body);
            font-weight: 700;
            font-size: 0.4rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            writing-mode: vertical-rl;
            text-orientation: upright;
            padding: 6px 2.5px;
            border-radius: 10px;
            white-space: nowrap;
            pointer-events: none;
            transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
        }

        .slider-container.manual-mode .slider-tab {
            background-color: var(--brand-mandarin);
            color: #fff;
            box-shadow: 0 0 8px rgba(219, 66, 33, 0.6);
        }

        .compositing-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            background-color: #000;
            border-radius: 8px;
            overflow: hidden;
            /* Stops touch drags on the scrubber from also scrolling the page */
            touch-action: none;
            cursor: ew-resize;
            user-select: none;
            -webkit-user-select: none;
        }

        .compositing-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            pointer-events: none;
        }

        .comp-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10;
            pointer-events: none;
        }

        .top-right-instruction {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.7);
            color: var(--brand-taupe);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.6rem;
            z-index: 20;
            pointer-events: none;
            font-family: var(--font-body);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 1px solid transparent;
            transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
        }

        .top-right-instruction.scrub-active {
            background: var(--brand-mandarin, #db4221);
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.35);
            transform: scale(1.04);
            box-shadow: 0 2px 10px rgba(219, 66, 33, 0.5);
        }

        /* Dedicated Office Photo Grid Layout */
        .office-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 1.5rem;
            width: 100%;
            height: 100%;
        }

        .office-grid img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* ===========================================
           FACILITIES PAGE
           =========================================== */
        .facilities-section {
            position: relative;
            width: 100%;
            min-height: calc(100vh - 8rem);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0 2rem 4rem 2rem;
            box-sizing: border-box;
        }

        .splat-container {
            position: relative;
            width: 100%;
            max-width: 1600px;
            aspect-ratio: 16 / 9;
            max-height: 80vh;
            background-color: #111;
            border: 1px solid var(--trim-dark);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            overflow: hidden;
        }

        .splat-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            pointer-events: auto;
        }

        .splat-placeholder-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            font-family: var(--font-body);
            font-weight: 700;
            color: #777;
            pointer-events: none;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 4rem 2rem;
            background-color: var(--bg-black);
            color: var(--trim-light);
            border-top: 1px solid var(--trim-dark);
        }

        /* On desktop, what-we-do (capabilities) is a dedicated full-screen 3D orbit experience */
        @media (min-width: 901px) {
            body.capabilities-view-active footer {
                display: none;
            }
        }

        footer h2 {
            font-family: var(--font-display);
            font-style: italic;
            font-weight: 900;
            text-transform: uppercase;
            font-size: 1.2rem;
            color: var(--trim-light);
            margin-bottom: 1rem;
        }

        footer p,
        footer a {
            font-family: var(--font-body);
            font-weight: 400;
            color: var(--trim-light);
            text-decoration: none;
            transition: color 0.3s ease;
            line-height: 1.6;
            margin: 0;
        }

        footer a {
            font-weight: 700;
        }

        footer a:hover {
            color: var(--brand-pink);
        }

        /* ---------------------------------------------
           RESPONSIVE
           --------------------------------------------- */

        /* Tablet / small laptop (901 to 1200px). Desktop layout, dialled down a notch so
           the carousel and artist names don't crowd. */
        @media (min-width: 901px) and (max-width: 1200px) {
            .nav-central-top {
                gap: 1.75rem;
            }

            .carousel-scene {
                width: 78vw;
            }

            .card-top {
                gap: 2rem;
            }

            .card-top h3 {
                font-size: 1.5rem;
            }

            .artist-name-link {
                font-size: clamp(0.9rem, 1.6vw, 1.5rem);
            }

            .artist-bio-container {
                margin: 3.5rem auto 5rem auto;
            }
        }

        /* Mobile and small tablet */
        @media (max-width: 900px) {

            /* Grids collapse to a single column */
            #work .seamless-grid,
            .seamless-grid {
                grid-template-columns: 1fr;
            }

            .artist-bio-container {
                margin: 2.5rem auto 4rem auto;
                font-size: 1rem;
            }

            /* Header: fixed two-row bar (logo, then nav) */
            header {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 0.75rem;
                height: auto;
                padding: 1rem 1rem 0.9rem 1rem;
                box-sizing: border-box;
                pointer-events: auto;
            }

            .header-logo {
                position: static;
                transform: none;
                font-size: 1.1rem;
                opacity: 1;
                pointer-events: auto;
            }

            .nav-central-top {
                position: static;
                transform: none;
                flex-wrap: wrap;
                justify-content: center;
                gap: 1.25rem;
            }

            .menu-title {
                font-size: 0.8rem;
                padding: 0.7rem 0;
                margin-bottom: 0;
            }

            /* Hero */
            .hero {
                height: 55vh;
            }

            .hero-video-wrapper iframe {
                height: 55vh;
                min-width: 97.8vh;
                min-height: 56.25vw;
            }

            .hero-logo,
            .hero-scroll-indicator {
                display: none;
            }

            .audio-toggle-icon {
                right: 1rem;
                bottom: 1rem;
                width: 20px;
                height: 20px;
            }

            .grid-audio-icon {
                right: 1.25rem;
                bottom: 1.25rem;
            }

            .portfolio {
                padding-top: 2rem;
            }

            .section-title-wrapper h2 {
                font-size: 1.5rem;
            }

            /* No custom cursor on small screens regardless of pointer type */
            .cursor-wrapper {
                display: none;
            }

            html.fine-pointer * {
                cursor: auto !important;
            }

            .software-icons-row {
                flex-wrap: nowrap;
                gap: clamp(0.5rem, 3.2vw, 1.25rem);
                padding: 0 1rem;
                margin: 0 auto 2rem auto;
                max-width: 100%;
                box-sizing: border-box;
            }

            .software-icons-row img {
                width: clamp(20px, 6vw, 28px);
                height: clamp(20px, 6vw, 28px);
                flex-shrink: 1;
            }

            .software-icons-row img.scale-up-icon {
                width: clamp(28px, 8.5vw, 40px) !important;
                height: clamp(28px, 8.5vw, 40px) !important;
                margin: 0;
                flex-shrink: 1;
            }

            /* Artists index: readable names, scrollable if it overflows, no hover videos */
            #artists-index-view {
                height: auto;
                min-height: 100vh;
                overflow: visible;
            }

            #artist-names-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding: 7.5rem 1rem 4rem 1rem;
                height: auto;
                min-height: 100vh;
            }

            .artist-name-link {
                font-size: 1.4rem;
            }

            /* Artist page */
            #artist-view,
            #facilities-view {
                padding-top: 7rem;
            }

            .artist-header h2 {
                font-size: 1.8rem;
            }

            .artist-photo-wrapper {
                width: 110px;
                height: 110px;
            }

            .artist-photo-wrapper:hover {
                transform: none;
            }

            /* Offline card: stack video over timeline */
            .editing-wrapper {
                flex-direction: column;
                gap: 0;
                width: 100%;
                margin: 0;
            }

            .editing-wrapper {
                display: flex;
                flex-direction: column;
                width: 100%;
                margin: 0;
                gap: 0.35rem;
            }

            .editing-video-container {
                width: 100%;
                aspect-ratio: 16 / 9;
                padding-bottom: 0;
                position: relative;
                border-radius: 8px 8px 0 0;
                overflow: hidden;
            }

            .pr-timeline-wrapper {
                width: 100%;
                height: 36px;
                border-radius: 0 0 8px 8px;
                position: relative;
                overflow: hidden;
            }

            .pr-timeline-wrapper img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }

            /* 3D Vertical Carousel on mobile */
            .carousel-scroll-container {
                position: relative;
                width: 100%;
                height: 100vh;
                height: 100dvh;
                overflow: hidden;
                touch-action: none;
                overscroll-behavior: none;
                overscroll-behavior-y: none;
                padding: 0;
            }

            .carousel-sticky-wrapper {
                position: relative;
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                perspective: 1200px;
                overflow: hidden;
            }

            .carousel-mobile-header {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                position: absolute;
                top: 7.25rem;
                left: 0;
                right: 0;
                width: 100%;
                padding: 0.5rem 1.5rem;
                box-sizing: border-box;
                z-index: 60;
                text-align: center;
                pointer-events: none;
                background: radial-gradient(ellipse 90% 100% at center, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0) 100%);
                will-change: opacity, transform;
            }

            .carousel-mobile-header h3 {
                font-family: var(--font-display);
                font-style: italic;
                font-weight: 900;
                font-size: 1.45rem;
                color: var(--brand-pink);
                margin: 0 0 0.35rem 0;
                text-transform: uppercase;
                letter-spacing: 2px;
                line-height: 1.1;
            }

            .carousel-mobile-header p {
                font-family: var(--font-body);
                font-weight: 400;
                font-size: 0.82rem;
                color: var(--trim-light);
                margin: 0;
                line-height: 1.45;
                max-width: 440px;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }

            .carousel-scene {
                position: relative;
                width: min(88vw, 420px);
                height: 250px;
                transform-style: preserve-3d;
                margin-top: 12rem;
            }

            .carousel-card {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                height: 100%;
                margin-bottom: 0;
                padding: 0;
                display: flex;
                flex-direction: column;
                justify-content: center;
                gap: 0;
                backface-visibility: hidden;
                will-change: transform, opacity, filter;
            }

            /* On mobile, card text is cleanly displayed in the fixed header above the carousel */
            .carousel-card .card-top {
                display: none !important;
            }

            .card-media-area {
                position: relative;
                width: 100%;
                height: auto !important;
                padding-bottom: 0 !important;
                flex: none;
                display: flex;
                flex-direction: column;
                justify-content: center;
                overflow: hidden;
            }

            /* Single-video cards on mobile: give the direct iframe an explicit 16:9 ratio */
            .card-media-area>iframe {
                position: relative;
                width: 100%;
                height: auto;
                aspect-ratio: 16 / 9;
                border-radius: 8px;
            }

            /* Aspect boxes (Grade, MCR) on mobile */
            .aspect-box {
                position: relative;
                width: 100%;
                height: auto;
                aspect-ratio: 16 / 9;
                margin: 0;
                border-radius: 8px;
                overflow: hidden;
            }

            /* VFX 2x2 grid fits cleanly into card on mobile */
            .vfx-media-split {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(2, 1fr);
                gap: 0.4rem;
                width: 100%;
                margin: 0;
            }

            .slider-container,
            .compositing-container {
                aspect-ratio: 16 / 9;
                width: 100%;
                border-radius: 6px;
            }

            /* Office 2x2 grid fits cleanly into card on mobile */
            .office-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(2, 1fr);
                gap: 0.4rem;
                width: 100%;
                aspect-ratio: 16 / 9;
                height: auto;
            }

            .office-grid img {
                width: 100%;
                height: 100%;
                aspect-ratio: 16 / 9;
                object-fit: cover;
                border-radius: 6px;
            }

            /* Facilities */
            .facilities-section {
                min-height: 0;
                padding: 0 1rem 3rem 1rem;
            }

            .splat-container {
                aspect-ratio: 4 / 3;
                max-height: none;
            }

            .splat-placeholder-text {
                font-size: 0.8rem;
                width: 80%;
            }

            footer {
                padding: 3rem 1.5rem;
            }
        }

        /* Small tablets: two columns is a better use of 600 to 900px than one */
        @media (min-width: 600px) and (max-width: 900px) {

            #work .seamless-grid,
            .seamless-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }