/* ==========================================================================
   ISLAM ALI — V11 "ONE UNIFIED EDIT · DARK CUTTING ROOM TIMELINE"
   - Unified Cinema Dark Palette (#070709 Obsidian / #0C0D11 Charcoal / #13151B Slate)
   - Sole Brand Signal: Patinated Copper (#C97655 / #DF8D6C hover)
   - Two Fonts Only: Barlow Condensed (Display) + Plus Jakarta Sans (Body/UI)
   - Structurally Real Two-Tier NLE Timeline + Quiet Opt-In Cut Sound
   ========================================================================== */

:root {
    /* Obsidian Theatrical Register */
    --bg-obsidian: #070709;
    --bg-charcoal: #0E0F13;
    --bg-bronze: #161311;
    --ink-ivory: #F3F0EA;
    --ink-muted: #B6B0A6;
    --ink-dim: #7F796E;
    --accent: #C97655;
    --accent-hover: #DF8D6C;
    --rule-dark: rgba(243, 240, 234, 0.11);
    --rule-strong: rgba(243, 240, 234, 0.22);

    /* Unified Deep Charcoal Register (Replaces Light Paper Sections) */
    --bg-paper: #0C0D11;
    --bg-paper-deep: #13151B;
    --ink-paper: #F3F0EA;
    --ink-paper-dim: #B6B0A6;
    --accent-paper: #DF8D6C;
    --rule-paper: rgba(243, 240, 234, 0.11);

    /* Expressive Cinema Display + Calm Editorial Sans */
    --font-display: 'Barlow Condensed', system-ui, -apple-system, sans-serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);

    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --container-max: 1380px;
    --nav-sticky-offset: 108px;
    --clip-hit-pad: 0px;
}

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

[hidden] {
    display: none !important;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-sticky-offset, 108px);
    overflow-anchor: none;
    -webkit-font-smoothing: antialiased;
    background: var(--bg-obsidian);
}

body {
    background-color: var(--bg-obsidian);
    color: var(--ink-ivory);
    font-family: var(--font-sans);
    line-height: 1.56;
    overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

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

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

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

.skip-link {
    position: fixed;
    top: -120px;
    left: 1rem;
    z-index: 4000;
    padding: 0.7rem 1.1rem;
    background: var(--accent);
    color: var(--bg-obsidian);
    font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Shared Kickers & Section Typography */
.chapter-kicker-subtle {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.chapter-display-title {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.45rem, 4.8vw, 4.2rem);
    line-height: 0.92;
    letter-spacing: -0.014em;
    text-transform: uppercase;
    color: var(--ink-ivory);
}
.chapter-display-title .display-line,
.chapter-display-title .display-line-sub {
    display: block;
}
.chapter-display-title em {
    font-style: italic;
    font-weight: 800;
    color: var(--accent-hover);
}

.copper-underline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    padding-bottom: 0.2rem;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--accent);
    border-bottom: 1px solid rgba(201, 118, 85, 0.55);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.copper-underline-link:hover {
    color: var(--ink-ivory);
    border-color: var(--ink-ivory);
}

/* Primary Buttons */
.copper-reel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.72rem 1.38rem;
    background: var(--accent);
    color: var(--bg-obsidian);
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    transition: background-color 0.22s var(--ease-cinema), transform 0.22s var(--ease-cinema);
}
.copper-reel-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}
.copper-reel-btn.is-sm {
    min-height: 40px;
    padding: 0.48rem 1rem;
    font-size: 0.8rem;
}
.copper-reel-btn .btn-dur {
    font-family: var(--font-sans);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    opacity: 0.84;
    padding-left: 0.4rem;
    border-left: 1px solid rgba(7, 7, 9, 0.28);
}

.hairline-link-btn,
.hairline-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.72rem 1.25rem;
    border: 1px solid var(--rule-strong);
    color: var(--ink-ivory);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(7, 7, 9, 0.42);
    transition: border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}
.hairline-link-btn:hover,
.hairline-ghost-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.hairline-link-btn.is-sm,
.hairline-ghost-btn.is-sm {
    min-height: 40px;
    padding: 0.48rem 0.95rem;
    font-size: 0.8rem;
}

/* Scroll Aperture Reveal System & Coordinated Masked Cut Wipes */
.reveal {
    position: relative;
    opacity: 1;
    transform: none;
    transition: opacity 0.28s var(--ease-cinema), transform 0.36s var(--ease-cinema);
}
.reveal.is-cut-landed::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-hover) 50%, transparent 100%);
    opacity: 0;
    pointer-events: none;
    z-index: 30;
    animation: chapterCutFlash 0.65s var(--ease-cinema) forwards;
}
@keyframes chapterCutFlash {
    0% { opacity: 0; transform: scaleX(0.18); }
    30% { opacity: 0.95; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1); }
}

html.js-ready .reveal {
    opacity: 0;
    transform: translateY(16px);
}
html.js-ready .reveal.is-visible,
html:not(.js-ready) .reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    html.js-ready .reveal .spread-feature-wide,
    html.js-ready .reveal .spread-feature-tall,
    html.js-ready .reveal .triptych-item,
    html.js-ready .reveal .poster-plate,
    html.js-ready .reveal .spotlight-feature {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.6s var(--ease-cinema) var(--stagger-d, 0ms), transform 0.6s var(--ease-cinema) var(--stagger-d, 0ms);
    }
    html.js-ready .reveal.is-visible .spread-feature-wide,
    html.js-ready .reveal.is-visible .spread-feature-tall,
    html.js-ready .reveal.is-visible .triptych-item,
    html.js-ready .reveal.is-visible .poster-plate,
    html.js-ready .reveal.is-visible .spotlight-feature {
        opacity: 1;
        transform: none;
    }

    /* Masked Wipe Reveals strictly inside media plates (unobstructed faces & titles) */
    html.js-ready .reveal .grade-viewport,
    html.js-ready .reveal .spread-media-trigger,
    html.js-ready .reveal .poster-img-wrap,
    html.js-ready .reveal .bio-portrait-figure img {
        clip-path: inset(0 100% 0 0);
        transition:
            clip-path 0.72s var(--ease-cinema) var(--stagger-d, 0ms),
            opacity 0.58s var(--ease-cinema) var(--stagger-d, 0ms),
            transform 0.58s var(--ease-cinema) var(--stagger-d, 0ms);
    }
    html.js-ready .reveal.is-visible .grade-viewport,
    html.js-ready .reveal.is-visible .spread-media-trigger,
    html.js-ready .reveal.is-visible .poster-img-wrap,
    html.js-ready .reveal.is-visible .bio-portrait-figure img {
        clip-path: inset(0 0 0 0);
    }

    .triptych-item:nth-child(2),
    .poster-plate:nth-child(2),
    .spread-feature-tall { --stagger-d: 75ms; }
    .triptych-item:nth-child(3),
    .poster-plate:nth-child(3) { --stagger-d: 145ms; }
    .poster-plate:nth-child(4) { --stagger-d: 210ms; }
}

/* ==========================================================================
   CHAPTER 01 HEADER · TWO-LEVEL UTILITY BAR + NEAR-FULL-WIDTH EDITING DECK
   ========================================================================== */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1200;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: 0;
    pointer-events: none;
}
.site-nav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: var(--clip-hit-pad, 0px);
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 7, 9, 0.68) 0%, rgba(7, 7, 9, 0.28) 54%, rgba(7, 7, 9, 0) 100%);
    border-bottom: 1px solid transparent;
    transition: background-color 0.26s ease, backdrop-filter 0.26s ease, border-color 0.26s ease;
}
.site-nav.is-scrolled::before {
    background: rgba(7, 7, 9, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(243, 240, 234, 0.1);
}
.site-nav.is-drawer-open::before {
    background: #070709;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: rgba(243, 240, 234, 0.12);
}

.nav-utility-wrap {
    width: 100%;
    pointer-events: auto;
    background: linear-gradient(180deg, rgba(7, 7, 9, 0.74) 0%, rgba(7, 7, 9, 0.2) 100%);
    transition: border-color 0.25s ease, background-color 0.25s ease;
    border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled .nav-utility-wrap {
    background: transparent;
    border-bottom-color: rgba(243, 240, 234, 0.06);
}

.nav-inner {
    max-width: var(--container-max);
    min-height: 52px;
    margin: 0 auto;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    transition: min-height 0.24s var(--ease-cinema), padding 0.24s var(--ease-cinema);
}
.site-nav.is-scrolled .nav-inner {
    min-height: 40px;
    padding-top: 0.18rem;
    padding-bottom: 0.18rem;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    flex: 0 0 auto;
    overflow: visible;
    text-shadow: 0 2px 14px rgba(7, 7, 9, 0.92);
}
.nav-brand-bar {
    width: 3px;
    height: 24px;
    background: var(--accent);
    flex-shrink: 0;
    transition: height 0.24s var(--ease-cinema);
}
.nav-brand-name {
    display: inline-block;
    padding-right: 0.1em;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.48rem, 2.2vw, 1.88rem);
    line-height: 1;
    letter-spacing: 0.08em;
    color: #F5E6C8;
    white-space: nowrap;
    overflow: visible;
    transition: font-size 0.24s var(--ease-cinema);
}
.site-nav.is-scrolled .nav-brand-bar {
    height: 19px;
}
.site-nav.is-scrolled .nav-brand-name {
    font-size: clamp(1.24rem, 1.75vw, 1.5rem);
}

/* Level 2: Slim Editorial Film Editing Strip */
.deck-shell {
    width: 100%;
    max-width: 1412px;
    margin: 0 auto;
    padding-top: 1px;
    padding-left: max(clamp(0.85rem, 1.8vw, 1.65rem), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(0.85rem, 1.8vw, 1.65rem), env(safe-area-inset-right, 0px));
    padding-bottom: 0;
    min-width: 0;
    pointer-events: none;
}

.timeline-nle {
    position: relative;
    width: 100%;
    min-width: 0;
    pointer-events: auto;
    overflow: visible;
}
.timeline-nle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: var(--clip-hit-pad, 0px);
    background: rgba(8, 8, 11, 0.86);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}
