/* The Dark Fleet — videos page styles (extracted from videos.html monolith)
   Loaded after hub styles.css for shared tokens; page-specific chrome lives here.
*/
/* Mobile font stability (arch-review 2026-08-08) */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  /* Align with hub design system where names overlap */
  --gold: #c5a028;
  --gold-bright: #f0d078;
  --gold-mid: #d4af37;
  --gold-deep: #7a5a12;
  --void: #050403;
  --ink: #0c0907;
  --parchment: #f3ead8;
  --parchment-muted: rgba(243, 234, 216, 0.82);
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #0a0804;
            --secondary: #1a1410;
            --accent-gold: var(--gold-mid);
            --accent-brass: #c9a961;
            --text: #f0f0f0;
            --text-light: #c9c2b4;
            --border: #3a3a3a;
            --ease: cubic-bezier(0.22, 1, 0.36, 1);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: linear-gradient(135deg, var(--primary) 0%, #1a0f08 100%);
            background-attachment: fixed;
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            overflow-x: hidden;
        }

        ::selection {
            background: rgba(212, 175, 55, 0.35);
            color: #fff;
        }

        ::-webkit-scrollbar { width: 10px; }
        ::-webkit-scrollbar-track { background: var(--primary); }
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(var(--accent-gold), #6b5518);
            border-radius: 5px;
        }

        /* Atmosphere: film grain + drifting orbs (same recipe as home port) */
        .grain {
            pointer-events: none;
            position: fixed;
            inset: 0;
            z-index: 90;
            opacity: 0.05;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
            background-size: 180px;
        }

        /* orbs: blur baked into the gradient — no runtime filter, cheap in software GL */
        .orb {
            pointer-events: none;
            position: fixed;
            border-radius: 50%;
            z-index: 0;
            will-change: transform;
        }

        .orb-a {
            width: 700px;
            height: 700px;
            top: -12%;
            right: -10%;
            background: radial-gradient(circle, rgba(197, 160, 40, 0.13) 0%, rgba(197, 160, 40, 0.05) 40%, transparent 68%);
            animation: drift-a 26s ease-in-out infinite alternate;
        }

        .orb-b {
            width: 820px;
            height: 820px;
            bottom: -18%;
            left: -12%;
            background: radial-gradient(circle, rgba(40, 80, 130, 0.15) 0%, rgba(40, 80, 130, 0.06) 40%, transparent 68%);
            animation: drift-b 32s ease-in-out infinite alternate;
        }

        @keyframes drift-a { to { transform: translate(-6%, 8%) scale(1.15); } }
        @keyframes drift-b { to { transform: translate(7%, -6%) scale(1.1); } }

        /* Site nav — was display:none (trapped users with only footer Home) */
        header.site-nav {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(5, 4, 3, 0.92);
            border-bottom: 1px solid rgba(212, 175, 55, 0.22);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        .site-nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0.75rem 1.25rem;
        }
        .site-nav-brand {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            text-decoration: none;
            color: #e8c547;
            font-family: 'Cormorant Garamond', serif;
            font-weight: 600;
            font-size: 1.15rem;
            letter-spacing: 0.04em;
            white-space: nowrap;
        }
        .site-nav-brand img {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 1.5px solid var(--gold-mid);
        }
        .site-nav-links {
            display: none;
            align-items: center;
            gap: 0.15rem;
            flex-wrap: nowrap;
            justify-content: flex-end;
        }
        .site-nav-links a {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #a89878;
            text-decoration: none;
            padding: 0.5rem 0.5rem;
            border-radius: 999px;
            white-space: nowrap;
            transition: color 0.2s, background 0.2s;
        }
        .site-nav-links a:hover {
            color: #f0e6d0;
            background: rgba(255, 255, 255, 0.04);
        }
        .site-nav-links a[aria-current="page"] {
            color: #e8c547;
        }
        .site-nav-links a.nav-warn { color: #e07070; }
        .site-nav-links a.nav-port,
        .site-nav-drawer a.nav-port {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
        }
        .site-nav-drawer a.nav-port {
            display: flex;
            width: 100%;
            box-sizing: border-box;
        }
        .nav-port-icon {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.45);
        }
        .site-nav-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border: 1px solid rgba(212, 175, 55, 0.35);
            border-radius: 8px;
            background: transparent;
            color: #e8c547;
            cursor: pointer;
            font-size: 1.25rem;
            line-height: 1;
        }
        .site-nav-drawer {
            display: none;
            flex-direction: column;
            gap: 0.15rem;
            padding: 0.5rem 1.25rem 1rem;
            border-top: 1px solid rgba(212, 175, 55, 0.15);
            background: rgba(5, 4, 3, 0.96);
        }
        .site-nav-drawer.is-open { display: flex; }
        .site-nav-drawer a {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.85rem;
            color: #c8b898;
            text-decoration: none;
            padding: 0.65rem 0.4rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        }
        .site-nav-drawer a:hover { color: #e8c547; }
        .site-nav-drawer a[aria-current="page"] { color: #e8c547; }
        @media (min-width: 1180px) {
            .site-nav-links { display: flex; }
            .site-nav-toggle { display: none; }
            .site-nav-drawer,
            .site-nav-drawer.is-open { display: none !important; }
        }

        /* Main */
        main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem 2rem 4rem;
            position: relative;
            z-index: 1;
        }

        /* Hero Section */
        .hero {
            text-align: center;
            margin-bottom: 0;
            padding: 4rem 2rem;
            border: 1px solid var(--accent-gold);
            background: rgba(10, 8, 4, 0.5);
            position: relative;
        }

        /* glow via pseudo-element opacity pulse — compositor-only, no per-frame repaint */
        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            box-shadow: 0 0 45px rgba(212, 175, 55, 0.12), inset 0 0 60px rgba(212, 175, 55, 0.04);
            opacity: 0;
            animation: hero-breathe 5s ease-in-out infinite;
        }

        @keyframes hero-breathe {
            50% { opacity: 1; }
        }

        .hero > * {
            animation: rise 0.9s var(--ease) both;
        }

        .hero > *:nth-child(2) { animation-delay: 0.12s; }
        .hero > *:nth-child(3) { animation-delay: 0.24s; }

        @keyframes rise {
            from { opacity: 0; transform: translateY(24px); }
        }

        .hero::before {
            content: '⚓';
            position: absolute;
            top: 1rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2rem;
            opacity: 0.3;
            animation: bob 4s ease-in-out infinite;
        }

        @keyframes bob {
            50% { transform: translateX(-50%) translateY(-6px); }
        }

        h1 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 4rem;
            font-weight: 700;
            margin: 2rem 0 1rem;
            letter-spacing: 2px;
            background: linear-gradient(100deg, #8a6d1f 0%, var(--accent-gold) 25%, #ffe9a8 50%, var(--accent-gold) 75%, #8a6d1f 100%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: shimmer 6s linear infinite;
        }

        @keyframes shimmer {
            to { background-position: 200% center; }
        }

        .tagline {
            font-size: 1rem;
            color: var(--text-light);
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .hero-description {
            font-size: 1.1rem;
            color: var(--text-light);
            max-width: 900px;
            margin: 2rem auto;
            line-height: 1.8;
            font-style: italic;
        }

        /* Ticker — WAAPI linear translate3d(px) (not CSS -50%, not RAF Math.round) */
        .ticker {
            overflow: hidden;
            border-top: 1px solid rgba(212, 175, 55, 0.25);
            border-bottom: 1px solid rgba(212, 175, 55, 0.25);
            padding: 0.75rem 0;
            margin: 0 0 3rem;
            background: #0c0a06;
            position: relative;
            /* isolate from page paints; no mask-image (soft-GL stutter) */
            contain: layout style paint;
            transform: translateZ(0);
        }

        /* Dual prebuilt ticker slots — toggle visibility only (no replaceChildren hitch) */
        .ticker-slot {
            overflow: hidden;
        }

        .ticker-slot[hidden] {
            display: none !important;
        }

        .ticker-track {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            width: max-content;
            /* compositor layer; WAAPI sets exact pixel distance */
            transform: translate3d(0, 0, 0);
            /* will-change only while running — set in JS when intersecting */
            backface-visibility: hidden;
            pointer-events: none;
        }

        .ticker-seq {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            gap: 1.75rem;
            padding-right: 1.75rem;
            flex: 0 0 auto;
        }

        .ticker-seq span {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.78rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #d4cbb8;
            white-space: nowrap;
            flex: 0 0 auto;
        }

        .ticker-seq .sep {
            color: var(--accent-gold);
            opacity: 0.8;
            flex: 0 0 auto;
        }

        /* ── Fleet switcher (in-page, no second load) ──
           Perf: solid bg (no backdrop-filter), dual prebuilt panels, opacity-only swap */
        .fleet-dock {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.85rem;
            margin: 0 0 2.25rem;
            position: sticky;
            top: 0;
            z-index: 40;
            padding: 0.55rem 0.5rem 0.65rem;
            /* solid dock — no live blur (kills soft-GL / mobile) */
            background: linear-gradient(180deg, rgba(10, 8, 4, 0.97) 0%, rgba(10, 8, 4, 0.88) 70%, transparent 100%);
        }

        .fleet-switch {
            --pad: 4px;
            position: relative;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            padding: var(--pad);
            width: min(540px, 100%);
            border-radius: 999px;
            border: 1px solid rgba(212, 175, 55, 0.55);
            background: #14100c;
            box-shadow:
                0 10px 28px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 233, 168, 0.08);
        }

        .fleet-glider {
            position: absolute;
            top: var(--pad);
            bottom: var(--pad);
            left: var(--pad);
            width: calc(50% - var(--pad));
            border-radius: 999px;
            background: linear-gradient(135deg, #8a6d1f 0%, var(--accent-gold) 45%, #ffe9a8 100%);
            box-shadow: 0 0 22px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
            transition: transform 0.22s var(--ease);
            z-index: 0;
            pointer-events: none;
            /* short transition only — no permanent will-change (soft-GL layer spam) */
        }

        .fleet-switch[data-active="comedy"] .fleet-glider {
            transform: translate3d(100%, 0, 0);
        }

        .fleet-switch button {
            position: relative;
            z-index: 1;
            appearance: none;
            border: 0;
            background: transparent;
            color: var(--text-light);
            font-family: 'Outfit', sans-serif;
            font-weight: 600;
            font-size: 0.92rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            /* ≥44px touch target */
            min-height: 48px;
            padding: 0.85rem 1rem;
            border-radius: 999px;
            cursor: pointer;
            transition: color 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }

        .fleet-switch button[aria-pressed="true"] {
            color: var(--primary);
        }

        .fleet-switch button:active {
            transform: scale(0.98);
        }

        .fleet-switch button:focus-visible {
            outline: 2px solid #ffe9a8;
            outline-offset: 3px;
        }

        .fleet-switch .ico {
            font-size: 1.05rem;
            line-height: 1;
        }

        .fleet-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 0.55rem 1rem;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.8rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-light);
            contain: layout style;
        }

        .fleet-meta strong {
            color: var(--accent-gold);
            font-weight: 500;
        }

        .fleet-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 0.75rem;
            border-radius: 999px;
            border: 1px solid rgba(212, 175, 55, 0.28);
            background: rgba(10, 8, 4, 0.75);
        }

        .fleet-chip em {
            color: var(--accent-gold);
            font-style: normal;
        }

        .gallery-shell {
            position: relative;
            min-height: 240px;
        }

        /* Dual prebuilt panels — toggle visibility only (no DOM rebuild / no filter blur) */
        .gallery-panel {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin: 3rem 0;
        }

        .gallery-panel[hidden],
        .gallery-panel.is-off {
            display: none !important;
        }

        .gallery-panel.is-on {
            display: grid;
            animation: fleet-in 0.18s var(--ease) both;
        }

        @keyframes fleet-in {
            from { opacity: 0.35; transform: translate3d(0, 6px, 0); }
            to   { opacity: 1; transform: translate3d(0, 0, 0); }
        }

        .video-card .kind-badge {
            position: absolute;
            top: 0.75rem;
            left: 0.75rem;
            z-index: 3;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.75rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            padding: 0.35rem 0.55rem;
            border-radius: 4px;
            background: rgba(10, 8, 4, 0.88);
            border: 1px solid rgba(212, 175, 55, 0.45);
            color: var(--accent-gold);
            /* no backdrop-filter */
        }

        .video-card[data-kind="comedy"] .kind-badge {
            border-color: rgba(255, 120, 80, 0.55);
            color: #ffb08a;
        }

        /* Gallery Grid */
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin: 3rem 0;
        }

        @property --card-angle {
            syntax: '<angle>';
            initial-value: 0deg;
            inherits: false;
        }

        .video-card {
            border: 1px solid var(--accent-brass);
            border-radius: 12px;
            background: rgba(26, 20, 16, 0.6);
            overflow: hidden;
            transition: transform 0.35s var(--ease), border-color 0.25s ease, box-shadow 0.35s var(--ease);
            position: relative;
            contain: content;
            content-visibility: auto;
            contain-intrinsic-size: 360px 320px;
        }

        /* rotating conic border light on hover */
        .video-card::before {
            content: "";
            position: absolute;
            inset: -1px;
            border-radius: 12px;
            padding: 1px;
            background: conic-gradient(from var(--card-angle), transparent 0%, rgba(255, 233, 168, 0.9) 8%, rgba(212, 175, 55, 0.6) 14%, transparent 24%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
            z-index: 2;
        }

        @keyframes spin-angle {
            to { --card-angle: 360deg; }
        }

        .video-card:hover {
            border-color: var(--accent-gold);
            box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.18);
            transform: translateY(-6px);
        }

        /* Spin only on fine-pointer hover — never on touch / idle page */
        @media (hover: hover) and (pointer: fine) {
            .video-card:hover::before {
                opacity: 1;
                animation: spin-angle 4s linear infinite;
            }
        }

        /* filter fade + scroll reveal states */
        .video-card.is-hidden {
            opacity: 0;
            transform: scale(0.92) translateY(10px);
            pointer-events: none;
        }

        .video-card.reveal {
            opacity: 0;
            transform: translateY(26px);
        }

        .video-card.reveal.is-in {
            opacity: 1;
            transform: none;
        }

        .video-thumbnail {
            width: 100%;
            aspect-ratio: 16 / 9;
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(201, 169, 97, 0.1));
            overflow: hidden;
            position: relative;
        }

        .video-thumbnail a {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            text-decoration: none;
            cursor: pointer;
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1.02);
            transition: transform 0.7s var(--ease), filter 0.5s ease;
        }

        /* Hover zoom only on real hover devices — skips touch-hover sticky bugs + GPU cost */
        @media (hover: hover) and (pointer: fine) {
            .video-card:hover .video-thumbnail img {
                transform: scale(1.07);
            }
        }

        /* bottom scrim + shine sweep */
        .video-thumbnail::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient(180deg, rgba(5, 4, 3, 0) 55%, rgba(5, 4, 3, 0.55) 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .video-card:hover .video-thumbnail::before {
            opacity: 1;
        }

        .video-thumbnail::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient(105deg, transparent 40%, rgba(255, 236, 170, 0.22) 50%, transparent 60%);
            transform: translateX(-130%) skewX(-8deg);
            transition: transform 0.9s var(--ease);
            pointer-events: none;
        }

        .video-card:hover .video-thumbnail::after {
            transform: translateX(130%) skewX(-8deg);
        }

        .play-button {
            position: absolute;
            z-index: 2;
            width: 70px;
            height: 70px;
            background: rgba(212, 175, 55, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--primary);
            opacity: 0;
            transform: scale(0.7);
            transition: all 0.35s var(--ease);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
        }

        .play-button::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 2px solid rgba(212, 175, 55, 0.7);
            opacity: 0;
        }

        .video-card:hover .play-button {
            opacity: 1;
            transform: scale(1);
        }

        .video-card:hover .play-button::after {
            animation: pulse-ring 1.6s ease-out infinite;
        }

        @keyframes pulse-ring {
            0% { transform: scale(1); opacity: 0.8; }
            100% { transform: scale(1.9); opacity: 0; }
        }

        .video-info {
            padding: 2rem;
        }

        .video-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--accent-gold);
            transition: color 0.3s ease;
        }

        .video-card:hover .video-title {
            color: #e6c200;
        }

        .video-description {
            font-size: 0.95rem;
            color: var(--text-light);
            margin-bottom: 1.25rem;
            line-height: 1.7;
        }

        .video-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            color: var(--text-light);
            border-top: 1px solid rgba(212, 175, 55, 0.2);
            padding-top: 1rem;
        }

        .video-stats {
            display: flex;
            gap: 1.5rem;
        }

        .video-stats span {
            display: inline-block;
        }
        /* Footer */
        footer {
            background: #0a0804;
            border-top: 1px solid var(--accent-gold);
            padding: 4rem 2rem;
            text-align: center;
            margin-top: 6rem;
            position: relative;
            z-index: 1;
        }

        footer h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: var(--accent-gold);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 2rem 0;
        }

        .social-links a {
            color: #f0d078; /* gold-bright ≥4.5:1 on #0a0804 */
            background: #0a0804;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s var(--ease);
            padding: 0.75rem 1.5rem;
            border: 1px solid #f0d078;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 1px;
        }
        .social-links a.nav-port {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        .social-links a:hover {
            background: #f0d078;
            color: #0a0804;
            box-shadow: 0 0 24px rgba(240, 208, 120, 0.45);
            transform: translateY(-2px);
        }

        .copyright {
            color: var(--text-light);
            font-size: 0.9rem;
            margin-top: 2rem;
            font-family: 'IBM Plex Mono', monospace;
        }

        /* Responsive */
        @media (max-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }

            main {
                padding: 2rem 1rem;
            }

            .hero {
                padding: 2.5rem 1.15rem;
            }

            .gallery,
            .gallery-panel {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                margin: 1.5rem 0;
            }

            .fleet-switch button {
                font-size: 0.78rem;
                padding: 0.75rem 0.4rem;
                letter-spacing: 0.04em;
                min-height: 48px;
            }

            .fleet-meta {
                font-size: 0.72rem;
            }

            /* Kill continuous atmosphere on small screens / soft GPU */
            .orb {
                display: none;
            }

            .grain {
                opacity: 0.03;
            }

            h1 {
                animation: none;
                background-position: center;
            }

            .nav-links {
                gap: 1rem;
            }
        }

        /* Videos page: kill continuous background anims — fight ticker for GPU */
        .orb {
            display: none !important;
        }

        .grain {
            display: none !important;
        }

        h1 {
            animation: none !important;
            background-position: 50% center;
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation: none !important;
                transition: none !important;
            }

            .gallery-panel.is-on {
                animation: none !important;
            }

            .fleet-glider {
                transition: none !important;
            }

            .ticker {
                display: none !important;
            }
        }

        .skip-link {
            position: absolute;
            left: 0.75rem;
            top: -3.5rem;
            z-index: 200;
            padding: 0.55rem 0.9rem;
            background: var(--gold-mid);
            color: #0a0804;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 0.8rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 4px;
        }
        .skip-link:focus { top: 0.75rem; outline: 2px solid #fff; outline-offset: 2px; }
    

