/* =====================================================================
   THEME — punk poster: red-dominant, halftone, starbursts, marker scrawl,
   stacked type, tall condensed letters. Loaded after style.css.
   ===================================================================== */
:root {
  --fg: var(--white);
  --mono: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --scrawl: 'Permanent Marker', 'Comic Sans MS', cursive;
  --tall: 'Six Caps', 'Anton', Impact, sans-serif;
}
.mono { font-weight: 700; letter-spacing: .04em; }
.outline { -webkit-text-stroke-color: var(--fg); }
/* no mix-blend-mode: the noise is pure black with varying alpha, so multiply gave identical pixels but blended the whole screen every frame */
.grain { position: fixed; inset: 0; z-index: 140; pointer-events: none; opacity: .34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.3 -.42'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }

[data-theme="red"] { background: var(--red); color: var(--white); --g2: rgba(9, 9, 9, .3); --g3: rgba(9, 9, 9, .5); --g4: rgba(9, 9, 9, .74); --g5: rgba(245, 245, 243, .92); }
[data-theme="red"] .red { color: var(--black); }
[data-theme="red"] .dot, [data-theme="red"] .dot::after { background: var(--black); }
[data-theme="paper"] { background: var(--white); color: var(--black); --fg: var(--black); --g4: rgba(9, 9, 9, .6); }

/* cursor + nav no longer rely on blend modes (they turn cyan on red) */
.cursor { mix-blend-mode: normal; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--white); border: 2px solid var(--black); }
.cursor.is-hot { background: transparent; border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--black), inset 0 0 0 2px var(--black); }
.nav { mix-blend-mode: normal; color: var(--white); transition: opacity .6s ease .9s, color .25s; }
.nav[data-on="paper"] { color: var(--black); }
.nav[data-on="red"] .red { color: var(--black); }
.bored svg path { fill: var(--red); }
.nav[data-on="red"] .bored svg path { fill: var(--black); }
.bored svg circle:last-child { fill: currentColor; }

/* loader in red */
.ld-half { background: var(--red); }
.o-line { -webkit-text-stroke: 1.5px var(--black); }
.o-fill { color: var(--black); }
.ld-word { color: var(--white); }
.ld-t.dim { color: rgba(9, 9, 9, .75); }
.ld-flag i { color: var(--black); }
.ld-bar { background: rgba(9, 9, 9, .3); }
.ld-bar i { background: var(--black); }
.loader.is-done .ld-bar { opacity: 1; }
.loader.is-done .ld-step { visibility: visible; }
.ld-sound { opacity: 1; pointer-events: auto; bottom: calc(var(--pad) + 22px); }