.timeline-nle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: var(--clip-hit-pad, 0px);
    border: 1px solid rgba(243, 240, 234, 0.13);
    border-top-color: rgba(223, 141, 108, 0.42);
    pointer-events: none;
    z-index: 7;
}
.site-nav.is-scrolled .timeline-nle::before {
    background: rgba(8, 8, 11, 0.96);
    box-shadow: none;
}
.strip-seq-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    height: 14px;
    padding: 0 0.56rem;
    background: rgba(4, 4, 6, 0.72);
    border-bottom: 1px solid rgba(243, 240, 234, 0.08);
    font-family: var(--font-sans);
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    transition: height 0.24s var(--ease-cinema), padding 0.24s var(--ease-cinema), font-size 0.24s var(--ease-cinema);
}
.site-nav.is-scrolled .strip-seq-bar {
    height: 11px;
    font-size: 0.48rem;
}
.strip-seq-label {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    color: rgba(243, 240, 234, 0.74);
    white-space: nowrap;
}
.strip-seq-mark {
    width: 2px;
    height: 8px;
    background: var(--accent-hover);
    flex-shrink: 0;
}
.strip-seq-active {
    min-width: 148px;
    text-align: right;
    color: var(--accent-hover);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nle-viewport {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}
.nle-viewport::-webkit-scrollbar {
    display: none;
}
.nle-track-canvas {
    position: relative;
    width: 100%;
    min-width: 100%;
    user-select: none;
    -webkit-user-select: none;
}

/* Fine Scrubbable Ruler */
.nle-ruler {
    position: relative;
    display: grid;
    grid-template-columns: var(--nle-cols, 1.05fr 0.96fr 1.44fr 1.04fr 1.48fr 0.98fr 0.96fr);
    align-items: stretch;
    height: 12px;
    background: #0a0b0f;
    border-bottom: 1px solid rgba(243, 240, 234, 0.2);
    cursor: ew-resize;
    touch-action: none;
    outline: none;
    transition: height 0.24s var(--ease-cinema);
}
.site-nav.is-scrolled .nle-ruler {
    height: 9px;
}
.nle-ruler:focus-visible {
    outline: 1.5px solid var(--accent-hover);
    outline-offset: -2px;
}
.nle-ruler-seg {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0 0 0 6px;
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(243, 240, 234, 0.18) 0 1px,
            transparent 1px 10px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(243, 240, 234, 0.36) 0 1px,
            transparent 1px 50px
        );
    background-size: 10px 3.5px, 50px 5.5px;
    background-position: bottom left, bottom left;
    background-repeat: repeat-x;
}
.nle-ruler-seg:first-child {
    padding-left: 11px;
}
.nle-ruler-seg + .nle-ruler-seg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 0;
    width: 1px;
    background: rgba(243, 240, 234, 0.32);
}
.ruler-mark {
    font-family: var(--font-sans);
    font-size: 0.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    line-height: 1;
    color: rgba(243, 240, 234, 0.64);
    pointer-events: none;
}
.nle-ruler-seg.is-active .ruler-mark {
    color: var(--accent-hover);
}

/* Slim Continuous Film Editing Track */
.nle-clips-track {
    list-style: none;
    display: grid;
    grid-template-columns: var(--nle-cols, 1.05fr 0.96fr 1.44fr 1.04fr 1.48fr 0.98fr 0.96fr);
    align-items: stretch;
    height: calc(34px + var(--clip-hit-pad, 0px));
    background: linear-gradient(180deg, #050507 0, #050507 calc(100% - var(--clip-hit-pad, 0px)), transparent calc(100% - var(--clip-hit-pad, 0px)));
    transition: height 0.24s var(--ease-cinema);
}
.site-nav.is-scrolled .nle-clips-track {
    height: calc(27px + var(--clip-hit-pad, 0px));
}
.site-nav.is-scrolled .nav-cta-btn,
.site-nav.is-scrolled .nav-menu-btn {
    min-height: 27px;
}
.nle-clip-slot {
    position: relative;
    min-width: 0;
    display: flex;
}
.nle-clip-slot + .nle-clip-slot::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: var(--clip-hit-pad, 0px);
    width: 1px;
    background: rgba(243, 240, 234, 0.16);
    box-shadow: -1px 0 0 rgba(2, 2, 3, 0.92);
    z-index: 4;
    pointer-events: none;
}
.nle-clip-slot.is-assembly-pending .timeline-clip {
    opacity: 0.08;
    transform: translateX(-5px) scaleX(0.95);
    transform-origin: left center;
}
.nle-clip-slot.is-assembly-pending .clip-thumb {
    opacity: 0.14;
    transform: scale(1.06) translateZ(0);
}
.nle-clip-slot.is-assembly-pending .clip-meta {
    opacity: 0;
    transform: translateX(3px);
}
.nle-clip-slot.is-assembly-landed .timeline-clip {
    opacity: 1;
    transform: translateX(0) scaleX(1);
    transform-origin: left center;
    transition: opacity 0.15s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.nle-clip-slot.is-assembly-landed .clip-thumb {
    transition: opacity 0.22s ease, filter 0.2s ease, transform 0.28s var(--ease-cinema);
}
.nle-clip-slot.is-assembly-landed .clip-meta {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.16s ease 0.03s, transform 0.2s var(--ease-cinema) 0.03s;
}
.nle-clip-slot::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: var(--clip-hit-pad, 0px);
    width: 1.5px;
    background: #ef9c78;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    transition: opacity 0.18s ease;
}
.nle-clip-slot.is-cut-seam-lit::after {
    opacity: 1;
}
.timeline-clip {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0 0.46rem var(--clip-hit-pad, 0px);
    overflow: hidden;
    background: transparent;
    color: rgba(243, 240, 234, 0.92);
    -webkit-tap-highlight-color: rgba(223, 141, 108, 0.22);
    touch-action: pan-x manipulation;
    transition: color 0.18s ease;
}
.timeline-clip::before {
    content: "";
    position: absolute;
    inset: 0 0 var(--clip-hit-pad, 0px) 0;
    pointer-events: none;
    z-index: 4;
}
.clip-thumb {
    position: absolute;
    inset: 0 0 var(--clip-hit-pad, 0px) 0;
    background-size: cover;
    background-position: center;
    opacity: 0.72;
    filter: saturate(0.88) brightness(0.84) contrast(1.06);
    transform: scale(1) translateZ(0);
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.26s var(--ease-cinema);
    will-change: transform, opacity;
    pointer-events: none;
    z-index: 0;
}
.clip-sweep-sheen {
    position: absolute;
    inset: 0 0 var(--clip-hit-pad, 0px) 0;
    width: 54%;
    background: linear-gradient(90deg, rgba(239, 156, 120, 0) 0%, rgba(239, 156, 120, 0.36) 48%, rgba(255, 240, 230, 0.44) 64%, rgba(239, 156, 120, 0) 100%);
    transform: translateX(-125%) skewX(-14deg);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}
