:root {
  color-scheme: dark;
  --bg: #140a08;
  --ink: #fbe9e3;
  --ink-dim: #d7b9ae;
  --neon: #ff7781;
  --neon-soft: #ffa3ab;
  --neon-glow: 0 0 6px rgba(255, 119, 129, .9), 0 0 18px rgba(255, 119, 129, .6), 0 0 42px rgba(255, 90, 105, .35);
  --glass: rgba(28, 14, 12, .86);
  --line: rgba(255, 190, 170, .14);
  --brass: #d8a657;
  --radius: 18px;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--font); overflow: hidden; overscroll-behavior: none; }
body { -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#app { position: fixed; inset: 0; }
#viewport { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: default; background: #0d0605; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
#viewport.is-pointer { cursor: pointer; }
#viewport.is-grab { cursor: grab; }
#viewport.is-grabbing, #viewport.is-grabbing * { cursor: grabbing !important; }
#stage { position: absolute; left: 0; top: 0; width: 5164px; height: 2861px; transform-origin: 0 0; perspective: 3200px; perspective-origin: 2590px 1620px; }
#stage img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.el { position: absolute; pointer-events: none; }
.el > img, .el > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.light { mix-blend-mode: screen; }
/* lights change brightness every frame: keeping them on their own GPU layers stops the whole room repainting (and flickering) */
.light > img { will-change: opacity, transform; }
/* soft glows never need re-drawing when the camera zooms: as their own GPU layers they just scale (re-drawing them each frame of a zoom is what flickered) */
.cone, .spill, .glow-fridge, .glow-donut, .glow-tv, .glow-door { will-change: transform, opacity; }
#interior { position: absolute; overflow: hidden; }
#interior .crop { position: absolute; background-repeat: no-repeat; }
#tvscreen { position: absolute; overflow: hidden; }
#dark { position: absolute; left: 0; top: 0; width: 5164px; height: 2861px; mix-blend-mode: multiply; pointer-events: none; opacity: 0; }
.dust { position: absolute; mix-blend-mode: screen; pointer-events: none; }
#fx { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.door { transform-style: flat; backface-visibility: visible; }
.door .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.0), rgba(0,0,0,.55)); opacity: 0; mix-blend-mode: multiply; }
.door.right .shade { background: linear-gradient(270deg, rgba(0,0,0,.0), rgba(0,0,0,.55)); }
.shine { position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 236, 200, .35), transparent); transform: skewX(-12deg); }
.shine.go::after { animation: shine 900ms cubic-bezier(.3, .7, .3, 1) forwards; }
@keyframes shine { to { left: 120%; } }
.stool-shadow { position: absolute; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); pointer-events: none; }

