:root {
  color-scheme: dark;
  --black: #090909;
  --white: #eeeae6;
  --ash: #aaa7a4;
  --line: #33312f;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: clamp(1.25rem, 5.5vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--black); color: var(--white); font: 1rem/1.6 system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(100% - var(--gutter) * 2, 78rem); margin-inline: auto; }
.skip { position: fixed; top: .8rem; left: 1rem; z-index: 20; padding: .6rem 1rem; background: var(--white); color: var(--black); transform: translateY(-180%); }
.skip:focus { transform: none; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: #090909f2;
  backdrop-filter: blur(12px);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.home { width: 9.5rem; display: inline-flex; align-items: center; min-height: 2.75rem; }
.main-nav, .languages { display: flex; align-items: center; }
.main-nav { gap: clamp(1.25rem, 4vw, 3.5rem); }
.main-nav > a, .listen-platforms summary, .languages button, .eyebrow, .listen, .genre, .back {
  font: .875rem/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: .095em;
}
.main-nav > a, .listen-platforms summary, .back { padding-block: .65rem; }
.main-nav > a, .listen-platforms summary, .languages, .languages button, .back { color: var(--ash); }
.main-nav > a:hover, .listen-platforms summary:hover, .listen-platforms[open] summary, .languages button:hover, .languages [aria-pressed="true"], .back:hover { color: var(--white); }
.languages { justify-self: end; gap: .25rem; }
.languages button { border: 0; background: none; padding: .65rem .35rem; cursor: pointer; }
.languages [aria-pressed="true"] { text-decoration: underline; text-underline-offset: .35rem; }

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: clamp(33rem, 77svh, 52rem);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 46%, #232323, #0b0b0b 55%, #090909 76%);
}
.rain { position: absolute; inset: 0; z-index: -1; pointer-events: none; width: 100%; height: 100%; opacity: .76; }
.hero-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  width: min(86vw, 39rem, 78svh);
  transform: translate(-50%, -52%);
  opacity: .24;
  pointer-events: none;
  clip-path: polygon(0 10.2%, 44% 10.2%, 47.5% 4.5%, 49% 4.1%, 52.3% 10.2%, 100% 10.2%, 100% 100%, 0 100%);
}
.hero-layout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding-block: clamp(2.5rem, 4vw, 4rem); }
.hero-content { grid-column: 2; grid-row: 1; text-align: center; }
.hero h1 img { width: min(100%, 74rem); margin-inline: auto; filter: drop-shadow(0 4px 24px #000); }
.genre { color: #d3cfcb; margin-top: clamp(1.2rem, 3vw, 2rem); font-size: clamp(.72rem, 2.2vw, .875rem); letter-spacing: .13em; }
.genre span {
  display: inline-block;
  padding: .3rem .6rem;
  color: var(--white);
  background: radial-gradient(ellipse at center, #09090955 15%, transparent 76%);
  text-shadow: 0 1px 3px #000, 0 0 9px #000b;
}
.artist span { margin-inline: .35em; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero-audio { grid-column: 1; grid-row: 1; margin-inline-end: clamp(1rem, 3vw, 3rem); }
.hero-social { grid-column: 3; grid-row: 1; margin-inline-start: clamp(1rem, 3vw, 3rem); }
.hero-rail ul { list-style: none; padding: 0; }
.hero-rail ul { display: grid; gap: .55rem; margin: 0; justify-items: start; }
.hero-social ul { justify-items: end; }
.hero-rail a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #4a4947; background: #0e0e0edb; transition: color .2s, background .2s, border-color .2s; }
.hero-rail a:hover { color: var(--black); background: var(--white); border-color: var(--white); }
.hero-rail svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.listen {
  display: inline-block;
  margin-top: 1.6rem;
  padding: .95rem 1.25rem;
  border: 1px solid #93908d;
  background: #1119;
  transition: color .2s, background .2s, border-color .2s;
}
.listen:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.hero-line { position: absolute; inset: auto auto 0; height: 2.4rem; width: 1px; background: linear-gradient(transparent, #a5a29e); }

.music { padding-block: clamp(3.75rem, 8vw, 7rem); }
.section-head { display: flex; align-items: baseline; gap: clamp(1.1rem, 4vw, 3rem); margin-bottom: clamp(1.6rem, 4.5vw, 3.5rem); }
.section-head h2, .release h3, .about-copy p:first-child { font-family: var(--serif); font-weight: normal; letter-spacing: -.05em; }
.section-head h2 { font-size: clamp(3.7rem, 9.5vw, 8.5rem); line-height: .96; }
.section-head span { flex: 1; background: var(--line); height: 1px; }
.release { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 8vw, 8rem); }
.cover { width: 100%; background: #c6c6c6; }
.release-info { min-width: 0; }
.eyebrow { color: var(--ash); }
.release h3 { margin-top: .5rem; font-size: clamp(2.4rem, 5.25vw, 5.6rem); line-height: .98; }
.artist { color: var(--ash); margin-top: .8rem; font: .9rem/1.5 var(--mono); }
.release-date { color: var(--ash); margin-top: .55rem; font-size: .9rem; }
.release-date time { color: var(--white); margin-inline-start: .35rem; }
.sample { margin-block-start: clamp(1.5rem, 4vw, 3rem); padding-block-start: 1.15rem; border-top: 1px solid var(--line); }
.waveform { display: flex; align-items: center; width: 100%; max-width: 30rem; height: 2.75rem; gap: 1px; margin-top: .55rem; }
.waveform:empty { display: none; }
.waveform span { flex: 1; background: #666663; height: var(--amplitude); }
.waveform span.played { background: var(--white); }
.sample audio { display: block; width: 100%; max-width: 30rem; height: 3.3rem; margin-top: .65rem; }
.sample audio:not([controls]) { display: none; }
.player-controls { max-width: 30rem; margin-top: .65rem; }
.playback-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: clamp(.45rem, 2vw, .75rem); }
.player-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #797773; background: #161616; color: var(--white); cursor: pointer; }
.player-toggle:hover { color: var(--black); background: var(--white); }
.player-toggle:disabled { opacity: .6; cursor: default; }
.player-toggle svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.player-toggle .pause-icon, .player-toggle[data-playing] .play-icon { display: none; }
.player-toggle[data-playing] .pause-icon { display: block; }
.player-controls input[type="range"] { width: 100%; min-width: 0; min-height: 2.75rem; margin: 0; accent-color: var(--white); cursor: pointer; }
.player-controls input[type="range"]:disabled { cursor: default; }
.player-clock, .volume-popover, .player-error { color: var(--ash); font: .875rem / 1.4 var(--mono); }
.player-clock { white-space: nowrap; }
.volume-disclosure { position: relative; }
.volume-disclosure summary { display: grid; place-items: center; width: 2.5rem; height: 2.75rem; cursor: pointer; list-style: none; color: var(--white); }
.volume-disclosure summary::-webkit-details-marker { display: none; }
.volume-disclosure summary:hover, .volume-disclosure[open] summary { background: #232323; }
.volume-disclosure svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.volume-disclosure .volume-sound, .volume-disclosure .volume-muted { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; fill: none; }
.volume-disclosure .volume-muted, .volume-disclosure[data-muted] .volume-sound { display: none; }
.volume-disclosure[data-muted] .volume-muted { display: block; }
.volume-popover {
  position: absolute;
  z-index: 1;
  inset: auto 0 calc(100% + .4rem) auto;
  width: 11.5rem;
  padding: .15rem .8rem;
  border: 1px solid #797773;
  background: #171717;
  box-shadow: 0 6px 20px #0009;
}
.player-error { margin-top: .5rem; }
.release-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.release-links a, .presave-link {
  border: 1px solid #797773;
  padding: .58rem .8rem;
  font: .875rem/1.4 var(--mono);
  transition: border-color .2s;
}
.presave-link { display: inline-block; margin-top: 1.1rem; }
.release-links a:hover, .presave-link:hover { border-color: var(--white); }
.listen-platforms { position: relative; }
.listen-platforms summary { cursor: pointer; white-space: nowrap; list-style: none; }
.listen-platforms summary::-webkit-details-marker { display: none; }
.platform-panel {
  position: absolute;
  inset: calc(100% + .35rem) auto auto 50%;
  width: min(14rem, 100vw - var(--gutter) * 2);
  transform: translateX(-50%);
  border: 1px solid var(--line);
  background: #141414;
  box-shadow: 0 6px 20px #0009;
}
.listen-platforms ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; list-style: none; padding: .6rem .7rem; margin: 0; }
.listen-platforms li > * { display: grid; place-items: center; min-height: 2.75rem; border: 1px solid var(--line); color: var(--ash); }
.listen-platforms li > a { color: var(--white); }
.listen-platforms li > a:hover { background: #232323; border-color: var(--ash); }
.listen-platforms svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.embeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr)); gap: 2rem; margin-top: 3.5rem; }
.embed h3 { margin-bottom: .8rem; }
.embed iframe { display: block; width: 100%; border: 1px solid var(--line); }
.embed.spotify iframe { height: 22rem; }
.embed.youtube iframe { aspect-ratio: 16 / 9; }

.about { background: var(--white); color: var(--black); }
.about-inner { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 3fr); gap: 1.5rem; padding-block: clamp(3.25rem, 8vw, 8rem); }
.about h2 { color: #4a4745; padding-top: .6rem; }
.about-copy p:first-child { max-width: 23ch; font-size: clamp(2.2rem, 5.2vw, 5rem); line-height: 1.05; }
.about-copy p + p { color: #484542; margin-top: 1.4rem; }
.footer { padding-top: clamp(2.8rem, 6vw, 5rem); }
.footer-platforms { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 3fr); gap: 1.5rem; padding-bottom: 2.5rem; }
.contact-email { justify-self: start; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; text-underline-offset: .25em; }
.platform-list { display: flex; flex-wrap: wrap; gap: .7rem 1.55rem; margin: 0; padding: 0; list-style: none; }
.platform-list a { border-bottom: 1px solid #555; padding-bottom: .2rem; transition: border-color .2s; }
.platform-list a:hover { border-color: var(--white); }
.footer-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: enter .85s ease-out both; }
  .reveal.pending { opacity: 0; transform: translateY(1.25rem); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .2, 1); }
  .reveal.pending.visible, .reveal.pending:focus-within { opacity: 1; transform: none; }
}
@keyframes enter { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-rail a { transition: none; }
}

@media (max-width: 46rem) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0 1rem; padding-block: .4rem; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: .4rem; border-top: 1px solid var(--line); }
  .main-nav > a, .listen-platforms summary { font-size: clamp(.72rem, 3.2vw, .875rem); letter-spacing: .045em; white-space: nowrap; }
  .platform-panel { inset-inline: auto 0; transform: none; }
  .masthead .home { width: 8rem; }
  html { scroll-padding-top: 7rem; }
  .hero-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.65rem .6rem; padding-bottom: 3rem; }
  .hero-content { grid-column: 1 / -1; grid-row: 1; }
  .hero-emblem { width: min(88vw, 33rem); }
  .hero-audio { grid-area: 2 / 1; justify-self: end; margin: 0; }
  .hero-social { grid-area: 2 / 2; justify-self: start; margin: 0; }
  .hero-rail ul { grid-template-columns: repeat(3, auto); gap: clamp(.15rem, 1.5vw, .5rem); }
}
@media (max-width: 42rem) {
  .hero { min-height: clamp(28rem, 66svh, 36rem); }
  .genre { letter-spacing: .11em; }
  .release, .about-inner, .footer-platforms { grid-template-columns: 1fr; }
  .cover { max-width: 31rem; }
}