.timeline-clip::after {
    content: "";
    position: absolute;
    inset: 0 0 var(--clip-hit-pad, 0px) 0;
    background:
        linear-gradient(180deg, rgba(4, 4, 6, 0.14) 0%, rgba(4, 4, 6, 0.54) 100%),
        linear-gradient(90deg, rgba(4, 4, 6, 0.62) 0%, rgba(4, 4, 6, 0.16) 70%, rgba(4, 4, 6, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
    transition: background 0.2s ease;
}
.clip-prog-fill {
    position: absolute;
    left: 0;
    bottom: var(--clip-hit-pad, 0px);
    height: 2px;
    width: calc(var(--clip-prog, 0) * 100%);
    background: var(--accent-hover);
    pointer-events: none;
    z-index: 3;
}
.clip-meta {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 1), 0 0 8px rgba(0, 0, 0, 0.94);
    transition: transform 0.18s var(--ease-cinema), opacity 0.16s ease;
}
.clip-num {
    font-family: var(--font-display);
    font-size: 0.69rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #df8d6c;
    flex-shrink: 0;
}
.clip-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(243, 240, 234, 0.94);
    overflow: hidden;
    text-overflow: ellipsis;
}
.timeline-clip:hover,
.timeline-clip:focus-visible {
    color: var(--ink-ivory);
    outline: none;
}
@media (hover: hover) {
    .timeline-clip:hover .clip-thumb {
        opacity: 0.95;
        filter: saturate(1.04) brightness(0.96) contrast(1.06);
        transform: scale(1.04) translateZ(0);
    }
    .timeline-clip:hover .clip-label {
        color: #ffffff;
    }
}
.timeline-clip:focus-visible .clip-thumb {
    opacity: 0.95;
    filter: saturate(1.04) brightness(0.96) contrast(1.06);
}
.timeline-clip:focus-visible::before {
    box-shadow: inset 0 0 0 1.5px var(--accent-hover);
}
.timeline-clip:active .clip-thumb {
    opacity: 1;
    transform: scale(1.01) translateZ(0);
    transition-duration: 0.08s;
}
.timeline-clip:active::before {
    box-shadow: inset 0 0 0 1.5px rgba(243, 177, 149, 0.9);
}
.timeline-clip.is-active {
    z-index: 5;
}
.timeline-clip.is-active::before {
    box-shadow: inset 1.5px 0 0 #df8d6c, inset -1.5px 0 0 #df8d6c, inset 0 1.5px 0 #ef9c78;
}
.timeline-clip.is-active .clip-thumb {
    opacity: 1;
    filter: saturate(1.08) brightness(1.04) contrast(1.05);
}
.timeline-clip.is-active::after {
    background:
        linear-gradient(180deg, rgba(4, 4, 6, 0.06) 0%, rgba(4, 4, 6, 0.44) 100%),
        linear-gradient(90deg, rgba(4, 4, 6, 0.5) 0%, rgba(4, 4, 6, 0.1) 70%, rgba(4, 4, 6, 0.06) 100%);
}
.timeline-clip.is-active .clip-num {
    color: #f6ba9e;
}
.timeline-clip.is-active .clip-label {
    color: #ffffff;
    font-weight: 700;
}
.timeline-clip.is-cut-triggered::before {
    box-shadow: inset 1.5px 0 0 #f3b195, inset -1.5px 0 0 #f3b195, inset 0 1.5px 0 #f3b195;
}
.timeline-clip.is-cut-triggered .clip-sweep-sheen {
    animation: clipCutSweep 0.36s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.timeline-clip.is-cut-triggered .clip-meta {
    animation: clipLabelSettle 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes clipCutSweep {
    0% { opacity: 0; transform: translateX(-125%) skewX(-14deg); }
    20% { opacity: 1; }
    82% { opacity: 0.72; }
    100% { opacity: 0; transform: translateX(210%) skewX(-14deg); }
}
@keyframes clipLabelSettle {
    0% { opacity: 0.8; transform: translateX(4px); }
    100% { opacity: 1; transform: translateX(0); }
}
.strip-seq-active.is-readout-settled {
    animation: readoutCutSettle 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes readoutCutSettle {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Crisp Copper Playhead Crossing Ruler & Slim Strip */
.nle-playhead {
    position: absolute;
    top: 0;
    bottom: var(--clip-hit-pad, 0px);
    left: 0;
    width: 12px;
    transform: translate3d(var(--playhead-px, 24px), 0, 0) translateX(-50%);
    pointer-events: none;
    z-index: 8;
    will-change: transform;
}
.nle-playhead.is-cut-gliding {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nle-playhead.is-snapped .nle-playhead-head {
    transform: translateX(-50%) scale(1.18);
}
.nle-playhead-head {
    position: absolute;
    top: 0;
    left: 50%;
    width: 9px;
    height: 6px;
    transform: translateX(-50%);
    background: #ef9c78;
    clip-path: polygon(0 0, 100% 0, 100% 52%, 50% 100%, 0 52%);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.96));
}
.nle-playhead-stem {
    position: absolute;
    top: 5px;
    bottom: 0;
    left: 50%;
    width: 1.5px;
    transform: translateX(-50%);
    background: #ef9c78;
    box-shadow: -1px 0 0 rgba(3, 3, 5, 0.88), 1px 0 0 rgba(3, 3, 5, 0.88), 0 0 6px rgba(232, 153, 119, 0.44);
}

/* Header Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-shrink: 0;
}
.nav-sound-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
    min-height: 31px;
    padding: 0 0.62rem;
    background: rgba(7, 7, 9, 0.44);
    border: 1px solid rgba(243, 240, 234, 0.16);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink-muted);
    white-space: nowrap;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
.nav-sound-btn .sound-wave {
    opacity: 0;
    transition: opacity 0.18s ease;
}
.nav-sound-btn .sound-slash {
    opacity: 0.9;
    transition: opacity 0.18s ease;
}
.nav-sound-btn[aria-pressed="true"] {
    border-color: rgba(201, 118, 85, 0.72);
    background: rgba(201, 118, 85, 0.14);
    color: var(--ink-ivory);
}
.nav-sound-btn[aria-pressed="true"] .sound-wave {
    opacity: 1;
    color: var(--accent-hover);
}
.nav-sound-btn[aria-pressed="true"] .sound-slash {
    opacity: 0;
}
.nav-sound-btn:hover,
.nav-sound-btn:focus-visible {
    border-color: var(--accent-hover);
    color: var(--ink-ivory);
    outline: none;
}

.nav-link-btn,
.nav-reel-btn {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 0.72rem;
    background: rgba(7, 7, 9, 0.44);
    border: 1px solid rgba(243, 240, 234, 0.18);
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink-ivory);
    text-shadow: 0 1px 6px rgba(7, 7, 9, 0.85);
    white-space: nowrap;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
.nav-link-btn:hover,
.nav-reel-btn:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
}
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 1.05rem;
    border-radius: 2px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--bg-obsidian);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: none;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(201, 118, 85, 0.24);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nav-cta-btn:hover,
.nav-cta-btn:focus-visible {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--bg-obsidian);
    transform: translateY(-1px);
}

.nav-menu-btn {
    display: none;
    min-height: 31px;
    padding: 0 0.74rem;
    background: rgba(7, 7, 9, 0.44);
    border: 1px solid var(--rule-strong);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--ink-ivory);
}
.nav-menu-icon {
    display: grid;
    width: 15px;
    gap: 4px;
}
.nav-menu-icon span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.16s ease;
}
.nav-menu-btn[aria-expanded="true"] .nav-menu-icon span:first-child {
    transform: translateY(5.5px) rotate(45deg);
}
.nav-menu-btn[aria-expanded="true"] .nav-menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.3);
}
.nav-menu-btn[aria-expanded="true"] .nav-menu-icon span:last-child {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile Editorial Curtain Drawer */
.mobile-nav-drawer {
    position: fixed;
    inset: 124px 0 0 0;
    z-index: 1190;
    background: #070709;
    border-top: 1px solid var(--rule-dark);
    overflow-y: auto;
    clip-path: inset(0 0 0 0);
    transition: opacity 0.22s var(--ease-cinema), clip-path 0.26s var(--ease-cinema), transform 0.24s var(--ease-cinema);
}
.mobile-nav-drawer.is-drawer-entering {
    opacity: 0;
    clip-path: inset(0 0 24% 0);
    transform: translateY(-8px);
}
.mobile-nav-drawer .mobile-nav-link {
    transition: opacity 0.22s var(--ease-cinema), transform 0.22s var(--ease-cinema), color 0.16s ease;
}
.mobile-nav-drawer.is-drawer-entering .mobile-nav-link {
    opacity: 0;
    transform: translateY(8px);
}
.drawer-inner {
    min-height: 100%;
    padding: 1.5rem var(--gutter) 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.4rem;
}
.drawer-utility-row {
    display: flex;
    align-items: center;
    padding-top: 0.4rem;
}
.nav-sound-btn.is-drawer {
    width: 100%;
    min-height: 44px;
    justify-content: center;
}
.drawer-kicker {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}
.drawer-list {
    display: flex;
    flex-direction: column;
}
.mobile-nav-link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule-dark);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1;
    font-size: clamp(1.75rem, 6.4vw, 2.3rem);
    color: var(--ink-ivory);
}
.mobile-nav-link span {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
}
.mobile-nav-action { color: var(--accent-hover); }
.drawer-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

/* ==========================================================================
   CHAPTER II · UNOBSTRUCTED PICTURE-FIRST OPENING (#cold-open)
   ========================================================================== */
.cold-open {
    position: relative;
    min-height: 100svh;
    width: 100%;
    overflow: hidden;
    background: #040406;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Two-Cursor Non-Blocking Editor Entry Assembly */
.editor-entry-cursors {
    position: fixed;
    inset: 0;
    z-index: 2600;
    pointer-events: none;
    overflow: hidden;
}
.editor-cursor-pointer {
    position: fixed;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.28rem;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.72));
}
.editor-cursor-svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
.editor-cursor-tag {
    margin-top: 11px;
    padding: 0.14rem 0.42rem;
    background: rgba(7, 7, 9, 0.94);
    border: 1px solid rgba(201, 118, 85, 0.85);
    font-family: var(--font-sans);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-hover);
    white-space: nowrap;
}
.editor-cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-hover);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
}
.editor-cursor-ring.is-pulsing {
    animation: editorClickPulse 0.36s var(--ease-cinema) forwards;
}
@keyframes editorClickPulse {
    0% { opacity: 0.95; transform: translate(-50%, -50%) scale(0.45); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.75); }
}
html.hero-editor-assembly #heroHeadline .ty-char {
    visibility: hidden;
}
html.hero-editor-assembly #heroHeadline .ty-char.is-typed {
    visibility: visible;
}
.hero-type-caret {
    display: inline-block;
    width: 2.5px;
    height: 0.86em;
    margin-left: 3px;
    vertical-align: -0.06em;
    background: var(--accent-hover);
    animation: editorCaretBlink 0.48s steps(2, start) infinite;
}
@keyframes editorCaretBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.15; }
}
html.hero-editor-assembly .hero-kicker,
html.hero-editor-assembly .hero-subtitle,
html.hero-editor-assembly .hero-cta-row,
html.hero-editor-assembly .hero-act-cues {
    transition: opacity 0.42s var(--ease-cinema), transform 0.42s var(--ease-cinema);
}
html.hero-editor-assembly.is-stage-settled .hero-kicker,
html.hero-editor-assembly.is-stage-settled .hero-subtitle,
html.hero-editor-assembly.is-stage-settled .hero-cta-row,
html.hero-editor-assembly.is-stage-settled .hero-act-cues {
    opacity: 1;
    transform: none;
}
html.hero-editor-assembly:not(.is-stage-settled) .hero-kicker,
html.hero-editor-assembly:not(.is-stage-settled) .hero-subtitle,
html.hero-editor-assembly:not(.is-stage-settled) .hero-act-cues {
    opacity: 0.15;
    transform: translateY(6px);
}
html.hero-editor-assembly:not(.is-stage-settled) .hero-cta-row {
    opacity: 0.45;
    transform: translateY(4px);
}

/* Section Scroll Typing Layer (Reserves Full Layout Semantic Box; Visual Layer Aria-Hidden) */
.sec-type-host {
    position: relative;
}
.sec-type-host.is-inline-host {
    display: inline-block;
    max-width: 100%;
}
.sec-type-host.is-typing-queued .sec-type-semantic,
.sec-type-host.is-typing-queued .sec-type-semantic *,
.sec-type-host.is-typing .sec-type-semantic,
.sec-type-host.is-typing .sec-type-semantic * {
    color: transparent !important;
    text-shadow: none !important;
    -webkit-text-fill-color: transparent !important;
}
.sec-type-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    user-select: none;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: inherit;
    text-transform: inherit;
    color: inherit;
}
.sec-type-visual .sty-c {
    opacity: 0;
}
.sec-type-visual .sty-c.is-typed {
    opacity: 1;
}
.sec-type-caret {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5px;
    height: var(--caret-h, 0.88em);
    background: var(--accent-hover);
    transform: translate3d(0, 0, 0);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    animation: editorCaretBlink 0.44s steps(2, start) infinite;
}
.sec-type-host.is-kicker-host .sec-type-caret {
    width: 2px;
}
.sec-cursor-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 42;
}
.sec-cursor-stage .editor-cursor-pointer,
.sec-cursor-stage .editor-cursor-ring {
    position: absolute;
}
.sec-cursor-stage .editor-cursor-ring.is-pulsing {
    animation-duration: 0.41s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 767px) {
    .sec-cursor-stage .editor-cursor-svg {
        width: 15px;
        height: 15px;
    }
}

