/* ==========================================================================
   TH3L30 · Landing — "THE BROADCAST" (cabinet edition)
   A radio-demon cold open housed in a vintage cathedral-radio cabinet.
   Art-deco, crimson/bone/amber. Neo, the station cat, guards the doorway.
   Requires hb-fonts.css, hb-theme.css, hb-fx.css.
   ========================================================================== */

html, body { height: 100%; margin: 0; }
body {
    height: 100dvh; min-height: 100dvh; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    padding: 10px; position: relative;
}
/* fit-to-screen wrapper: JS scales this so everything shows without scrolling */
.fit { width: min(100%, 920px); transform-origin: center center; will-change: transform; }
.fit-inner { display: flex; flex-direction: column; align-items: center; }

/* parallax actors get a transform var set from JS */
.hb-bg .hb-smoke, .hb-bg .hb-rays { will-change: transform; }

/* ====================== Tuning-in cold open ============================= */
.tune { position: fixed; inset: 0; z-index: 90; background: #060203;
        display: grid; place-items: center; transition: opacity .7s ease; }
.tune.gone { opacity: 0; pointer-events: none; }
.tune-haze { position: absolute; inset: 0;
    background:
        radial-gradient(60% 50% at 50% 46%, rgba(228,166,63,.12) 0%, transparent 70%),
        radial-gradient(90% 90% at 50% 50%, rgba(110,12,24,.22) 0%, transparent 75%);
    animation: tune-breathe 3s ease-in-out infinite; }
@keyframes tune-breathe { 0%,100%{opacity:.75} 50%{opacity:1} }
.tune-txt { position: relative; text-align: center; width: min(86vw, 420px); }
.tune-txt .freq { font-family: var(--font-deco); font-weight: 900; font-size: clamp(2.4rem,9vw,4rem);
    color: var(--amber); text-shadow: 0 0 34px rgba(228,166,63,.45); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.tune-txt .freq::after { content: " AM"; font-size: .4em; color: var(--muted); letter-spacing: .1em; }
.tune-txt .lbl { font-family: var(--font-radio); letter-spacing: .36em; text-transform: uppercase;
    color: var(--muted); font-size: .68rem; margin-top: 16px; }
.tune-scale { position: relative; height: 26px; margin: 18px auto 0; width: 100%;
    border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 0 4px; }
.tune-scale .tick { width: 1px; height: 9px; background: var(--line); opacity: .7; }
.tune-scale .tick:nth-child(odd) { height: 14px; background: var(--line-red); }
.tune-scale .needle { position: absolute; top: -3px; left: 6%; width: 2px; height: 22px;
    background: var(--crimson-br); box-shadow: 0 0 10px var(--crimson-br); transform: translateX(-50%); transition: left .05s linear; }
.tune-scale .needle::before { content: ""; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
    width: 7px; height: 7px; background: var(--crimson-br); border-radius: 50%; box-shadow: 0 0 10px var(--crimson-br); }

/* ============================ Marquee strip ============================= */
.marquee { position: relative; z-index: 2; width: min(100%,920px);
    border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
    background: linear-gradient(180deg, rgba(37,10,16,.8), rgba(12,5,8,.8)); margin-bottom: 12px; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; padding: 9px 0; width: max-content; animation: hb-marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-radio); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); opacity: .85; }
.marquee-track span b { color: var(--crimson-br); }
@keyframes hb-marquee { to { transform: translateX(-50%); } }

/* reveal */
.stage { position: relative; z-index: 2; width: min(100%, 920px);
    opacity: 0; transform: translateY(14px) scale(.99); transition: opacity 1s ease, transform 1s ease; }
.stage.live { opacity: 1; transform: none; }

