@font-face {
  font-family: 'Volina';
  src: url('assets/fonts/Volina.woff2') format('woff2'), url('assets/fonts/Volina.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #27150f;
  --deep: #1c100c;
  --cream: #f8e8c6;
  --muted: #d6c0a3;
  --orange: #f4a34d;
  --line: rgb(248 232 198 / 25%);
  --display: 'Volina', Georgia, serif;
  --mono: 'Courier New', monospace;
  --edge: clamp(1.25rem, 5vw, 5rem);
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: var(--deep); color: var(--cream); font: 1rem / 1.5 Arial, Helvetica, sans-serif; }
::selection { background: var(--orange); color: var(--ink); }
[hidden] { display: none !important; }
h1, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  padding: max(1.25rem, env(safe-area-inset-top)) max(var(--edge), env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(var(--edge), env(safe-area-inset-left));
}
.stage::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background-image: radial-gradient(rgb(248 232 198 / 7%) .7px, transparent .7px); background-size: 4px 4px; opacity: .28; }
.hero-film { position: absolute; inset: 0; z-index: -2; background: var(--deep); }
.hero-film video { position: absolute; top: 0; right: 0; width: 65%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep) 5%, rgb(28 16 12 / 94%) 26%, rgb(28 16 12 / 70%) 43%, rgb(28 16 12 / 16%) 73%), linear-gradient(0deg, rgb(28 16 12 / 85%), transparent 38%, rgb(28 16 12 / 15%) 80%, rgb(28 16 12 / 45%)); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: clamp(.75rem, 2svh, 1.5rem); border-bottom: 1px solid var(--line); }
.artist-brand { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.artist-logo { width: clamp(42px, 4.5vw, 64px); height: auto; aspect-ratio: 1; border-radius: 50%; flex-shrink: 0; }
.wordmark { font: 400 clamp(1.85rem, 3.5vw, 3.2rem) / 1.25 var(--display); }
.album-heading { text-align: right; }
.album-title { margin-top: .3rem; font: 400 clamp(1.15rem, 2.1vw, 1.9rem) / 1.35 var(--display); }
.album-status { font: .8125rem / 1.5 var(--mono); color: var(--cream); text-transform: uppercase; letter-spacing: .1em; }
.release { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); min-width: 0; min-height: 0; padding: clamp(1rem, 3svh, 2rem) 0; }
.release-content { min-width: 0; width: min(58%, 43rem); }
.release-number { display: flex; gap: .8rem; align-items: center; font: .8125rem / 1.5 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.release-number span { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid var(--line); color: var(--orange); font-size: .875rem; }
h1 { font: 400 clamp(2.7rem, min(6.5vw, 10.5svh), 6.4rem) / 1.08 var(--display); letter-spacing: -.02em; margin: clamp(.8rem, 2svh, 1.5rem) 0; text-shadow: 0 4px 28px rgb(28 16 12 / 32%); }
h1 > span { display: block; }
.title-last { color: var(--orange); }
.release-info { display: flex; flex-direction: column; gap: .15rem; }
.release-status { font-size: 1rem; font-weight: 700; color: var(--orange); }
.release-date { font-size: .875rem; color: var(--muted); }
.release-action-area { margin-top: clamp(.8rem, 2.2svh, 1.6rem); }
.countdown { display: inline-flex; align-items: flex-start; gap: clamp(.6rem, 1.5vw, 1rem); border-top: 1px solid var(--line); padding-top: .85rem; }
.countdown-unit { display: flex; flex-direction: column; min-width: 2.5rem; }
.countdown-unit > [data-unit] { font: 700 clamp(1.75rem, 4.5svh, 2.6rem) / 1.15 var(--mono); font-variant-numeric: tabular-nums; }
.countdown-label { font: .75rem / 1.6 var(--mono); color: var(--muted); }
.countdown-colon { font: 400 clamp(1.75rem, 4.5svh, 2.6rem) / 1.15 var(--mono); color: var(--orange); }
.track-released .release-action-area { display: none; }
.stage-footer { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .65rem 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.platforms { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.platforms a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font-size: .875rem; white-space: nowrap; transition: color .2s, background .2s; }
.platforms a:hover { color: var(--orange); }
.platforms .platform-primary { gap: .65rem; padding: .75rem 1.3rem; background: var(--orange); color: var(--deep); font-weight: 700; }
.platforms .platform-primary:hover { background: var(--cream); color: var(--deep); }
.spotify-icon { display: block; width: 20px; height: 20px; flex-shrink: 0; }
.film-controls { display: flex; justify-content: center; gap: .5rem; }
.film-controls button { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .65rem; border: 1px solid var(--line); background: rgb(28 16 12 / 65%); color: var(--cream); border-radius: 2px; cursor: pointer; font-size: .875rem; }
.film-controls button:hover { border-color: var(--cream); }
.control-icon { display: block; width: 18px; height: 18px; flex-shrink: 0; }
.sound-on, .pause-symbol { display: none; }
#sound-toggle[aria-pressed='true'] .sound-off, #motion-toggle[aria-pressed='true'] .play-symbol { display: none; }
#sound-toggle[aria-pressed='true'] .sound-on, #motion-toggle[aria-pressed='true'] .pause-symbol { display: block; }
.media-status { grid-column: 1 / -1; font-size: .75rem; color: var(--muted); max-width: 42rem; }
.media-status:empty { display: none; }
@media (max-width: 900px) {
  .stage-footer { grid-template-columns: 1fr; justify-items: center; gap: .65rem; padding-top: .75rem; }
  .platforms { width: 100%; justify-content: center; }
  .media-status { text-align: center; }
}
@media (max-width: 600px) {
  :root { --edge: 1.25rem; }
  .stage { padding-top: max(.8rem, env(safe-area-inset-top)); padding-bottom: max(.65rem, env(safe-area-inset-bottom)); }
  .site-header { flex-direction: column; gap: .65rem; padding-bottom: .75rem; }
  .artist-brand { gap: .65rem; }
  .artist-logo { width: 38px; }
  .album-heading { text-align: center; }
  .album-title { font-size: clamp(1.2rem, 5vw, 1.5rem); margin-top: .15rem; }
  .wordmark { font-size: clamp(1.55rem, 6vw, 2rem); }
  .album-status { font-size: .75rem; letter-spacing: .025em; }
  .hero-film video { width: 100%; object-position: center 28%; }
  .hero-film::after { background: linear-gradient(180deg, rgb(28 16 12 / 52%), rgb(28 16 12 / 50%) 20%, rgb(28 16 12 / 74%) 64%, rgb(28 16 12 / 96%)); }
  .release { grid-template-columns: 1fr; grid-template-rows: 1fr; align-content: center; justify-items: center; gap: clamp(.75rem, 2svh, 1.5rem); padding: .75rem 0; }
  .release-content { text-align: center; width: 100%; }
  .release-number { justify-content: center; font-size: .75rem; }
  .release-number span { width: auto; height: auto; border: 0; font-size: .8125rem; }
  h1 { font-size: clamp(2.7rem, min(12vw, 7.8svh), 4rem); margin: .65rem 0; }
  .release-info { gap: .1rem; }
  .release-action-area { margin-top: .6rem; }
  .countdown { gap: .8rem; padding-top: .6rem; }
  .countdown-unit > [data-unit], .countdown-colon { font-size: clamp(1.5rem, 3.5svh, 2rem); }
  .platforms { display: grid; grid-template-columns: 1.7fr 1.1fr .9fr; gap: .5rem; align-items: stretch; }
  .platforms a { min-width: 0; min-height: 46px; font-size: .875rem; }
  .platforms .platform-primary { padding: .6rem .5rem; gap: .4rem; }
  .spotify-icon { width: 17px; height: 17px; }
  .film-controls button { min-height: 40px; font-size: .8125rem; padding: .4rem .65rem; }
}
@media (max-width: 360px) {
  :root { --edge: 1rem; }
  .platforms { gap: .4rem; grid-template-columns: 1.4fr 1fr .8fr; }
  .platforms .platform-primary { flex-direction: column; gap: .15rem; line-height: 1.2; }
  .platforms .platform-primary span:first-of-type { font-size: .8125rem; }
  .spotify-icon { display: none; }
}
@media (max-height: 580px) and (max-width: 600px) {
  .stage { padding-top: max(.5rem, env(safe-area-inset-top)); padding-bottom: max(.4rem, env(safe-area-inset-bottom)); }
  .site-header { padding-bottom: .4rem; }
  .wordmark { font-size: 1.4rem; }
  .artist-logo { width: 30px; }
  .album-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .2rem .6rem; }
  .album-title { font-size: 1.1rem; margin: 0; }
  .release { gap: .5rem; padding: .5rem 0; }
  h1 { font-size: clamp(2rem, min(10vw, 7svh), 2.8rem); margin: .35rem 0; }
  .release-status { font-size: .875rem; }
  .release-date { font-size: .8125rem; }
  .countdown { padding-top: .35rem; }
  .countdown-unit > [data-unit], .countdown-colon { font-size: 1.4rem; }
  .stage-footer { gap: .3rem; padding-top: .5rem; }
}
/* Landscape phones keep the album, song and listening links in one viewport. */
@media (max-height: 500px) and (min-width: 501px) {
  :root { --edge: 1.25rem; }
  .stage { padding-top: max(.5rem, env(safe-area-inset-top)); padding-bottom: max(.4rem, env(safe-area-inset-bottom)); }
  .site-header { padding-bottom: .4rem; }
  .site-header { flex-direction: row; gap: 1rem; }
  .wordmark { font-size: 1.5rem; }
  .artist-logo { width: 32px; }
  .album-heading { display: block; text-align: right; }
  .album-title { font-size: 1.1rem; margin-top: .1rem; }
  .release { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; gap: 1rem; padding: .5rem 0; }
  .release-content { text-align: left; width: 100%; }
  .release-number { justify-content: flex-start; }
  .release-number { font-size: .75rem; }
  .release-number span { width: auto; height: auto; border: 0; }
  h1 { font-size: clamp(1.9rem, min(4.6vw, 8.5svh), 2.8rem); margin: .4rem 0; }
  h1 > span { display: inline; }
  .release-info { gap: 0; }
  .release-action-area { margin-top: .45rem; }
  .countdown { padding-top: .35rem; }
  .countdown-unit > [data-unit], .countdown-colon { font-size: 1.5rem; }
  .stage-footer { grid-template-columns: 1fr auto; gap: .4rem; padding-top: .5rem; }
  .platforms { display: flex; width: auto; justify-content: flex-start; gap: .8rem; }
  .platforms a { min-height: 44px; font-size: .8125rem; }
  .platforms .platform-primary { padding: .5rem .7rem; gap: .4rem; }
  .film-controls { gap: .35rem; }
  .film-controls button { padding: .45rem; min-height: 44px; }
  .film-controls button span { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