.aperture-reg {
    position: absolute;
    inset: 156px var(--gutter) 22px;
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.55s var(--ease-cinema);
}
.reg-tick {
    position: absolute;
    width: 16px;
    height: 16px;
    opacity: 0.42;
}
.reg-tick.is-tl { top: 0; left: 0; border-top: 1px solid var(--ink-ivory); border-left: 1px solid var(--ink-ivory); }
.reg-tick.is-tr { top: 0; right: 0; border-top: 1px solid var(--ink-ivory); border-right: 1px solid var(--ink-ivory); }
.reg-tick.is-bl { bottom: 0; left: 0; border-bottom: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.reg-tick.is-br { bottom: 0; right: 0; border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent); }

.aperture-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.aperture-still,
.aperture-teaser-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}
.aperture-still {
    z-index: 1;
    opacity: 1;
    transition: opacity 0.35s ease;
}
.aperture-teaser-video {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.45s ease;
}
.aperture-teaser-video.is-playing { opacity: 1; }

.aperture-scrim {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(180deg, rgba(7, 7, 9, 0.46) 0%, rgba(7, 7, 9, 0.04) 28%, rgba(7, 7, 9, 0.22) 60%, rgba(7, 7, 9, 0.92) 100%),
        linear-gradient(90deg, rgba(7, 7, 9, 0.72) 0%, rgba(7, 7, 9, 0.25) 48%, rgba(7, 7, 9, 0.05) 100%);
    pointer-events: none;
}

.hero-floor-wrap {
    position: relative;
    z-index: 5;
    padding: clamp(7.4rem, 13.5vh, 9.2rem) 0 clamp(1.8rem, 4vh, 3rem);
}

.hero-floor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
    gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
    align-items: end;
}

.hero-kicker {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-hover);
}
.hero-title {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3.35rem, 8.8vw, 7.6rem);
    line-height: 0.88;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--ink-ivory);
}
.hero-title .lead-line {
    display: block;
}
.hero-title em {
    display: block;
    font-style: italic;
    font-weight: 800;
    color: var(--accent-hover);
    letter-spacing: -0.02em;
}
.hero-subtitle {
    margin-top: 0.85rem;
    max-width: 44ch;
    font-size: clamp(0.95rem, 1.3vw, 1.06rem);
    line-height: 1.62;
    color: rgba(243, 240, 234, 0.86);
}
.hero-cta-row {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Right-side Quiet 3-Act Chapter Links (NO Timeline HUD) */
.hero-act-cues {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}
.act-cue-list {
    width: min(100%, 340px);
    display: flex;
    flex-direction: column;
}
.hero-chapter-cue {
    display: grid;
    grid-template-columns: 1.6rem 1fr auto;
    align-items: baseline;
    gap: 0.65rem;
    padding: 0.56rem 0;
    border-bottom: 1px solid rgba(243, 240, 234, 0.16);
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s var(--ease-cinema);
}
.hero-chapter-cue:hover,
.hero-chapter-cue.is-active {
    border-bottom-color: var(--accent);
}
.hero-chapter-cue .cue-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 1.12rem;
    color: var(--accent-hover);
}
.hero-chapter-cue .cue-name {
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: var(--ink-ivory);
}
.hero-chapter-cue .cue-time {
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--ink-muted);
}

.ambient-mute-toggle {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    padding: 0.35rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.ambient-mute-toggle:hover {
    color: var(--ink-ivory);
    border-bottom-color: var(--accent);
}

/* ==========================================================================
   CHAPTER III · DARK CUTTING ROOM COLOR GRADE (#experience-edit)
   ========================================================================== */
.paper-craft-section {
    background: var(--bg-paper);
    color: var(--ink-paper);
    padding: clamp(4.2rem, 8vw, 7rem) 0;
    border-top: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
}

.paper-chapter-head {
    max-width: 680px;
    margin: 0 auto clamp(1.75rem, 3.2vw, 2.5rem);
    text-align: center;
    padding-bottom: clamp(1.35rem, 2.5vw, 2rem);
    border-bottom: 1px solid var(--rule-paper);
}
.paper-kicker {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-paper);
}
.paper-display-title {
    margin-top: 0.45rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.65rem, 5.2vw, 4.35rem);
    line-height: 0.92;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--ink-paper);
}
.paper-display-title .display-line {
    display: block;
}
.paper-subline {
    margin-top: 0.7rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(0.95rem, 1.55vw, 1.18rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-paper);
}
.paper-head-note {
    margin: 0.65rem auto 0;
    max-width: 52ch;
    font-size: 0.92rem;
    color: var(--ink-paper-dim);
    line-height: 1.55;
}

/* Simplified Color Grading Comparison Stage */
.craft-grade-stage {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(0.8rem, 1.5vw, 1.15rem);
    background: var(--bg-paper-deep);
    border: 1px solid var(--rule-paper);
}

.plate-reg {
    position: absolute;
    inset: 0.45rem;
    pointer-events: none;
    z-index: 6;
}
.plate-reg .reg-tick {
    border-color: rgba(223, 141, 108, 0.56);
    width: 12px;
    height: 12px;
}

/* Interactive Grade Wipe Plate */
.grade-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #141210;
    overflow: hidden;
    box-shadow: 0 22px 54px rgba(20, 18, 16, 0.16);
    user-select: none;
    touch-action: pan-y;
}
.grade-transition-underlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}
.grade-transition-underlay.is-active {
    opacity: 1;
}
.grade-fg-stage {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.grade-img-neutral,
.grade-img-graded {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.grade-after-clip {
    position: absolute;
    inset: 0;
    clip-path: inset(0 0 0 var(--split, 50%));
    z-index: 2;
}
.grade-after-clip.is-underlay {
    clip-path: inset(0 0 0 var(--under-split, 50%));
}

.grade-hairline {
    position: absolute;
    top: 0; bottom: 0;
    left: var(--split, 50%);
    width: 2px;
    transform: translateX(-50%);
    background: var(--accent);
    z-index: 4;
    pointer-events: none;
}
.grade-handle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-paper);
    color: var(--ink-paper);
    border: 1.5px solid var(--accent-paper);
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.grade-tag {
    position: absolute;
    top: 0.75rem;
    z-index: 4;
    min-height: 26px;
    padding: 0.24rem 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(10, 10, 14, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(243, 240, 234, 0.22);
    color: var(--ink-ivory);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}
.grade-tag-left { left: 0.75rem; color: rgba(243, 240, 234, 0.92); }
.grade-tag-right { right: 0.75rem; border-color: rgba(223, 141, 108, 0.58); color: var(--accent-hover); }

.grade-range-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}
.grade-viewport:has(.grade-range-overlay:focus-visible) {
    outline: 2px solid var(--accent-paper);
    outline-offset: 4px;
}

.grade-plate-caption {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.35rem 1.2rem;
}
.grade-plate-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-paper);
}
.grade-plate-hint {
    font-size: 0.78rem;
    color: var(--ink-paper-dim);
}
.grade-selector-bar {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(243, 240, 234, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.68rem;
}
.grade-sim-note {
    margin: 0.85rem 0 0;
    font-size: 0.76rem;
    line-height: 1.48;
    color: var(--ink-paper-dim);
}
.grade-sim-note[hidden] {
    display: none;
}
.grade-proj-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}
.grade-proj-btn {
    min-height: 36px;
    padding: 0.32rem 0.78rem;
    border: 1px solid rgba(243, 240, 234, 0.16);
    background: rgba(7, 7, 9, 0.58);
    color: rgba(243, 240, 234, 0.78);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
.grade-proj-btn:hover,
.grade-proj-btn:focus-visible {
    border-color: var(--accent-hover);
    color: var(--ink-ivory);
    outline: none;
}
.grade-proj-btn.is-active {
    border-color: var(--accent);
    background: rgba(201, 118, 85, 0.16);
    color: var(--ink-ivory);
}
.grade-thumb-strip {
    display: flex;
    gap: 0.36rem;
    overflow-x: auto;
    padding-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.grade-thumb-strip::-webkit-scrollbar {
    display: none;
}
.grade-thumb-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid rgba(243, 240, 234, 0.14);
    background: #08080b;
    text-align: left;
    overflow: hidden;
    transition: border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
    opacity: 0.76;
}
.grade-thumb-card.is-proj-group {
    opacity: 0.94;
}
.grade-thumb-card:hover,
.grade-thumb-card:focus-visible {
    opacity: 1;
    border-color: rgba(223, 141, 108, 0.8);
    outline: none;
}
.grade-thumb-card.is-active {
    opacity: 1;
    border-color: var(--accent-hover);
    box-shadow: inset 0 2px 0 var(--accent-hover);
}
.grade-thumb-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.grade-thumb-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    width: 100%;
    padding: 0.28rem 0.42rem;
    background: rgba(7, 7, 9, 0.96);
    font-family: var(--font-sans);
    font-size: 0.64rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: rgba(243, 240, 234, 0.76);
}
.grade-thumb-card.is-active .grade-thumb-meta {
    color: var(--ink-ivory);
}
.grade-thumb-tc {
    color: var(--accent-hover);
}
.paper-solid-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 44px;
    padding: 0.58rem 1.2rem;
    background: var(--accent);
    color: var(--bg-obsidian);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.paper-solid-btn:hover { background: var(--accent-hover); color: var(--bg-obsidian); }
.paper-hairline-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.58rem 1.1rem;
    border: 1px solid rgba(243, 240, 234, 0.26);
    color: var(--ink-paper);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.paper-hairline-btn:hover {
    border-color: var(--accent-paper);
    color: var(--accent-paper);
}

/* ==========================================================================
   CHAPTER IV · SELECTED WORK — SCULPTURAL SCALE SPREADS (#selected-work)
   ========================================================================== */
.selected-work-section {
    background: var(--bg-obsidian);
    padding: clamp(4.2rem, 7.5vw, 6.8rem) 0 0;
}