/* ====================== THE CABINET (cathedral radio) =================== */
.cabinet {
    position: relative; margin: 0 auto; padding: 30px 40px 26px;
    border-radius: 160px 160px 14px 14px / 120px 120px 14px 14px;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(228,166,63,.10) 0%, transparent 55%),
        linear-gradient(180deg, #2a0b11 0%, #1a070c 42%, #120508 100%);
    border: 1px solid var(--line);
    box-shadow:
        0 40px 100px rgba(0,0,0,.65),
        inset 0 2px 0 rgba(239,228,208,.06),
        inset 0 0 70px rgba(110,12,24,.25);
}
/* inner gold keyline that follows the arch */
.cabinet::before {
    content: ""; position: absolute; inset: 12px;
    border: 1px solid var(--line-red); border-radius: 150px 150px 8px 8px / 112px 112px 8px 8px;
    pointer-events: none; opacity: .7;
}
/* faint deco grain inside the cabinet */
.cabinet::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 2px, transparent 2px 7px);
    mix-blend-mode: multiply; opacity: .35;
}
/* corner ornaments (deco fans) */
.cab-orn { position: absolute; width: 30px; height: 30px; z-index: 3; opacity: .8;
    border: 0 solid var(--amber); }
.cab-orn.bl { bottom: 18px; left: 18px; border-left-width: 1px; border-bottom-width: 1px; }
.cab-orn.br { bottom: 18px; right: 18px; border-right-width: 1px; border-bottom-width: 1px; }

/* ----- neon ON AIR sign over the cabinet shoulder ----- */
.neon { position: relative; z-index: 4; text-align: center; margin: 0 auto 10px; }
.neon .sign {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-deco); font-weight: 700; font-size: .92rem;
    letter-spacing: .32em; text-transform: uppercase; padding: 8px 20px;
    border: 2px solid var(--crimson); border-radius: 6px; color: #ffd9c2;
    text-shadow: 0 0 8px var(--onair), 0 0 20px rgba(255,59,46,.7);
    box-shadow: 0 0 14px rgba(255,59,46,.5), inset 0 0 14px rgba(255,59,46,.25);
    animation: neon-flicker 5.5s infinite;
}
.neon .sign .bulb { width: 9px; height: 9px; border-radius: 50%; background: var(--onair);
    box-shadow: 0 0 10px 2px var(--onair); animation: hb-pulse 1.6s ease-in-out infinite; }
@keyframes neon-flicker {
    0%,100% { opacity: 1; }
    42% { opacity: 1; } 43% { opacity: .35; } 44% { opacity: 1; } 45% { opacity: .5; } 46% { opacity: 1; }
    78% { opacity: 1; } 79% { opacity: .4; } 80% { opacity: 1; }
}

/* ============================= Masthead ================================= */
.masthead { position: relative; text-align: center; padding: 6px 0 4px; z-index: 2; }
.freq-badges { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.freq-badge { font-family: var(--font-radio); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted); border: 1px solid var(--line-soft); border-radius: 2px; padding: 4px 10px; }

/* gold sunburst behind the wordmark */
.deco-sun { position: absolute; left: 50%; top: 54%; width: 680px; height: 680px; transform: translate(-50%,-50%);
    pointer-events: none; z-index: -1;
    background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(228,166,63,.10) 0deg 3deg, transparent 3deg 11deg);
    mask-image: radial-gradient(circle at center, #000 0%, transparent 58%);
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 58%);
    animation: hb-spin 140s linear infinite; }
.deco-halo { position: absolute; left: 50%; top: 54%; width: 300px; height: 300px; transform: translate(-50%,-50%);
    pointer-events: none; z-index: -1; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,20,43,.25) 0%, transparent 65%); }

