:root {
  --black: #050505;
  --ink: #11100f;
  --paper: #e9e5dc;
  --white: #f4f3ef;
  --cyan: #8b7cff;
  --line: rgba(244, 243, 239, 0.22);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --mono: "IBM Plex Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); overflow-x: clip; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--sans); overflow-x: clip; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.mono { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -4rem; padding: .75rem 1rem; background: var(--cyan); color: var(--black); }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 5rem; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: linear-gradient(to bottom, rgba(5,5,5,.78), transparent); backdrop-filter: blur(8px); }
.brand { display: inline-flex; align-items: center; gap: .8rem; font: 500 .78rem/1 var(--mono); letter-spacing: .12em; }
.brand-orbit { width: 1.5rem; height: 1.5rem; border: 1px solid var(--white); border-radius: 50%; position: relative; }
.brand-orbit::after { content: ""; position: absolute; width: 1.9rem; height: .42rem; border: 1px solid var(--cyan); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-22deg); }
.site-header nav { display: flex; align-items: center; gap: clamp(1.5rem, 3.4vw, 3.8rem); }
.site-header nav a { font: .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .78; transition: opacity .2s, color .2s; }
.site-header nav a:hover, .site-header nav a:focus-visible { opacity: 1; color: var(--cyan); }
.menu-button { display: none; border: 0; background: none; font: .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.hero { position: relative; min-height: 100svh; overflow: hidden; background: #000; isolation: isolate; }
.hero-picture, .hero-image, #noise, .scanlines { position: absolute; inset: 0; }
.hero-picture { z-index: -2; background: #020202; }
.hero-image { background-image: linear-gradient(90deg, rgba(5,5,5,.83) 0%, rgba(5,5,5,.32) 43%, rgba(5,5,5,.12) 100%), url("assets/hero.webp"); background-position: center; background-size: cover; opacity: 0; clip-path: inset(0 100% 0 0); filter: grayscale(1) contrast(1.18) brightness(.78); }
.hero-image--red, .hero-image--blue { mix-blend-mode: screen; }
.hero-image--red { filter: grayscale(1) sepia(1) saturate(8) hue-rotate(300deg) contrast(1.5); }
.hero-image--blue { filter: grayscale(1) sepia(1) saturate(8) hue-rotate(155deg) contrast(1.5); }
body.loaded .hero-image { animation: signalReveal 1.35s steps(8,end) .45s forwards; }
body.loaded .hero-image--red { animation: redReveal 1.65s steps(7,end) .35s forwards; }
body.loaded .hero-image--blue { animation: blueReveal 1.55s steps(9,end) .4s forwards; }
#noise { z-index: 4; width: 100%; height: 100%; image-rendering: pixelated; opacity: .92; mix-blend-mode: screen; transition: opacity .8s ease; }
body.signal-locked #noise { opacity: .075; }
.scanlines { z-index: 5; pointer-events: none; opacity: .25; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0,0,0,.72) 4px); }
.scanlines::after { content: ""; position: absolute; left: 0; right: 0; height: 14vh; background: linear-gradient(transparent, rgba(139,124,255,.14), transparent); animation: scan 4.5s linear infinite; }

.hero-status, .hero-frequency { position: absolute; z-index: 10; top: 7.2rem; margin: 0; font-size: .75rem; }
.hero-status { left: var(--pad); display: flex; align-items: center; gap: .75rem; }
.hero-frequency { right: var(--pad); opacity: .65; }
.status-light { width: .45rem; height: .45rem; border-radius: 50%; background: #ff493d; box-shadow: 0 0 12px #ff493d; animation: blink .22s steps(1) infinite; }
body.signal-locked .status-light { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); animation: none; }
.hero-content { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(5.5rem, 9vh, 7.5rem); z-index: 8; opacity: 0; transform: translateY(2rem); transition: opacity .7s ease, transform .7s ease; }
body.signal-locked .hero-content { opacity: 1; transform: none; }
.eyebrow { margin: 0 0 1.3rem; font-size: .75rem; color: var(--cyan); }
.hero .eyebrow { font-size: clamp(.82rem, 1vw, .95rem); line-height: 1.4; }
.hero h1 { margin: 0; font-size: clamp(4.2rem, 12.7vw, 12.6rem); line-height: .72; letter-spacing: -.075em; font-weight: 500; text-transform: uppercase; }
.hero h1 > span { display: block; }
.hero h1 > span:last-child { margin-left: 10.8vw; color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.hero h1 .hero-glitch { position: relative; display: inline-block; animation: letterFault 15s steps(1, end) infinite; animation-play-state: paused; }
.signal-locked .hero h1 .hero-glitch { animation-play-state: running; }
.hero h1 .hero-glitch--reply { animation-delay: 1.65s; }
.hero-bottom { margin: clamp(2.2rem, 5vh, 4rem) 0 0 11vw; display: grid; grid-template-columns: minmax(16rem, 29rem) auto; align-items: end; gap: 2rem; }
.hero-bottom p { max-width: 32rem; margin: 0; font-size: clamp(1rem, 1.45vw, 1.35rem); line-height: 1.5; }
.signal-link { justify-self: end; border-bottom: 1px solid var(--cyan); padding: 0 0 .5rem; color: var(--cyan); font: .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.scroll-mark { position: absolute; right: var(--pad); bottom: 1.7rem; z-index: 8; display: flex; gap: .8rem; align-items: center; font-size: .72rem; opacity: .7; }
.scroll-mark span { display: block; width: 3.5rem; height: 1px; background: currentColor; }

.section-index { font-size: .75rem; color: rgba(244,243,239,.58); }
.manifest { min-height: 140vh; padding: 8rem var(--pad); display: grid; grid-template-columns: .8fr 1.3fr 1fr; grid-template-rows: auto 1fr auto; gap: 4rem 5vw; background: var(--black); border-top: 1px solid var(--line); }
.manifest-copy { grid-column: 2 / 4; }
.manifest-copy h2 { margin: 0 0 2.7rem; font-size: clamp(2.7rem, 5.5vw, 6rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 500; }
.manifest-copy em { color: var(--cyan); font-style: normal; font-size: .72em; }
.manifest-copy p { max-width: 42rem; margin: 0 0 0 auto; font-size: clamp(1.05rem, 1.55vw, 1.4rem); line-height: 1.65; color: rgba(244,243,239,.7); }
.manifest-image { grid-column: 1 / 3; width: min(100%, 65rem); margin: 2rem 0 0; position: relative; }
.manifest-image img { aspect-ratio: 4/3; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.manifest-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 55%, rgba(255,255,255,.07)); mix-blend-mode: screen; }
.manifest-image figcaption { margin-top: .8rem; font-size: .72rem; opacity: .66; }
.manifest-quote { grid-column: 2 / 4; justify-self: end; align-self: end; margin: 4rem 0 0; font-size: clamp(2rem, 4.1vw, 4.8rem); line-height: 1.1; letter-spacing: -.04em; }

.release { min-height: 100vh; background: var(--paper); color: var(--ink); padding: 7rem var(--pad); }
.release .section-index { color: var(--ink); }
.release-head { display: flex; justify-content: space-between; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(17,16,15,.35); }
.release-head p { margin: 0; font-size: .75rem; }
.release-grid { display: grid; grid-template-columns: minmax(20rem, .9fr) 1fr; align-items: center; gap: clamp(3rem, 8vw, 9rem); padding-top: clamp(3rem, 7vw, 7rem); }
.release-art { position: relative; isolation: isolate; outline: none; cursor: crosshair; }
.release-art img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; box-shadow: 0 2rem 5rem rgba(17,16,15,.18); transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.release-head-noise { position: absolute; z-index: 2; left: 39.4%; top: 18.8%; width: 21.4%; height: 15.3%; opacity: 0; image-rendering: pixelated; mix-blend-mode: multiply; pointer-events: none; transition: opacity .15s ease; }
.release-art:hover .release-art-base, .release-art:focus-visible .release-art-base { transform: scale(1.012); }
.release-art:hover .release-head-noise, .release-art:focus-visible .release-head-noise { opacity: .92; }
.art-stamp { position: absolute; z-index: 2; right: -1.1rem; top: -1.1rem; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .72rem; transform: rotate(12deg); }
.release-info .eyebrow { color: #915944; }
.release-info h2 { margin: 0; font-size: clamp(3.3rem, 7vw, 8rem); line-height: .88; letter-spacing: -.065em; font-weight: 500; }
.release-description { max-width: 38rem; margin: 2.6rem 0; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.65; }
.release-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.button { min-width: 10rem; min-height: 3.5rem; padding: 0 1.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; border: 1px solid var(--ink); cursor: pointer; font: 500 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: color .2s, background .2s; }
.button--dark { background: var(--ink); color: var(--paper); }
.button--dark:hover { background: var(--cyan); color: var(--ink); }
.button--ghost { background: transparent; }
.button--ghost:hover { background: rgba(17,16,15,.08); }
.waveform { height: 4rem; margin-top: 3rem; display: flex; align-items: center; gap: .38rem; opacity: .45; }
.waveform span { display: block; width: 2px; height: calc(15% + var(--h, .5) * 70%); background: currentColor; transform-origin: center; }
.waveform span:nth-child(3n) { --h: .9; } .waveform span:nth-child(4n) { --h: .35; } .waveform span:nth-child(5n) { --h: .7; }
.is-playing .waveform span { animation: wave .65s ease-in-out infinite alternate; animation-delay: calc(var(--i, 1) * -50ms); }

.tracks { padding: 8rem var(--pad) 10rem; }
.tracks-head { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: end; padding-bottom: 4rem; }
.tracks h2 { margin: 1.5rem 0 0; font-size: clamp(3.2rem, 7vw, 7.5rem); line-height: .9; letter-spacing: -.065em; font-weight: 500; }
.tracks-head > p { margin: 0 0 .5rem; max-width: 30rem; font-size: 1.05rem; line-height: 1.6; color: var(--cyan); }
.track-list { display: grid; grid-template-columns: repeat(12,1fr); gap: 5rem 1.2rem; }
.track-card { grid-column: span 6; transition: transform .22s ease; }
.track-card:nth-child(even) { margin-top: 9rem; }
.track-art { position: relative; display: block; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(244,243,239,.08), 0 10px 24px rgba(0,0,0,.28); transition: transform .22s ease, box-shadow .22s ease; }
.track-art img { aspect-ratio: 1; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .3s; }
.track-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 65%, rgba(139,124,255,.38)); opacity: 0; transition: opacity .3s; mix-blend-mode: screen; }
.track-open { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; padding: .72rem .84rem; background: var(--paper); color: var(--black); font-size: .72rem; opacity: 0; transform: translateY(.5rem); transition: opacity .25s, transform .25s; }
.track-card:hover, .track-card:focus-within { transform: translateY(-2px); }
.track-card:hover .track-art, .track-card:focus-within .track-art { box-shadow: 0 0 0 1px rgba(139,124,255,.78), 0 18px 40px rgba(0,0,0,.48), 0 0 38px rgba(139,124,255,.11); }
.track-card:hover .track-art img, .track-card:focus-within .track-art img { transform: scale(1.035); filter: grayscale(.2) contrast(1.1); }
.track-card:hover .track-art::after, .track-card:hover .track-open, .track-card:focus-within .track-art::after, .track-card:focus-within .track-open { opacity: 1; transform: none; }
.track-meta { display: grid; grid-template-columns: 1fr auto; gap: .7rem; padding: 1.3rem 0 0; border-top: 1px solid var(--line); }
.track-meta > span { font-size: .72rem; opacity: .66; }
.track-meta > span:last-child { grid-column: 2; grid-row: 1 / 3; }
.track-meta h3 { margin: 0; font-size: clamp(1.4rem, 2.5vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; }
.track-meta sup, .track-meta small { font-size: .45em; opacity: .55; }
.track-platforms { display: flex; flex-wrap: wrap; gap: .35rem .55rem; padding-top: 1rem; }
.track-platforms a, .track-platforms span, .track-platforms .track-about-toggle { min-height: 2.5rem; padding: .56rem .75rem; display: inline-flex; align-items: center; border: 1px solid rgba(244,243,239,.26); font: .75rem var(--mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(244,243,239,.76); transition: border-color .2s, color .2s, background .2s; }
.track-platforms .track-story { color: var(--white); border-color: rgba(244,243,239,.72); }
.track-platforms a:hover, .track-platforms a:focus-visible, .track-about-toggle:hover, .track-about-toggle:focus-visible { border-color: var(--cyan); color: var(--white); background: rgba(139,124,255,.08); }
.track-platforms span { opacity: .42; }

.contact { position: relative; isolation: isolate; min-height: 96vh; padding: 7rem var(--pad) 2rem; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: #030307; color: var(--white); }
.contact::after { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3,3,7,.98) 0%, rgba(3,3,7,.82) 30%, rgba(3,3,7,.28) 57%, rgba(3,3,7,.06) 100%), linear-gradient(0deg, rgba(3,3,7,.76), transparent 32%); }
.contact .section-index { color: rgba(244,243,239,.48); }
.contact .section-index, .contact-content, .contact footer { position: relative; z-index: 2; }
.contact-content { margin: auto 0; }
.contact .eyebrow { color: var(--cyan); }
.contact h2 { max-width: 14ch; margin: 0 0 2.2rem; font-size: clamp(3.8rem, 7vw, 8rem); line-height: .88; letter-spacing: -.072em; font-weight: 550; }
.contact h2 span { display: block; }
.particles-ready .particle-title { color: transparent; }
.email-link { min-height: 2.75rem; padding: .55rem .95rem; display: inline-flex; align-items: center; border: 1px solid rgba(244,243,239,.72); border-radius: 999px; color: var(--white); font: 500 clamp(.74rem, 1vw, .9rem) var(--mono); letter-spacing: .01em; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.email-link:hover, .email-link:focus-visible { background: var(--cyan); border-color: var(--cyan); color: #09070f; transform: translateY(-2px); }
.socials { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 3rem; }
.socials a { font: .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid transparent; }
.socials a:hover { border-color: currentColor; }
.contact-cosmos { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
#contact-particles { width: 100%; height: 100%; display: block; opacity: 1; image-rendering: pixelated; }
footer { position: relative; z-index: 2; display: flex; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid rgba(244,243,239,.2); font: .72rem var(--mono); letter-spacing: .08em; }

.reveal { opacity: 0; transform: translateY(3rem); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes signalReveal { 0% { opacity: .1; clip-path: inset(0 100% 0 0); transform: scale(1.05); } 35% { clip-path: inset(38% 0 46% 0); } 55% { clip-path: inset(0 0 58% 0); } 75% { clip-path: inset(52% 0 0 0); } 100% { opacity: 1; clip-path: inset(0); transform: scale(1); } }
@keyframes redReveal { 0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-10px); } 70% { opacity: .8; clip-path: inset(0); transform: translateX(-8px); } 100% { opacity: 0; clip-path: inset(0); transform: none; } }
@keyframes blueReveal { 0% { opacity: 0; clip-path: inset(100% 0 0 0); transform: translateX(10px); } 70% { opacity: .8; clip-path: inset(0); transform: translateX(8px); } 100% { opacity: 0; clip-path: inset(0); transform: none; } }
@keyframes scan { from { transform: translateY(-20vh); } to { transform: translateY(120vh); } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes wave { to { transform: scaleY(.35); opacity: .5; } }
@keyframes letterFault { 0%, 16.9%, 19%, 100% { opacity: 1; transform: none; clip-path: inset(0); text-shadow: none; } 17.2% { opacity: .2; transform: translateX(.035em) skewX(-9deg); clip-path: inset(7% 0 55% 0); text-shadow: -.04em 0 var(--cyan), .035em 0 rgba(255,73,61,.6); } 17.7% { opacity: .92; transform: translateX(-.025em); clip-path: inset(57% 0 7% 0); text-shadow: .035em 0 var(--cyan); } 18.2% { opacity: .35; transform: translateY(.018em); clip-path: inset(28% 0 31% 0); } }

@media (max-width: 800px) {
  .site-header { height: 4.4rem; }
  .menu-button { display: block; }
  .site-header nav { position: fixed; inset: 0; padding: clamp(8rem, 18vh, 12rem) var(--pad) 3rem; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2rem; background: linear-gradient(135deg, rgba(3,3,7,.76), rgba(7,6,14,.58)); -webkit-backdrop-filter: blur(34px) saturate(.72) contrast(1.04); backdrop-filter: blur(34px) saturate(.72) contrast(1.04); box-shadow: inset 0 0 0 1px rgba(244,243,239,.08); transform: translateX(100%); transition: transform .35s ease; }
  .site-header nav a { color: var(--white); font-size: clamp(1.7rem, 7.4vw, 3.2rem); font-weight: 350; letter-spacing: .055em; opacity: .94; text-shadow: 0 2px 20px rgba(0,0,0,.48); }
  .menu-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .site-header nav { transform: none; }
  .menu-button { position: relative; z-index: 2; }
  .hero-image { background-image: linear-gradient(0deg, rgba(5,5,5,.82), rgba(5,5,5,.05) 60%), url("assets/hero.webp"); background-position: 60% center; }
  .hero-status, .hero-frequency { top: 6rem; }
  .hero-frequency { display: none; }
  .hero h1 { font-size: clamp(3.6rem, 20vw, 7rem); line-height: .78; }
  .hero h1 span:last-child { margin-left: 0; }
  .hero-bottom { margin-left: 0; grid-template-columns: 1fr; gap: 1.5rem; }
  .signal-link { justify-self: start; }
  .manifest { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto; gap: 2.15rem; padding-top: 4.8rem; padding-bottom: 5.2rem; }
  .manifest-copy, .manifest-image, .manifest-quote { grid-column: 1; }
  .manifest-copy p { margin-left: 0; }
  .manifest-copy h2 { margin-bottom: 1.6rem; }
  .manifest-image { margin-top: .2rem; }
  .manifest-image img { aspect-ratio: 16/11; }
  .manifest-quote { justify-self: start; margin-top: .2rem; font-size: clamp(1.85rem, 8vw, 2.8rem); }
  .release { padding-top: 6rem; }
  .release-grid { grid-template-columns: 1fr; }
  .release-head { gap: 1rem; }
  .tracks { padding-top: 6rem; }
  .tracks-head { grid-template-columns: 1fr; }
  .track-list { display: block; }
  .track-card, .track-card:nth-child(even) { margin: 0 0 4rem; }
  .contact { min-height: 88vh; }
  .contact::after { background: linear-gradient(90deg, rgba(3,3,7,.94) 0%, rgba(3,3,7,.65) 48%, rgba(3,3,7,.08) 100%), linear-gradient(0deg, rgba(3,3,7,.8), transparent 43%); }
  .contact h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .email-link { min-height: 2.75rem; padding: .55rem .82rem; font-size: .72rem; }
  #contact-particles { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-image { opacity: 1; clip-path: none; }
  #noise { opacity: .035; }
  .particles-ready .particle-title { color: var(--white); }
  #contact-particles { display: none; }
  .hero h1 .hero-glitch { animation: none; }
  .hero-content, .reveal { opacity: 1; transform: none; }
}

button.email-link { cursor: pointer; text-align: left; background: transparent; font: inherit; }
.contact-dialog { border: 1px solid rgba(139,124,255,.55); background: #111019; color: var(--white); width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 32px; overflow: auto; box-shadow: 0 24px 90px #0009; }
.contact-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.contact-dialog h2 { margin: 0 0 24px; font-size: clamp(26px,5vw,36px); }
.contact-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); font-size: 30px; cursor: pointer; }
.contact-dialog label { display: block; margin: 18px 0 8px; }
.contact-dialog input,.contact-dialog textarea { display: block; width: 100%; padding: 12px; border: 1px solid #ffffff40; background: #08070d; color: var(--white); font: inherit; font-size: 16px; border-radius: 0; }
.contact-dialog textarea { resize: vertical; min-height: 130px; }
.contact-dialog :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.contact-hint,.contact-status { font-size: 14px; line-height: 1.5; }
.contact-hint { color: #ffffff99; margin: 12px 0 20px; }
.contact-status { min-height: 1.5em; margin: 14px 0 0; color: var(--cyan); }
.contact-status[data-error="true"] { color: #ffb8b8; }
.contact-dialog button:disabled { opacity: .55; cursor: wait; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
body.contact-open { overflow: hidden; }
@media(max-width: 520px) { .contact-dialog { padding: 24px 20px; } }

/* Keep the first screen readable on short landscape phone viewports. */
@media (orientation: landscape) and (max-height: 600px) {
  .hero { min-height: max(100svh, 40rem); }
}
@media (max-width: 800px) and (max-height: 600px) {
  .site-header nav { padding-top: 5.5rem; padding-bottom: 1.25rem; gap: 1rem; overflow-y: auto; }
  .site-header nav a { font-size: clamp(1.1rem, 3vw, 1.5rem); line-height: 1.3; }
}

/* Release titles remain inside the fixed card template. */
.release-info, .track-meta { min-width: 0; }
.release-info h2, .track-meta h3, .track-meta .mono { overflow-wrap: anywhere; }
.tracks { padding-bottom: 6rem; }
@media (max-width: 800px) {
  .tracks { padding-bottom: 3rem; }
  .track-card:last-child { margin-bottom: 0; }
  .contact { padding-top: 4rem; }
}

[hidden] { display: none !important; }

/* Compact the release-to-contact transition on phones in both orientations. */
@media (max-width: 600px), (max-width: 1000px) and (max-height: 600px) {
  .tracks { padding-bottom: 1.5rem; }
  .contact { min-height: 0; padding-top: 2.5rem; justify-content: flex-start; }
  .contact-content { margin: 2rem 0 3rem; }
}

/* Discreet studio credit below the existing footer controls. */
.contact footer { flex-wrap: wrap; gap: 1rem; }
.footer-credit { flex-basis: 100%; text-align: right; font-family: var(--sans, sans-serif); font-size: .7rem; line-height: 1.6; letter-spacing: 0; color: rgba(244,243,239,.45); overflow-wrap: anywhere; }
.footer-credit a { color: inherit; text-decoration: none; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: rgba(244,243,239,.8); text-decoration: underline; }
@media (max-width: 600px) { .footer-credit { font-size: .65rem; } }

@media (max-width: 600px), (max-width: 1000px) and (max-height: 600px) {
  .footer-credit { text-align: left; }
}

/* Language controls stay available beside the mobile menu. */
.site-header { gap: 1.25rem; }
.site-header .brand { flex-shrink: 0; }
.site-header nav { margin-left: auto; }
.language-switch { order: 3; display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; position: relative; z-index: 3; font: .72rem var(--mono); }
.language-switch button { min-width: 2rem; min-height: 2.75rem; padding: .3rem; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; opacity: .5; }
.language-switch button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.language-switch button:focus-visible { outline: 1px solid var(--cyan); outline-offset: 1px; }
.language-switch > span { opacity: .35; }
html[lang="en"] .track-story { display: none !important; }
@media (max-width: 800px) {
  .language-switch { order: 1; margin-left: auto; }
  .menu-button { order: 2; }
  .site-header nav { margin-left: 0; }
  .brand { position: relative; z-index: 2; }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .site-header nav { gap: 1.25rem; }
  .site-header nav a { font-size: .68rem; }
}

.track-about-toggle { background: transparent; cursor: pointer; }
.track-note { margin-top: 1.5rem; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.track-note p { margin: 0 0 1em; }
.track-note p:last-child { margin-bottom: 0; }

/* A sticky note footer remains reachable while reading; its normal-flow space
   keeps the last paragraph clear and each card owns its own collapse control. */
.track-note-actions { position: sticky; bottom: max(.5rem, env(safe-area-inset-bottom)); display: flex; justify-content: flex-end; margin-top: 1rem; padding: .5rem 0; background: var(--black, #050505); z-index: 2; }
.track-note-collapse { min-height: 44px; padding: .5rem .85rem; border: 1px solid rgba(244,243,239,.4); color: var(--white, #f4f3ef); background: #090909; font: .72rem var(--mono); cursor: pointer; }
.track-note-collapse:hover, .track-note-collapse:focus-visible { border-color: var(--cyan); outline: 1px solid var(--cyan); outline-offset: 2px; }
.track-note p { scroll-margin-bottom: 5rem; }

.track-note-title { margin: 0 0 1.25rem; font-size: 1.25rem; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