/* particles */
.p { position: absolute; left: 0; top: 0; will-change: transform, opacity; pointer-events: none; }
.p-leaf { width: 26px; height: 14px; border-radius: 0 100% 0 100%; background: linear-gradient(135deg, #a7c94a, #4f7d24 70%); box-shadow: inset -2px -2px 0 rgba(0,0,0,.15); }
.p-leaf.b { background: linear-gradient(135deg, #c4d96a, #6b8f2c 70%); }
.p-leaf.c { background: linear-gradient(135deg, #7fae3c, #335e1c 70%); }
.p-note { font: 700 54px/1 Georgia, serif; color: #ffd7a8; text-shadow: 0 0 12px rgba(255, 170, 90, .9); }
.p-z { font: 800 40px/1 var(--font); color: #e9e4ff; text-shadow: 0 0 10px rgba(180, 170, 255, .9); }
.p-heart { font: 46px/1 sans-serif; color: #ff6b8b; text-shadow: 0 0 10px rgba(255, 119, 129, .8); }
.p-ring { border: 5px solid rgba(255, 220, 150, .9); border-radius: 50%; box-shadow: 0 0 18px rgba(255, 200, 120, .8), inset 0 0 12px rgba(255, 200, 120, .6); }
.p-spark { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, #fff 0, #ffd28a 40%, transparent 70%); }
.p-sprinkle { width: 18px; height: 6px; border-radius: 3px; }
.p-puff { width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 230, 215, .55), rgba(255, 230, 215, 0) 70%); }
.p-confetti { width: 16px; height: 9px; }
.p-vinyl { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, #111 0 5%, var(--lab, #e8b04a) 6% 22%, #151515 23% 25%, #0b0b0b 26%, #222 27%, #0b0b0b 29%, #1d1d1d 40%, #0b0b0b 42%, #1b1b1b 60%, #0a0a0a 62%, #1c1c1c 80%, #050505 82%); box-shadow: 0 8px 20px rgba(0,0,0,.6); }

/* chrome */
#chrome { position: absolute; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); top: max(14px, env(safe-area-inset-top)); display: flex; justify-content: space-between; align-items: center; pointer-events: none; z-index: 10; }
.chip-group { display: flex; gap: 8px; }
.chip { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(20, 10, 8, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); font-size: 14px; letter-spacing: .04em; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.chip:hover { background: rgba(40, 18, 14, .8); box-shadow: 0 0 0 1px rgba(255, 119, 129, .35), 0 0 22px rgba(255, 119, 129, .25); }
.chip:active { transform: scale(.95); }
.chip.icon { width: 40px; padding: 0; justify-content: center; }
.chip:disabled { opacity: .35; cursor: default; box-shadow: none; background: rgba(20, 10, 8, .62); transform: none; } /* (still catches the tap, so it never falls through to the room) */
.chip-group.zoom { gap: 4px; margin-right: 6px; }
.chip svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#btn-sound .off { display: none; }
#btn-sound[aria-pressed="false"] .on { display: none; }
#btn-sound[aria-pressed="false"] .off { display: block; }
#btn-lights[aria-pressed="true"] { color: #ffd88a; box-shadow: 0 0 18px rgba(255, 200, 100, .35); }
body.in-studio #btn-lights { opacity: .35; pointer-events: none; color: inherit; box-shadow: none; } /* (v124, Ivan: the studio is always lit, so the switch rests while you are in there) */
#btn-lights { transition: opacity .4s ease; }
:focus-visible { outline: 2px solid var(--neon-soft); outline-offset: 3px; }

#hint { position: absolute; left: 50%; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 64px); transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: rgba(20, 10, 8, .72); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; color: var(--ink-dim); opacity: 0; transition: opacity .5s, transform .5s; pointer-events: none; z-index: 10; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
#hint.show { opacity: 1; transform: translate(-50%, 0); }
#hint b { color: var(--neon-soft); font-weight: 600; }

/* loader */
#loader { position: absolute; inset: 0; display: grid; place-items: center; background: #0d0605; z-index: 50; transition: opacity .8s ease, visibility .8s; }
#loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; padding: 16px; }
.loader-logo { font: italic 600 clamp(56px, 12vw, 120px)/1 "Brush Script MT", "Snell Roundhand", "Segoe Script", cursive; color: #ffe3e8; text-shadow: var(--neon-glow); animation: neonIn 2.4s steps(1) infinite; }
.loader-sub { letter-spacing: .7em; margin-top: 4px; padding-left: .7em; color: #ffd9df; text-shadow: var(--neon-glow); font-size: clamp(14px, 2.6vw, 22px); }
.loader-bar { width: min(260px, 70vw); height: 3px; margin: 28px auto 0; background: rgba(255, 255, 255, .08); border-radius: 3px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--neon); box-shadow: 0 0 12px var(--neon); transition: width .25s; }
.enter { margin-top: 26px; padding: 12px 26px; border-radius: 999px; border: 1px solid rgba(255, 120, 140, .6); background: rgba(255, 119, 129, .1); color: #ffe3e8; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; cursor: pointer; text-shadow: 0 0 8px rgba(255, 119, 129, .9); box-shadow: 0 0 22px rgba(255, 119, 129, .25), inset 0 0 18px rgba(255, 119, 129, .15); transition: transform .2s, box-shadow .2s; }
.enter:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(255, 119, 129, .45), inset 0 0 18px rgba(255, 119, 129, .25); }
@keyframes neonIn { 0%, 100% { opacity: 1; } 7% { opacity: .35; } 9% { opacity: 1; } 52% { opacity: 1; } 53% { opacity: .5; } 55% { opacity: 1; } }

/* panel */
#panel-wrap { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; }
#panel-wrap[hidden] { display: none; }
.panel-backdrop { position: absolute; inset: 0; background: rgba(12, 5, 3, .38); backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15); }
#panel { position: relative; width: min(640px, 100%); max-height: min(78vh, 760px); overflow: auto; padding: 34px 32px 30px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 119, 129, .08), inset 0 1px 0 rgba(255, 255, 255, .05); outline: none; }
#panel h2 { margin: 0 0 14px; font-weight: 500; font-size: clamp(28px, 5vw, 40px); letter-spacing: .04em; color: #ffe6ea; text-shadow: var(--neon-glow); text-transform: uppercase; }
#panel p { color: var(--ink-dim); line-height: 1.6; margin: 0 0 14px; }
#panel a { color: var(--neon-soft); }
.panel-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink-dim); }
.panel-close:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.svc { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 10px; }
.svc li { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.svc b { display: block; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; font-size: 14px; margin-bottom: 4px; }
.svc span { color: var(--ink-dim); font-size: 14px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.chips span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(216, 166, 87, .4); color: #f1d6a8; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: rgba(216, 166, 87, .07); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 8px 0 18px; }
.card { aspect-ratio: 4 / 3; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255, 119, 129, .12), rgba(255, 255, 255, .02)); display: flex; align-items: flex-end; padding: 12px; color: var(--ink); font-size: 14px; }
.card { text-decoration: none; overflow: hidden; position: relative; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.card span { position: relative; }
.card small { color: var(--ink-dim); }
.card.round { aspect-ratio: 1; border-radius: 50%; align-items: center; justify-content: center; text-align: center; }
.cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255, 120, 140, .55); background: rgba(255, 119, 129, .12); color: #ffe3e8 !important; text-decoration: none; letter-spacing: .06em; box-shadow: 0 0 20px rgba(255, 119, 129, .2); }
.cta:hover { background: rgba(255, 119, 129, .22); }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; }
.form { display: grid; gap: 10px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--ink); font: inherit; font-size: 16px; }
.form textarea { min-height: 110px; resize: vertical; }
.dir { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dir button { width: 100%; text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }
.dir button:hover { background: rgba(255, 119, 129, .12); border-color: rgba(255, 119, 129, .35); text-shadow: 0 0 8px rgba(255, 119, 129, .8); }
.draft { font-size: 12px !important; opacity: .55; font-style: italic; }

@media (max-width: 520px) {
  #panel { padding: 28px 20px 22px; }
  .chip span { display: none; }
  #btn-menu { width: 40px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .loader-logo { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* light volumes */
.cone { position: absolute; pointer-events: none; mix-blend-mode: screen; transform-origin: 50% 0%;
  background: radial-gradient(ellipse 55% 100% at 50% 0%, rgba(255, 196, 128, .26), rgba(255, 168, 90, .08) 50%, transparent 78%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); filter: blur(10px); }
.spill { position: absolute; pointer-events: none; mix-blend-mode: screen; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 100, 115, .34), rgba(255, 90, 105, .1) 55%, transparent); }
.glow-fridge { position: absolute; left: 4060px; top: 1330px; width: 430px; height: 520px; pointer-events: none; mix-blend-mode: screen; z-index: 300;
  background: radial-gradient(closest-side, rgba(255, 238, 215, .32), rgba(255, 220, 190, .08) 60%, transparent); }
.glow-tv { position: absolute; left: 2190px; top: 1880px; width: 800px; height: 420px; pointer-events: none; mix-blend-mode: screen; z-index: 300; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 119, 129, .45), rgba(255, 119, 129, .1) 60%, transparent); transition: opacity .6s; }
.ambient { position: absolute; left: 0; top: 0; width: 5164px; height: 2861px; pointer-events: none; mix-blend-mode: soft-light; z-index: 299; }
.fg { position: absolute; pointer-events: none; opacity: .95; }

/* look-around cues */
.edge { position: absolute; top: 50%; z-index: 9; width: 46px; height: 88px; margin-top: -44px; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: rgba(20, 10, 8, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s; }
.edge.left { left: 0; border-radius: 0 44px 44px 0; transform: translateX(-12px); }
.edge.right { right: 0; border-radius: 44px 0 0 44px; transform: translateX(12px); }
.edge.show { opacity: .85; pointer-events: auto; transform: none; }
.edge:hover { opacity: 1; box-shadow: 0 0 24px rgba(255, 119, 129, .3); }
.edge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.look { position: absolute; left: 50%; top: 50%; z-index: 9; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 999px;
  transform: translate(-50%, 40px); background: rgba(20, 10, 8, .62); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink); font-size: 14px; letter-spacing: .04em; opacity: 0; pointer-events: none; transition: opacity .6s, transform .6s; white-space: nowrap; }
.look.show { opacity: 1; transform: translate(-50%, 90px); pointer-events: auto; cursor: pointer; }
.look-icon { position: relative; width: 44px; height: 24px; border-radius: 12px; border: 1.5px solid rgba(255, 220, 210, .5); }
.look-icon i { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--neon-soft); box-shadow: 0 0 10px var(--neon); animation: lookdot 2.2s ease-in-out infinite; }
@keyframes lookdot { 0%, 100% { transform: translateX(-12px); } 50% { transform: translateX(12px); } }

/* intro */
#intro-ui { position: absolute; left: 0; right: 0; bottom: 14vh; z-index: 12; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity .8s, transform .8s; }
#intro-ui.gone { opacity: 0; transform: translateY(16px); pointer-events: none; }
.intro-note { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 220, 210, .45); }
body:not(.intro) #intro-ui { display: none; }
body.intro #chrome, body.intro #foot { opacity: 0; pointer-events: none; }
#chrome, #foot { transition: opacity 1s ease; }

/* footer */
#foot { position: absolute; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px 8px 20px; border-radius: 999px;
  background: rgba(20, 10, 8, .58); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; }
#foot a { color: var(--ink-dim); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: color .2s, text-shadow .2s; }
#foot a:hover { color: var(--ink); text-shadow: 0 0 10px rgba(255, 119, 129, .7); }
#foot svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.f-brand { white-space: nowrap; font-style: italic; font-family: "Brush Script MT", "Snell Roundhand", "Segoe Script", cursive; font-size: 22px; color: #ffe3e8 !important; text-shadow: var(--neon-glow); }
.f-links { display: flex; gap: 22px; min-width: 0; }
.f-links a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-social { display: flex; gap: 4px; }
.f-social a { width: 34px; height: 34px; justify-content: center; border-radius: 50%; }
.f-social a:hover { background: rgba(255, 119, 129, .12); }
@media (max-width: 860px) { .f-links a span { display: none; } .f-links { gap: 6px; } .f-links a { width: 34px; height: 34px; justify-content: center; } }
@media (max-width: 420px) { .f-brand { font-size: 18px; } #foot { padding-left: 14px; gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .look-icon i { animation: none; } }
.glow-donut { position: absolute; left: 3300px; top: 1470px; width: 580px; height: 320px; pointer-events: none; mix-blend-mode: screen; z-index: 300;
  background: radial-gradient(closest-side, rgba(255, 214, 160, .4), rgba(255, 190, 130, .12) 65%, transparent); }
.glow-door { position: absolute; left: 1950px; top: 1820px; width: 1280px; height: 760px; pointer-events: none; mix-blend-mode: screen; z-index: 301; opacity: 0; transition: opacity .5s;
  background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(255, 214, 160, .42), rgba(255, 180, 120, .12) 55%, transparent 80%); }
.night { position: absolute; left: 0; top: 0; width: 5164px; height: 2861px; pointer-events: none; mix-blend-mode: screen; z-index: 298; opacity: 0; }
.rim { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.plane { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; pointer-events: none; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* the tag that floats above the doors until they've been opened once */
.door-call { position: absolute; left: 0; top: 0; z-index: 8; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px;
  background: rgba(24, 10, 9, .78); border: 1px solid rgba(255, 150, 160, .55); box-shadow: 0 0 22px rgba(255, 110, 122, .45), inset 0 0 12px rgba(255, 110, 122, .15);
  color: var(--ink); font-size: 15px; letter-spacing: .03em; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .5s; }
.door-call b { color: #ffb3c4; font-weight: 600; }
.door-call.show { opacity: 1; animation: dcbob 1.6s ease-in-out infinite; }
.door-call::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg);
  background: rgba(24, 10, 9, .78); border-right: 1px solid rgba(255, 150, 160, .55); border-bottom: 1px solid rgba(255, 150, 160, .55); }
.dc-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff6f91; box-shadow: 0 0 10px #ff4d7a; animation: dcpulse 1.1s ease-in-out infinite; }
@keyframes dcpulse { 50% { transform: scale(1.5); opacity: .6; } }
@keyframes dcbob { 50% { margin-top: -6px; } }
@media (prefers-reduced-motion: reduce) { .door-call.show, .dc-dot { animation: none; } }

/* inside the studio: the way back out */
.studio-back { position: absolute; left: max(16px, env(safe-area-inset-left)); top: calc(max(14px, env(safe-area-inset-top)) + 58px); z-index: 11; display: flex; align-items: center; gap: 8px;
  padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(24, 10, 9, .72); border: 1px solid rgba(255, 150, 160, .45); color: var(--ink);
  font: inherit; font-size: 14px; letter-spacing: .03em; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 18px rgba(255, 110, 122, .25); animation: sbin .5s ease-out; }
.studio-back:hover { box-shadow: 0 0 24px rgba(255, 110, 122, .5); }
.studio-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sbin { from { opacity: 0; transform: translateY(-8px); } }
.studio-back[hidden] { display: none; }

/* ------------------------------------------------------------ Get in Touch options + forms (js/flows.js) */
.git-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 22px; }
.git-opt { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 4px; align-items: start; text-align: left;
  padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(255, 119, 129, .1), rgba(255, 255, 255, .02));
  color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; min-width: 0; }