.wordmark { font-family: var(--font-deco); font-weight: 900; line-height: .9;
    font-size: clamp(2.8rem, 10vw, 5.6rem); margin: 2px 0; position: relative;
    background: linear-gradient(180deg, #fff7e9 0%, var(--dial) 26%, var(--amber) 55%, var(--crimson) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 0 60px rgba(200,20,43,.3); letter-spacing: .02em; }
.wordmark::after { content: "TH3L30"; position: absolute; inset: 0; color: var(--crimson);
    opacity: 0; mix-blend-mode: screen; animation: hb-ghost 9s infinite; }
@keyframes hb-ghost { 0%,96%,100%{opacity:0;transform:none} 97%{opacity:.4;transform:translate(2px,-1px)} 98%{opacity:0} 99%{opacity:.3;transform:translate(-2px,1px)} }

/* flourished tagline with side rules */
.tagline-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.tagline-wrap .r { flex: 0 1 90px; height: 0; border-top: 1px solid var(--line); box-shadow: 0 3px 0 -2px var(--line); }
.tagline { font-family: var(--font-serif); font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--ink-soft); font-size: clamp(.72rem,2.4vw,.98rem); white-space: nowrap; }
.subline { font-family: var(--font-radio); color: var(--muted); font-size: .72rem; letter-spacing: .1em; margin-top: 12px; }

/* ====================== Console: VU + mic + VU ========================= */
.console { position: relative; margin: 16px auto 2px; width: min(100%, 620px);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.mic { width: 104px; height: 160px; justify-self: center; grid-column: 2; }

/* VU meter gauge */
.vu { justify-self: center; width: 130px; max-width: 34vw; }
.vu .gauge { position: relative; width: 100%; aspect-ratio: 2 / 1.25; }
.vu svg { width: 100%; height: 100%; overflow: visible; }
.vu .vu-lbl { text-align: center; font-family: var(--font-radio); font-size: .54rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.vu .needle { transform-origin: 100px 92px; animation: vu-swing 2.4s ease-in-out infinite; }
.vu.right .needle { animation-duration: 1.8s; animation-delay: .3s; }
@keyframes vu-swing { 0%{transform:rotate(-46deg)} 30%{transform:rotate(18deg)} 45%{transform:rotate(-8deg)} 60%{transform:rotate(30deg)} 80%{transform:rotate(-24deg)} 100%{transform:rotate(-46deg)} }

/* the live caption Alastor "speaks" */
.caption-live { margin: 16px auto 2px; max-width: 640px; text-align: center; min-height: 2.4em; position: relative; z-index: 2; }
.caption-live .ord { color: var(--amber); font-family: var(--font-radio); font-size: 1.1rem; letter-spacing: .3em; opacity: .7; }
.caption-live .q { font-family: var(--font-serif); font-size: clamp(1.05rem,3.4vw,1.5rem); color: var(--ink);
    letter-spacing: .02em; font-style: italic; }
.caption-live .q .cursor { color: var(--amber); font-style: normal; animation: hb-pulse 1s steps(2) infinite; }
.caption-live .by { font-family: var(--font-radio); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
    color: var(--amber); margin-top: 12px; }

/* ornamental divider */
.flourish { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px auto 2px; color: var(--amber); opacity: .8; max-width: 440px; }
.flourish .r { flex: 1; height: 0; border-top: 1px solid var(--line); box-shadow: 0 3px 0 -2px var(--line); }
.flourish .d { width: 8px; height: 8px; transform: rotate(45deg); background: var(--amber); box-shadow: var(--glow-amber); }
.flourish .s { width: 5px; height: 5px; transform: rotate(45deg); background: var(--crimson); }

/* ========================= Entrance doorway ============================= */
.entrance { position: relative; margin: 14px auto 0; width: min(100%, 560px);
    display: flex; flex-direction: column; align-items: center; }
.doorway { position: relative; width: 190px; max-width: 54vw; }
/* the glowing deco arch */
.arch { position: relative; width: 100%; aspect-ratio: 3 / 4.1; margin: 0 auto;
    border: 2px solid var(--amber); border-radius: 120px 120px 6px 6px / 150px 150px 6px 6px;
    background:
        radial-gradient(120% 60% at 50% 100%, rgba(255,59,46,.28) 0%, transparent 60%),
        linear-gradient(180deg, rgba(110,12,24,.5), rgba(6,2,3,.9));
    box-shadow: 0 0 36px rgba(200,20,43,.4), inset 0 0 50px rgba(255,59,46,.25);
    overflow: hidden; }
.arch::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line);
    border-radius: 110px 110px 4px 4px / 140px 140px 4px 4px; opacity: .6; }
/* light spill at threshold */
.arch .spill { position: absolute; left: 50%; bottom: -2px; width: 80%; height: 46%; transform: translateX(-50%);
    background: radial-gradient(60% 100% at 50% 100%, rgba(255,120,60,.55) 0%, transparent 70%);
    filter: blur(2px); animation: spill-breathe 3.4s ease-in-out infinite; }
@keyframes spill-breathe { 0%,100%{opacity:.7} 50%{opacity:1} }
.arch .keyhole { position: absolute; left: 50%; top: 34%; transform: translate(-50%,-50%);
    font-family: var(--font-deco); font-weight: 900; font-size: 2.2rem; color: rgba(255,230,200,.5);
    text-shadow: 0 0 18px rgba(255,120,60,.6); }

.enter { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-deco); font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink); padding: 15px 38px; border: 1px solid var(--crimson); border-radius: 3px;
    background: linear-gradient(180deg, rgba(200,20,43,.2), rgba(110,12,24,.14));
    box-shadow: var(--glow-red); cursor: pointer; transition: all .2s; }