.sculptural-head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 1.5rem 3rem;
    align-items: end;
    margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.section-num-host {
    position: relative;
}
.section-num-host > *:not(.section-bg-num):not(.aperture-reg),
.hero-floor-grid > *:not(.section-bg-num) {
    position: relative;
    z-index: 1;
}
.hero-floor-grid {
    position: relative;
}
.sculptural-bg-num {
    position: absolute;
    top: -2.1rem;
    right: -0.25rem;
    z-index: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(6.5rem, 13.5vw, 11.5rem);
    line-height: 0.78;
    letter-spacing: -0.03em;
    color: rgba(243, 240, 234, 0.045);
    pointer-events: none;
    user-select: none;
}
.sculptural-bg-num.section-bg-num {
    top: -1.35rem;
    right: var(--gutter);
}
.sculptural-head-left { position: relative; z-index: 1; }
.sculptural-head-right {
    position: relative;
    z-index: 1;
    font-size: 0.94rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* Borderless Media Frames */
.spread-media-trigger {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #030305;
}
.spread-media-trigger.ratio-16-9 { aspect-ratio: 16 / 9; }
.spread-media-trigger.ratio-9-16 { aspect-ratio: 9 / 16; max-width: 340px; }
.spread-media-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease-cinema), filter 0.35s ease;
}
.spread-media-trigger:hover img,
.spread-media-trigger:focus-visible img {
    transform: scale(1.028);
}

.hover-play-cue {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.38rem 0.78rem;
    background: rgba(7, 7, 9, 0.86);
    color: var(--ink-ivory);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.spread-media-trigger:hover .hover-play-cue,
.spread-media-trigger:focus-visible .hover-play-cue {
    background: var(--accent);
    color: var(--bg-obsidian);
    opacity: 1;
}

.spread-caption {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.4rem 1rem;
}
.cap-title-group {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
}
.cap-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
}
.spread-caption h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.55rem, 2.3vw, 2.05rem);
    letter-spacing: -0.01em;
    line-height: 1.02;
    text-transform: uppercase;
    color: var(--ink-ivory);
}
.cap-meta {
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.strip-cut-rule {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.45rem;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid var(--rule-dark);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.strip-cut-rule em {
    font-style: normal;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
}

.spread-asymmetric-pair {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.554fr);
    gap: clamp(1.4rem, 3vw, 2.5rem);
    align-items: start;
}
.spread-feature-wide .spread-media-trigger.ratio-16-9,
.spread-feature-tall .spread-media-trigger.ratio-9-16 {
    width: 100%;
    max-width: none;
}
.spread-feature-tall {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.spread-triptych {
    margin-top: clamp(3rem, 5.5vw, 4.8rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.4vw, 2rem);
    align-items: start;
}

/* Warm Charcoal-Bronze Spotlight (#darkroom-diptych-band) */
.bronze-spotlight-band {
    background: var(--bg-bronze);
    padding: clamp(3.8rem, 7vw, 6rem) 0;
    border-top: 1px solid var(--rule-dark);
}
.spotlight-weighted-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.6rem, 3.6vw, 3rem);
    align-items: start;
}
.spotlight-caption {
    margin-top: 1.05rem;
}
.spotlight-caption h3 {
    margin-top: 0.25rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.85rem, 2.9vw, 2.55rem);
    letter-spacing: -0.01em;
    line-height: 0.98;
    text-transform: uppercase;
    color: var(--ink-ivory);
}
.spotlight-caption p {
    margin-top: 0.45rem;
    max-width: 48ch;
    font-size: 0.92rem;
    color: var(--ink-muted);
    line-height: 1.58;
}

/* ==========================================================================
   CHAPTER 04 · ALIGNED NATIVE 9:16 SCREENING WALL (#vertical-stage)
   ========================================================================== */
.vertical-promenade {
    background: var(--bg-charcoal);
    padding: clamp(4.2rem, 7.5vw, 6.5rem) 0;
}
.vertical-prom-head {
    max-width: 620px;
    margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.vertical-poster-deck {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2.2vw, 1.85rem);
    align-items: start;
}
.vertical-reel-controls { display: none; }
.poster-plate {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rule-dark);
    transition: border-color 0.2s ease;
}
.poster-plate:hover {
    border-top-color: var(--accent);
}
.poster-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #040406;
}
.poster-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-cinema);
}
.poster-plate:hover .poster-img-wrap img,
.poster-plate:focus-visible .poster-img-wrap img {
    transform: scale(1.03);
}
.poster-meta { display: block; }
.poster-idx {
    display: block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}
.poster-meta strong {
    display: block;
    margin-top: 0.15rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.48rem;
    line-height: 1.02;
    letter-spacing: -0.008em;
    text-transform: uppercase;
    color: var(--ink-ivory);
}
.poster-meta small {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.8rem;
    color: var(--ink-muted);
}

/* ==========================================================================
   CHAPTER 05 · EDITORIAL CONTACT SHEET (#portfolio)
   ========================================================================== */
.archive-catalog-section {
    background: var(--bg-obsidian);
    padding: clamp(4.2rem, 7.5vw, 6.5rem) 0;
    overflow-anchor: none;
}

.catalog-top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.4rem 2rem;
    margin-bottom: 1.65rem;
}
.catalog-controls-col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}
.catalog-search {
    min-width: 240px;
    min-height: 42px;
    padding: 0.45rem 0.85rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rule-strong);
    color: var(--ink-ivory);
    font-size: 0.88rem;
    transition: border-color 0.2s ease;
}
.catalog-search:focus { outline: none; border-bottom-color: var(--accent); }
.catalog-search::placeholder { color: var(--ink-dim); }

.catalog-ratio-group {
    display: inline-flex;
    border: 1px solid var(--rule-dark);
}
.aspect-btn {
    min-height: 40px;
    padding: 0.35rem 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink-muted);
    transition: background-color 0.16s ease, color 0.16s ease;
}
.aspect-btn.active {
    background: var(--accent);
    color: var(--bg-obsidian);
    font-weight: 700;
}

.catalog-filter-ribbon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 1.25rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
    margin-bottom: 1.45rem;
}
.idx-filter {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    min-height: 36px;
    padding: 0.25rem 0;
    border-bottom: 1.5px solid transparent;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: var(--ink-muted);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.idx-filter:hover { color: var(--ink-ivory); }
.idx-filter.active {
    color: var(--ink-ivory);
    border-bottom-color: var(--accent);
}
.reset-filters-btn {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
}

/* Compact Film Contact Sheet Grid */
.vault-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 0.9rem;
    align-items: start;
}
.vault-contact-grid .project-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: transparent;
}
.contact-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #050507;
    border: 1px solid rgba(243, 240, 234, 0.12);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 0.45s var(--ease-cinema), filter 0.25s ease;
}
.contact-ratio-tag {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 2;
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    padding: 0.12rem 0.36rem;
    background: rgba(7, 7, 9, 0.82);
    color: rgba(243, 240, 234, 0.82);
    border: 1px solid rgba(243, 240, 234, 0.14);
}
.contact-caption {
    padding: 0.42rem 0.08rem 0.15rem;
    min-width: 0;
}
.contact-title {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink-ivory);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}
.contact-role {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.7rem;
    line-height: 1.2;
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vault-contact-grid .project-card:hover .contact-frame,
.vault-contact-grid .project-card:focus-visible .contact-frame {
    border-color: var(--accent);
}
.vault-contact-grid .project-card:hover .contact-frame img,
.vault-contact-grid .project-card:focus-visible .contact-frame img {
    transform: scale(1.03);
}
.vault-contact-grid .project-card:hover .contact-title,
.vault-contact-grid .project-card:focus-visible .contact-title {
    color: var(--accent-hover);
}

.contact-more-bar {
    margin-top: 1.65rem;
    display: flex;
    justify-content: center;
}
.contact-more-btn {
    min-width: 180px;
    min-height: 44px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vault-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    border: 1px dashed var(--rule-dark);
    color: var(--ink-muted);
}
.noscript-archive-fallback {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-top: 1px solid var(--rule-dark);
    color: var(--ink-muted);
}
.noscript-archive-fallback ul { margin-top: 0.6rem; padding-left: 1.25rem; }
.noscript-archive-fallback a { color: var(--accent); text-decoration: underline; }

/* ==========================================================================
   CHAPTER VII · DARK CUTTING ROOM EDITOR NOTES (#about)
   ========================================================================== */
.paper-bio-section {
    background: var(--bg-paper);
    color: var(--ink-paper);
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    border-top: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
}
.paper-bio-grid {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.bio-portrait-figure {
    position: relative;
}
.bio-portrait-figure .plate-reg {
    inset: 0.65rem;
    bottom: 2.3rem;
}
.bio-portrait-figure img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 15%;
    border: 1px solid rgba(243, 240, 234, 0.14);
    background: var(--bg-obsidian);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}
.bio-portrait-figure figcaption {
    margin-top: 0.72rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-paper-dim);
}

.paper-bio-quote {
    margin-top: 0.65rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.92rem, 3.25vw, 2.85rem);
    line-height: 1.04;
    letter-spacing: -0.012em;
    color: var(--ink-paper);
    max-width: 28ch;
}
.paper-bio-quote em {
    font-style: italic;
    font-weight: 800;
    color: var(--accent-paper);
}
.paper-bio-copy {
    margin-top: 1.25rem;
    max-width: 60ch;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--ink-paper-dim);
}
.paper-discipline-table {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--rule-paper);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}
.paper-discipline-table dt {
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-paper);
}
.paper-discipline-table dd {
    margin-top: 0.4rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--ink-paper);
}

/* ==========================================================================
   CHAPTER 07 · FINAL CLOSING SLATE & BRIEF DRAWER (#contact)
   ========================================================================== */
.final-curtain-section {
    background: var(--bg-obsidian);
    padding: clamp(4.8rem, 8.5vw, 7.5rem) 0 clamp(2.4rem, 4vw, 3.2rem);
}
.curtain-inner {
    position: relative;
    padding: clamp(1.2rem, 3vw, 2.2rem);
}
.aperture-reg.is-contact {
    inset: 0;
    z-index: 1;
}
.curtain-inner > :not(.aperture-reg) {
    position: relative;
    z-index: 2;
}
.curtain-headline {
    margin-top: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3.15rem, 8.2vw, 6.8rem);
    line-height: 0.9;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--ink-ivory);
}
.curtain-headline .display-line { display: block; }
.curtain-headline em { font-style: italic; font-weight: 800; color: var(--accent); display: block; }
.curtain-sub {
    margin-top: 0.9rem;
    font-size: 0.98rem;
    color: var(--ink-muted);
    max-width: 48ch;
}
.final-cta-row {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.78rem;
    align-items: center;
}