/* scrawl */
.scrawl { font-family: var(--scrawl); font-size: clamp(1.3rem, 2.5vw, 2.7rem); line-height: 1.02; letter-spacing: 0; text-transform: none; filter: url(#boil); clip-path: inset(-40% 100% -40% -6%); transition: clip-path 1s steps(14); }
.scrawl.in { clip-path: inset(-40% -6% -40% -6%); }
.scrawl svg { display: block; width: 3.4em; height: auto; }

/* starburst stickers (draggable) */
.stk { position: absolute; z-index: 7; width: clamp(92px, 11vw, 176px); aspect-ratio: 1; display: grid; place-items: center; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: manipulation; will-change: transform; }
.stk.is-drag { cursor: grabbing; }
.stk svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--white); filter: url(#boil); }
.stk span { position: relative; font-family: var(--display); font-size: clamp(.82rem, 1.45vw, 1.5rem); line-height: .92; text-align: center; text-transform: uppercase; color: var(--black); }
.stk-k svg { fill: var(--black); }
.stk-k span { color: var(--white); }
.stk-r svg { fill: var(--red); }
.stk-r span { color: var(--white); }

/* halftone fade */
.halftone { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none; z-index: 0; background-image: radial-gradient(circle, var(--black) 1.5px, transparent 1.9px); background-size: 9px 9px; -webkit-mask-image: linear-gradient(to top, #000 4%, transparent); mask-image: linear-gradient(to top, #000 4%, transparent); }

/* tape marquees */
.tape { position: relative; z-index: 9; overflow: hidden; background: var(--white); color: var(--black); border-block: 3px solid var(--black); transform: rotate(-1.6deg) scale(1.04); margin: -1.8vw 0; padding: .55vw 0 .3vw; }
.tape-in { display: flex; align-items: center; width: max-content; white-space: nowrap; font-family: var(--display); font-size: clamp(1.5rem, 3.3vw, 3.6rem); line-height: 1; text-transform: uppercase; will-change: transform; }
.tape-in span, .tape-in i { margin-right: 2.2vw; }
.tape-in i { font-style: normal; color: var(--red); }
.tape-b { transform: rotate(1.4deg) scale(1.04); background: var(--black); color: var(--white); border-color: var(--white); }

/* hero */
.hero { overflow: hidden; }
.hero-h, .hero-tag, .hero-low { position: relative; z-index: 1; }
.hero-h .ink { color: var(--black); margin-top: .04em; }
.is-ready .hero-h .ink .ch { transition-delay: calc(.8s + var(--i) * 28ms); }
.is-ready .hero-h.is-live .ch { transition: transform .18s ease-out, color .18s; transition-delay: 0s; }
.hero-h.is-live .fit-line { overflow: visible; }
.hero-h.is-live .ch.hot { color: var(--black); }
.hero-h.is-live .ink .ch.hot { color: var(--white); }
.stk-a { right: 2.5vw; top: 25.5vw; }
.hero-scrawl { position: absolute; left: 39%; top: 1.2vw; color: var(--black); transform: rotate(-6deg); z-index: 5; }
.hero-scrawl svg { margin: .1em 0 0 3.6em; transform: rotate(-38deg); }
[data-theme="red"] .b3d span { color: var(--black); }
[data-theme="red"] .b3d span:first-child { color: var(--white); }
.id-list dd { font-weight: 800; }

/* statement — stacked repeats + paper cutout reel + tall type */
.say { padding-top: clamp(64px, 9vw, 150px); }
.say-a .wl.red { color: var(--red); }
.say-a .rep { will-change: transform; }
.say-a .rep:nth-of-type(3) { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.say-a .rep:nth-of-type(4) { color: var(--g3); }
.say-grid { margin-top: -24.5vw; }
.say-media { border: 0; border-radius: 0; background: var(--white); margin-left: 9vw; }
.say-media-in { inset: 11px; }
.say-media-t { left: 24px; right: 24px; bottom: 22px; }
.say-b { padding-top: 26vw; position: relative; }
.say-b-t { font-family: var(--tall); color: var(--red); -webkit-text-stroke: 0; font-size: clamp(7rem, 20vw, 25rem); line-height: .88; letter-spacing: .012em; }
.say-b-t .wl { padding-top: .09em; }
.say-scrawl { display: inline-block; margin-top: 1vw; transform: rotate(-5deg); }
.stk-b { right: 4vw; top: 21vw; width: clamp(80px, 9vw, 140px); }
.hand { top: clamp(64px, 9vw, 150px); right: 3.5vw; color: var(--red); }

/* split word on paper */
.split-word { font-family: var(--tall); color: var(--red); line-height: .86; }
.split-tag { clip-path: none; color: var(--black); transform: rotate(-3deg); font-size: clamp(1.4rem, 3vw, 3.2rem); }
.split-sticky::before { content: ''; position: absolute; left: 0; bottom: 0; width: 46%; height: 50%; pointer-events: none; background-image: radial-gradient(circle, var(--black) 1.5px, transparent 1.9px); background-size: 9px 9px; -webkit-mask-image: radial-gradient(120% 120% at 0 100%, #000, transparent 62%); mask-image: radial-gradient(120% 120% at 0 100%, #000, transparent 62%); }
.stk-c { left: 7vw; top: 16svh; }
.stk-d { right: 9vw; bottom: 14svh; width: clamp(60px, 7vw, 110px); }

/* TV */
.tv-title { color: var(--white); text-shadow: 4px 4px 0 var(--black), -1.5px -1.5px 0 var(--black), 1.5px -1.5px 0 var(--black), -1.5px 1.5px 0 var(--black); }
.tv-frame { border: 3px solid var(--white); border-radius: 6px; box-shadow: 12px 12px 0 var(--red); }
.tv-badge, .tv-badge.is-ph { background: var(--red); color: var(--white); border: 0; padding: 4px 10px; font-size: 11px; transform: rotate(-3deg); }
.tv-badge.is-ph { background: var(--white); color: var(--black); }
.tv-nav { gap: 0; }
.sq { border: 2px solid var(--white); margin-left: -2px; font-weight: 800; font-size: 12px; }
.sq:first-child { margin-left: 0; }
.sq:hover { background: var(--red); }
.sq.is-cur, .sq.is-cur:hover { background: var(--white); color: var(--black); }
.tv-bar { margin-top: 26px; }
.tv-info { font-weight: 700; }

/* services on red */
.caps { padding-top: clamp(64px, 8vw, 130px); overflow: hidden; }
.caps-tag { display: inline-block; transform: rotate(-2deg); position: relative; z-index: 1; }
.cap-list { position: relative; z-index: 1; }
.cap, .cap:last-child { border-color: var(--black); border-width: 2px; }
.caps .cap-t { color: var(--black); -webkit-text-stroke: 0; transition: color .25s, transform .45s var(--ease); display: block; transform-origin: 0 50%; }
.cap.is-open .cap-t { color: var(--white); transform: translateX(1.4vw) skewX(-7deg); }
.cap-no { background: var(--white); padding: 2px 8px; justify-self: start; font-weight: 800; }
.cap-body p { color: var(--white); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: clamp(13px, 1.15vw, 18px); }
.stk-e { right: 5vw; top: 3.4vw; }
.caps .halftone { height: 30%; opacity: .55; }

/* footer */
.foot-scrawl { display: inline-block; color: var(--red); transform: rotate(-2.5deg); }
.pong-btn { border-width: 2px; box-shadow: 6px 6px 0 var(--red); font-weight: 800; }
.pong-btn:hover { box-shadow: 2px 2px 0 var(--red); transform: translate(4px, 4px); }
.foot-start, .foot-copy { border-width: 2px; font-weight: 800; }

@media (max-width: 820px) {
  .stk-a { right: 3vw; top: auto; bottom: 250px; width: 96px; }
  .hero-scrawl { position: relative; left: auto; top: auto; margin: 26px 0 0 4vw; display: inline-block; }
  .say-grid { margin-top: -34vw; }
  .say-media { margin-left: 0; width: 86%; }
  .say-b { padding-top: 6vw; }
  .say-b-t { font-size: 42vw; }
  .stk-b { right: auto; left: 2vw; top: 4vw; }
  .hand { top: 34px; right: 5vw; }
  .tv-sec { margin-top: -24svh; }
  .tv-frame { box-shadow: 7px 7px 0 var(--red); }
  .stk-c { left: 4vw; top: 12svh; width: 84px; }
  .stk-e { right: 3vw; top: 14px; width: 84px; }
  .tape { margin: -3vw 0; border-width: 2px; }
  .cap-body p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .scrawl, .stk svg { filter: none; }
  .scrawl { clip-path: none; }
}

/* tweaks after first review */
[data-theme="red"] .id-list dt { color: var(--black); font-weight: 800; }
.hero .halftone { height: 24%; }
.hero-tag { padding-right: 15vw; }
.hero-scrawl svg { margin: .3em 0 0 1.4em; transform: rotate(-16deg); }
.scrawl.in { clip-path: inset(-40% -14% -40% -6%); }

/* =====================================================================
   LOCAL-BRANDS MODE — maroon / burgundy / ivory / light gold.
   Switched by html[data-mode="local"]; colours swap under the curtain.
   ===================================================================== */
.mode-btn { position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(12px, 1.6vw, 26px); width: 100%; margin-top: clamp(24px, 2.8vw, 46px); padding: clamp(12px, 1.2vw, 20px) clamp(14px, 1.6vw, 26px); background: #6B1226; color: #F7EFDF; border: 2px solid #DDBE7E; box-shadow: 8px 8px 0 #DDBE7E; text-align: left; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s; }
.mode-btn::before { content: ''; position: absolute; inset: 0; background: #DDBE7E; transform: translateX(-101%); transition: transform .55s var(--ease); }
.mode-btn > * { position: relative; transition: color .3s, transform .4s var(--ease); }
.mode-k { color: #DDBE7E; font-size: 11px; white-space: nowrap; }
.mode-t { font-size: clamp(1.15rem, 2.3vw, 2.5rem); line-height: 1; }
.mode-u { font-family: 'Noto Nastaliq Urdu', serif; font-weight: 500; font-size: clamp(.95rem, 1.35vw, 1.5rem); line-height: 2.1; color: #DDBE7E; white-space: nowrap; }
.mode-arrow { font-family: var(--mono); font-weight: 800; font-size: clamp(1.2rem, 2vw, 2.2rem); line-height: 1; }
.mode-btn:hover, .mode-btn:focus-visible { color: #24060C; transform: translate(4px, 4px); box-shadow: 4px 4px 0 #DDBE7E; }
.mode-btn:hover::before, .mode-btn:focus-visible::before { transform: none; }
.mode-btn:hover .mode-k, .mode-btn:hover .mode-u, .mode-btn:focus-visible .mode-k, .mode-btn:focus-visible .mode-u { color: #6B1226; }
.mode-btn:hover .mode-arrow { transform: translateX(8px); }

.mode-fx { position: fixed; inset: 0; z-index: 136; visibility: hidden; pointer-events: none; --x: 50vw; --y: 50vh; }
.mode-fx.is-run { visibility: visible; pointer-events: auto; }
.mode-fx i { position: absolute; inset: 0; clip-path: circle(0 at var(--x) var(--y)); }
.mode-fx .fx-a { background: #DDBE7E; }
.mode-fx .fx-b { background: #6B1226; }
.mode-fx[data-to="main"] .fx-a { background: #F5F5F3; }
.mode-fx[data-to="main"] .fx-b { background: #E32636; }
.mode-fx.is-run .fx-a { animation: fxIn 1s cubic-bezier(.7, 0, .2, 1) forwards; }
.mode-fx.is-run .fx-b { animation: fxIn 1s cubic-bezier(.7, 0, .2, 1) .16s forwards; }
.mode-fx.is-out { animation: fxOut .9s cubic-bezier(.75, 0, .2, 1) forwards; }
.fx-t { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .6vw; text-align: center; color: #F7EFDF; }
.fx-t > * { opacity: 0; transform: translateY(40px); }
.mode-fx.is-run .fx-t > * { animation: fxUp .7s cubic-bezier(.2, .8, .2, 1) .5s forwards; }
.mode-fx.is-run .fx-t > .fx-w { animation-delay: .58s; }
.mode-fx.is-run .fx-t > .fx-s { animation-delay: .66s; }
.fx-u { font-family: 'Noto Nastaliq Urdu', serif; font-size: clamp(1.6rem, 3.4vw, 3.6rem); line-height: 2; color: #DDBE7E; }
.fx-w { font-size: clamp(3.4rem, 12vw, 13rem); line-height: .9; }
.fx-s { color: #DDBE7E; letter-spacing: .3em; font-size: clamp(11px, 1vw, 15px); }
.mode-fx[data-to="main"] .fx-u { display: none; }
.mode-fx[data-to="main"] .fx-t { color: #F5F5F3; }
.mode-fx[data-to="main"] .fx-s { color: #090909; }
@keyframes fxIn { to { clip-path: circle(150vmax at var(--x) var(--y)); } }
@keyframes fxUp { to { opacity: 1; transform: none; } }
@keyframes fxOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }

html[data-mode="local"] { --red: #6B1226; --black: #24060C; --white: #F7EFDF; --gold: #DDBE7E; --g1: #2C0810; --g2: #3A0D17; --g3: #54212C; --g4: #B79E90; --g5: #DCCBB8; }
/* on the dark sections burgundy would vanish, so the accent there is gold */
html[data-mode="local"] [data-theme="black"], html[data-mode="local"] .tv-sec, html[data-mode="local"] .nav, html[data-mode="local"] .tape-b, html[data-mode="local"] .viewer, html[data-mode="local"] .pong { --red: var(--gold); }
html[data-mode="local"] .nav[data-on="paper"] { --red: #6B1226; }
html[data-mode="local"] .nav[data-on="red"] .red { color: var(--gold); }
html[data-mode="local"] .nav[data-on="red"] .bored svg path { fill: var(--gold); }
html[data-mode="local"] .grain { opacity: .26; }
/* on burgundy the "ink" colour becomes gold */
html[data-mode="local"] [data-theme="red"] .red, html[data-mode="local"] [data-theme="red"] .id-list dt, html[data-mode="local"] .hero-h .ink, html[data-mode="local"] .hero-h.is-live .ch.hot, html[data-mode="local"] .hero-scrawl, html[data-mode="local"] [data-theme="red"] .b3d span, html[data-mode="local"] .caps .cap-t { color: var(--gold); }
html[data-mode="local"] .hero-h.is-live .ink .ch.hot, html[data-mode="local"] [data-theme="red"] .b3d span:first-child, html[data-mode="local"] .cap.is-open .cap-t { color: var(--white); }
html[data-mode="local"] [data-theme="red"] .dot, html[data-mode="local"] [data-theme="red"] .dot::after { background: var(--gold); }
html[data-mode="local"] .cap, html[data-mode="local"] .cap:last-child { border-color: rgba(221, 190, 126, .6); }
html[data-mode="local"] .cap-no { background: var(--gold); color: var(--black); }
html[data-mode="local"] [data-theme="red"] .halftone { background-image: radial-gradient(circle, var(--gold) 1.4px, transparent 1.8px); opacity: .5; }
html[data-mode="local"] .stk svg { fill: var(--gold); }
html[data-mode="local"] .stk span { color: #24060C; }
html[data-mode="local"] .stk-k svg { fill: #24060C; }
html[data-mode="local"] .stk-k span { color: var(--gold); }
html[data-mode="local"] .stk-r svg { fill: #6B1226; }
html[data-mode="local"] .stk-r span { color: var(--gold); }
html[data-mode="local"] .tape { border-color: var(--gold); }
html[data-mode="local"] .tv-frame { border-color: var(--gold); }
html[data-mode="local"] .tv-badge { background: var(--gold); color: #24060C; }
html[data-mode="local"] .sq { border-color: var(--gold); }
html[data-mode="local"] .sq:hover { color: #24060C; }
html[data-mode="local"] .sq.is-cur, html[data-mode="local"] .sq.is-cur:hover { background: var(--gold); color: #24060C; }
html[data-mode="local"] .mode-btn { background: #E32636; color: #F5F5F3; border-color: #F5F5F3; box-shadow: 8px 8px 0 #F5F5F3; }
html[data-mode="local"] .mode-btn::before { background: #F5F5F3; }
html[data-mode="local"] .mode-btn:hover, html[data-mode="local"] .mode-btn:focus-visible { color: #090909; box-shadow: 4px 4px 0 #F5F5F3; }
html[data-mode="local"] .mode-k { color: #F5F5F3; }
html[data-mode="local"] .mode-btn:hover .mode-k { color: #E32636; }
html[data-mode="local"] .mode-u { display: none; }
html[data-mode="local"] .mode-btn:hover .mode-arrow { transform: translateX(-8px); }

@media (max-width: 820px) {
  .mode-btn { grid-template-columns: 1fr auto; gap: 2px 12px; box-shadow: 6px 6px 0 #DDBE7E; }
  .mode-k { grid-column: 1; grid-row: 1; }
  .mode-u { grid-column: 2; grid-row: 1; line-height: 1.8; }
  .mode-t { grid-column: 1; grid-row: 2; font-size: 1.35rem; }
  .mode-arrow { grid-column: 2; grid-row: 2; justify-self: end; }
}
@media (prefers-reduced-motion: reduce) { .mode-btn, .mode-btn::before, .mode-btn > * { transition: none; } }

/* TV reshapes to the film's format: vertical ads get a phone-shaped screen at full height */
.tv-frame { width: 100%; margin-inline: auto; transition: width .55s var(--ease); }
.tv-screen { transition: aspect-ratio .55s var(--ease); }
.tv[data-shape="tall"] .tv-frame { width: 35%; }
.tv[data-shape="tall"] .tv-screen { aspect-ratio: 9 / 16; }
.tv[data-shape="mid"] .tv-frame { width: 49%; }
.tv[data-shape="mid"] .tv-screen { aspect-ratio: 4 / 5; }
.tv[data-shape="sq"] .tv-frame { width: 61%; }
.tv[data-shape="sq"] .tv-screen { aspect-ratio: 1 / 1; }
@media (max-width: 820px) {
  .tv[data-shape="tall"] .tv-frame { width: 66%; }
  .tv[data-shape="mid"] .tv-frame { width: 80%; }
  .tv[data-shape="sq"] .tv-frame { width: 88%; }
}
@media (prefers-reduced-motion: reduce) { .tv-frame, .tv-screen { transition: none; } }

/* =====================================================================
   WORK FEATURES — index + filters, counters, hooks, before/after,
   featured card, vertical showreel, viewer extras, tools strip.
   ===================================================================== */
/* vertical showreel cutout */
.say-media { aspect-ratio: 9 / 16; width: min(21vw, 360px); margin-left: 12vw; }

/* featured ad card in the hero */
.stamp { right: 17%; }
.feat { position: absolute; right: 2.4vw; top: -1.5vw; z-index: 6; width: clamp(96px, 9.6vw, 172px); text-align: left; transform: rotate(5deg); transition: transform .4s var(--ease); }
.feat:hover, .feat:focus-visible { transform: rotate(0) scale(1.05); }
.feat-m { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #000; border: 3px solid var(--white); box-shadow: 7px 7px 0 var(--black); container-type: size; }
.feat-tag { position: absolute; left: -12px; top: 12px; z-index: 3; padding: 2px 8px; background: var(--black); color: var(--white); font-size: 9.5px; font-weight: 800; white-space: nowrap; transform: rotate(-7deg); }
.feat-n { display: block; margin-top: 12px; font-size: clamp(.9rem, 1.3vw, 1.5rem); line-height: .95; color: var(--white); }

/* work index */
.ix { padding-top: clamp(30px, 5vw, 90px); padding-bottom: clamp(70px, 9vw, 150px); z-index: 4; }
.ix-head { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3vw; }
.ix-title { font-size: clamp(3.2rem, 11vw, 14rem); }
.ix-title .red { color: var(--red); }
.ix-scrawl { position: absolute; left: 31vw; top: 1.4vw; transform: rotate(-5deg); }
.ix-stats { display: flex; gap: clamp(18px, 3vw, 54px); padding-bottom: 1vw; }
.ix-stats > div { display: flex; flex-direction: column-reverse; text-align: right; }
.ix-stats dd { font-family: var(--tall); font-size: clamp(4rem, 9vw, 11rem); line-height: .8; color: var(--red); font-variant-numeric: tabular-nums; }
.ix-stats dt { margin-top: 8px; font: 800 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ix-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 34px; margin-top: clamp(20px, 2.6vw, 44px); padding: 14px 0; border-block: 2px solid var(--fg); }
.ix-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border: 2px solid var(--fg); font: 800 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.chip:hover { background: var(--red); border-color: var(--red); transform: rotate(-2deg); }
.chip.is-on, .chip.is-on:hover { background: var(--fg); border-color: var(--fg); color: var(--black); transform: none; }
.ix-count { margin-left: auto; font-weight: 800; }
.ix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 15.5vw, 250px), 1fr)); gap: clamp(22px, 2.6vw, 44px) clamp(14px, 1.8vw, 30px); margin-top: clamp(26px, 3.2vw, 54px); }
.ix-card { display: block; width: 100%; text-align: left; animation: ixIn .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes ixIn { from { opacity: 0; transform: translateY(40px) rotate(3deg); } }
.ix-m { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #000; border: 3px solid var(--fg); box-shadow: 7px 7px 0 var(--red); container-type: size; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ix-grid li:nth-child(odd) .ix-m { transform: rotate(-1.2deg); }
.ix-grid li:nth-child(even) .ix-m { transform: rotate(1deg); }
.ix-grid li .ix-card:hover .ix-m, .ix-grid li .ix-card:focus-visible .ix-m { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--red); }
.ix-no { position: absolute; z-index: 3; left: 8px; top: 8px; padding: 1px 7px; background: var(--fg); color: var(--black); font-size: 10px; font-weight: 800; }
.ix-m .badge { position: absolute; z-index: 3; right: 8px; bottom: 10px; border: 0; background: var(--red); color: var(--white); font-size: 9px; font-weight: 800; transform: rotate(-3deg); }
.ix-n { display: block; margin-top: 14px; font-size: clamp(1.1rem, 1.7vw, 2rem); line-height: .95; }
.ix-s { display: block; margin-top: 5px; color: var(--red); font-size: 10px; font-weight: 800; }
.ix-empty { padding: 60px 0; font-weight: 800; }

/* hook variations */
.hooks { padding-top: clamp(80px, 10vw, 170px); padding-bottom: clamp(80px, 10vw, 170px); z-index: 3; overflow: hidden; }
.hk-title { font-size: clamp(3rem, 10vw, 12.5rem); position: relative; z-index: 1; }
.hk-title .red { font-family: var(--tall); font-size: 1.55em; line-height: .86; color: var(--red); padding-top: .08em; }
.hk-sub { margin-top: 14px; font-weight: 800; position: relative; z-index: 1; }
.hk-scrawl { position: absolute; right: 7vw; top: clamp(90px, 11vw, 190px); transform: rotate(5deg); text-align: center; }
.stk-f { right: 30vw; top: clamp(60px, 7vw, 120px); width: clamp(76px, 8vw, 128px); }
.hk-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, clamp(150px, 17vw, 270px))); gap: clamp(14px, 2.2vw, 38px); margin-top: clamp(28px, 3.4vw, 58px); position: relative; z-index: 1; }
.hk-card { display: block; width: 100%; text-align: left; }
.hk-m { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #000; border: 3px solid var(--black); box-shadow: 8px 8px 0 var(--black); container-type: size; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hk-row li:nth-child(odd) .hk-m { transform: rotate(-1.6deg); }
.hk-row li:nth-child(even) .hk-m { transform: rotate(1.4deg) translateY(14px); }
.hk-row li .hk-card:hover .hk-m, .hk-row li .hk-card:focus-visible .hk-m { transform: translate(-4px, -4px); box-shadow: 13px 13px 0 var(--red); }
.hk-l { position: absolute; z-index: 3; left: 10px; top: 4px; font-family: var(--tall); font-size: clamp(3.4rem, 6vw, 7rem); line-height: 1; color: var(--red); }
.hk-k { display: block; margin-top: 22px; font-weight: 800; color: var(--red); }
.hk-t { display: block; margin-top: 4px; font-family: var(--scrawl); font-size: clamp(.95rem, 1.25vw, 1.4rem); line-height: 1.1; }

/* testimonials (hidden until the dashboard has a quote) */
.tst { padding-top: clamp(70px, 9vw, 150px); padding-bottom: clamp(70px, 9vw, 150px); }
.tst-title { font-size: clamp(3rem, 9vw, 11rem); }
.tst-title .red { color: var(--red); }
.tst-list { list-style: none; margin: clamp(28px, 3.4vw, 58px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2.2vw, 38px); }
.tst-card { border: 3px solid var(--black); box-shadow: 8px 8px 0 var(--black); padding: clamp(18px, 2vw, 32px); background: var(--white); }
.tst-list li:nth-child(odd) { transform: rotate(-1deg); }
.tst-list li:nth-child(even) { transform: rotate(.8deg); }
.tst-q { margin: 0; font-family: var(--scrawl); font-size: clamp(1.15rem, 1.6vw, 1.7rem); line-height: 1.2; }
.tst-by { margin: 16px 0 0; font-weight: 800; color: var(--red); }
.tst-by .dim { color: var(--black); opacity: .6; }


/* tools strip */
.tape-c { transform: rotate(1.1deg) scale(1.04); }

/* TV share + viewer extras */
.v-stages { width: 100%; }
.v-st { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.v-st li { position: relative; aspect-ratio: 9 / 16; overflow: hidden; display: grid; align-content: end; border: 1px solid var(--g3); background: var(--g1); }
.v-st img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-st i { position: absolute; left: 6px; top: 2px; font: 400 1.6rem var(--tall); font-style: normal; color: var(--g4); }
.v-st span { position: relative; padding: 3px 5px; background: var(--black); font: 800 9px var(--mono); letter-spacing: .05em; }
.v-up { position: absolute; z-index: 4; right: 16px; bottom: 16px; max-width: 72%; display: grid; gap: 6px; padding: 12px 16px; background: var(--red); color: var(--white); text-align: left; font-weight: 800; }
.v-up .display { font-size: 1.7rem; line-height: .95; }
.v-up-b { display: flex; gap: 16px; }

html[data-mode="local"] .ix-m .badge, html[data-mode="local"] .chip:hover, html[data-mode="local"] .v-up, html[data-mode="local"] .v-big span { color: #24060C; }
html[data-mode="local"] .chip.is-on, html[data-mode="local"] .chip.is-on:hover { color: var(--black); }
html[data-mode="local"] .ix-m { border-color: var(--gold); }
html[data-mode="local"] .feat-m { border-color: var(--gold); }
html[data-mode="local"] .feat-tag { background: var(--gold); color: #24060C; }
html[data-mode="local"] .hk-l { color: var(--gold); }

@media (max-width: 820px) {
  .say-media { width: 62%; margin-left: 0; }
  .stamp { right: auto; }
  .feat { position: relative; right: auto; top: auto; display: block; width: 150px; margin: 30px 0 0 5vw; }
  .ix-head { grid-template-columns: 1fr; gap: 14px; }
  .ix-title { font-size: 21vw; }
  .ix-scrawl { position: relative; left: auto; top: auto; display: inline-block; margin-top: 6px; }
  .ix-stats { justify-content: flex-start; gap: 26px; }
  .ix-stats > div { text-align: left; }
  .ix-stats dd { font-size: 24vw; }
  .ix-count { margin-left: 0; width: 100%; }
  .ix-grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .ix-m { border-width: 2px; box-shadow: 5px 5px 0 var(--red); }
  .hk-title { font-size: 15vw; }
  .hk-scrawl { position: relative; right: auto; top: auto; display: inline-block; margin-top: 18px; text-align: left; }
  .stk-f { right: 3vw; top: 30px; width: 78px; }
  .hk-row { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
}
@media (prefers-reduced-motion: reduce) { .ix-card { animation: none; } }

/* fixes after first check */
.hk-m, .ix-m, .feat-m, .eb-mon { --g4: #7d7d79; --g5: #adada8; color: #F5F5F3; }
@media (max-width: 820px) { .ix-stats { margin-top: 22px; } }

@media (min-width: 821px) { .stamp { right: 15.5%; } }

/* =====================================================================
   3D RING OF REELS — replaces the single TV screen. Hold and drag to spin.
   ===================================================================== */
.ring { --cw: min(calc(60svh * .5625), 46vw); position: relative; height: calc(var(--cw) * 16 / 9 + 44px); perspective: 1500px; perspective-origin: 50% 46%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ring.is-drag { cursor: grabbing; }
.ring-in { position: absolute; left: 50%; top: 18px; width: var(--cw); aspect-ratio: 9 / 16; margin-left: calc(var(--cw) / -2); transform-style: preserve-3d; will-change: transform; }
.rc { position: absolute; inset: 0; display: block; overflow: hidden; background: #000; border: 3px solid var(--white); border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; container-type: size; --g4: #7d7d79; --g5: #adada8; color: #F5F5F3; transition: box-shadow .35s var(--ease); }
.rc.is-front { box-shadow: 12px 12px 0 var(--red); }
.rc:focus-visible { outline-offset: 4px; }
.rc .media { pointer-events: none; }
.rc-ch { position: absolute; z-index: 6; right: 14px; top: 12px; font-size: clamp(12px, 1.3vw, 20px); letter-spacing: .08em; text-shadow: 0 0 8px rgba(245, 245, 243, .5); }
.rc-shade { position: absolute; inset: 0; z-index: 9; background: #000; opacity: 0; pointer-events: none; }
.ring-hint { margin-top: 6px; text-align: center; font-weight: 800; letter-spacing: .14em; }
.ring-hint span { display: inline-block; color: var(--red); animation: hintL 1.3s var(--ease) infinite alternate; }
.ring-hint span:last-child { animation-name: hintR; }
@keyframes hintL { to { transform: translateX(-8px); } }
@keyframes hintR { to { transform: translateX(8px); } }
.sq.is-cur { min-width: 76px; }
html[data-mode="local"] .rc { border-color: var(--gold); }
@media (max-width: 820px) {
  .ring { --cw: min(calc(56svh * .5625), 52vw); perspective: 1000px; }
  .rc.is-front { box-shadow: 7px 7px 0 var(--red); }
  .rc { border-width: 2px; }
}

/* the edit bay (before / after): a tall track pins the stage while scroll scrubs a timeline */
.eb { padding-top: clamp(80px, 10vw, 170px); }
.eb-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1vw 3vw; padding: 0 var(--pad); }
.eb-title { font-size: clamp(3.4rem, 11vw, 14rem); }
.eb-title .red { color: var(--red); }
.eb-scrawl { transform: rotate(-3deg); margin-bottom: 2vw; }
.eb-track { position: relative; height: 480vh; }
.eb-stick { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; gap: 10px; padding: 70px var(--pad) 16px; overflow: hidden; }
.eb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--g5); }
.eb-bar b { color: var(--white); }
.eb-rec { display: inline-flex; align-items: center; gap: 8px; }
.eb-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: eb-blink 1s steps(2) infinite; }
@keyframes eb-blink { 50% { opacity: .15; } }
.eb-nav { display: flex; gap: 6px; }
.eb-nav button { background: none; border: 1px solid var(--g3); color: var(--white); font: 700 11px var(--mono); letter-spacing: .08em; padding: 6px 10px; cursor: pointer; }
.eb-nav button:hover, .eb-nav button:focus-visible { border-color: var(--red); }
.eb-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 48px); min-height: 0; height: 100%; padding: 4px 0 14px; }
.eb-side { display: grid; gap: 10px; align-content: center; }
.eb-l { justify-items: end; text-align: right; }
.eb-meta { color: var(--g4); }
.eb-brand { font-size: clamp(1.5rem, 2.8vw, 2.8rem); line-height: .9; }
.eb-tc { font: 800 clamp(16px, 1.6vw, 22px) var(--mono); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.eb-step { font-size: clamp(2.4rem, 6vw, 6.4rem); line-height: .85; }
.eb-step.is-final { color: var(--red); }
.eb-cap { max-width: 30ch; color: var(--g5); font-size: 12px; line-height: 1.6; }
.eb-mon { position: relative; height: 100%; max-height: 640px; aspect-ratio: 9 / 16; background: #000; border: 3px solid var(--white); box-shadow: 12px 12px 0 var(--red); overflow: hidden; }
.eb-mon > img, .eb-mon > video, .eb-mon > div { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eb-prod { object-fit: contain !important; will-change: transform, opacity; }
.eb-post { will-change: filter, opacity, transform; }
.eb-mon video { opacity: 0; transition: opacity .5s; }
.eb-mon.is-final video { opacity: 1; }
.eb-grid { pointer-events: none; opacity: 0; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 33.333% 33.333%; }
.eb-leak { pointer-events: none; opacity: 0; transform: translateX(-100%); background: linear-gradient(100deg, transparent 30%, rgba(255,170,60,.55) 48%, rgba(255,60,90,.35) 55%, transparent 70%); mix-blend-mode: screen; }
.eb-flash { pointer-events: none; opacity: 0; background: var(--white); }
.eb-tag { position: absolute; z-index: 5; left: 10px; bottom: 10px; padding: 3px 8px; background: var(--black); font-weight: 800; }
.eb-mon.is-final .eb-tag { background: var(--red); }
.eb-tl { position: relative; display: grid; gap: 4px; padding: 10px 0 4px; border-top: 1px solid var(--g3); cursor: pointer; user-select: none; touch-action: none; --lw: 92px; }
.eb-tl:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.eb-ruler, .eb-trk { display: grid; grid-template-columns: var(--lw) 1fr; align-items: center; }
.eb-ruler { font-size: 9px; color: var(--g4); }
.eb-ruler span:last-child { display: flex; justify-content: space-between; }
.eb-ruler i { font-style: normal; }
.eb-trk { height: 22px; }
.eb-trk b { font-size: 10px; color: var(--g4); transition: color .2s; }
.eb-lane { position: relative; height: 100%; background: var(--g1); }
.eb-lane i { position: absolute; top: 2px; bottom: 2px; border-radius: 2px; background: var(--c); opacity: .28; transition: opacity .2s, box-shadow .2s; background-image: repeating-linear-gradient(90deg, transparent 0 6px, rgba(0,0,0,.25) 6px 7px); }
.eb-trk.on b { color: var(--white); }
.eb-trk.on .eb-lane i { opacity: 1; box-shadow: 0 0 14px var(--c); }
.eb-trk.done .eb-lane i { opacity: .6; }
.eb-head-line { position: absolute; top: 0; bottom: 0; left: calc(var(--lw) + (100% - var(--lw)) * var(--p, 0)); width: 2px; margin-left: -1px; background: var(--red); pointer-events: none; }
.eb-head-line::before { content: ''; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.eb-hint { margin: 0; text-align: center; color: var(--g4); }
html[data-mode="local"] .eb-mon { border-color: var(--gold); }
html[data-mode="local"] .eb-mon.is-final .eb-tag, html[data-mode="local"] .eb-rec i { background: var(--gold); color: #24060C; }
@media (max-width: 820px) {
  .eb-title { font-size: 21vw; }
  .eb-stick { padding-top: 60px; }
  .eb-main { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; justify-items: center; gap: 8px; }
  .eb-l { justify-items: center; text-align: center; grid-auto-flow: column; align-items: baseline; gap: 10px; }
  .eb-l .eb-meta:first-child, .eb-tc { display: none; }
  .eb-r { justify-items: center; text-align: center; }
  .eb-cap { display: none; }
  .eb-step { font-size: 2.2rem; }
  .eb-tl { --lw: 78px; }
  .eb-trk b { font-size: 9px; white-space: nowrap; }
  .eb-bar { font-size: 9px; white-space: nowrap; }
  .eb-nav button { padding: 5px 7px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .eb-rec i { animation: none; } }