.enter:hover { color: #fff; background: linear-gradient(180deg, rgba(226,58,72,.34), rgba(110,12,24,.22));
    box-shadow: 0 0 34px rgba(200,20,43,.5); transform: translateY(-2px); }
.enter .arrow { transition: transform .2s; }
.enter:hover .arrow { transform: translateX(5px); }

.subnav { margin-top: 18px; font-family: var(--font-radio); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.subnav a { color: var(--amber); } .subnav .sep { color: var(--muted-dim); margin: 0 8px; }

/* ============================= NEO (sits by the door) =================== */
.neo-guard { position: absolute; right: -20px; bottom: -6px; width: 150px; max-width: 42vw; z-index: 5;
    cursor: pointer; filter: drop-shadow(0 10px 10px rgba(0,0,0,.55)); }
.neo-guard svg { width: 100%; height: auto; overflow: visible; display: block; }
.neo-guard .n-eye { transform-origin: center; animation: neo-blink 5.4s infinite; }
@keyframes neo-blink { 0%,93%,100%{transform:scaleY(1)} 96%{transform:scaleY(.08)} }
.neo-guard .n-tail { transform-origin: 20px 150px; animation: neo-tail 3.6s ease-in-out infinite; }
@keyframes neo-tail { 0%,100%{transform:rotate(-7deg)} 50%{transform:rotate(9deg)} }
.neo-guard .n-ear-l { transform-origin: 70px 36px; }
.neo-guard.alert .n-ear-l, .neo-guard.alert .n-ear-r { animation: neo-earflick .4s ease; }
@keyframes neo-earflick { 0%,100%{transform:rotate(0)} 50%{transform:rotate(-8deg)} }
.neo-guard.pounce { animation: neo-pounce .5s ease; }
@keyframes neo-pounce { 0%{transform:translateY(0)} 35%{transform:translateY(-16px) scaleX(1.04)} 100%{transform:translateY(0)} }
.neo-speech { position: absolute; right: 120px; bottom: 120px; z-index: 6;
    font-family: var(--font-radio); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink); background: rgba(27,7,11,.95); border: 1px solid var(--line);
    padding: 6px 10px; border-radius: 3px; white-space: nowrap; opacity: 0; transform: translateY(6px);
    transition: opacity .25s, transform .25s; pointer-events: none; }
.neo-speech.show { opacity: 1; transform: none; }
.neo-speech::after { content: ""; position: absolute; right: 16px; bottom: -5px; width: 8px; height: 8px;
    background: rgba(27,7,11,.95); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }

/* laser dot Neo watches */
.laser { position: absolute; width: 10px; height: 10px; border-radius: 50%; z-index: 4; pointer-events: none;
    background: var(--onair); box-shadow: 0 0 12px 3px var(--onair); opacity: 0; }
.laser.on { opacity: 1; }

.colophon { text-align: center; margin-top: 16px; font-family: var(--font-radio); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dim); }