.brief-drawer {
    margin-top: 2rem;
    padding: clamp(1.35rem, 2.8vw, 2.1rem);
    background: var(--bg-charcoal);
    border: 1px solid var(--rule-strong);
    clip-path: inset(0 0 0 0);
    transition: opacity 0.24s var(--ease-cinema), transform 0.24s var(--ease-cinema), clip-path 0.26s var(--ease-cinema);
}
.brief-drawer.is-panel-entering {
    opacity: 0;
    transform: translateY(-8px);
    clip-path: inset(0 0 28% 0);
}
.brief-drawer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}
.step-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--accent);
}
.lane-selector-group,
.focus-selector-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.55rem 0 1.25rem;
}
.request-lane-btn,
.focus-chip-btn {
    min-height: 38px;
    padding: 0.4rem 0.88rem;
    border: 1px solid var(--rule-dark);
    background: var(--bg-obsidian);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: var(--ink-muted);
}
.request-lane-btn.active,
.focus-chip-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-obsidian);
    font-weight: 700;
}
.brief-preview-text {
    margin-top: 0.55rem;
    padding: 0.95rem;
    background: var(--bg-obsidian);
    border: 1px solid var(--rule-dark);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.52;
    white-space: pre-wrap;
    color: var(--ink-ivory);
}
.brief-send-actions {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.copy-success-message { font-size: 0.82rem; color: var(--accent); }

.credits-footer {
    margin-top: clamp(3.5rem, 6vw, 5.2rem);
    padding-top: 1.5rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid var(--rule-dark);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.credit-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.credit-links a { font-size: 0.84rem; color: var(--ink-muted); }
.credit-links a:hover { color: var(--accent); }
.footer-credit-stamp { font-size: 0.8rem; color: var(--ink-dim); }

/* ==========================================================================
   CHAPTER IX · MODALS, SHOWREEL SCREENING & V5 FLIP PORTAL (COPPER UNIFIED)
   ========================================================================== */
.ftf-portal {
    position: fixed;
    inset: 0;
    z-index: 2600;
    pointer-events: none;
}
.ftf-frame {
    position: fixed;
    top: 0; left: 0;
    transform-origin: top left;
    overflow: hidden;
    background: #040406;
    will-change: transform, clip-path;
}
.ftf-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ftf-copper-seam {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: var(--accent);
    transform-origin: left center;
}
.ftf-hud {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(180deg, transparent, rgba(7, 7, 9, 0.88));
    color: var(--ink-ivory);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.ftf-kicker { font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.ftf-title { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -0.018em; }
.ftf-credit { font-size: 0.78rem; color: var(--ink-muted); }

.modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: none;
    overflow-y: auto;
}
.modal.active,
.modal[aria-hidden="false"] { display: block; }
.modal.is-measuring {
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 6, 0.95);
    opacity: 1;
    transition: opacity 0.34s var(--ease-cinema);
}
.modal.is-portal-opening .modal-backdrop,
.modal.is-portal-fading-out .modal-backdrop { opacity: 0; }

.modal-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: clamp(0.75rem, 2.5vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-card {
    position: relative;
    width: min(100%, 1140px);
    background: var(--bg-charcoal);
    border: 1px solid var(--rule-strong);
    padding: clamp(3.3rem, 4.5vw, 3.6rem) clamp(1rem, 2.2vw, 1.8rem) clamp(1rem, 2.2vw, 1.5rem);
    transition: opacity 0.24s var(--ease-cinema), transform 0.26s var(--ease-cinema), clip-path 0.26s var(--ease-cinema);
}
.modal.is-portal-opening .modal-card { opacity: 0; transform: translateY(8px); }
.modal.is-portal-fading-out .modal-card { opacity: 0; transform: scale(0.97); }
.modal.is-monitor-entering .modal-card {
    opacity: 0;
    transform: translateY(10px);
    clip-path: inset(8% 0 12% 0);
}
.modal-top-bar {
    transition: opacity 0.22s var(--ease-cinema) 0.04s, transform 0.22s var(--ease-cinema) 0.04s;
}
.cinema-action-strip {
    transition: opacity 0.24s var(--ease-cinema) 0.08s, transform 0.24s var(--ease-cinema) 0.08s;
}
.media-external-link {
    transition: opacity 0.22s var(--ease-cinema) 0.12s, transform 0.22s var(--ease-cinema) 0.12s;
}
.modal.is-portal-opening .modal-top-bar,
.modal.is-monitor-entering .modal-top-bar,
.modal.is-monitor-staggering .modal-top-bar {
    opacity: 0;
    transform: translateY(-6px);
}
.modal.is-portal-opening .cinema-action-strip,
.modal.is-monitor-entering .cinema-action-strip,
.modal.is-monitor-staggering .cinema-action-strip {
    opacity: 0;
    transform: translateY(10px);
}
.modal.is-portal-opening .media-external-link,
.modal.is-monitor-entering .media-external-link,
.modal.is-monitor-staggering .media-external-link {
    opacity: 0;
    transform: translateY(6px);
}
.showreel-transport {
    transition: opacity 0.22s var(--ease-cinema) 0.08s, transform 0.22s var(--ease-cinema) 0.08s;
}
.showreel-modal-chapters {
    transition: opacity 0.24s var(--ease-cinema) 0.14s, transform 0.24s var(--ease-cinema) 0.14s;
}
.modal.is-monitor-entering .showreel-transport,
.modal.is-monitor-entering .showreel-modal-chapters {
    opacity: 0;
    transform: translateY(8px);
}

.modal-top-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 54px;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(clamp(1rem, 2.2vw, 1.5rem), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(1rem, 2.2vw, 1.5rem), env(safe-area-inset-right, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    z-index: 6;
    pointer-events: none;
}
.modal-back-btn, .close-modal { pointer-events: auto; }
.modal-top-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    overflow: hidden;
}
.modal-category {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: var(--accent);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.modal-counter-pill {
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
    color: var(--ink-muted);
    white-space: nowrap;
}
.modal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 36px;
    padding: 0.3rem 0.78rem;
    border: 1px solid var(--rule-dark);
    background: rgba(7, 7, 9, 0.9);
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ink-muted);
    flex-shrink: 0;
}
.modal-back-btn:hover { border-color: var(--accent); color: var(--ink-ivory); }
.modal.drive-expanded .modal-back-btn,
.modal.drive-expanded .modal-top-bar {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.modal.drive-expanded .screening-stage-box,
.modal.drive-expanded .media-container {
    position: static !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: auto !important;
}
#projectModal .drive-player.is-expanded .drive-viewport { max-height: none !important; }

.close-modal {
    position: relative;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    margin: 0;
    border-radius: 50%;
    border: 1px solid var(--rule-strong);
    background: var(--bg-obsidian);
    color: var(--ink-ivory);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
    font-size: 0;
    box-sizing: border-box;
}
.close-modal:hover { border-color: var(--accent); color: var(--accent); }
.close-modal .close-modal-icon {
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    fill: none;
    pointer-events: none;
}

.modal-media-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.screening-stage-box {
    position: relative;
    width: 100%;
    max-width: min(100%, 980px);
    margin: 0 auto;
    overflow: hidden;
    background: #040406;
    --toolbar-reserve: 0px;
}
.modal-media-side.is-portrait .screening-stage-box {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
}
.screening-poster-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: calc(100% - var(--toolbar-reserve, 0px));
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.3s ease;
}
.screening-poster-img.is-under-loaded { opacity: 0.08; }

.media-container {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: transparent;
    border: 1px solid var(--rule-dark);
}
#projectModal .modal-media-side:not(.is-portrait) .drive-player:not(.is-expanded) .drive-viewport { max-height: min(62dvh, 560px); }
.modal-media-side.is-portrait .media-container {
    max-width: 320px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}
#projectModal .modal-media-side.is-portrait .drive-player:not(.is-expanded) .drive-viewport { max-height: min(58dvh, 520px); }

#projectModal .drive-player:not(.is-expanded) { background: transparent; border: 0; border-radius: 0; }
#projectModal .drive-player:not(.is-expanded) .drive-viewport { background: transparent; }
#projectModal .drive-player.is-expanded:not(.has-loaded) .drive-viewport {
    background-color: #070709;
    background-image: var(--stage-poster, none);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#projectModal .drive-toolbar {
    background: #0b0c10;
    border-top: 1px solid var(--rule-dark);
    color: var(--ink-muted);
}

.screening-splice-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: rgba(7, 7, 9, 0.55);
    opacity: 0;
}
.screening-splice-seam {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1.5px;
    background: var(--accent);
}
.screening-splice-overlay.is-splicing-next,
.screening-splice-overlay.is-splicing-prev {
    animation: modalSpliceGate 0.3s var(--ease-cinema) forwards;
}
@keyframes modalSpliceGate {
    0% { opacity: 0.65; }
    100% { opacity: 0; }
}
.media-external-link { margin-top: 0.65rem; font-size: 0.8rem; color: var(--ink-muted); }
.media-external-link a:hover { color: var(--accent); }

.cinema-action-strip {
    max-width: 980px;
    margin: 0.95rem auto 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--rule-dark);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem 1.5rem;
}
.cinema-strip-left { min-width: 0; flex: 1 1 300px; }
.modal-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.65rem, 2.7vw, 2.35rem);
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--ink-ivory);
}
.cinema-compact-credits {
    margin-top: 0.22rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--ink-muted);
}
.cinema-compact-credits .dot-sep { color: var(--accent); }

.cinema-strip-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.95rem;
}
.story-toggle-btn {
    min-height: 36px;
    padding: 0.36rem 0.78rem;
    border: 1px solid var(--rule-strong);
    background: var(--bg-obsidian);
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink-ivory);
}
.story-toggle-btn[aria-expanded="true"],
.story-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }

.modal-fallback-link, .modal-contact-nudge {
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink-muted);
    border-bottom: 1px solid rgba(182, 176, 166, 0.35);
    padding-bottom: 1px;
}
.modal-fallback-link:hover, .modal-contact-nudge:hover { color: var(--accent); border-color: var(--accent); }