.git-opt:hover, .git-opt:focus-visible { border-color: rgba(255, 119, 129, .6); background: linear-gradient(150deg, rgba(255, 119, 129, .2), rgba(255, 255, 255, .03)); transform: translateY(-2px); outline: none; }
.git-opt b { font-weight: 600; letter-spacing: .03em; font-size: 16px; }
.git-opt span { grid-column: 2; color: var(--ink-dim); font-size: 13.5px; line-height: 1.45; }
.git-ic { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 119, 129, .14) center/20px no-repeat; box-shadow: 0 0 14px rgba(255, 119, 129, .25); }
.ic-spark { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7781' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 3v5M12 16v5M3 12h5M16 12h5M6 6l3 3M15 15l3 3M18 6l-3 3M9 15l-3 3'/%3E%3C/svg%3E"); }
.ic-key { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7781' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8' cy='12' r='4'/%3E%3Cpath d='M12 12h9M18 12v3M21 12v2'/%3E%3C/svg%3E"); }
.ic-doc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7781' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E"); }
.ic-note { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7781' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9 18V5l11-2v13'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='17.5' cy='16' r='2.5'/%3E%3C/svg%3E"); }
.ic-star { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7781' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E"); }
.ic-lib { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7781' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 4v16M9 4v16M13 5l4 15M3 20h18'/%3E%3C/svg%3E"); }
.contact-list.small { font-size: 14px; gap: 6px; opacity: .85; }
.flow-back { appearance: none; border: 0; background: none; color: var(--neon-soft); font: inherit; font-size: 14px; letter-spacing: .04em; padding: 0; margin: 0 0 14px; cursor: pointer; }
.flow-back:hover { text-decoration: underline; }
.fl { display: grid; gap: 6px; }
.fl > span, .chip-field legend, .yn legend { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); }
.fl i { text-transform: none; letter-spacing: 0; font-style: normal; opacity: .7; }
.form input:focus, .form textarea:focus { outline: none; border-color: rgba(255, 119, 129, .7); box-shadow: 0 0 0 3px rgba(255, 119, 129, .15); }
.chip-field, .yn { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pick-chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.pick-chip[aria-pressed="true"] { border-color: rgba(255, 119, 129, .8); background: rgba(255, 119, 129, .2); box-shadow: 0 0 12px rgba(255, 119, 129, .25); }
.yn label { display: inline-flex; gap: 6px; align-items: center; margin: 8px 18px 0 0; font-size: 15px; }
.yn input, .agree input, .plain-all input { accent-color: #ff7781; width: 18px; height: 18px; }
.form-err { color: #ffb3b8; font-size: 14px; margin: 6px 0 0; }
.flow-done .big { font-size: 22px; color: var(--ink); }
@media (max-width: 560px) { .git-opts { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ the music submission */
#flow { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; }
#flow[hidden] { display: none; }
.flow-backdrop { position: absolute; inset: 0; background: rgba(10, 4, 4, .72); backdrop-filter: blur(6px); }
.flow-card { position: relative; width: min(780px, 100%); max-height: min(90vh, 920px); overflow: auto; padding: 30px 32px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 119, 129, .08); outline: none; }
.flow-card h2 { margin: 2px 0 14px; font-weight: 500; font-size: clamp(26px, 4.5vw, 36px); letter-spacing: .04em; text-transform: uppercase; color: #ffe6ea; text-shadow: var(--neon-glow); }
.flow-card p { color: var(--ink-dim); line-height: 1.6; margin: 0 0 14px; }
.flow-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--neon-soft) !important; margin: 0 !important; }
.flow-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
.flow-steps li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; letter-spacing: .05em; color: var(--ink-dim); padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--line); opacity: .6; }
.flow-steps li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 11px; }
.flow-steps li.on { opacity: 1; border-color: rgba(255, 119, 129, .6); color: var(--ink); }
.flow-steps li.on span, .flow-steps li.done span { background: #ff7781; color: #2a0f0f; }
.flow-steps li.done { opacity: .85; }
.flow-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.flow-prev { appearance: none; background: none; border: 0; color: var(--ink-dim); font: inherit; cursor: pointer; padding: 10px 4px; }
.flow-next { cursor: pointer; font: inherit; }
.drop { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 22px 16px; border: 1.5px dashed rgba(255, 119, 129, .45); border-radius: 14px; background: rgba(255, 119, 129, .05); cursor: pointer; }
.drop.over, .drop:focus-visible { background: rgba(255, 119, 129, .14); outline: none; border-color: #ff7781; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop span { color: var(--ink-dim); font-size: 14px; }
.drop-list { list-style: none; padding: 0; margin: 6px 0 0; font-size: 14px; display: grid; gap: 2px; }
.drop-list small { color: var(--ink-dim); }
.clauses { padding: 0; margin: 0 0 16px; list-style: none; display: grid; gap: 10px; }
.clause { position: relative; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .18); cursor: help; outline: none; }
.clause h4 { margin: 0 0 6px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.clause .legal { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 14.5px; color: var(--ink-dim); text-decoration: underline dotted rgba(255, 119, 129, .55); text-underline-offset: 4px; }
.explain { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease, margin .25s; }
.explain > p { overflow: hidden; margin: 0; font-size: 14px; color: var(--ink) !important; }
.explain > p + p { margin-top: 0; }
.explain { grid-template-rows: 0fr 0fr; }
.clause:hover .explain, .clause:focus .explain, .clause.open .explain, .clauses.all .explain { grid-template-rows: 1fr 1fr; margin-top: 10px; }
.clause:hover, .clause:focus, .clause.open { border-color: rgba(255, 119, 129, .55); background: rgba(255, 119, 129, .07); }
.explain b { color: var(--neon-soft); font-weight: 600; }
.plain-all, .agree { display: flex; gap: 10px; align-items: center; margin: 0 0 12px; font-size: 15px; color: var(--ink); }
.agree { padding: 12px 14px; border-radius: 12px; background: rgba(255, 119, 129, .08); border: 1px solid rgba(255, 119, 129, .3); }
.sig { position: relative; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); }
.sig canvas { display: block; width: 100%; aspect-ratio: 15 / 4; touch-action: none; cursor: crosshair; }
.sig-hint { position: absolute; left: 18px; bottom: 16px; color: var(--ink-dim); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 6px; width: 50%; }
.sig-clear { position: absolute; right: 10px; top: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--ink-dim); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.sig-date { margin: 0 !important; font-size: 14px; }
.review { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.review > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.review dt { color: var(--ink-dim); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.review dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.sig-img { display: block; max-width: 260px; background: rgba(0, 0, 0, .3); border-radius: 8px; margin-bottom: 4px; }
@media (max-width: 560px) { .flow-card { padding: 24px 18px 18px; } .review > div { grid-template-columns: 1fr; gap: 2px; } }

/* ------------------------------------------------------------ Our Work: the TV browser */
#tvb { position: absolute; inset: 0; z-index: 45; display: grid; place-items: center; }
#tvb[hidden] { display: none; }
.tvb-backdrop { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 8, 6, .75), rgba(5, 2, 2, .95)); }
/* the studio's TV, close up: the same coded set as on the studio wall, its screen holding the
   menu, so flying up onto the studio TV lands on the very same set (Chad). Bezel slices: 16 15 26 15 of 1714 x 736. */
.tvb-set { --ar: calc(335 / 762); --tw: 762; --tvw: min(96vw, 1480px, calc(86vh / var(--ar))); --u: calc(var(--tvw) / var(--tw)); position: relative; width: var(--tvw); height: calc(var(--tvw) * var(--ar)); box-sizing: border-box;
  /* (v105, Ivan) the coded set again, same as the one on the studio wall: dark bezel, rounded corners, a chin with the badge, power button and standby light */
  padding: calc(var(--u) * 9) calc(var(--u) * 9) calc(var(--u) * 24); border-radius: calc(var(--u) * 14);
  background: linear-gradient(180deg, #2c221e, #16110f 30%, #0e0a09); box-shadow: inset 0 0 0 1px rgba(255, 232, 222, .13), inset 0 1px 0 rgba(255, 240, 230, .2);
  transform-origin: 50% 50%; --glow: 0; }
/* its shadow and pink hover glow are box-shadows on pseudo-elements, not a CSS filter (a filter on this big scaling layer upset Android Chrome) */
@media (orientation: portrait) { .tvb-set { --ar: calc(363 / 605); --tw: 605; } } /* (v107, Ivan: exactly the wall TV's shape, 16:9 on portrait, so tapping it never swaps sets) */
.tvb-set::before, .tvb-set::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.tvb-set::before { box-shadow: 0 30px 60px rgba(0, 0, 0, .7); opacity: calc(1 - var(--glow)); }
.tvb-set::after { box-shadow: 0 0 22px 4px rgba(255, 119, 129, .95); opacity: var(--glow); }
/* (v108, Ivan: the pop-up looked darker than the TV on the wall) the studio's light on the set while it hangs there, as the scene draws it */
.tvb-lift { position: absolute; inset: 0; z-index: 9; border-radius: inherit; pointer-events: none; background: rgba(255, 190, 150, .09); opacity: 0; visibility: hidden; } /* (v110: plain alpha, no blend mode: blending a layer over the scrolling menu cost a lot of frame rate on phones) */
.tvb-chin { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--u) * 24); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.tvb-badge { font: 600 max(6px, calc(var(--u) * 8.2))/1 system-ui, sans-serif; letter-spacing: .38em; padding-left: .38em; color: rgba(255, 222, 212, .42); }
.tvb-btn { position: absolute; right: calc(var(--u) * 31); top: 50%; width: calc(var(--u) * 12); height: calc(var(--u) * 4.4); transform: translateY(-50%); border-radius: 99px; background: #231915; box-shadow: inset 0 0 0 1px rgba(255, 240, 230, .1); }
.tvb-led { position: absolute; right: calc(var(--u) * 18.6); top: 50%; width: max(4px, calc(var(--u) * 4.8)); height: max(4px, calc(var(--u) * 4.8)); transform: translateY(-50%); border-radius: 50%; background: #ff7781; box-shadow: 0 0 6px #ff7781; }
.tvb-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--u) * 4); background: #0b0606; outline: none; display: flex; flex-direction: column; }
.tvb-glass { background: /* (v109) the same coded reflection as the wall TV: soft warm glows down both edges and a wash along the top, plus a drifting sheen */
  linear-gradient(90deg, rgba(255, 214, 170, .18), rgba(255, 214, 170, .063) 7%, rgba(255, 214, 170, 0) 16%, rgba(255, 214, 170, 0) 84%, rgba(255, 214, 170, .063) 93%, rgba(255, 214, 170, .18)),
  linear-gradient(180deg, rgba(255, 226, 196, .1), rgba(255, 226, 196, 0) 35%); overflow: hidden; }
.tvb-glass::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 28%; transform: translateX(-200%) skewX(-28deg);
  background: linear-gradient(90deg, rgba(255, 240, 226, 0), rgba(255, 240, 226, .075), rgba(255, 240, 226, 0)); animation: tvb-sheen 9s linear infinite; will-change: transform; }
@keyframes tvb-sheen { 0% { transform: translateX(-200%) skewX(-28deg); } 62%, 100% { transform: translateX(520%) skewX(-28deg); } }
@media (prefers-reduced-motion: reduce) { .tvb-glass::after { display: none; } }
.tvb-glass { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.tvb-saver { position: absolute; inset: 0; z-index: 5; background-color: #0b0807; pointer-events: none; overflow: hidden; }
.tvb-tilt { position: relative; will-change: transform; }
/* the wake: the dark screen opens from a line across the middle (--o = half the open band); the line glows over it */
.tvb-saver { --o: 0%; -webkit-mask-image: linear-gradient(#000 calc(50% - var(--o)), transparent calc(50% - var(--o)), transparent calc(50% + var(--o)), #000 calc(50% + var(--o)));
  mask-image: linear-gradient(#000 calc(50% - var(--o)), transparent calc(50% - var(--o)), transparent calc(50% + var(--o)), #000 calc(50% + var(--o))); }
.tvb-wake { --o: 0%; position: absolute; left: 0; right: 0; top: calc(50% - var(--o) - 2px); height: calc(var(--o) * 2 + 4px); z-index: 7; pointer-events: none;
  background: linear-gradient(rgba(255, 236, 250, .55), rgba(255, 245, 252, .9) 50%, rgba(255, 236, 250, .55)); box-shadow: 0 0 18px 4px rgba(255, 220, 240, .55);
  mix-blend-mode: screen; opacity: 0; transform-origin: 50% 50%; }
#tvb:not(.booting) .tvb-saver { visibility: hidden; transition: visibility 0s .5s; }
#tvb .tvb-top, #tvb .tvb-scroll { transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
#tvb.booting .tvb-top, #tvb.booting .tvb-scroll { opacity: 0; transform: scale(1.02); }
#tvb.closing .tvb-top, #tvb.closing .tvb-scroll { transition-duration: .12s; }
.tvb-lines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .45)); mix-blend-mode: multiply; }
.tvb-ui { position: absolute; left: 0; right: 0; top: 0; width: var(--uiw, auto); height: var(--uih, 100%); display: flex; flex-direction: column; will-change: transform; } /* (v112: its own layer, painted once and scaled with the set; S24 flickered the title as it re-painted mid-zoom) */
.tvb-top { display: flex; align-items: center; gap: 18px; padding: 16px clamp(16px, 3vw, 40px); background: linear-gradient(rgba(12, 6, 6, .95), rgba(12, 6, 6, 0)); position: relative; z-index: 2; }
.tvb-brand { font-weight: 700; letter-spacing: .22em; color: #ff7781; text-shadow: 0 0 12px rgba(255, 119, 129, .6); font-size: clamp(16px, 2vw, 22px); }
.tvb-sec { color: var(--ink); letter-spacing: .08em; font-size: 15px; }
.tvb-x { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.tvb-x:hover { background: rgba(255, 119, 129, .2); }
.tvb-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding-bottom: 30px; scrollbar-width: thin; scrollbar-color: rgba(255, 119, 129, .4) transparent; }
.tvb-hero { padding: clamp(30px, 6vh, 70px) clamp(16px, 3vw, 40px) clamp(24px, 4vh, 44px); margin-top: -70px; padding-top: calc(70px + clamp(30px, 6vh, 70px));
  background: radial-gradient(90% 120% at 80% 20%, rgba(255, 119, 129, .35), transparent 60%), radial-gradient(60% 90% at 10% 100%, rgba(255, 170, 110, .18), transparent 70%), #160b09; }
.tvb-hero h3 { margin: 4px 0 8px; font-size: clamp(28px, 4.4vw, 56px); font-weight: 600; line-height: 1.05; color: #fff1f2; max-width: 16ch; text-wrap: balance; }
.tvb-hero p { color: var(--ink-dim); margin: 0 0 18px; }
.tvb-hero { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(250px, 48vh, 500px); display: flex; flex-direction: column; justify-content: flex-end; }
.tvb-hbg { position: absolute; inset: 0; z-index: -1; background: #160b09; }
.tvb-hbg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #160b09 0%, rgba(22, 11, 9, .82) 30%, rgba(22, 11, 9, .08) 72%), linear-gradient(0deg, #160b09 0%, rgba(22, 11, 9, 0) 45%), linear-gradient(rgba(12, 6, 6, .7), rgba(12, 6, 6, 0) 30%); }
.tvb-hl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; background: 70% 35% / cover no-repeat; animation: tvbDrift 14s ease-out both; }
@keyframes tvbDrift { from { transform: scale(1.12); } to { transform: scale(1); } }
.tvb-htxt { will-change: transform, opacity; }
.tvb-hctl { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tvb-dots { display: flex; gap: 6px; }
.tvb-dot { width: 18px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .35s cubic-bezier(.3, 1.6, .5, 1), background .3s; }
.tvb-dot.on { width: 34px; background: #ff7781; box-shadow: 0 0 8px rgba(255, 119, 129, .7); }
@media (orientation: portrait) { .tvb-hl { object-position: 60% 35%; background-position: 60% 35%; } .tvb-hbg::after { background: linear-gradient(0deg, #160b09 0%, rgba(22, 11, 9, .75) 45%, rgba(22, 11, 9, .1) 80%), linear-gradient(rgba(12, 6, 6, .7), rgba(12, 6, 6, 0) 30%); } }
.tvb-out { position: relative; display: grid; place-items: center; width: 100%; max-height: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000 center / cover no-repeat; text-decoration: none; overflow: hidden; }
.tvb-out::before { content: ''; position: absolute; inset: 0; background: rgba(10, 5, 4, .35); transition: background .2s; }
.tvb-out:hover::before { background: rgba(10, 5, 4, .15); }
.tvb-out span { position: relative; padding: 14px 26px; border-radius: 999px; background: #ff7781; color: #1a0b0a; font-weight: 700; font-size: clamp(15px, 1.8vw, 20px); box-shadow: 0 8px 30px rgba(0, 0, 0, .5); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.tvb-out:hover span { transform: scale(1.08); }
.tvb-k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #ff7781 !important; margin: 0; }
.tvb-play { cursor: pointer; font: inherit; }
.tvb-row { margin-top: 22px; }
.tvb-row h4 { margin: 0 clamp(16px, 3vw, 40px) 10px; font-size: clamp(15px, 1.5vw, 19px); font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.tvb-track-wrap { position: relative; }
.tvb-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 19vw, 280px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px clamp(16px, 3vw, 40px) 10px; scroll-padding: 0 clamp(16px, 3vw, 40px); scrollbar-width: none; }
.tvb-track::-webkit-scrollbar { display: none; }
.tv-tile { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .06); scroll-snap-align: start; cursor: pointer; overflow: hidden; color: var(--ink); text-align: left; padding: 0; font: inherit;
  transition: transform .45s cubic-bezier(.3, 1.7, .5, 1), box-shadow .25s ease, border-color .25s; }
.tv-tile:active { transform: scale(.96); transition-duration: .1s; }
.tv-tile:hover, .tv-tile:focus-visible { transform: scale(1.1); z-index: 1; box-shadow: 0 12px 30px rgba(0, 0, 0, .6), 0 0 0 2px rgba(255, 119, 129, .7); outline: none; }
.tv-cap { position: absolute; inset: auto 0 0 0; padding: 34px 10px 8px; background: linear-gradient(transparent, rgba(8, 3, 2, .7) 40%, rgba(8, 3, 2, .92)); display: grid; text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .4s cubic-bezier(.3, 1.7, .5, 1); } /* (v151: the art already has its title on it, so ours only shows on hover) */
.tv-tile:hover .tv-cap, .tv-tile:focus-visible .tv-cap, .tv-tile.ph .tv-cap { opacity: 1; transform: none; }
.tv-cap b { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-cap small { font-size: 12px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-soon { position: absolute; top: 8px; left: 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: rgba(0, 0, 0, .45); color: #ffc9cd; }
.tvb-arr { position: absolute; top: 12px; bottom: 10px; width: clamp(16px, 3vw, 40px); z-index: 2; border: 0; background: rgba(8, 3, 3, .55); color: #fff; font-size: 30px; cursor: pointer; opacity: 0; transition: opacity .2s; }
.tvb-arr.l { left: 0; } .tvb-arr.r { right: 0; }
.tvb-track-wrap:hover .tvb-arr { opacity: 1; }
.tvb-draft { margin: 26px clamp(16px, 3vw, 40px) 0; }
.tvb-player { position: absolute; inset: 0; z-index: 3; background: #050202; display: grid; grid-template-rows: auto 1fr auto; }
.tvb-player[hidden] { display: none; }
.tvb-back { justify-self: start; margin: 16px clamp(16px, 3vw, 40px); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: inherit; cursor: pointer; }
.tvb-media { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(16px, 3vw, 40px); }
.tvb-media iframe, .tvb-media video, .tvb-static { width: 100%; max-height: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }
.tvb-static { image-rendering: pixelated; opacity: .75; }
.tvb-nosig { position: absolute; font-size: clamp(18px, 2.4vw, 28px); letter-spacing: .3em; text-transform: uppercase; color: #fff; text-shadow: 0 0 10px #000, 0 0 2px #000; margin: 0; }
.tvb-meta { padding: 14px clamp(16px, 3vw, 40px) 22px; }
.tvb-meta h3 { margin: 4px 0; color: #fff1f2; font-size: clamp(20px, 2.4vw, 30px); }
.tvb-meta p { margin: 0; color: var(--ink-dim); }
@media (prefers-reduced-motion: reduce) { .tv-tile, .git-opt, .explain, .tv-cap, .tvb-dot { transition: none; } .tvb-hl { animation: none; } }

/* ---- layout mode (#edit): Ivan places things himself, then copies the layout to Claude */
body.editing #foot, body.editing #look { display: none !important; }
#ed { position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; width: min(560px, calc(100vw - 24px)); display: grid; gap: 8px;
  padding: 10px 12px; border-radius: 14px; background: rgba(22, 12, 12, .94); border: 1px solid rgba(255, 119, 129, .45); box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  color: #f4e9e6; font: 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#ed button { font: inherit; color: inherit; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; padding: 7px 10px; min-height: 34px; cursor: pointer; }
#ed button:hover { background: rgba(255, 255, 255, .13); }
#ed .ed-hi { background: #ff7781; border-color: #ff7781; color: #1b0d0d; font-weight: 600; }
#ed .ed-hi:hover { background: #ff8f97; }
.ed-top { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.ed-name { color: #ffa3ab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-info { color: rgba(244, 233, 230, .6); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
#ed .ed-min { margin-left: auto; padding: 2px 10px; min-height: 26px; }
.ed-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-sel.off { opacity: .35; pointer-events: none; }
.ed-hidden { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: rgba(244, 233, 230, .6); }
.ed-hidden:empty { display: none; }
#ed .ed-hidden button { padding: 3px 8px; min-height: 26px; }
.ed-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); grid-auto-rows: max-content; gap: 6px; max-height: 38vh; overflow-y: auto; }
.ed-lib[hidden] { display: none; }
#ed .ed-lib button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; height: auto; }
.ed-lib img { display: block; width: 100%; height: 64px; object-fit: contain; flex: none; }
.ed-lib span { font-size: 11px; text-align: center; }
#ed.min > :not(.ed-top) { display: none; }
#ed.paused > :not(.ed-top):not(.ed-main) { display: none; } /* (v180: by name; the brightness row took the third place and hid Edit) */
#ed-box, #ed-hov { position: fixed; z-index: 55; pointer-events: none; border-radius: 6px; }
#ed-box { border: 2px solid #ff7781; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 18px rgba(255, 119, 129, .45); }
#ed-hov { border: 1.5px dashed rgba(255, 220, 210, .7); }
#ed-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .55); }
#ed-modal[hidden] { display: none; }
.ed-card { width: min(560px, 100%); display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: #1c0f0f; border: 1px solid rgba(255, 119, 129, .45); color: #f4e9e6; font: 14px/1.4 system-ui, sans-serif; }
.ed-card p { margin: 0; color: rgba(244, 233, 230, .75); }
.ed-card textarea { width: 100%; min-height: 220px; resize: vertical; box-sizing: border-box; padding: 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .15); background: #110808; color: #f4e9e6; font: 12px/1.45 ui-monospace, Menlo, Consolas, monospace; }
.ed-card button { font: inherit; color: inherit; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
.ed-card .ed-hi { background: #ff7781; border-color: #ff7781; color: #1b0d0d; font-weight: 600; }
body.editing #hint { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 150px); }
.dir-edit { margin: 18px 0 0; text-align: center; }
.dir-edit button { font: inherit; font-size: 13px; color: var(--ink-dim); background: none; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 999px; padding: 8px 16px; cursor: pointer; }

/* (v127) the loading donut: Ivan's neon donut sign, spinning; the same donut waits on the studio doors if you get there before the studio has loaded */
.loader-donut { display: block; width: min(150px, 34vw); height: auto; margin: 0 auto; filter: drop-shadow(0 0 18px rgba(255, 119, 129, .55)); animation: donutSpin 1.6s cubic-bezier(.5, 0, .3, 1) infinite, donutGlow 2.4s ease-in-out infinite; }
@keyframes donutSpin { 0% { transform: rotate(0) scale(1); } 45% { transform: rotate(200deg) scale(1.06); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes donutGlow { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
.door-spin { position: absolute; left: 0; top: 0; z-index: 8; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.door-spin.show { opacity: 1; }
.door-spin img { display: block; width: clamp(56px, 7vw, 96px); height: auto; filter: drop-shadow(0 0 14px rgba(255, 119, 129, .6)); animation: donutSpin 1.6s cubic-bezier(.5, 0, .3, 1) infinite; }
@media (prefers-reduced-motion: reduce) { .loader-donut, .door-spin img { animation-duration: 6s; } }

/* (v137) layout mode: see the site at a phone's or tablet's size */
body.devview { background: #08090b; }
body.devview #app { inset: auto; left: 50%; top: 50%; width: var(--dw); height: var(--dh); transform: translate(-50%, -50%) scale(var(--dk, 1)); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 10px #1c1c20, 0 0 0 11px #3a3a40, 0 20px 60px rgba(0, 0, 0, .6); }
#ed .ed-dev { align-items: center; }
#ed .ed-lbl { opacity: .7; margin-right: 2px; }
#ed .ed-dev button.on { border-color: #ff7781; color: #ffa3ab; }
/* (v179) layout mode: brightness with the lights on and off */
#ed .ed-tone { align-items: center; gap: 10px; }
#ed .ed-tone label { display: flex; align-items: center; gap: 6px; flex: 1 1 140px; min-width: 0; }
#ed .ed-tone input[type=range] { flex: 1; min-width: 60px; accent-color: #ff7781; }
#ed .ed-tone i { font-style: normal; font-variant-numeric: tabular-nums; width: 2.4em; text-align: right; opacity: .8; }
#ed .ed-tone input:disabled { opacity: .35; }
#ed .ed-pot[hidden], #ed .ed-rug[hidden] { display: none; }

/* (v199, Ivan) screensaver: the HUD fades away while the camera drifts, and comes straight back on any input */
#chrome, #foot, #hint, .edge, #look, .badge { transition: opacity .35s ease; }
.ss-idle #chrome, .ss-idle #foot, .ss-idle #hint, .ss-idle .edge, .ss-idle #look, .ss-idle .badge, .ss-idle .door-call { opacity: 0 !important; pointer-events: none; transition: opacity 2.5s ease; }
#btn-full .off { display: none; }
#btn-full[aria-pressed="true"] .on { display: none; }
#btn-full[aria-pressed="true"] .off { display: block; }
#ed .ed-top { cursor: move; touch-action: none; user-select: none; }
#ed .ed-grip { opacity: .45; margin-right: 6px; }
#ed .ed-pan.on { background: #ff7781; border-color: #ff7781; color: #1b0d0d; font-weight: 600; }
body.editing.ed-panning #viewport { cursor: grab; }
body.editing.ed-panning #viewport:active { cursor: grabbing; }

/* tap dots (v263): what opens a section. Seen ones go to a soft ring but stay */
.tap-dots { position: fixed; inset: 0; pointer-events: none; z-index: 9; }
.tap-dot { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; pointer-events: none; opacity: 0; transition: opacity .35s; -webkit-tap-highlight-color: transparent; }
.tap-dot.on { pointer-events: auto; opacity: 1; }
.tap-dot i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #ff7781; border: 2px solid #ffe3e8; box-shadow: 0 0 10px rgba(255, 119, 129, .9), 0 0 24px rgba(255, 119, 129, .5); transition: transform .2s, background .3s, box-shadow .3s; }
.tap-dot i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 119, 129, .7); animation: tap-ping 2.4s ease-out infinite; }
.tap-dot:hover i, .tap-dot:focus-visible i { transform: scale(1.3); }
.tap-dot:focus-visible { outline: none; }
.ss-idle .tap-dot.on { opacity: .55; }
@keyframes tap-ping { 0% { transform: scale(.5); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tap-dot i::after { animation: none; opacity: 0; } }