/* ============================= Responsive =============================== */
@media (max-width: 680px) {
    .cabinet { padding: 36px 20px 30px; border-radius: 90px 90px 12px 12px / 70px 70px 12px 12px; }
    .console { grid-template-columns: 1fr; gap: 10px; }
    .mic { grid-column: 1; order: -1; }
    .vu { display: none; }
    .neo-guard { right: 50%; transform: translateX(50%); position: relative; margin-top: 18px; width: 130px; }
    .neo-speech { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track, .deco-sun, .neon .sign, .vu .needle, .neo-guard .n-tail, .neo-guard .n-eye, .arch .spill { animation: none !important; }
}

/* ========================= Flanking character portraits =================
   Alastor (left) + Angel Dust (right). They display image files you drop in
   at /static/img/hb/alastor.png and /static/img/hb/angel.png. Until then a
   themed placeholder slot shows. They sit at the bottom corners, partly
   behind the cabinet, so the characters frame the broadcast.
   ======================================================================== */
.flank { position: fixed; bottom: 0; z-index: 1; max-width: 46vw;
         pointer-events: none; display: flex; align-items: flex-end; }
.flank.left  { left: 0;  justify-content: flex-start; }
.flank.right { right: 0; justify-content: flex-end; }

.portrait { position: relative; width: 100%; }
.portrait img { display: none; width: auto; height: min(92vh, 980px); max-width: 44vw;
    filter: drop-shadow(0 20px 26px rgba(0,0,0,.65)) drop-shadow(0 0 36px rgba(200,20,43,.28)); }
.flank.right .portrait img { margin-left: auto; }
.portrait img.ready { display: block; animation: flank-in .8s ease both; }
/* when a real cut-out is loaded, drop the boxed placeholder frame entirely */
.portrait.has-img .ph { display: none !important; }
.flank.left  .portrait img.ready { transform-origin: bottom left; }
.flank.right .portrait img.ready { transform-origin: bottom right; }
@keyframes flank-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* placeholder slot */
.portrait .ph { position: relative; aspect-ratio: 3 / 5; width: 100%;
    border: 1px solid var(--line); border-top-left-radius: 120px 150px; border-top-right-radius: 120px 150px;
    background:
        radial-gradient(80% 50% at 50% 100%, rgba(200,20,43,.22), transparent 70%),
        linear-gradient(180deg, rgba(37,10,16,.55), rgba(10,4,6,.75));
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    gap: 10px; padding: 0 0 18px; overflow: hidden; }
.flank.left  .portrait .ph { border-left: 0; }
.flank.right .portrait .ph { border-right: 0; }
.portrait .ph svg { width: 56%; height: auto; opacity: .35; margin-top: auto; }
.portrait .ph .slot { font-family: var(--font-radio); font-size: .56rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--muted-dim); text-align: center; line-height: 1.5; }
.portrait .ph .slot code { color: var(--amber); opacity: .8; }

/* nameplate */
.nameplate { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; white-space: nowrap;
    padding: 6px 16px; border: 1px solid var(--line); border-radius: 3px;
    background: linear-gradient(180deg, rgba(27,7,11,.95), rgba(10,4,6,.95));
    box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.nameplate b { font-family: var(--font-deco); font-weight: 900; font-size: .9rem; letter-spacing: .14em;
    background: linear-gradient(180deg, #fff7e9, var(--amber) 60%, var(--crimson));
    -webkit-background-clip: text; background-clip: text; color: transparent; }
.nameplate span { font-family: var(--font-radio); font-size: .5rem; letter-spacing: .24em;
    text-transform: uppercase; color: var(--muted); margin-top: 2px; }

@media (max-width: 920px) { .flank { display: none; } }

/* full character illustrations fill the portrait frames */
.portrait .ph { padding: 0; justify-content: flex-start; }
.portrait .ph svg.char { width: 100%; height: auto; opacity: 1; margin: 0; display: block;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.5)); }
.nameplate { z-index: 3; }

/* on narrower desktops, let the figures recede a touch behind the content */
@media (max-width: 1280px) { .portrait img { height: min(74vh, 720px); opacity: .92; } }

/* Angel Dust nameplate is a link (re-enable clicks inside the click-through flank) */
.flank .nameplate .np-link { pointer-events: auto; cursor: pointer; text-decoration: none;
    display: flex; flex-direction: column; align-items: center; color: inherit; transition: filter .2s; }