.modal-nav-arrows { display: inline-flex; gap: 0.45rem; }
.modal-step-btn {
    min-height: 36px;
    padding: 0.35rem 0.78rem;
    border: 1px solid var(--rule-dark);
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink-ivory);
}
.modal-step-btn:hover { border-color: var(--accent); color: var(--accent); }

.modal-story-drawer {
    max-width: 980px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid var(--rule-dark);
}
.modal-desc {
    font-size: 0.9rem;
    line-height: 1.58;
    color: var(--ink-muted);
    white-space: pre-line;
    max-width: 72ch;
}
.modal-related-block { margin-top: 1rem; }
.related-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.55rem;
}
.modal-related-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.related-mini-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem;
    border: 1px solid var(--rule-dark);
    text-align: left;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-ivory);
}
.related-mini-card:hover { border-color: var(--accent); }
.related-mini-card img { width: 58px; height: 34px; object-fit: cover; flex-shrink: 0; }

/* Master Showreel Screening Modal (End-Card Identity + Copper Scrubber) */
.showreel-wrapper { align-items: center; }
.showreel-card { padding: 3.35rem clamp(1rem, 2.5vw, 2rem) 1.35rem; max-width: 1080px; }
.showreel-stage-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(64vh, 580px);
    background: #020203;
    border: 1px solid var(--rule-dark);
    overflow: hidden;
}
.master-showreel-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.showreel-end-bar {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(7, 7, 9, 0.92));
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}
.showreel-transport {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.showreel-scrub-range {
    flex: 1;
    min-width: 120px;
    accent-color: var(--accent);
    cursor: pointer;
}
.showreel-modal-chapters {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}
.reel-act-chip {
    padding: 0.52rem 0.72rem;
    border: 1px solid var(--rule-dark);
    background: var(--bg-obsidian);
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-align: left;
    transition: border-color 0.18s ease, color 0.18s ease;
}
.reel-act-chip span {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
}
.reel-act-chip.is-current,
.reel-act-chip:hover { border-color: var(--accent); color: var(--ink-ivory); }
.showreel-credits-drawer {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rule-dark);
    font-size: 0.82rem;
    color: var(--ink-muted);
}
.showreel-credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem 0.85rem;
}
.reel-credit-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.42rem 0.58rem;
    border: 1px solid var(--rule-dark);
    background: var(--bg-obsidian);
    text-align: left;
    transition: border-color 0.18s ease;
}
.reel-credit-card:hover { border-color: var(--accent); }
.reel-credit-card img { width: 58px; height: 34px; object-fit: cover; flex-shrink: 0; }
.reel-credit-card > span { min-width: 0; display: flex; flex-direction: column; gap: 0.12rem; }
.reel-credit-card strong {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--ink-ivory);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.reel-credit-card > span > span {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
}
.reel-credit-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.42rem 0.6rem;
    border: 1px solid var(--rule-dark);
    text-align: left;
    font-size: 0.76rem;
}
.reel-credit-row span { color: var(--accent); font-variant-numeric: tabular-nums; }
.reel-credit-row strong { font-family: var(--font-display); font-weight: 600; color: var(--ink-ivory); }
.reel-credit-row:hover { border-color: var(--accent); }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1024px, 767px Mobile Portrait & Landscape)
   ========================================================================== */
@media (max-width: 1080px) {
    .vault-contact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.9rem 0.8rem;
    }
    .paper-chapter-head { grid-template-columns: 1fr; align-items: start; }
    .sculptural-head { grid-template-columns: 1fr; }
    .spotlight-weighted-grid { grid-template-columns: 1fr; }
    .paper-bio-grid { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
}

@media (max-width: 1180px) {
    .timeline-clip {
        padding: 0 0.36rem var(--clip-hit-pad, 0px);
    }
    .clip-meta {
        gap: 0.24rem;
    }
    .clip-num,
    .clip-label {
        font-size: 0.65rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    :root {
        --clip-hit-pad: 12px;
    }
    .timeline-clip {
        padding-bottom: var(--clip-hit-pad, 12px);
    }
}

@media (max-width: 900px) {
    :root {
        --nav-sticky-offset: 102px;
        --clip-hit-pad: 14px;
    }
    .nav-inner {
        min-height: 36px;
        gap: 0.45rem;
        padding-top: 0.16rem;
        padding-bottom: 0.16rem;
    }
    .nav-actions { flex-shrink: 0; gap: 0.38rem; }
    .nav-reel-btn { display: none; }
    .nav-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; min-width: 38px; min-height: 34px; padding: 0; }
    .nav-sound-btn,
    .nav-cta-btn { min-height: 34px; }
    .deck-shell {
        padding-top: 1px;
        padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
        padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
        padding-bottom: 0;
    }
    .strip-seq-bar {
        height: 13px;
        padding: 0 0.45rem;
        font-size: 0.5rem;
    }
    .strip-seq-active {
        min-width: 0;
        max-width: 58%;
    }
    .nle-ruler {
        height: 12px;
    }
    .ruler-mark {
        font-size: 0.49rem;
    }
    .nle-track-canvas {
        min-width: 785px;
    }
    .nle-clips-track {
        height: calc(30px + var(--clip-hit-pad, 14px));
    }
    .site-nav.is-scrolled .nle-clips-track {
        height: calc(25px + var(--clip-hit-pad, 14px));
    }
    .timeline-clip {
        padding: 0 0.4rem var(--clip-hit-pad, 14px);
    }
    .clip-num,
    .clip-label {
        font-size: 0.64rem;
    }
    .nle-playhead-head {
        width: 8px;
        height: 5.5px;
    }
    .mobile-nav-drawer {
        inset: calc(95px + env(safe-area-inset-top, 0px)) 0 0 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .hero-floor-grid { grid-template-columns: 1fr; align-items: start; }
    .hero-act-cues { align-items: flex-start; }
    .act-cue-list { width: 100%; }
    .spread-asymmetric-pair { grid-template-columns: 1fr; }
    .spread-feature-tall .spread-media-trigger.ratio-9-16 { max-width: 340px; }
    .spread-triptych { grid-template-columns: 1fr; gap: 2rem; }
    .vertical-poster-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .paper-bio-grid { grid-template-columns: 1fr; }
    .bio-portrait-figure { max-width: 280px; }
    .paper-discipline-table { grid-template-columns: 1fr; }
    .brief-drawer-grid { grid-template-columns: 1fr; }
    .showreel-modal-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
    .nav-inner {
        gap: 0.34rem;
        padding-left: max(0.7rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.7rem, env(safe-area-inset-right, 0px));
    }
    .deck-shell {
        padding-top: 1px;
        padding-left: max(0.7rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.7rem, env(safe-area-inset-right, 0px));
        padding-bottom: 0;
    }
    .nav-inner { min-height: 48px; }
    .nav-brand { gap: 0.45rem; }
    .nav-brand-bar { height: 18px; }
    .nav-brand-name { font-size: clamp(1.18rem, 4.8vw, 1.38rem); letter-spacing: 0.07em; }
    .site-nav.is-scrolled .nav-brand-name { font-size: clamp(1.06rem, 4.2vw, 1.24rem); }
    .site-nav.is-scrolled .nav-brand-bar { height: 15px; }
    .nav-actions { gap: 0.35rem; }
    .nav-sound-btn { min-height: 34px; width: 34px; padding: 0; }
    .nav-sound-btn .sound-label { display: none; }
    .nav-cta-btn { min-height: 34px; padding: 0 0.72rem; font-size: 0.72rem; letter-spacing: 0.02em; }
    .nav-menu-btn { width: 36px; min-width: 36px; min-height: 34px; padding: 0; }
    .nle-clips-track { height: calc(30px + var(--clip-hit-pad, 14px)); }
}

@media (max-width: 350px) {
    .nav-brand-name { font-size: 1.08rem; letter-spacing: 0.05em; }
    .site-nav.is-scrolled .nav-brand-name { font-size: 1rem; }
    .nav-brand-bar { height: 15px; }
    .nav-cta-btn { padding: 0 0.56rem; font-size: 0.68rem; }
    .nav-menu-btn { width: 34px; min-width: 34px; padding: 0; }
    .nav-sound-btn { width: 32px; }
}

@media (max-width: 767px) {
    .sculptural-bg-num {
        font-size: clamp(4.2rem, 17vw, 6.2rem);
        top: -0.45rem;
        right: 0;
        color: rgba(243, 240, 234, 0.04);
    }
    .sculptural-bg-num.section-bg-num {
        top: -0.45rem;
        right: var(--gutter);
    }
    .aperture-scrim {
        background:
            linear-gradient(180deg, rgba(7, 7, 9, 0.5) 0%, rgba(7, 7, 9, 0.08) 28%, rgba(7, 7, 9, 0.56) 54%, rgba(7, 7, 9, 0.96) 100%);
    }
    .hero-subtitle { display: none; }
    .cold-open > .aperture-reg { display: none; }
    .hero-title { font-size: clamp(2.85rem, 13.5vw, 4.1rem); line-height: 0.9; letter-spacing: -0.015em; }
    .curtain-headline { font-size: clamp(2.75rem, 12.5vw, 3.85rem); line-height: 0.92; letter-spacing: -0.015em; }
    .paper-display-title, .chapter-display-title { font-size: clamp(2.2rem, 10.2vw, 3rem); line-height: 0.94; }
    .hero-floor-wrap { padding: 6.4rem 0 1.1rem; }
    .hero-cta-row { margin-top: 1rem; }
    .grade-plate-caption { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .grade-proj-tabs { gap: 0.34rem; }
    .grade-proj-btn { min-height: 36px; padding: 0.28rem 0.6rem; font-size: 0.68rem; }
    .grade-thumb-card { flex: 0 0 112px; min-width: 112px; }
    .grade-tag { top: 0.5rem; left: auto; min-height: 24px; padding: 0.2rem 0.52rem; font-size: 0.66rem; }
    .grade-tag-left { left: 0.5rem; }
    .grade-tag-right { right: 0.5rem; }
    .editor-cursor-tag { font-size: 0.5rem; padding: 0.1rem 0.32rem; }
    .modal-top-bar { padding-left: max(0.75rem, env(safe-area-inset-left, 0px)); padding-right: max(0.75rem, env(safe-area-inset-right, 0px)); gap: 0.45rem; }
    .modal-back-btn { padding: 0.28rem 0.58rem; font-size: 0.72rem; }
    .modal-top-meta { gap: 0.45rem; }
    .modal-category { font-size: 0.68rem; letter-spacing: 0.06em; }
    .close-modal { width: 38px; height: 38px; min-width: 38px; min-height: 38px; }
    .act-cue-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }
    .hero-chapter-cue {
        grid-template-columns: 1fr;
        gap: 0.1rem;
        padding: 0.4rem 0;
    }

    /* Horizontal Native Touch Promenade for 9:16 Reels on Mobile */
    .vertical-poster-deck {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.9rem;
        margin-inline: calc(-1 * var(--gutter));
        padding: 0 var(--gutter) 0.5rem;
        scrollbar-width: none;
    }
    .vertical-poster-deck::-webkit-scrollbar { display: none; }
    .poster-plate {
        flex: 0 0 74vw;
        max-width: 280px;
        scroll-snap-align: start;
    }

    .vault-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.78rem 0.65rem;
    }

    .catalog-search { width: 100%; min-width: 0; }
    .modal-related-track { grid-template-columns: 1fr; }
    .showreel-transport { flex-wrap: wrap; }
}

