    :root {
      --ff-bg: #080808;
      --ff-text: #F4F0EA;
      --ff-amber: #C8973A;
      --ff-teal: #3D8A85;
      --ff-ease: cubic-bezier(0.7, 0, 0.2, 1);
      --ff-gap: 0px;                          /* tiles flush, edge to edge */
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html, body {
      width: 100%; height: 100%;
      background: #000;
      color: var(--ff-text);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    body { overflow: hidden; }              /* scroll moves to #ff-scroll inside the frame */

    /* ── Ambient backdrop — blurred hovered-tile video, seen only in the 14px frame gap ── */
    #ff-ambient {
      position: fixed; inset: 0; z-index: 0; overflow: hidden;
      background: #050505;                  /* near-black default (req 4) */
    }
    #ff-ambient video, #ff-ambient .ff-amb-cv {   /* .ff-amb-cv: Chrome on a Mac draws each video through a canvas (tiles.js) */
      position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
      /* intense diffusion → pure ambient light, no recognizable shapes (req 3). */
      filter: blur(72px) brightness(1.5) saturate(1.35);
      transform: scale(1.25);               /* overscan so the heavy blur has no dead edges */
      opacity: 0; transition: opacity 0.7s ease;
      will-change: opacity;
    }

    #ff-ambient.ff-amb-canvas video { visibility: hidden; }   /* still playing and fading, out of paint */

    /* the 3D intro's own backdrop (assets/intro/intro.js): the scene, blurred the same way, while it's on */
    #ff-amb-intro {
      position: absolute; inset: 0; width: 100%; height: 100%;
      filter: blur(72px) brightness(1.5) saturate(1.35); transform: scale(1.25);
      opacity: 0; transition: opacity 0.7s ease; will-change: opacity;
    }
    #ff-amb-intro.ff-on { opacity: 1; }

    /* ── Inset frame — all site content, clipped to rounded corners (req 1) ── */
    #ff-frame {
      position: fixed; inset: 14px; z-index: 1;
      border-radius: 8px; overflow: hidden; background: #000;
      transform: translateZ(0);             /* containing block for the fixed overlays inside */
      clip-path: inset(0 round 8px);        /* Safari drops the rounded overflow clip under the screen-blended logo canvas */
    }
    /* inner scroll container (the grid scrolls here; fixed overlays stay pinned to the frame) */
    #ff-scroll {
      position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
    }
    @media (max-width: 767px) { #ff-frame { inset: 6px; border-radius: 8px; clip-path: inset(0 round 8px); } }

    /* F1: custom scrollbar (site-wide) + scroll progress bar (shown on the About view) */
    #ff-scroll, .ff-panel { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
    #ff-scroll::-webkit-scrollbar, .ff-panel::-webkit-scrollbar { width: 12px; height: 12px; }
    #ff-scroll::-webkit-scrollbar-track, .ff-panel::-webkit-scrollbar-track { background: transparent; }
    #ff-scroll::-webkit-scrollbar-thumb, .ff-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.32); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
    #ff-scroll::-webkit-scrollbar-thumb:hover, .ff-panel::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.52); background-clip: content-box; }
    #ff-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2147483000; background: rgba(248,245,238,.95); box-shadow: 0 0 6px rgba(248,245,238,.45); pointer-events: none; opacity: 0; transition: opacity .3s ease, width .1s linear; will-change: width; }
    #ff-progress.ff-on { opacity: 1; }

    /* ── Tile grid ─────────────────────────────────────────────────────── */
    #ff-grid {
      display: flex;
      flex-direction: column;
      gap: var(--ff-gap);
      padding: var(--ff-gap);
    }
    .ff-row {
      display: flex;
      gap: var(--ff-gap);
      width: 100%;
    }
    /* row heights (viewport-relative) → equal height per row, media cover-cropped */
    .ff-row.r-hero   { height: calc(24vw + 65px); max-height: 90vh; }
    .ff-row.r-halves { height: 30vw; }
    .ff-row.r-thirds { height: 21vw; }
    .ff-row.r-full   { height: 42vw; max-height: 86vh; }

    .ff-tile {
      position: relative;
      flex: 1 1 0;                          /* equal share unless overridden */
      height: 100%;
      overflow: hidden;
      background: #141414;
      border: none;
      padding: 0;
      cursor: pointer;
      display: block;
    }
    .ff-w-twothirds { flex-grow: 2; }       /* fractional widths: 2/3 vs 1/3, etc. */
    .ff-hero-tile { cursor: default; }
    /* Screen-reader / crawler-only text — off-screen (not display:none, so it's read & indexed),
       restores the keyword H1 + supporting copy without altering the minimal visual design. */
    .ff-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

    .ff-tile-poster, .ff-tile-media, .ff-tile-hovermedia {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover; display: block;
    }
    /* GRID-TILE media (poster + hover video) baseline = object-fit: cover at 100% (from the rule above):
       the video fills the tile with no black bars and no extra zoom — its natural center. The crop tool's
       cropCss(translate+scale) works from here: scale 1 IS cover (the slider's minimum), scale > 1 zooms
       inward, and x/y pan the overflow that zoom creates. A reset (scale 1, x/y 0) shows plain cover. */
    .ff-tile-poster, .ff-tile-hovermedia {
      transform-origin: center center;
    }
    .ff-tile-hovermedia {
      opacity: 0;
      /* Quick reveal so a tile that was pre-rolled off-screen looks like it has simply
         always been playing — not a fade-in that announces "now starting". */
      transition: opacity 0.25s ease;
      z-index: 1;
      background: #141414;
    }
    .ff-tile.ff-playing .ff-tile-hovermedia { opacity: 1; }
    /* Scroll aberration (scroll-ca.js): while the grid scrolls, a WebGL copy of the tiles' pictures sits
       under the grid and the DOM pictures step aside; captions and arrows stay on top. ff-ca-keep: a tile
       the copy can't draw keeps its own. ff-ca-settle: no clip fade-in when the DOM takes back over. */
    #ff-ca-box { position: absolute; top: 0; left: 0; width: 100%; height: 0; overflow: hidden; pointer-events: none; z-index: 0; display: none; }
    #ff-ca-gl { position: absolute; top: 0; left: 0; display: block; }
    /* the scroll aberration's spill into the gap (edge profile, approved 2026-12-01), screen-blended over #ff-ambient and under the frame, while scrolling */
    #ff-ca-gap { position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none; display: none; mix-blend-mode: screen; }
    #ff-grid.ff-ca-on .ff-tile:not(.ff-ca-keep) { background: transparent; }
    #ff-grid.ff-ca-on .ff-tile:not(.ff-ca-keep) > .ff-tile-poster,
    #ff-grid.ff-ca-on .ff-tile:not(.ff-ca-keep) > .ff-tile-hovermedia { opacity: 0 !important; transition: none !important; }
    #ff-grid.ff-ca-settle .ff-tile-hovermedia { transition: none !important; }

    /* Tile label — copied from reference .info (bottom-left, brand / title / director) */
    .ff-tile-info {
      position: absolute;
      left: 10px; bottom: 8px;
      display: flex; flex-direction: column;   /* no margin-collapse between the two roll windows */
      z-index: 3;
      color: #fff;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      line-height: 130%;
      text-align: left;
      text-transform: uppercase;
      text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
      pointer-events: none;
      -webkit-text-stroke: 0 currentColor;
      opacity: 0;                              /* hidden until the tile's poster has loaded */
      transition: -webkit-text-stroke-width 0.2s ease, opacity 0.35s ease, text-shadow 0.25s linear;
    }
    .ff-tile.ff-ready .ff-tile-info { opacity: 1; }
    /* hover bloom — a quieter version of the wordmark's glow (glitch: assets/home/caption-fx.js) */
    .ff-tile:hover .ff-tile-info {
      text-shadow: 0 0 2px rgba(255, 255, 255, 0.4), 0 0 7px rgba(255, 255, 255, 0.22), 0 1px 6px rgba(0, 0, 0, 0.55);
    }
    /* Announcement tile: text is baked into the video, so suppress the label overlay.
       Hidden on phones (≤600px) — desktop/tablet only for now. */
    .ff-announce .ff-tile-info { display: none !important; }
    @media (max-width: 600px) { .ff-announce { display: none !important; } }
    /* subtle weight increase on hover with ZERO layout shift (text-stroke doesn't change metrics) */
    .ff-tile:hover .ff-tile-info { -webkit-text-stroke-width: 0.4px; }
    .ff-tile-info span { display: block; }
    /* Hover affordance — small inward corner arrow (top-right), hinting the tile opens on click.
       Mirrors the bottom-left label's insets (10px/8px); fades+scales in on hover; never blocks the click. */
    .ff-tile::after {
      content: ""; position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; z-index: 4;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 9.5 8 16M8 16 7 10M8 16 14 17'/%3E%3C/svg%3E") center/contain no-repeat;
      /* Rest / exit state = the entrance's start point, so on un-hover it slides back out
         diagonally + fades (mirrors how it came in), rather than just shrinking. */
      opacity: 0; transform: translate(6px,-6px) scale(0.9); transform-origin: top right;
      transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
      pointer-events: none; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.55));
    }
    /* Entrance: slide in diagonally from the top-right corner and settle — no nudge. */
    .ff-tile:hover::after { animation: ff-arrow-in 0.4s cubic-bezier(0.22,1,0.36,1) both; }
    @keyframes ff-arrow-in {
      0%   { opacity: 0;    transform: translate(6px,-6px) scale(0.9); }
      100% { opacity: 0.92; transform: translate(0,0) scale(1); }
    }
    @media (prefers-reduced-motion: reduce) {
      .ff-tile::after { transition: none; }
      .ff-tile:hover::after { animation: none; opacity: 0.92; transform: none; }
    }

    /* ── Ambient micro-features ─────────────────────────────────────────── */
    /* #3 Kubrick easter egg ("kubrick" in search) — a one-point-perspective grid of radial lines is
       cut straight THROUGH the framed content (#ff-frame). A repeating-conic mask turns the line
       wedges transparent, so wherever a line crosses the tiles the pixels are removed and the blurred
       #ff-ambient video that is always playing behind the frame shows through. Everywhere else the
       tiles stay fully intact. One vanishing point at the viewport centre; lines radiate to every
       edge (thin at the centre, thicker toward the edges — true one-point perspective). The cutout
       animates its width from 0 (normal tiles) up to full, holds ~3s, then animates back to 0.
       @property lets the mask's angle interpolate; unsupported browsers simply show no effect. */
    @property --ff-kub-w { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
    #ff-frame.ff-kubrick {
      --ff-kub-w: 0deg;
      -webkit-mask: repeating-conic-gradient(from 0deg at 50% 50%, rgba(0,0,0,0) 0 var(--ff-kub-w), #000 var(--ff-kub-w) 6deg);
              mask: repeating-conic-gradient(from 0deg at 50% 50%, rgba(0,0,0,0) 0 var(--ff-kub-w), #000 var(--ff-kub-w) 6deg);
      animation: ff-kub-cut 5.2s cubic-bezier(.4,0,.2,1) forwards;
    }
    /* fade in the cutout (0→2.2deg ≈ 1.1s) · hold (~3s) · fade back to intact tiles (~1.1s) */
    @keyframes ff-kub-cut {
      0%   { --ff-kub-w: 0deg; }
      21%  { --ff-kub-w: 2.2deg; }
      79%  { --ff-kub-w: 2.2deg; }
      100% { --ff-kub-w: 0deg; }
    }
    /* Composition-grid easter eggs (thirds/phi/golden/…): the geometry is a STATIC data-URI SVG mask
       (set once — never regenerated, so no re-decode flicker). A second, uniform mask layer fades the
       cut in/out by animating its alpha via @property --ff-inv (1 = no holes → 0 = full holes). Mask
       layers add by default, so holes = (geometry OR nothing) fade uniformly — the same smooth
       @property drive as kubrick, no per-frame mask rebuilds. */
    @property --ff-inv { syntax: '<number>'; inherits: false; initial-value: 1; }
    #ff-frame.ff-comp { animation: ff-comp-fade 5.2s linear forwards; }
    @keyframes ff-comp-fade {
      0%   { --ff-inv: 1; }   /* uniform layer opaque → holes closed (normal tiles) */
      21%  { --ff-inv: 0; }   /* holes fully open (fade in ~1.1s) */
      79%  { --ff-inv: 0; }   /* hold ~3s */
      100% { --ff-inv: 1; }   /* fade back to intact tiles */
    }
    /* #7 Location-tag stagger — the SF/LA/AU/MX tag arrives a beat after the reel on hover. */
    @keyframes ff-loc-in {
      from { opacity: 0; transform: translateX(-6px); }
      to   { opacity: 0.85; transform: translateX(0); }
    }
    .ff-dir-name:hover .ff-dir-loc { animation: ff-loc-in 0.28s cubic-bezier(0.16,1,0.3,1) 0.02s both; }
    /* #8 Idle reshuffle — slow dreamlike crossfade rather than a snap. */
    #ff-grid.ff-dreamy { transition: opacity 1.6s ease; }
    /* Nav + search load-in — one shot after the loader fades. The island rises up from below with a
       weighted ease-out (a hair of overshoot that settles), then the search cluster is revealed from
       behind the island's right edge. JS gates it (skipped under reduced-motion). */
    #ff-dock.ff-navin-init #ff-nav { transform: translateY(140px); opacity: 0; }
    #ff-dock.ff-navin-init .ff-dock-right { transform: translateX(-38px); opacity: 0; }
    @keyframes ff-nav-rise {
      from { transform: translateY(140px); opacity: 0; }
      to   { transform: translateY(0); opacity: 1; }
    }
    @keyframes ff-search-reveal {
      from { transform: translateX(-38px); opacity: 0; }
      to   { transform: translateX(0); opacity: 1; }
    }
    #ff-dock.ff-navin-play #ff-nav { animation: ff-nav-rise 0.45s cubic-bezier(0.22, 1.15, 0.36, 1) both; }
    #ff-dock.ff-navin-play .ff-dock-right { animation: ff-search-reveal 0.3s cubic-bezier(0.26, 1.2, 0.4, 1) 0.22s both; }
    @media (prefers-reduced-motion: reduce) {
      .ff-dir-name:hover .ff-dir-loc { animation: none; }
    }

    /* ── Logo — small cream wordmark, fixed top center ─────────────────── */
    #ff-logo {
      position: fixed;
      top: max(23px, env(safe-area-inset-top));
      left: 50%; transform: translateX(-50%);
      z-index: 60; line-height: 0; opacity: 0.95;
      transition: opacity 0.3s ease;
    }
    #ff-logo:hover { opacity: 1; }
    #ff-logo img { display: block; width: 131px; height: auto; filter: drop-shadow(0 1px 8px rgba(0,0,0,0.5)); }

    /* ── Loading screen — first thing seen on every visit ──────────────── */
    #ff-loader {
      position: fixed; inset: 0; z-index: 9999; background: #000;
      display: flex; align-items: center; justify-content: center;
      opacity: 1; transition: opacity 0.6s ease;
    }
    #ff-loader.ff-loaded { opacity: 0; pointer-events: none; }
    #ff-loader img { display: block; width: 131px; height: auto; }   /* same size as #ff-logo */
    #ff-loader-bar {
      position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
      background: #fff; transform: scaleX(0); transform-origin: left center;
      transition: transform 0.2s linear; will-change: transform;
    }
    @media (max-width: 767px) { #ff-loader img { width: 96px; } }

    /* ── 3D scroll intro (assets/intro/intro.js), only while html.ff-intro ──
       The intro has its own scroll (wheel, touch, keys); the page stays still in #ff-frame. The scene
       (#ff-intro) sits inside the frame, under the loader, so the ambient gap around the frame is
       untouched. The loader's black clears once the cloud is drawn; its wordmark (drawn large) is
       pinned into the scene, and moves up into the header's place on the way out. */
    html.ff-intro-big #ff-loader img { width: min(18vw, 260px); }   /* half the first size (user, 2026-12-01) */
    @media (max-width: 767px) { html.ff-intro-big #ff-loader img { width: 32vw; } }
    /* the loading black: the runes F A R A L L O N flash one after the other and spell the word twice; the
       intro waits for that before the cloud comes up (window.ffRunesDone, index.html loader script).
       A CSS animation, not timers: it keeps its beat while the scene's start-up blocks the main thread.
       Each rune: on 130ms, off 50ms; after N a 350ms blank; one pass 1.74s, two passes */
    #ff-runes { display: none; position: absolute; left: 50%; top: 50%; width: 38px; height: 50px; transform: translate(-50%, -50%); pointer-events: none; }
    #ff-runes span { position: absolute; inset: 0; background: center / contain no-repeat; opacity: 0; will-change: opacity; animation: 1.74s linear 2; }
    #ff-runes span:nth-child(1) { animation-name: ff-rune1; } #ff-runes span:nth-child(2) { animation-name: ff-rune2; }
    #ff-runes span:nth-child(3) { animation-name: ff-rune3; } #ff-runes span:nth-child(4) { animation-name: ff-rune4; }
    #ff-runes span:nth-child(5) { animation-name: ff-rune5; } #ff-runes span:nth-child(6) { animation-name: ff-rune6; }
    #ff-runes span:nth-child(7) { animation-name: ff-rune7; } #ff-runes span:nth-child(8) { animation-name: ff-rune8; }
    @keyframes ff-rune1 { 0%, 7.471% { opacity: 1; } 7.481%, 100% { opacity: 0; } }
    @keyframes ff-rune2 { 0%, 10.335% { opacity: 0; } 10.345%, 17.816% { opacity: 1; } 17.826%, 100% { opacity: 0; } }
    @keyframes ff-rune3 { 0%, 20.680% { opacity: 0; } 20.690%, 28.161% { opacity: 1; } 28.171%, 100% { opacity: 0; } }
    @keyframes ff-rune4 { 0%, 31.024% { opacity: 0; } 31.034%, 38.506% { opacity: 1; } 38.516%, 100% { opacity: 0; } }
    @keyframes ff-rune5 { 0%, 41.369% { opacity: 0; } 41.379%, 48.851% { opacity: 1; } 48.861%, 100% { opacity: 0; } }
    @keyframes ff-rune6 { 0%, 51.714% { opacity: 0; } 51.724%, 59.195% { opacity: 1; } 59.205%, 100% { opacity: 0; } }
    @keyframes ff-rune7 { 0%, 62.059% { opacity: 0; } 62.069%, 69.540% { opacity: 1; } 69.550%, 100% { opacity: 0; } }
    @keyframes ff-rune8 { 0%, 72.404% { opacity: 0; } 72.414%, 79.885% { opacity: 1; } 79.895%, 100% { opacity: 0; } }
    html.ff-intro:not(.ff-intro-up) #ff-runes { display: block; }
    @media (max-width: 767px) { #ff-runes { width: 31px; height: 41px; } }
    #ff-intro { position: fixed; inset: 0; z-index: 9998; }
    html.ff-intro #ff-loader { transition: opacity 0.6s ease, background-color 0.7s ease; }
    html.ff-intro-up #ff-loader { background-color: transparent; }
    html.ff-intro #ff-loader-gl { z-index: 10000; }
    html.ff-intro:not(.ff-intro-up) #ff-loader img, html.ff-intro:not(.ff-intro-up) #ff-loader-gl { visibility: hidden; }   /* no wordmark on the black: straight into the cloud */
    html.ff-intro #ff-loader-bar { transition: transform 0.2s linear, opacity 0.6s ease; }
    html.ff-intro-ready #ff-loader-bar { opacity: 0; }
    html.ff-intro-logo #ff-logo, html.ff-intro-logo #ff-logo-gl { visibility: hidden !important; }   /* the loader's wordmark lands here */
    #ff-intro-cue {
      position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
      font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
      color: rgba(232, 228, 217, 0.72); opacity: 0; transition: opacity 0.8s ease; pointer-events: none;
    }
    #ff-intro-cue.ff-on { opacity: 1; }

    /* ── Page transition — two GPU CSS animations (no JS scroll → no stutter) ──
       OUTGOING (home content #ff-grid): CSS keyframe translateY 0→-2500px, 1s LINEAR,
         so content rushes upward at constant speed the full second, buttery smooth.
       INCOMING (.ff-panel): CSS transform translateY(100vh→0), 1s ease-in.
       Separate elements, separate mechanisms → cannot couple. */
    .ff-panel {
      position: fixed; inset: 0; z-index: 8;      /* sits on black, below the dock/logo */
      background: #000;
      transform: translateY(100vh);               /* waiting below the fold */
      transition: transform 1s ease-in;           /* INCOMING — starts slow, accelerates, locks in at full speed */
      overflow-y: auto; overflow-x: hidden; pointer-events: none; will-change: transform;   /* no horizontal scroll (overflow-y:auto would otherwise force overflow-x to auto) */
    }
    /* INCOMING panel — same as before, but with a gentle ease-out landing at the very end
       (soft decelerate) instead of the hard ease-in stop. Outgoing is untouched. */
    .ff-panel.ff-open { transform: translateY(0); pointer-events: auto; transition-timing-function: cubic-bezier(.42, 0, .28, 1); }
    .ff-panel.ff-above { transform: translateY(-100vh); }                   /* parked above (for slot-machine direction) */
    .ff-no-anim { transition: none !important; }

    /* Page transition: directors roster ⇄ individual director pages.
       Outgoing page drifts up + fades out; incoming page slides up from the bottom, fully opaque
       from the first frame (no fade), easing out as it settles. Snaps instantly where unsupported. */
    @view-transition { navigation: auto; }
    ::view-transition-old(root) { animation: ff-page-out 1s cubic-bezier(.4,0,.2,1) both; }
    ::view-transition-new(root) { animation: ff-page-in 1s cubic-bezier(.16,1,.3,1) both; }
    @keyframes ff-page-out { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-35%); opacity: 0; } }
    @keyframes ff-page-in  { from { transform: translateY(100%); } to { transform: translateY(0); } }

    /* OUTGOING — fast content rush: the grid content slides up 2500px over 1s linear.
       Smoothness comes from FREEZING tile media during the transition (JS pauses the
       videos and suspends the IntersectionObserver churn) so nothing repaints on the
       main thread while this runs. fill:forwards holds the end state. */
    @keyframes ff-home-up   { from { transform: translateY(0); }       to { transform: translateY(-2500px); } }
    @keyframes ff-home-down { from { transform: translateY(-2500px); } to { transform: translateY(0); } }
    #ff-grid { will-change: transform; }
    #ff-grid.ff-home-up   { animation: ff-home-up   1s linear forwards; }
    #ff-grid.ff-home-down { animation: ff-home-down 1s cubic-bezier(.42, 0, .28, 1) forwards; }   /* incoming grid — soft landing */

    /* #ff-scroll is a normal scroll container; the outgoing motion IS its scroll. */

    /* ── Directors panel — left-aligned white name list on black (v2 adaptation) ── */
    #ff-panel-directors { background: #000; overflow: hidden; }   /* all 10 fit in the viewport — no scroll */
    /* Container baseline (req 2): the hero plays heavily blurred behind a 95%-opaque scrim,
       so the blurred video bleeds through the container ever so slightly. */
    #ff-dir-amb {
      position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
      filter: blur(72px) brightness(1.4) saturate(1.3); transform: scale(1.2);
      pointer-events: none;
    }
    #ff-dir-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.92); z-index: 1; pointer-events: none; }
    /* Hover-background video INSIDE the inset frame: plays clear and at FULL brightness —
       no blur, no dim. The blurred version also lives in the outer border via #ff-ambient. */
    #ff-dir-bg, .ff-dir-poolvid {                /* .ff-dir-poolvid = Safari-only pre-warmed per-director layer */
      position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
      filter: none;                              /* full brightness — no dimming */
      opacity: 0; pointer-events: none;          /* no transition — instant cut on/off */
    }
    #ff-dir-bg.ff-on, .ff-dir-poolvid.ff-on { opacity: 1; }   /* fully opaque when shown */
    .ff-dir-wrap {
      position: relative; z-index: 3;                        /* names sit above the videos + scrim */
      min-height: 100%;
      display: flex; flex-direction: column; justify-content: center;   /* vertically centred, fills the page */
      padding: 84px max(48px, 8vw) 108px;                    /* top clears back chevron; bottom clears the nav dock; generous left */
      box-sizing: border-box;
    }
    .ff-dir-list { list-style: none; margin: 0; padding: 0; }
    .ff-dir-list li { margin: 0; }
    .ff-dir-name {
      display: inline-block;
      font-family: 'Inter', Helvetica, Arial, sans-serif;
      font-weight: 700;
      font-size: min(6.4vh, 6.5vw);          /* scaled so all 10 names fill one screen without scrolling */
      letter-spacing: -0.01em;
      line-height: 1.15;
      text-transform: uppercase;
      color: #F4F0EA;                        /* white text (was #1a1a1a on cream) */
      text-decoration: none;
      white-space: nowrap;
      opacity: 1;                            /* full brightness by default; dim is instant (no transition) */
    }
    .ff-dir-name .ff-dir-loc {
      font-size: 0.45em; font-weight: 600; letter-spacing: 0.02em;   /* 10% smaller */
      position: relative; bottom: 0.8em; margin-left: 0.1em;
      color: #fff;                                  /* white */
      opacity: 0; transition: opacity 0.2s ease;   /* only shows on hover of its name */
    }
    .ff-dir-name:hover .ff-dir-loc { opacity: 0.85; }   /* 15% less opacity */
    /* While a NAME is hovered (ff-dimmed set by JS), the others dim; the hovered one stays
       full white. Off all names → class removed → everything instantly full again. */
    .ff-dir-list.ff-dimmed .ff-dir-name { opacity: 0.35; }
    .ff-dir-list.ff-dimmed .ff-dir-name:hover { opacity: 1; }
    .ff-dir-list.ff-dimmed .ff-dir-name.ff-search-hit { opacity: 1; }   /* live search highlight */
    .ff-dir-name.ff-search-hit .ff-dir-loc { opacity: 0.85; }
    /* F3: location-tag filter — click a tag (SF/LA/AU/MX) to show only that region; others dim. */
    .ff-dir-name .ff-dir-loc { cursor: pointer; }
    .ff-dir-list.ff-region-anim .ff-dir-name { transition: opacity 0.45s ease; }         /* smooth filter fade */
    .ff-dir-list.ff-region-filter .ff-dir-name { opacity: 0.12 !important; }              /* non-matching regions dim right down */
    .ff-dir-list.ff-region-filter .ff-dir-name.ff-region-match { opacity: 1 !important; }
    .ff-dir-list.ff-region-filter .ff-dir-name.ff-region-match .ff-dir-loc { opacity: 0.85; }   /* keep the matched region's tag visible */

    @media (max-width: 767px) {
      .ff-dir-name { font-size: min(5.85vh, 8vw); }
      .ff-dir-wrap { padding: 76px max(24px, 6vw) 116px; }
    }

    /* ── Bottom dock: segmented nav island + separate search button ───── */
    /* The dock is sized to the ISLAND ONLY (the right group is absolutely positioned, out of flow),
       so translateX(-50%) centers the island itself on the viewport — the divider + search hang off
       the island's right edge and land slightly right of center, by design. */
    #ff-dock {
      position: fixed; left: 50%; bottom: max(26px, env(safe-area-inset-bottom));
      transform: translateX(-50%); z-index: 60;
      transform-origin: center bottom;   /* JS adds scale() to shrink the whole section; origin keeps the island centre + bottom locked */
      display: flex; align-items: stretch; user-select: none;   /* stretch → search matches island height */
      transition: translate 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);   /* smooth left-shift when the search opens (ffFitSearch) */
    }
    /* Divider + search: to the RIGHT of the island, excluded from the centering calc. */
    .ff-dock-right { position: absolute; left: 100%; top: 0; bottom: 0; margin-left: 12px;
      display: flex; align-items: stretch; gap: 12px; }
    /* Thin white separator between the island and the search button (full island height). */
    .ff-dock-divider { flex: none; width: 2px; align-self: stretch; background: rgba(255, 255, 255, 0.9); border-radius: 1px; }
    /* Nav island — copied verbatim from homepage-reference.html (.nav / .nav-item).
       Only changed: labels (ours), colors (palette), font (Inter — WhyteInktrap unlicensed). */
    /* Rounded-rectangle island: ONE unified frosted background, clipped by the SVG notch path.
       The notch (file-folder tab / iPhone-style divot) is cut into the TOP edge above the active/
       hovered segment. padding-top reserves room so the notch never touches the text labels. */
    #ff-nav {
      position: relative;                /* anchor for the notch coords + bg layer */
      display: block;                    /* NOT flex → the abspos .ff-nav-bg can't offset the buttons */
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: -0.02em;
      text-transform: uppercase;
      text-align: center;
      padding: 0 19px;                   /* was 0 22px — edges pulled in 3px each side; navbar 6px narrower, still centered */
      background: transparent;           /* the clipped white sits on .ff-nav-bg below — NOT here */
    }
    /* The three segments live in this flex row; the bg is a sibling behind it (not a flex child),
       so the group is centered with equal spacing on both ends. */
    .ff-nav-inner { display: flex; align-items: stretch; justify-content: center; gap: 2px; }
    /* The clip-path is on this background layer only, so it never clips #ff-nav's pointer hit-region
       (which was the cause of the enter/leave flicker at the notch's top edge). */
    .ff-nav-bg {
      position: absolute; inset: 0; z-index: 0; pointer-events: none;
      background: rgba(255, 255, 255, 0.7);   /* frosted white — noticeably see-through (blur keeps it legible) */
      -webkit-backdrop-filter: blur(30px);
      backdrop-filter: blur(30px);
      border-radius: 16px;               /* fallback shape if clip-path/mask is unsupported */
      clip-path: url(#ff-nav-clip);      /* shapes the fill */
      -webkit-mask: url(#ff-nav-mask);   /* alpha hole → notch cuts the backdrop-filter too (true see-through) */
      mask: url(#ff-nav-mask);
      contain: paint;                    /* isolate the per-frame clip-path repaints */
      transform: translateZ(0);
    }
    .ff-nav-btn {
      background: transparent;           /* island is ONE uniform white — never changes */
      color: #0A0A0A;                    /* all labels solid black at all times */
      position: relative; z-index: 2;
      display: flex; align-items: center; justify-content: center;
      max-width: 500px;
      padding: 16px 19px;                /* island height (+6px); search button & divider match via stretch */
      border: none;
      border-radius: 0;
      font: inherit;
      /* Nav items are <a> (crawlable). Unlike the original <button>, anchors don't get the UA
         form-control reset, so they'd inherit #ff-nav's uppercase + tight tracking. Restore the
         exact original button rendering: mixed-case labels, default letter-spacing. */
      text-transform: none;
      letter-spacing: normal;
      cursor: pointer;
      text-decoration: none;
      transition: color 0.35s ease;
    }
    /* Equal-width outer segments → the layout is symmetric about the middle button, so the DIRECTORS
       label lands exactly on the island's centre line (= viewport centre = logo axis). min-width is
       generous enough to clear FEATURED's natural width, so both outer buttons render identically and
       the navbar widens slightly to accommodate — text stays centered within each segment. */
    .ff-nav-btn.first, .ff-nav-btn.last { min-width: 7rem; }
    /* Label centered at rest; pushed DOWN clear of the notch when the notch is above this segment. */
    .ff-nav-label { display: inline-block; transform: translateY(0);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    .ff-nav-btn.ff-notch-on .ff-nav-label { transform: translateY(5px); }  /* centers label between notch bottom (10px) and island bottom */
    /* No colour change on hover/active — the notch is the sole active indicator. */
    .ff-nav-btn:focus-visible { outline: 2px solid var(--ff-amber); outline-offset: 2px; }
    #ff-search-btn {
      flex: none; width: 46px;           /* height stretches to match the island */
      display: flex; align-items: center; justify-content: center;
      -webkit-backdrop-filter: blur(30px);
      backdrop-filter: blur(30px);
      background: rgba(255, 255, 255, 0.6);   /* a touch more transparent than the island */
      border: none; border-radius: 16px; color: #0A0A0A;   /* rounded rectangle, dark icon */
      cursor: pointer;
      transform: scale(1);                /* subtle liquid-glass settle reacting to the icon roll */
      transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    #ff-search-btn:hover { transform: scale(1.04); }
    #ff-search-btn svg { width: 15px; height: 15px; display: block; }
    #ff-search-btn:focus-visible { outline: 2px solid var(--ff-amber); outline-offset: 2px; }

    /* ── Inline expanding search pill (slides out beside the search circle) ── */
    #ff-search-wrap { position: relative; display: flex; align-items: stretch; }
    #ff-search-input {
      width: 0; padding: 0; margin: 0;   /* height stretches to match the island */
      border: none; outline: none;
      background: rgba(255, 255, 255, 0.9);
      -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
      color: #0A0A0A; font-family: inherit; font-size: 0.82rem;
      letter-spacing: -0.01em; text-transform: uppercase; border-radius: 16px;
      opacity: 0; pointer-events: none;
      transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                  padding 0.4s ease, margin 0.4s ease, opacity 0.3s ease;
    }
    #ff-search-input::placeholder { color: rgba(10, 10, 10, 0.4); text-transform: uppercase; }
    #ff-search-wrap.ff-open #ff-search-input {
      width: 200px; padding: 0 34px 0 15px; margin-left: 6px; opacity: 1; pointer-events: auto;
    }
    /* Custom clear (X) — plain white, matches the magnifier weight; no native/blue X */
    #ff-search-clear {
      position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
      display: none; align-items: center; justify-content: center;
      width: 20px; height: 20px; padding: 0;
      background: none; border: none; cursor: pointer;
      color: #0A0A0A; opacity: 0.85; transition: opacity 0.2s ease;
    }
    #ff-search-clear:hover { opacity: 1; }
    #ff-search-clear svg { width: 13px; height: 13px; display: block; }
    #ff-search-wrap.ff-open #ff-search-clear.ff-visible { display: flex; }

    /* ── Search spotlight: darken every tile except the matched one ─────── */
    #ff-grid .ff-tile { transition: filter 0.35s ease; }
    #ff-grid.ff-spotlight .ff-tile { filter: brightness(0.22); }
    #ff-grid.ff-spotlight .ff-tile.ff-found { filter: none; }   /* matched tile stays full brightness */
    /* Matched tile: label brighter + bolder so it pops */
    .ff-tile.ff-found .ff-tile-info {
      color: #fff; font-weight: 700;
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.45), 0 1px 8px rgba(0, 0, 0, 0.7);
    }

    /* ── Custom full-screen video player ───────────────────────────────── */
    #ff-player {
      position: fixed; inset: 0; z-index: 2147483647; background: #000;
      border-radius: 0; border: 0;                 /* full-bleed, above everything */
      opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    #ff-player.ff-open { opacity: 1; visibility: visible; }
    #ff-player.ff-hide-cursor { cursor: none; }
    /* Vimeo iframe (legacy fallback) fills a 16:9 box edge to edge. */
    #ff-pl-iframe, #ff-pl-native {
      position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
      width: 100vw; width: 100dvw; height: 56.25vw; height: 56.25dvw;
      min-height: 100vh; min-height: 100dvh; min-width: 177.78vh; min-width: 177.78dvh;   /* dvh/dvw → true visible area in mobile landscape (no chrome squish) */
      border: 0; pointer-events: none;
    }
    /* Native R2 playback: HONOR the director's aspect ratio. Fill the viewport and
       contain the video so non-16:9 films keep their black bars (letterbox/pillarbox)
       instead of being cropped to fill. Overrides the 16:9-cover sizing above. */
    #ff-pl-native {
      top: 0; left: 0; transform: none;
      width: 100vw; width: 100dvw; height: 100vh; height: 100dvh;
      min-width: 0; min-height: 0;
      object-fit: contain; background: #000;
    }
    #ff-pl-click { position: absolute; inset: 0; z-index: 1; cursor: pointer; }

    .ff-pl-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none;
      opacity: 1; transition: opacity 0.4s ease; color: #F4F0EA;
      font-family: inherit; font-size: 12.8px; letter-spacing: 0.01em; }
    .ff-pl-ui.ff-hide { opacity: 0; }
    .ff-pl-ui > * { pointer-events: auto; }
    /* F5: lightbox prev/next arrows + smooth video crossfade */
    #ff-pl-video { transition: opacity 0.28s ease; }
    .ff-pl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.28); border: none; border-radius: 50%; color: rgba(255,255,255,0.92); cursor: pointer; z-index: 16; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0.8; transition: opacity 0.25s ease, background 0.2s ease, color 0.2s ease; }
    .ff-pl-nav:hover { opacity: 1; background: rgba(0,0,0,0.45); color: #fff; }
    .ff-pl-prev { left: 20px; }
    .ff-pl-next { right: 20px; }
    .ff-pl-nav svg { width: 22px; height: 22px; }
    @media (max-width: 767px) and (pointer: coarse) { .ff-pl-nav { display: none; } }
    .ff-pl-icon { background: none; border: none; padding: 6px; cursor: pointer;
      color: #F4F0EA; opacity: 0.9; transition: opacity 0.2s ease;
      display: inline-flex; align-items: center; justify-content: center; }
    .ff-pl-icon:hover { opacity: 1; }
    .ff-pl-icon svg { width: 20px; height: 20px; display: block;
      filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); }

    /* top left: back chevron (frosted pill, ref .back-link) + meta */
    .ff-pl-tl { position: absolute; top: 24px; left: 24px; display: flex; align-items: center; gap: 14px; }
    .ff-pl-back {
      -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
      background: rgba(48, 48, 48, 0.5); border-radius: 20px;
      border: none; cursor: pointer; color: #F4F0EA; padding: 8px 12px;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .ff-pl-back svg { width: 18px; height: 18px; display: block; }
    .ff-pl-meta { display: flex; flex-direction: column; line-height: 1.25;
      text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
    .ff-pl-meta .t { font-weight: 600; }
    .ff-pl-meta .d { opacity: 0.75; font-size: 11.52px; }

    /* top right: info button + frosted popup */
    .ff-pl-tr { position: absolute; top: 24px; right: 24px; }
    .ff-pl-pop {
      position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px;
      -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
      background: rgba(24, 24, 24, 0.72); border-radius: 12px; padding: 14px 16px;
      opacity: 0; visibility: hidden; transform: translateY(-4px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }
    .ff-pl-tr:hover .ff-pl-pop { opacity: 1; visibility: visible; transform: translateY(0); }
    .ff-pl-pop .row { display: flex; flex-direction: column; margin-bottom: 10px; }
    .ff-pl-pop .row:last-child { margin-bottom: 0; }
    .ff-pl-pop .k { font-size: 9.6px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.55; }
    .ff-pl-pop .v { font-size: 13.12px; }

    /* bottom bar */
    .ff-pl-bar { position: absolute; left: 24px; right: 24px; bottom: 24px;
      display: flex; align-items: center; gap: 16px; }
    .ff-pl-scrub { flex: 1; height: 5px; background: rgba(244, 240, 234, 0.28);
      border-radius: 3px; cursor: pointer; position: relative; }
    .ff-pl-progress { position: absolute; left: 0; top: 0; height: 100%; width: 0;
      background: #F4F0EA; border-radius: 3px; }
    .ff-pl-time { font-variant-numeric: tabular-nums; font-size: 11.84px; opacity: 0.85;
      white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
    /* play/pause + mute icon state toggles */
    .ff-pl-play .ic-pause, .ff-pl-play.is-playing .ic-play { display: none; }
    .ff-pl-play.is-playing .ic-pause { display: block; }
    .ff-pl-mute .ic-muted, .ff-pl-mute.is-muted .ic-vol { display: none; }
    .ff-pl-mute.is-muted .ic-muted { display: block; }

    /* ── Hidden admin mode ─────────────────────────────────────────────── */
    /* password gate */
    #ff-admin-gate {
      position: fixed; inset: 0; z-index: 200;
      display: none; align-items: center; justify-content: center;
      background: rgba(0, 0, 0, 0.45);
      -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    }
    #ff-admin-gate.ff-open { display: flex; }
    .ff-admin-card {
      -webkit-backdrop-filter: blur(28px) saturate(140%); backdrop-filter: blur(28px) saturate(140%);
      background: rgba(24, 24, 24, 0.72); border-radius: 14px; padding: 22px;
      display: flex; align-items: center; gap: 10px;
    }
    .ff-admin-card.ff-shake { animation: ff-shake 0.4s ease; }
    @keyframes ff-shake {
      0%,100% { transform: translateX(0); } 20% { transform: translateX(-8px); }
      40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); }
    }
    #ff-admin-pass {
      background: rgba(255, 255, 255, 0.1); border: none; outline: none; border-radius: 999px;
      color: #F4F0EA; font-family: inherit; font-size: 0.82rem; padding: 10px 16px; width: 200px;
    }
    #ff-admin-pass::placeholder { color: rgba(244, 240, 234, 0.4); }
    #ff-admin-go {
      background: rgba(255, 255, 255, 0.85); color: #141414; border: none; border-radius: 999px;
      font-family: inherit; font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.04em; padding: 10px 16px; cursor: pointer;
    }
    /* subtle in-admin indicator on the logo */
    body.ff-admin #ff-logo::after {
      content: ""; position: absolute; top: -3px; right: -8px;
      width: 6px; height: 6px; border-radius: 50%;
      background: #F4F0EA; box-shadow: 0 0 8px 2px rgba(244, 240, 234, 0.7);
    }
    body.ff-admin #ff-logo { position: fixed; }   /* ensure ::after anchors to logo */

    /* right-click context menu */
    #ff-ctx {
      position: fixed; z-index: 210; display: none; min-width: 150px;
      -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
      background: rgba(20, 20, 20, 0.82); border-radius: 10px; padding: 6px; overflow: hidden;
    }
    #ff-ctx.ff-open { display: block; }
    .ff-ctx-item {
      display: block; width: 100%; text-align: left; background: none; border: none;
      color: #F4F0EA; font-family: inherit; font-size: 0.78rem; letter-spacing: 0.02em;
      padding: 9px 12px; border-radius: 6px; cursor: pointer;
    }
    .ff-ctx-item:hover { background: rgba(255, 255, 255, 0.12); }

    /* crop + color-grade control panels (shared frosted-glass admin styling) */
    #ff-crop, #ff-grade {
      position: fixed; z-index: 210; display: none; width: 232px;
      -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
      background: rgba(20, 20, 20, 0.86); border-radius: 12px; padding: 16px;
      color: #F4F0EA; font-size: 0.72rem;
    }
    #ff-crop.ff-open, #ff-grade.ff-open { display: block; }
    #ff-crop h4, #ff-grade h4 { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.6;
      margin-bottom: 12px; font-weight: 600; }
    .ff-crop-row { margin-bottom: 12px; }
    .ff-crop-row label { display: flex; justify-content: space-between; margin-bottom: 5px; opacity: 0.8; }
    .ff-crop-row input[type=range] { width: 100%; accent-color: #F4F0EA; }
    .ff-crop-btns { display: flex; gap: 8px; margin-top: 4px; }
    .ff-crop-btns button {
      flex: 1; border: none; border-radius: 999px; font-family: inherit; font-size: 0.7rem;
      text-transform: uppercase; letter-spacing: 0.04em; padding: 8px; cursor: pointer;
    }
    #ff-crop-save, #ff-grade-save { background: rgba(255, 255, 255, 0.85); color: #141414; font-weight: 600; }
    #ff-crop-reset, #ff-grade-reset { background: rgba(255, 255, 255, 0.12); color: #F4F0EA; }

    /* clip-selection panel (Select Clip → scrub the 480p proxy, mark in/out) */
    #ff-clip {
      position: fixed; z-index: 230; display: none; width: 460px; max-width: 92vw;
      left: 50%; top: 50%; transform: translate(-50%, -50%);
      -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
      background: rgba(18, 18, 18, 0.92); border-radius: 14px; padding: 18px;
      color: #F4F0EA; font-size: 0.72rem;
    }
    #ff-clip.ff-open { display: block; }
    #ff-clip h4 { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.6;
      margin-bottom: 12px; font-weight: 600; display: flex; justify-content: space-between; }
    #ff-clip-video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; display: block; }
    /* scrub track: full duration, with a highlighted [in,out] selection band */
    #ff-clip-track { position: relative; height: 8px; margin: 14px 0 6px; cursor: pointer;
      background: rgba(244, 240, 234, 0.22); border-radius: 4px; }
    #ff-clip-sel { position: absolute; top: 0; height: 100%; background: rgba(244, 240, 234, 0.55); border-radius: 4px; }
    #ff-clip-play { position: absolute; top: -3px; width: 3px; height: 14px; background: #C8973A; border-radius: 2px; pointer-events: none; }
    .ff-clip-times { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; opacity: 0.85; margin-bottom: 12px; }
    .ff-clip-actions { display: flex; gap: 8px; margin-bottom: 10px; }
    .ff-clip-actions button { flex: 1; border: none; border-radius: 999px; font-family: inherit; font-size: 0.68rem;
      text-transform: uppercase; letter-spacing: 0.04em; padding: 8px; cursor: pointer;
      background: rgba(255, 255, 255, 0.12); color: #F4F0EA; }
    .ff-clip-actions button:hover { background: rgba(255, 255, 255, 0.2); }
    .ff-clip-btns { display: flex; gap: 8px; }
    .ff-clip-btns button { flex: 1; border: none; border-radius: 999px; font-family: inherit; font-size: 0.7rem;
      text-transform: uppercase; letter-spacing: 0.04em; padding: 9px; cursor: pointer; }
    #ff-clip-save { background: rgba(255, 255, 255, 0.85); color: #141414; font-weight: 600; }
    #ff-clip-clear { background: rgba(255, 255, 255, 0.12); color: #F4F0EA; }
    #ff-clip-cancel { background: rgba(255, 255, 255, 0.12); color: #F4F0EA; }
    /* save confirmation toast */
    #ff-toast {
      position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 12px);
      z-index: 220; max-width: min(520px, 90vw); pointer-events: none;
      -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
      background: rgba(20, 20, 20, 0.86); color: #F4F0EA; border-radius: 12px;
      padding: 12px 18px; font-size: 0.74rem; line-height: 1.4; text-align: center;
      opacity: 0; visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }
    #ff-toast.ff-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

    /* ── Safari (WebKit) perf easing — drop saturate() from frosted overlays. blur()+saturate() is
       measurably costlier than blur() alone in WebKit; over Farallon's near-monochrome UI the color
       lift is imperceptible. Scoped to html.ff-webkit so Chrome/Firefox keep the exact original look. ── */
    html.ff-webkit .ff-pl-pop,
    html.ff-webkit #ff-ctx,
    html.ff-webkit #ff-crop,
    html.ff-webkit #ff-grade,
    html.ff-webkit #ff-clip,
    html.ff-webkit #ff-toast { -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
    html.ff-webkit .ff-admin-card { -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }

    /* ── Grid single-column collapse — only at genuinely small widths (≤600px), so half-laptop
       windows keep the multi-column layout. The nav/dock/logo/overlay mobile treatment stays at
       767px below; only the layout collapse moves here. ── */
    @media (max-width: 600px) {
      /* Editorial alternating pattern across ALL tiles: 1 full-width, then 2 side-by-side, repeating.
         The .ff-row wrappers are flattened (display:contents) so every tile becomes a direct grid item
         of #ff-grid and the pattern flows continuously across rows. Every 3rd tile (tagged .ff-m-full
         by JS, in DOM order) spans both columns; the other two pair up. Full-width tiles are 16:9;
         the paired half-width tiles are 4:3 (taller/boxier so they don't feel short & wide). Flush. */
      #ff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
      #ff-grid .ff-row { display: contents; }
      #ff-grid .ff-tile { flex: none; width: auto; height: auto; aspect-ratio: 16 / 9; }
      #ff-grid .ff-tile:not(.ff-m-full) { aspect-ratio: 4 / 3; }   /* half-width 2-up tiles → taller, boxy */
      #ff-grid .ff-tile.ff-m-full { grid-column: 1 / -1; }
    }

    /* ── Mobile (≤767px): app-like — generous nav, no notch ── */
    @media (max-width: 767px) {
      #ff-grid { gap: 0; padding: 0; }
      .ff-row { gap: 0; }
      #ff-logo img { width: 116px; }
      /* Large, readable tile overlays (bottom-left) */
      .ff-tile-info { left: 14px; bottom: 12px; font-size: 0.66rem; letter-spacing: 0.02em; }
    }

    /* Touch nav island — only at genuinely small (≤600px) widths, matching where the grid goes
       single-column. Above 600px (windowed desktop/laptop) the polished full-screen nav with the
       notch effect stays intact; this block never applies there. */
    @media (max-width: 600px) {
      #ff-dock { bottom: max(18px, env(safe-area-inset-bottom)); max-width: calc(100vw - 12px); }
      .ff-dock-right { position: static; top: auto; bottom: auto; left: auto; margin-left: 10px; gap: 10px; }
      /* No notch on touch — plain rounded rectangle only */
      .ff-nav-bg { clip-path: none !important; -webkit-mask: none !important; mask: none !important; border-radius: 18px; background: rgba(255, 255, 255, 0.82); }
      #ff-nav { font-size: 0.82rem; padding: 0 6px; letter-spacing: -0.01em; }
      .ff-nav-btn { padding: 15px 14px; min-height: 48px; color: rgba(10, 10, 10, 0.55); }
      .ff-nav-btn.first, .ff-nav-btn.last { min-width: 0; }   /* natural label widths at the larger size */
      .ff-nav-label, .ff-nav-btn.ff-notch-on .ff-nav-label { transform: none !important; }   /* no notch push-down */
      .ff-nav-btn.ff-active { color: #0A0A0A; }
      .ff-nav-btn.ff-active .ff-nav-label { font-weight: 700; }   /* active = bolder text only */
      #ff-search-btn { width: 52px; min-height: 48px; }
    }
    /* Small phones (≤360px): trim the nav a touch so it never overflows */
    @media (max-width: 360px) {
      #ff-nav { font-size: 0.74rem; }
      .ff-nav-btn { padding: 14px 10px; }
      #ff-search-btn { width: 46px; }
      .ff-dock-right { margin-left: 8px; gap: 8px; }
    }

    /* Mid-range (601–1024px): the tile grid is multi-column but tiles are smaller, so trim the
       overlay text a touch to keep it proportional. Placed AFTER the 767px block so it also
       overrides that block's 0.95rem in the 601–767 sub-range. Full screen (>1024px) keeps
       0.72rem; mobile single-column (≤600px) keeps 0.95rem. */
    @media (min-width: 601px) and (max-width: 1024px) {
      .ff-tile-info { font-size: 0.64rem; }
    }

    @media (prefers-reduced-motion: reduce) {
      .ff-panel { transition: transform 0.001s linear !important; }
      #ff-grid.ff-home-up, #ff-grid.ff-home-down { animation: none !important; }
      .ff-tile-hovermedia { transition: opacity 0.001s linear; }
    }
  
/* ── Cursors: the system ones (custom arrow/hand/pinwheel removed, user 2026-12-03); a hand on everything clickable ── */
a, a *, button, button *, [role="button"], [role="link"], input[type="submit"], input[type="button"], input[type="reset"], label[for], select, summary, [onclick], .ab-wordmark, #ff-pl-click, .ff-pl-scrub, .dp-ctx-item, .dp-preset, .ff-site-footer a, .ff-site-footer button, .ff-tile, .dp-tile, .ff-tile *, .dp-tile *, .ff-nav-btn, .ff-dir-name, .ff-dir-loc, #ff-logo, #ff-search-btn, #dp-search-btn, #ff-search-clear, #dp-back, .dp-arrow, .ff-pl-nav, .ff-pl-icon, .ff-pl-back { cursor: pointer !important; }
input[type="text"], input[type="password"], input[type="search"], input[type="email"], textarea { cursor: text; }

    /* Sound on/off (assets/home/sound.js; igloo's label), only while the intro's scene is: placed and sized by JS, revealed by it */
    #ff-sound { position: fixed; z-index: 60; left: 45.5px; bottom: 43.8px; width: 115px; height: 27.6px;
      margin: 0; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; visibility: hidden;
      -webkit-tap-highlight-color: transparent; transition: opacity .35s ease, visibility 0s linear .35s; }
    #ff-sound.ff-on { opacity: 1; visibility: visible; transition: none; }   /* in: its own reveal; out: a short fade */
    #ff-sound svg { position: absolute; left: 0; top: 0; display: block; overflow: visible; pointer-events: none; }
    #ff-sound text { fill: #fff; font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; font-weight: 500;
      white-space: pre; }
    #ff-sound:focus { outline: none; }
    #ff-sound:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