.flank .nameplate .np-link:hover { filter: drop-shadow(0 0 10px rgba(226,58,72,.6)); }
.flank .nameplate .np-link:hover b { color: #fff; }

/* clicking a character plays its track (re-enable clicks on the figure art) */
.flank .portrait img, .flank .portrait svg.char { pointer-events: auto; cursor: pointer; }
/* ===================== stage spotlight on the playing character ===================== */
/* per-character light tint */
.flank .portrait[data-char="alastor"] { --spot-core: rgba(246,199,107,.60); --spot-mid: rgba(228,166,63,.30); --spot-rim: rgba(246,199,107,.75); }
.flank .portrait[data-char="angel"]   { --spot-core: rgba(255,173,224,.58); --spot-mid: rgba(226,58,120,.30); --spot-rim: rgba(255,150,210,.78); }

.flank .portrait.playing img, .flank .portrait.playing svg.char {
    filter: drop-shadow(0 0 22px var(--spot-rim)) drop-shadow(0 0 60px var(--spot-mid)) drop-shadow(0 18px 30px rgba(0,0,0,.6));
}

.flank .portrait .spot { position: absolute; inset: -22% -34% -4% -34%; z-index: -1; pointer-events: none;
    opacity: 0; transition: opacity 1s ease; }
.flank .portrait.playing .spot { opacity: 1; }

/* warm light pool rising from the floor behind the figure */
.flank .portrait .spot .pool { position: absolute; left: 50%; bottom: 0; width: 125%; height: 88%; transform: translateX(-50%);
    background: radial-gradient(58% 62% at 50% 58%, var(--spot-core) 0%, var(--spot-mid) 34%, transparent 72%);
    filter: blur(12px); mix-blend-mode: screen; animation: spot-breathe 3.4s ease-in-out infinite; }

/* soft beam cone from above */
.flank .portrait .spot .beam { position: absolute; left: 50%; top: -24%; width: 78%; height: 128%; transform: translateX(-50%);
    background: linear-gradient(180deg, var(--spot-core) 0%, var(--spot-mid) 30%, transparent 78%);
    clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
    filter: blur(7px); mix-blend-mode: screen; opacity: .55; animation: spot-flicker 5s steps(40) infinite; }

/* drifting dust motes inside the beam */
.flank .portrait .spot .motes { position: absolute; inset: 0; mix-blend-mode: screen; }
.flank .portrait .spot .motes i { position: absolute; bottom: 6%; width: 3px; height: 3px; border-radius: 50%;
    background: var(--spot-core); box-shadow: 0 0 7px var(--spot-rim); opacity: 0;
    animation: spot-mote var(--t,7s) linear var(--d,0s) infinite; }

@keyframes spot-breathe { 0%,100% { opacity: .82; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.05); } }
@keyframes spot-flicker { 0%,100%{opacity:.55} 47%{opacity:.55} 48%{opacity:.4} 49%{opacity:.57} 50%{opacity:.5} 86%{opacity:.55} 87%{opacity:.42} 88%{opacity:.55} }
@keyframes spot-mote { 0% { opacity: 0; transform: translateY(0) scale(.8); } 12% { opacity: .9; } 85% { opacity: .55; } 100% { opacity: 0; transform: translateY(-150px) scale(1.1); } }

@media (prefers-reduced-motion: reduce) { .flank .portrait .spot .pool, .flank .portrait .spot .beam, .flank .portrait .spot .motes i { animation: none !important; } }

/* ===================== cookie gate ===================== */
.hb-gate { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px;
    background: radial-gradient(circle at 50% 28%, rgba(110,12,24,.5), #060203 72%); }
.hb-gate.hidden { display: none; }
.gate-card { max-width: 440px; padding: 34px 30px; text-align: center; }
.gate-kick { font-family: var(--font-radio); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); }
.gate-title { font-family: var(--font-deco); font-weight: 900; font-size: clamp(1.6rem,6vw,2.4rem); margin: 10px 0 12px;
    background: linear-gradient(180deg,#fff7e9,var(--amber) 55%,var(--crimson)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gate-note { color: var(--ink-soft); font-size: .86rem; line-height: 1.6; margin-bottom: 22px; font-family: var(--font-mono); }
.gate-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.gate-enter { font-family: var(--font-radio); text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; color: #fff;
    padding: 14px 24px; border: 1px solid var(--crimson); border-radius: 3px; cursor: pointer; width: 100%;
    display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
    background: linear-gradient(180deg, rgba(200,20,43,.3), rgba(110,12,24,.2)); box-shadow: var(--glow-red); transition: all .2s; }
.gate-enter:hover { background: linear-gradient(180deg, rgba(226,58,72,.45), rgba(110,12,24,.3)); transform: translateY(-2px); }
.gate-leave { font-family: var(--font-radio); text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; color: var(--muted); text-decoration: none; }
.gate-leave:hover { color: var(--ink); }
.gate-foot { margin-top: 18px; font-family: var(--font-radio); font-size: .54rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dim); }
