:root {
  --ink: #0a0909;
  --ink-soft: #151212;
  --paper: #eee9df;
  --muted: #a8a198;
  --red: #ff533f;
  --red-deep: #8f211c;
  --cyan: #79d9e7;
  --line: rgba(238, 233, 223, .16);
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); overflow: hidden; }
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button:disabled { cursor: not-allowed; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--red); color: var(--ink); }

.site-root { height: 100svh; overflow: hidden; background: var(--ink); }
.site-header {
  position: fixed; inset: 0 0 auto; height: 74px; z-index: 50; display: flex;
  align-items: center; padding: 0 clamp(18px, 3.3vw, 56px); pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand-button { border: 0; padding: 0; background: transparent; cursor: pointer; justify-self: start; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-rune { width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.34); border-radius: 9px; display: flex; align-items: center; justify-content: center; transform: rotate(-3deg); background: rgba(10,9,9,.22); backdrop-filter: blur(7px); }
.brand-rune i { font: 900 14px/1 var(--display); font-style: normal; letter-spacing: -.12em; }
.brand-rune b { color: var(--red); font: 900 28px/.7 Georgia, serif; transform: rotate(6deg); margin: 0 -1px; }
.brand-name { font: 800 14px/1 var(--display); letter-spacing: .17em; }
.brand-name strong { color: var(--red); }

.news-signal { position: fixed; z-index: 44; top: 75px; left: 50%; transform: translateX(-50%); width: min(760px, calc(100% - 150px)); height: 39px; border: 1px solid rgba(255,83,63,.55); border-radius: 12px; background: rgba(18,13,13,.9); backdrop-filter: blur(14px); display: grid; grid-template-columns: auto minmax(0, 1fr); overflow: hidden; box-shadow: 0 16px 50px rgba(0,0,0,.35); }
.news-signal > b { position: relative; z-index: 1; display: grid; place-items: center; background: var(--red); color: #110d0c; padding: 0 16px; text-transform: uppercase; font: 900 9px/1 var(--display); letter-spacing: .16em; }
.news-marquee { min-width: 0; overflow: hidden; }
.news-track { display: flex; width: max-content; height: 100%; white-space: nowrap; animation: newsFlow var(--news-duration, 18s) linear infinite; will-change: transform; text-transform: uppercase; font: 700 10px/1 var(--display); letter-spacing: .11em; }
.news-group, .news-item { display: flex; flex: none; align-items: center; }
.news-item { gap: 28px; padding-left: 28px; }
.news-signal i { color: var(--red); font-style: normal; }
@keyframes newsFlow { to { transform: translate3d(-50%, 0, 0); } }

.scene-nav { position: fixed; z-index: 42; right: clamp(18px, 2.8vw, 44px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 17px; }
.scene-nav button { position: relative; width: 76px; height: 16px; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.scene-nav i { width: 20px; height: 1px; background: rgba(255,255,255,.32); transition: .35s; }
.scene-nav span { position: absolute; right: 30px; color: rgba(255,255,255,.56); opacity: 0; transform: translateX(7px); transition: .25s; text-transform: uppercase; letter-spacing: .14em; font-size: 8px; white-space: nowrap; }
.scene-nav button:hover span, .scene-nav button:focus-visible span, .scene-nav button.is-active span { opacity: 1; transform: none; }
.scene-nav button.is-active i { width: 34px; background: var(--red); box-shadow: 0 0 12px rgba(255,83,63,.6); }

.scene-viewport { height: 100svh; width: 100%; overflow: hidden; }
.scene-track { height: 300svh; transform: translate3d(0, calc(var(--scene) * -100svh), 0); transition: transform .88s cubic-bezier(.72, 0, .16, 1); }
.scene { height: 100svh; width: 100%; position: relative; overflow: hidden; isolation: isolate; }
.scene::after { content: ""; position: absolute; z-index: 30; inset: 10px; border: 1px solid rgba(255,255,255,.11); border-radius: 17px; pointer-events: none; }

.hero-scene { display: flex; align-items: center; background: #160f0e; }
.hero-photo { position: absolute; inset: 0; background: url("/serji-stage.png") 63% 46% / cover no-repeat; filter: saturate(.85) contrast(1.08); transform: scale(1.015); animation: heroEnter 1.4s ease both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,6,6,.98) 0%, rgba(7,6,6,.78) 31%, rgba(7,6,6,.1) 68%, rgba(7,6,6,.45) 100%), linear-gradient(0deg, rgba(7,6,6,.77), transparent 45%); }
.hero-copy { position: relative; z-index: 2; padding: 92px clamp(28px, 7vw, 112px) 90px; width: min(750px, 59vw); }
.eyebrow { display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .24em; font-size: 10px; margin: 0 0 20px 4px; color: rgba(255,255,255,.73); animation: rise .8s .12s both; }
.eyebrow i { width: 40px; height: 1px; background: var(--red); }
.hero-copy h1 { margin: 0; font: 900 clamp(76px, 11.2vw, 178px)/.77 var(--display); letter-spacing: -.085em; text-transform: uppercase; animation: rise .9s .22s both; }
.hero-copy h1 span, .hero-copy h1 strong { display: block; }
.hero-copy h1 strong { color: transparent; -webkit-text-stroke: 1.5px var(--red); font-size: 1.08em; }
.hero-tagline { margin: 14px 0 27px 6px; font: italic 500 clamp(20px, 2.3vw, 34px)/1 Georgia, serif; color: #d7d0c7; animation: rise .9s .32s both; }
.listen-button { border: 0; background: transparent; display: flex; align-items: center; gap: 14px; padding: 4px; cursor: pointer; animation: rise .9s .4s both; }
.listen-button > span:last-child { text-align: left; font: 800 13px/1.2 var(--display); letter-spacing: .11em; text-transform: uppercase; }
.listen-button small { display: block; color: var(--muted); font: 500 8px/1.7 var(--body); letter-spacing: .2em; }
.play-orbit { position: relative; width: 52px; height: 52px; border: 1px solid var(--red); border-radius: 50%; transition: .3s; }
.play-orbit::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(255,255,255,.26); border-radius: 50%; }
.play-orbit i { position: absolute; left: 21px; top: 16px; border-left: 12px solid var(--paper); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.listen-button:hover .play-orbit { background: var(--red); transform: rotate(25deg) scale(1.06); }
.next-scene { position: absolute; z-index: 3; left: 50%; bottom: 25px; transform: translateX(-50%); border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .2em; font-size: 7px; cursor: pointer; }
.next-scene i { width: 1px; height: 34px; background: linear-gradient(var(--red) 50%, rgba(255,255,255,.22) 50%); background-size: 100% 200%; animation: cue 1.8s linear infinite; }
@keyframes heroEnter { from { opacity: .25; transform: scale(1.08); filter: saturate(.25) contrast(1.18); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes cue { to { background-position: 0 -200%; } }

.music-scene { background: #d8d1c6; color: var(--ink); display: grid; grid-template-columns: minmax(320px, 44%) 1fr; gap: clamp(34px, 6vw, 110px); padding: 88px clamp(70px, 7vw, 112px) 62px; align-items: center; }
.music-scene::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4; background: radial-gradient(circle at 80% 10%, #fff 0 10%, transparent 38%), repeating-linear-gradient(90deg, transparent 0 89px, rgba(0,0,0,.025) 90px); }
.music-art { position: relative; width: 100%; max-height: calc(100svh - 150px); aspect-ratio: 1 / 1; border-radius: 17px; background-position: center; background-size: cover; overflow: hidden; box-shadow: 0 28px 80px rgba(35,25,22,.25); transition: background-image .45s ease; }
.music-art::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.45); border-radius: 11px; z-index: 2; }
.art-tone { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,6,6,.1), rgba(7,6,6,.62)); }
.art-wordmark { position: absolute; z-index: 3; left: 8%; bottom: 8%; color: white; font: 900 clamp(26px, 3.1vw, 52px)/.9 var(--display); letter-spacing: -.04em; }
.art-wordmark::after { content: ""; display: block; width: 42%; height: 3px; background: var(--red); margin-top: 9px; }
.art-track-name { position: absolute; z-index: 3; top: 7%; right: 7%; writing-mode: vertical-rl; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .2em; font-size: 8px; }
.music-copy { min-width: 0; max-height: calc(100svh - 130px); overflow: auto; padding: 16px 24px 16px 0; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.3) transparent; }
.music-copy h2 { margin: 0; font: 900 clamp(44px, 5.3vw, 84px)/.83 var(--display); letter-spacing: -.065em; text-transform: uppercase; }
.music-copy h2 em { color: var(--red-deep); font: italic 500 .7em/1 Georgia, serif; text-transform: none; letter-spacing: -.04em; }
.music-intro { max-width: 570px; margin: 22px 0 20px; color: #4f4944; font-size: clamp(13px, 1.15vw, 16px); line-height: 1.55; }
.track-list { border-top: 1px solid rgba(0,0,0,.22); }
.track-row { width: 100%; height: 53px; padding: 5px 3px; border: 0; border-bottom: 1px solid rgba(0,0,0,.14); background: transparent; display: grid; grid-template-columns: 39px 25px 23px 1fr auto 42px; align-items: center; text-align: left; cursor: pointer; transition: .22s; }
.track-row:hover, .track-row.is-current { background: rgba(255,255,255,.42); padding-left: 7px; }
.track-thumb { width: 32px; height: 32px; border-radius: 7px; background: center/cover; filter: saturate(.7); }
.track-number { font: 700 9px/1 var(--display); color: #6d665f; }
.row-play { font-size: 8px; color: var(--red-deep); }
.track-title { font: 900 14px/1 var(--display); text-transform: uppercase; letter-spacing: .025em; }
.track-title small { display: block; color: #766e67; font: 500 8px/1.6 var(--body); letter-spacing: .1em; text-transform: none; }
.heard { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--red-deep); color: white; font-size: 9px; margin-right: 8px; }
.track-duration { font: 600 9px/1 var(--display); color: #726a64; justify-self: end; }
.all-songs-button { margin-top: 13px; border: 0; border-bottom: 1px solid #322d29; background: transparent; padding: 7px 0; cursor: pointer; font: 800 10px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.all-songs-button span { color: var(--red-deep); margin-left: 9px; }

.story-scene { background: #0b0a0a; display: grid; grid-template-columns: minmax(390px, .9fr) 1.1fr; padding: 88px clamp(60px, 7vw, 112px) 54px; }
.story-scene::before { content: "SERJI SHU"; position: absolute; z-index: -1; left: 4%; top: 43%; transform: translateY(-50%); color: rgba(255,255,255,.025); font: 900 19vw/.7 var(--display); letter-spacing: -.1em; white-space: nowrap; }
.story-glow { position: absolute; z-index: -1; right: 0; inset-block: 0; width: 60%; background: radial-gradient(circle at 64% 42%, rgba(255,83,63,.2), transparent 46%); }
.story-copy { position: relative; z-index: 3; align-self: center; max-width: 580px; padding-bottom: 48px; }
.story-copy h2 { margin: 0 0 33px; font: 900 clamp(66px, 7.7vw, 120px)/.78 var(--display); letter-spacing: -.075em; text-transform: uppercase; }
.story-copy h2 em { color: transparent; -webkit-text-stroke: 1px var(--red); font-style: normal; }
.story-copy > p { max-width: 530px; font-size: clamp(14px, 1.24vw, 18px); line-height: 1.6; color: #b9b2a9; }
.story-copy .story-lead { color: var(--paper); font-size: clamp(17px, 1.55vw, 23px); line-height: 1.4; }
.story-message { margin-top: 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: transparent; padding: 14px 18px; cursor: pointer; text-transform: uppercase; letter-spacing: .14em; font-size: 9px; transition: .25s; }
.story-message span { color: var(--red); margin-left: 12px; }
.story-message:hover { background: var(--paper); color: var(--ink); }
.story-copy footer { position: absolute; left: 0; bottom: -27px; display: flex; gap: 22px; align-items: center; color: #655f59; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.story-copy footer button { border: 0; border-bottom: 1px solid #4c4641; background: transparent; padding: 3px 0; cursor: pointer; color: #8c847c; }
.story-portrait { align-self: end; height: calc(100svh - 70px); margin-bottom: -54px; background: url("/serji-portrait-v2.png") center bottom / contain no-repeat; filter: contrast(1.03) saturate(.88); position: relative; z-index: 2; }

.music-player { position: fixed; z-index: 70; left: 18px; bottom: 16px; width: 288px; transition: width .3s; }
.music-player.is-open { width: min(388px, calc(100vw - 36px)); }
.player-collapsed { width: 100%; height: 64px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(16,13,13,.92); backdrop-filter: blur(17px); box-shadow: 0 18px 55px rgba(0,0,0,.36); display: grid; grid-template-columns: 47px 1fr 30px; align-items: center; gap: 11px; padding: 8px; text-align: left; cursor: pointer; }
.mini-cover { width: 46px; height: 46px; border-radius: 10px; background: center/cover; position: relative; overflow: hidden; }
.mini-cover::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.mini-cover i { position: absolute; z-index: 2; left: 19px; top: 15px; border-left: 10px solid white; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.player-collapsed small, .now-playing small { display: block; color: var(--red); text-transform: uppercase; letter-spacing: .16em; font-size: 7px; margin-bottom: 4px; }
.player-collapsed b { font: 800 13px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.mini-wave { display: flex; align-items: center; justify-content: center; gap: 2px; height: 24px; }
.mini-wave i { width: 2px; height: 7px; background: #777; }
.mini-wave.is-active i { background: var(--red); animation: miniWave .7s ease-in-out infinite alternate; }
.mini-wave i:nth-child(2) { animation-delay: -.2s; height: 13px; }
.mini-wave i:nth-child(3) { animation-delay: -.4s; height: 18px; }
.mini-wave i:nth-child(4) { animation-delay: -.1s; height: 10px; }
@keyframes miniWave { to { transform: scaleY(.3); } }
.player-panel { border: 1px solid rgba(255,255,255,.18); border-radius: 18px; overflow: hidden; background: rgba(14,12,12,.97); backdrop-filter: blur(22px); box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.player-topline { height: 38px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 14px; text-transform: uppercase; letter-spacing: .18em; font: 700 8px/1 var(--display); color: #746e68; }
.player-topline button { border: 0; background: transparent; color: #aaa39b; font-size: 20px; cursor: pointer; }
.now-playing { display: grid; grid-template-columns: 66px 1fr; gap: 13px; align-items: center; padding: 14px; }
.player-cover { width: 66px; height: 66px; border-radius: 11px; background: center/cover; overflow: hidden; position: relative; }
.player-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.player-cover span { position: absolute; z-index: 2; left: 6px; bottom: 5px; color: white; font: 800 7px/1 var(--display); letter-spacing: .05em; }
.now-playing h3 { margin: 0; font: 900 19px/1 var(--display); text-transform: uppercase; }
.now-playing p { margin: 4px 0 0; color: #77716b; font-size: 9px; }
.waveform { height: 34px; margin: 0 14px; display: flex; align-items: center; gap: 3px; }
.waveform i { flex: 1; min-height: 3px; background: #3c3734; border-radius: 2px; }
.waveform.is-active i { background: var(--red); animation: wave 1s ease-in-out infinite alternate; }
@keyframes wave { to { transform: scaleY(.35); opacity: .55; } }
.progress-row { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 8px; padding: 2px 14px 8px; color: #77706a; font-size: 8px; }
.progress-row span:last-child { text-align: right; }
input[type="range"] { appearance: none; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red) var(--progress, 0%), #3e3936 var(--progress, 0%)); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); }
.player-controls { display: grid; grid-template-columns: 42px 54px 42px 1fr; align-items: center; justify-content: center; gap: 7px; padding: 2px 14px 12px; }
.player-controls > button { height: 38px; border: 0; background: transparent; font-size: 26px; cursor: pointer; }
.player-controls .main-play { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: white; font-size: 15px; }
.volume { display: flex; align-items: center; gap: 7px; color: #6f6963; font-size: 12px; }
.volume input { width: 100%; }
.playlist-tabs { display: flex; border-block: 1px solid var(--line); padding: 0 14px; }
.playlist-tabs button { flex: 1; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 10px 3px 8px; cursor: pointer; color: #6f6963; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; }
.playlist-tabs button.is-active { border-color: var(--red); color: white; }
.mini-tracklist { max-height: 151px; overflow: auto; }
.mini-tracklist button { width: 100%; height: 37px; padding: 0 14px; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); background: transparent; display: grid; grid-template-columns: 25px 1fr auto 28px; align-items: center; text-align: left; cursor: pointer; }
.mini-tracklist button:hover, .mini-tracklist button.is-current { background: rgba(255,255,255,.05); }
.mini-tracklist span { color: var(--red); font-size: 8px; }
.mini-tracklist b { font: 700 10px/1 var(--display); text-transform: uppercase; }
.mini-tracklist i { color: var(--cyan); font-size: 9px; }
.mini-tracklist small { color: #6e6862; font-size: 8px; text-align: right; }
.memory-note { margin: 0; padding: 10px 14px; color: #5f5954; font-size: 7px; letter-spacing: .04em; }
.memory-note span { color: var(--cyan); }

.chat-fab { position: fixed; z-index: 82; right: 18px; bottom: 16px; width: 104px; height: 54px; border: 1px solid rgba(255,255,255,.24); border-radius: 15px; background: rgba(16,13,13,.93); backdrop-filter: blur(17px); display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; box-shadow: 0 18px 55px rgba(0,0,0,.35); }
.chat-fab.is-active { background: var(--paper); color: var(--ink); }
.chat-icon { color: var(--red); font: 900 16px/1 var(--display); letter-spacing: .05em; }
.chat-fab small { text-transform: uppercase; letter-spacing: .12em; font-size: 7px; }
.chat-panel { position: fixed; z-index: 80; right: 18px; bottom: 80px; width: min(380px, calc(100vw - 36px)); max-height: calc(100svh - 98px); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; overflow: hidden; background: rgba(16,13,13,.98); box-shadow: 0 25px 90px rgba(0,0,0,.56); transform: translateY(22px) scale(.96); transform-origin: bottom right; opacity: 0; pointer-events: none; transition: .3s; }
.chat-panel.is-open { transform: none; opacity: 1; pointer-events: auto; }
.chat-header { height: 66px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr 32px; align-items: center; gap: 10px; padding: 0 13px; }
.chat-avatar { width: 38px; height: 38px; border-radius: 11px; background: var(--red-deep); display: grid; place-items: center; font: 900 10px/1 var(--display); position: relative; }
.chat-avatar span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #6ee7a7; right: -2px; bottom: -2px; border: 2px solid #161313; }
.chat-header b { display: block; font: 800 12px/1.2 var(--display); text-transform: uppercase; }
.chat-header small { display: block; color: #7b746e; font-size: 8px; margin-top: 4px; }
.chat-header small i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #6ee7a7; margin-right: 4px; }
.chat-header > button { border: 0; background: transparent; color: #8d857e; font-size: 21px; cursor: pointer; }
.chat-body { max-height: calc(100svh - 165px); overflow: auto; padding: 14px; }
.chat-bubble { width: 88%; background: #252120; border-radius: 12px 12px 12px 3px; padding: 12px 13px 8px; color: #d1cac2; font-size: 11px; line-height: 1.45; }
.chat-bubble time { display: block; color: #665f5a; text-align: right; font-size: 7px; margin-top: 5px; }
.chat-form { display: grid; gap: 10px; margin-top: 14px; }
.chat-form > label:not(.consent), .studio-card form > label:not(.studio-toggle) { display: grid; gap: 5px; color: #8d857e; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.chat-form input, .chat-form textarea { width: 100%; border: 1px solid #35302e; border-radius: 10px; background: #1b1817; color: white; padding: 10px 11px; resize: none; font-size: 11px; text-transform: none; letter-spacing: 0; }
.honey { position: absolute; left: -9999px; }
.consent { display: flex; align-items: flex-start; gap: 8px; color: #756e68; font-size: 8px; line-height: 1.4; }
.consent input { width: 13px; margin: 1px 0 0; }
.consent button { border: 0; border-bottom: 1px solid #665f59; background: transparent; padding: 0; color: #a49d95; cursor: pointer; }
.send-button, .chat-success button { border: 0; border-radius: 10px; background: var(--red); color: white; min-height: 42px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font: 800 9px/1 var(--display); }
.send-button:disabled { opacity: .55; }
.form-status { color: #ff9b8f; font-size: 9px; margin: 0; }
.chat-success { text-align: center; padding: 28px 12px 12px; }
.chat-success > span { display: grid; place-items: center; margin: 0 auto 10px; width: 38px; height: 38px; border-radius: 50%; background: #1c583c; color: #79e6ac; }
.chat-success h3 { margin: 0; font: 900 20px/1 var(--display); text-transform: uppercase; }
.chat-success p { color: #8d857e; font-size: 10px; line-height: 1.5; }
.chat-success button { width: 100%; justify-content: center; margin-top: 15px; }

.privacy-overlay { position: fixed; z-index: 100; inset: 0; padding: 18px; background: rgba(0,0,0,.8); backdrop-filter: blur(14px); display: grid; place-items: center; }
.privacy-backdrop { position: absolute; inset: 0; border: 0; background: transparent; cursor: default; }
.privacy-modal { position: relative; z-index: 1; width: min(960px, 100%); max-height: calc(100svh - 36px); overflow: auto; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; background: #151212; padding: clamp(26px, 5vw, 62px); }
.privacy-close { position: absolute; top: 16px; right: 18px; border: 0; background: transparent; color: #968e87; font-size: 25px; cursor: pointer; }
.privacy-label { color: var(--red); text-transform: uppercase; letter-spacing: .18em; font-size: 8px; }
.privacy-modal h2 { margin: 12px 0 22px; font: 900 clamp(40px, 6vw, 74px)/.82 var(--display); letter-spacing: -.06em; text-transform: uppercase; }
.privacy-modal h2 em { color: var(--red); font: italic 500 .7em/1 Georgia, serif; text-transform: none; }
.privacy-intro { max-width: 690px; color: #afa8a0; line-height: 1.6; font-size: 13px; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 28px; }
.privacy-grid section { background: #151212; padding: 20px; }
.privacy-grid span { color: var(--red); font-size: 8px; }
.privacy-grid h3 { font: 800 12px/1 var(--display); text-transform: uppercase; letter-spacing: .07em; }
.privacy-grid p, .privacy-operator { color: #878079; font-size: 10px; line-height: 1.55; }
.privacy-operator { margin: 22px 0; }
.privacy-accept { border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); padding: 13px 18px; cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font: 800 9px/1 var(--display); }

.studio-shell { height: 100svh; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: radial-gradient(circle at 80% 10%, #3e1613 0, transparent 34%), #0b0909; display: grid; place-items: start center; padding: 90px 20px 40px; color: var(--paper); }
.studio-shell::after { content: ""; position: fixed; inset: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; pointer-events: none; }
.studio-brand { position: fixed; z-index: 2; left: 34px; top: 27px; display: flex; align-items: center; gap: 11px; color: white; text-decoration: none; }
.studio-brand span { width: 39px; height: 39px; border: 1px solid #68615c; border-radius: 9px; display: grid; place-items: center; color: var(--red); font: 900 11px/1 var(--display); }
.studio-brand b { font: 800 13px/1 var(--display); letter-spacing: .15em; }
.studio-card { width: min(650px, 100%); margin-block: auto; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(20,17,17,.86); backdrop-filter: blur(20px); box-shadow: 0 35px 100px rgba(0,0,0,.5); padding: clamp(27px, 5vw, 60px); }
.studio-card h1 { margin: 8px 0 23px; font: 900 clamp(46px, 7vw, 80px)/.82 var(--display); letter-spacing: -.06em; text-transform: uppercase; }
.studio-card h1 em { color: var(--red); font: italic 500 .72em/1 Georgia, serif; text-transform: none; }
.studio-card > p, .studio-login > p { color: #978f88; line-height: 1.55; font-size: 12px; max-width: 470px; }
.studio-card .studio-kicker { color: var(--red); text-transform: uppercase; letter-spacing: .19em; font-size: 8px; }
.studio-card form { display: grid; gap: 16px; margin-top: 26px; }
.studio-card input:not([type="checkbox"]), .studio-card textarea { width: 100%; border: 1px solid #3d3734; border-radius: 11px; background: #181514; color: white; padding: 13px 14px; resize: vertical; text-transform: none; letter-spacing: 0; font-size: 13px; }
.studio-card label small { justify-self: end; color: #655e58; font-size: 8px; }
.studio-card form > button { border: 0; border-radius: 11px; background: var(--red); color: white; padding: 14px 18px; cursor: pointer; text-transform: uppercase; letter-spacing: .13em; font: 800 10px/1 var(--display); }
.studio-card form > button:disabled { opacity: .55; }
.studio-titlebar { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.studio-logout { border: 1px solid #4b4440; border-radius: 9px; background: transparent; color: #8d857e; padding: 9px 12px; cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; }
.studio-toggle { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.studio-toggle input { position: absolute; opacity: 0; }
.studio-toggle > span { width: 46px; height: 25px; border-radius: 20px; background: #34302e; padding: 3px; transition: .25s; }
.studio-toggle > span::after { content: ""; display: block; width: 19px; height: 19px; border-radius: 50%; background: #77706a; transition: .25s; }
.studio-toggle input:checked + span { background: var(--red-deep); }
.studio-toggle input:checked + span::after { transform: translateX(21px); background: var(--paper); }
.studio-toggle b { font: 800 10px/1 var(--display); text-transform: uppercase; letter-spacing: .11em; }
.studio-preview { border: 1px solid #393431; border-radius: 11px; padding: 14px; opacity: .55; }
.studio-preview.is-on { border-color: rgba(255,83,63,.5); opacity: 1; }
.studio-preview span { color: var(--red); text-transform: uppercase; letter-spacing: .16em; font-size: 7px; }
.studio-preview p { margin: 7px 0 0; color: #c0b8af; font-size: 11px; }
.studio-status { margin: 0; color: var(--cyan) !important; font-size: 10px !important; }
.studio-status.is-error { color: #ff9f94 !important; }
.studio-link { display: inline-block; border-bottom: 1px solid var(--red); color: var(--paper); text-decoration: none; padding: 6px 0; font: 800 10px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.studio-link.secondary { border-color: #5c5550; color: #8f8780; }
.setup-card { width: min(780px, 100%); }
.setup-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.setup-grid label { min-width: 0; }
.setup-rule { width: 100%; height: 1px; border: 0; background: var(--line); margin: 3px 0; }
.setup-error { border: 1px solid rgba(255,83,63,.5); border-radius: 10px; background: rgba(143,33,28,.2); padding: 12px 14px; color: #ffaaa0 !important; }
.setup-note { margin: 17px 0 0; color: #69625d !important; font-size: 9px !important; }
.studio-dashboard { width: min(1080px, 100%); max-width: 1080px; padding: clamp(25px, 4vw, 48px); }
.studio-dashboard > .studio-titlebar h1 { margin-bottom: 10px; }
.studio-logout-form { margin: 0 !important; }
.studio-section { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 28px; }
.studio-section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.studio-section-title span { color: var(--red); text-transform: uppercase; letter-spacing: .18em; font-size: 8px; }
.studio-section-title h2 { margin: 7px 0 0; font: 900 clamp(23px, 3vw, 38px)/1 var(--display); text-transform: uppercase; }
.studio-section-title h2 i { color: var(--cyan); font: 500 italic 12px/1 Georgia, serif; text-transform: none; }
.studio-section-title > a, .studio-section-title > small { color: #7c746e; font-size: 9px; text-decoration: none; }
.studio-empty { border: 1px dashed #393431; border-radius: 12px; padding: 30px; color: #817972; text-align: center; }
.studio-empty b { color: var(--paper); font: 900 19px/1 var(--display); text-transform: uppercase; }
.studio-empty p { margin-bottom: 0; font-size: 10px; }
.studio-messages { display: grid; gap: 12px; }
.studio-message { border: 1px solid #332f2d; border-radius: 13px; background: #171414; padding: 18px; }
.studio-message.is-new { border-color: rgba(121,217,231,.42); background: linear-gradient(110deg, rgba(121,217,231,.06), transparent 45%), #171414; }
.studio-message header { display: grid; grid-template-columns: minmax(130px, .7fr) 1fr 1fr; align-items: center; gap: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.studio-message header div { display: flex; flex-direction: column; gap: 5px; }
.studio-message header span { color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: 7px; }
.studio-message header time { color: #6e6761; font-size: 8px; }
.studio-message header b { font: 900 15px/1 var(--display); text-transform: uppercase; }
.studio-message header a, .studio-message header .reply-contact { color: #aaa29a; font-size: 10px; overflow-wrap: anywhere; }
.studio-message > p { margin: 15px 0; color: #c3bbb3; font-size: 12px; line-height: 1.55; white-space: normal; }
.studio-message footer { display: flex; gap: 8px; justify-content: flex-end; }
.studio-message footer form { display: block; margin: 0; }
.studio-message footer button { border: 1px solid #514943; border-radius: 8px; background: transparent; color: #a09891; padding: 8px 10px; cursor: pointer; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.studio-message footer button.danger { border-color: rgba(255,83,63,.32); color: #e28c82; }
.studio-jump { display: flex; gap: 4px; margin: 20px 0 4px; border: 1px solid var(--line); border-radius: 13px; background: rgba(18,15,15,.88); padding: 5px; }
.studio-jump a { flex: 1; border-radius: 9px; padding: 10px 12px; color: #938b83; text-align: center; text-decoration: none; font: 800 9px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.studio-jump a:hover { background: rgba(255,255,255,.07); color: var(--paper); }
.studio-jump b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 5px; border-radius: 9px; background: var(--red-deep); color: white; font-size: 8px; }
.track-add { border: 1px solid rgba(121,217,231,.28); border-radius: 14px; background: rgba(121,217,231,.035); overflow: hidden; }
.track-add summary { min-height: 76px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.track-add summary::-webkit-details-marker { display: none; }
.track-add summary > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(121,217,231,.45); border-radius: 10px; color: var(--cyan); font-size: 18px; }
.track-add summary b { font: 900 14px/1 var(--display); text-transform: uppercase; }
.track-add summary small { color: #6f6862; font-size: 9px; }
.track-add[open] summary { border-bottom: 1px solid var(--line); }
.track-add > form { margin: 0; padding: 20px; }
.track-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.track-fields.three { grid-template-columns: 1fr 130px 100px; }
.track-fields label { min-width: 0; display: grid; gap: 5px; color: #8d857e; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.studio-card input[type="file"] { padding: 9px; color: #827a73; font-size: 10px; }
.studio-card input[type="file"]::file-selector-button { border: 0; border-radius: 7px; background: #342e2b; color: #b8b0a8; padding: 8px 10px; margin-right: 10px; cursor: pointer; font: 700 8px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.track-help { margin: -3px 0 0 !important; color: #706963 !important; font-size: 9px !important; }
.track-admin-list { display: grid; gap: 13px; margin-top: 16px; }
.track-admin-card { display: grid; grid-template-columns: 174px 1fr; border: 1px solid #37312f; border-radius: 15px; background: #151212; overflow: hidden; transition: opacity .2s, border-color .2s; }
.track-admin-card.is-hidden { opacity: .62; border-style: dashed; }
.track-admin-media { position: relative; min-height: 174px; background: #0d0b0b; }
.track-admin-media img { width: 100%; height: 100%; min-height: 174px; display: block; object-fit: cover; }
.track-admin-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 48%, rgba(0,0,0,.7)); pointer-events: none; }
.track-admin-media > span { position: absolute; z-index: 2; left: 13px; bottom: 11px; color: white; font: 900 20px/1 var(--display); }
.track-admin-main { min-width: 0; padding: 17px; }
.track-admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.track-admin-heading small { color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: 7px; }
.track-admin-heading h3 { margin: 5px 0 0; font: 900 21px/1 var(--display); text-transform: uppercase; }
.track-admin-heading audio { width: min(320px, 48%); height: 34px; filter: invert(.88) hue-rotate(170deg) saturate(.5); }
.track-edit { margin-top: 14px !important; }
.track-edit-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.track-edit-actions > button { min-width: 190px; border: 0; border-radius: 11px; background: var(--red); color: white; padding: 14px 18px; cursor: pointer; text-transform: uppercase; letter-spacing: .13em; font: 800 10px/1 var(--display); }
.track-delete { display: flex !important; justify-content: flex-end; margin: 10px 0 0 !important; }
.track-delete button { border: 0; border-bottom: 1px solid rgba(255,83,63,.35); background: transparent !important; color: #b46f67 !important; padding: 5px 0 !important; font-size: 8px !important; }

.noscript-note { position: fixed; z-index: 200; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 40px)); border: 1px solid var(--red); border-radius: 12px; background: #171313; padding: 14px 18px; color: var(--paper); text-align: center; font-size: 12px; }
.heard-spacer { width: 17px; margin-right: 8px; }

@media (max-height: 760px) and (min-width: 821px) {
  .music-scene { padding-top: 72px; padding-bottom: 48px; }
  .music-art { max-height: calc(100svh - 120px); }
  .music-copy h2 { font-size: clamp(40px, 4.7vw, 68px); }
  .music-intro { margin: 14px 0; }
  .track-row { height: 45px; }
  .track-thumb { width: 29px; height: 29px; }
  .story-copy h2 { margin-bottom: 22px; }
}

@media (max-width: 820px) {
  body { overflow: auto; }
  .site-root { height: auto; overflow: visible; }
  .site-header { height: 66px; padding: 0 19px; background: linear-gradient(rgba(8,7,7,.75), transparent); }
  .scene-nav { display: none; }
  .scene-viewport { height: auto; overflow: visible; }
  .scene-track { height: auto; transform: none !important; transition: none; }
  .scene { height: auto; min-height: 100svh; }
  .scene::after { inset: 7px; border-radius: 14px; }
  .news-signal { top: 68px; width: calc(100% - 28px); }
  .hero-photo { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,6,6,.92), rgba(7,6,6,.2)), linear-gradient(0deg, rgba(7,6,6,.9), transparent 56%); }
  .hero-copy { width: 100%; padding: 130px 24px 120px; align-self: end; }
  .hero-copy h1 { font-size: clamp(62px, 18vw, 78px); letter-spacing: -.075em; }
  .hero-tagline { font-size: 24px; }
  .next-scene { bottom: 18px; }
  .music-scene { grid-template-columns: 1fr; gap: 30px; padding: 92px 22px 110px; }
  .music-art { width: min(100%, 470px); max-height: none; margin: 0 auto; }
  .music-copy { max-height: none; overflow: visible; padding: 0; }
  .music-copy h2 { font-size: clamp(48px, 14vw, 74px); }
  .music-intro { margin: 19px 0; }
  .track-row { grid-template-columns: 39px 24px 22px 1fr auto 35px; }
  .story-scene { min-height: 100svh; grid-template-columns: 1fr; padding: 95px 23px 0; }
  .story-copy { padding: 0 0 30px; }
  .story-copy h2 { font-size: clamp(58px, 16vw, 82px); }
  .story-copy > p { max-width: none; }
  .story-copy footer { position: static; margin-top: 28px; }
  .story-portrait { height: 70svh; min-height: 560px; margin: 0 -23px; background-position: center bottom; }
  .music-player { left: 10px; bottom: 10px; width: 246px; }
  .music-player.is-open { width: calc(100vw - 20px); }
  .chat-fab { right: 10px; bottom: 10px; width: 54px; }
  .chat-fab small { display: none; }
  .chat-panel { right: 10px; bottom: 73px; width: calc(100vw - 20px); }
  .privacy-grid { grid-template-columns: 1fr; }
  .setup-grid { grid-template-columns: 1fr; }
  .studio-dashboard { padding: 25px 18px; }
  .studio-section-title { align-items: flex-start; flex-direction: column; }
  .studio-message header { grid-template-columns: 1fr; gap: 8px; }
  .studio-message footer { justify-content: flex-start; flex-wrap: wrap; }
  .studio-jump a { padding: 9px 5px; font-size: 7px; }
  .track-add summary { grid-template-columns: 38px 1fr; }
  .track-add summary small { display: none; }
  .track-fields, .track-fields.three { grid-template-columns: 1fr; }
  .track-admin-card { grid-template-columns: 1fr; }
  .track-admin-media { aspect-ratio: 16 / 9; min-height: 0; }
  .track-admin-media img { min-height: 0; }
  .track-admin-heading { align-items: flex-start; flex-direction: column; }
  .track-admin-heading audio { width: 100%; }
  .track-edit-actions { align-items: stretch; flex-direction: column; }
  .track-edit-actions > button { min-width: 0; }
}

@media (max-width: 460px) {
  .brand-name { display: none; }
  .hero-photo { background-position: 67% center; }
  .music-player { width: 215px; }
  .player-collapsed { grid-template-columns: 44px 1fr 24px; }
  .track-row { grid-template-columns: 37px 20px 1fr auto 32px; }
  .track-number { display: none; }
  .heard { margin-right: 3px; }
  .story-portrait { height: 63svh; min-height: 500px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