@media (max-width: 560px) {
    .hide-xs { display: none; }
}

@media (max-width: 360px) {
    .hero-floor-wrap { padding: 5.9rem 0 0.9rem; }
    .hero-kicker { font-size: 0.64rem; letter-spacing: 0.1em; }
    .hero-title { font-size: 2.5rem; }
    .hero-chapter-cue .cue-name { font-size: 0.75rem; white-space: nowrap; }
    .paper-display-title, .chapter-display-title { font-size: 2.02rem; }
    .hero-cta-row { gap: 0.5rem; }
    .copper-reel-btn, .hairline-link-btn { padding: 0.65rem 1rem; font-size: 0.82rem; }
}

@media (max-width: 936px) and (max-height: 520px) {
    :root {
        --nav-sticky-offset: 76px;
        --clip-hit-pad: 18px;
    }
    .mobile-nav-drawer { inset: calc(70px + env(safe-area-inset-top, 0px)) 0 0 0; }
    .cold-open > .aperture-reg { display: none; }
    .nav-inner {
        min-height: 32px;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
        gap: 0.45rem;
    }
    .deck-shell {
        padding-top: 1px;
        padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
        padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
        padding-bottom: 0;
    }
    .strip-seq-bar { display: none; }
    .nle-track-canvas {
        min-width: 785px;
    }
    .nle-ruler {
        height: 11px;
    }
    .nle-clips-track {
        height: calc(26px + var(--clip-hit-pad, 18px));
    }
    .timeline-clip {
        padding: 0 0.38rem var(--clip-hit-pad, 18px);
    }
    .clip-num,
    .clip-label {
        font-size: 0.6rem;
    }
    .nav-sound-btn { min-height: 30px; width: 30px; padding: 0; }
    .nav-sound-btn .sound-label { display: none; }
    .nav-cta-btn,
    .nav-menu-btn { min-height: 30px; padding: 0 0.5rem; font-size: 0.68rem; }
    .cold-open { min-height: 100svh; }
    .hero-floor-wrap { padding: 4.8rem 0 0.72rem; }
    .hero-title { font-size: clamp(2rem, 5.2vw, 2.75rem); }
    .hero-act-cues { display: none; }
}

@media (max-width: 660px) and (max-height: 360px) {
    .hero-subtitle { display: none; }
    .hero-floor-wrap { padding: 4.2rem 0 0.55rem; }
    .hero-title { font-size: clamp(1.85rem, 6vw, 2.35rem); }
    .hero-cta-row { margin-top: 0.55rem; }
    .copper-reel-btn, .hairline-link-btn { min-height: 38px; padding: 0.45rem 0.9rem; font-size: 0.76rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal.is-cut-landed::before,
    .clip-sweep-sheen,
    .nle-clip-slot::after {
        display: none !important;
        animation: none !important;
    }
    .nle-playhead.is-cut-gliding {
        transition: none !important;
    }
    html.js-ready .reveal,
    html.js-ready .reveal .spread-feature-wide,
    html.js-ready .reveal .spread-feature-tall,
    html.js-ready .reveal .triptych-item,
    html.js-ready .reveal .poster-plate,
    html.js-ready .reveal .spotlight-feature,
    html.js-ready .reveal .grade-viewport,
    html.js-ready .reveal .spread-media-trigger,
    html.js-ready .reveal .poster-img-wrap,
    html.js-ready .reveal .bio-portrait-figure img,
    .nle-clip-slot.is-assembly-pending .timeline-clip,
    .nle-clip-slot.is-assembly-pending .clip-thumb,
    .nle-clip-slot.is-assembly-pending .clip-meta,
    #heroHeadline .ty-char,
    .hero-kicker,
    .hero-subtitle,
    .hero-cta-row,
    .hero-act-cues {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        clip-path: none !important;
    }
    .editor-entry-cursors,
    .sec-cursor-stage,
    .sec-type-visual,
    .sec-type-caret,
    .hero-type-caret { display: none !important; }
    .sec-type-host.is-typing-queued .sec-type-semantic,
    .sec-type-host.is-typing-queued .sec-type-semantic *,
    .sec-type-host.is-typing .sec-type-semantic,
    .sec-type-host.is-typing .sec-type-semantic * {
        color: inherit !important;
        -webkit-text-fill-color: currentColor !important;
    }
}

html.save-data-active .aperture-teaser-video,
html.save-data-active .editor-entry-cursors,
html.save-data-active .sec-cursor-stage,
html.save-data-active .sec-type-visual,
html.save-data-active .sec-type-caret,
html.save-data-active .hero-type-caret { display: none !important; }
html.save-data-active .sec-type-host.is-typing-queued .sec-type-semantic,
html.save-data-active .sec-type-host.is-typing-queued .sec-type-semantic *,
html.save-data-active .sec-type-host.is-typing .sec-type-semantic,
html.save-data-active .sec-type-host.is-typing .sec-type-semantic * {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
}
html.save-data-active .reveal,
html.save-data-active .reveal .spread-feature-wide,
html.save-data-active .reveal .spread-feature-tall,
html.save-data-active .reveal .triptych-item,
html.js-ready.save-data-active .reveal .grade-viewport,
html.js-ready.save-data-active .reveal .spread-media-trigger,
html.js-ready.save-data-active .reveal .poster-img-wrap,
html.js-ready.save-data-active .reveal .bio-portrait-figure img,
html.save-data-active .reveal .poster-plate,
html.save-data-active .reveal .spotlight-feature {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
}

/* Keep the four primary destinations readable in the compact phone timeline. */
@media (max-width: 767px) {
    #timelineNleViewport { overflow-x: hidden; }
    #timelineTrackCanvas { width: 100%; min-width: 0; }
    #timelineRulerTrack,
    #timelineClipTrack {
        width: 100%;
        grid-template-columns: var(--nle-cols, 0fr 1fr 1fr 0fr 0fr 1fr 1fr);
    }
    #timelineRulerTrack > .nle-ruler-seg:nth-child(1),
    #timelineRulerTrack > .nle-ruler-seg:nth-child(4),
    #timelineRulerTrack > .nle-ruler-seg:nth-child(5),
    #timelineClipTrack > .nle-clip-slot:nth-child(1),
    #timelineClipTrack > .nle-clip-slot:nth-child(4),
    #timelineClipTrack > .nle-clip-slot:nth-child(5) {
        min-width: 0;
        padding-left: 0;
        visibility: hidden;
    }
    #timelineClipTrack > .nle-clip-slot:nth-child(1) .timeline-clip,
    #timelineClipTrack > .nle-clip-slot:nth-child(4) .timeline-clip,
    #timelineClipTrack > .nle-clip-slot:nth-child(5) .timeline-clip {
        padding: 0;
    }
    #timelineClipTrack .timeline-clip {
        justify-content: center;
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }
    #timelineClipTrack .clip-label {
        font-size: clamp(0.62rem, 2.6vw, 0.72rem);
        text-align: center;
    }
    #timelineClipTrack .nle-clip-slot:nth-child(1) .clip-label,
    #timelineClipTrack .nle-clip-slot:nth-child(4) .clip-label,
    #timelineClipTrack .nle-clip-slot:nth-child(5) .clip-label {
        display: none;
    }

    .vertical-reel-controls {
        display: flex;
        justify-content: flex-end;
        gap: 0.45rem;
        margin: -1.2rem 0 0.8rem;
    }
    .vertical-reel-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(243, 240, 234, 0.3);
        background: rgba(8, 8, 11, 0.88);
        color: var(--ink-ivory);
        font-family: var(--font-sans);
        font-size: 1.25rem;
        line-height: 1;
        transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
    }
    .vertical-reel-arrow:not(:disabled):active {
        background: rgba(223, 141, 108, 0.2);
        border-color: var(--accent-hover);
        color: var(--accent-hover);
    }
    .vertical-reel-arrow:focus-visible {
        outline: 2px solid var(--accent-hover);
        outline-offset: 2px;
    }
    .vertical-reel-arrow:disabled {
        opacity: 0.35;
        cursor: not-allowed;
    }
}

@media (max-width: 767px) {
    #about .paper-bio-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: clamp(1.35rem, 5vw, 2rem);
        text-align: center;
    }
    #about .bio-portrait-col,
    #about .bio-portrait-figure {
        width: min(72vw, 220px);
        margin-inline: auto;
    }
    #about .bio-portrait-figure { text-align: center; }
    #about .bio-editorial-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #about .paper-kicker { text-align: center; }
    #about .paper-bio-quote {
        max-width: 22ch;
        margin: 0.65rem auto 0;
        font-size: clamp(1.8rem, 7.4vw, 2.3rem);
        text-align: center;
    }
    #about .paper-bio-copy {
        max-width: 40ch;
        margin: 1rem auto 0;
        text-align: center;
    }
    #about .paper-discipline-table {
        width: min(100%, 480px);
        grid-template-columns: minmax(0, 1fr);
        margin: 1.6rem auto 0;
        text-align: center;
    }
    #about .paper-discipline-table > div { text-align: center; }
}
