/* Layout concept: a studio session sheet. One loud moment (the logo and its waveform),
   everything else quiet: ink on warm grey, hairlines, mono metadata like a track log. */
:root {
  --ground: #ece9e4;
  --paper: #f4f2ee;
  --ink: #1d1820;
  --ink-soft: #5b535e;
  --line: rgba(29, 24, 32, .16);
  --ember: #d9650f;
  --ember-ink: #a24508;
  --berry: #a8244f;
  --plum: #4a1a4f;
  --leaf: #386a38;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 16px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-inline: 32px; max-width: calc(var(--wrap) + 64px); } }

.mono {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
}
.top .mark { text-decoration: none; font-weight: 500; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--ink-soft); }
.top nav a:hover { color: var(--ember-ink); }

/* ---------- Hero ---------- */
.hero { padding-block: 8px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; }
}
.eyebrow { color: var(--ink-soft); margin: 0 0 18px; }
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 96, "wdth" 88;
  font-size: clamp(2.5rem, 6.4vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 30px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  transition: background .2s, color .2s, border-color .2s;
}
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--plum); border-color: var(--plum); }
.btn.line:hover { background: var(--ink); color: var(--paper); }

.logo-frame {
  order: -1;
  /* multiply drops the logo's white paper into the page colour */
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 62%, transparent 100%);
}
@media (min-width: 900px) { .logo-frame { order: 0; } }
.logo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 49%;
}

/* waveform */
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 84px;
  margin-top: 34px;
  padding-block: 4px;
  overflow: hidden;
}
.wave span {
  flex: 1 1 0;
  min-width: 2px;
  height: calc(var(--h) * 100%);
  border-radius: 2px;
  transform-origin: center;
  animation: breathe 5.5s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes breathe {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(.68); }
}
@media (prefers-reduced-motion: reduce) {
  .wave span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
section { padding-block: clamp(56px, 9vw, 104px); }
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1.5px solid var(--ink);
  padding-top: 14px;
  margin-bottom: clamp(22px, 4vw, 40px);
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 48, "wdth" 92;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}
.sec-head .mono { color: var(--ink-soft); }

/* ---------- Releases ---------- */
.tracks { list-style: none; margin: 0; padding: 0; }
.track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 32px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) {
  .track { grid-template-columns: 150px minmax(0, 1fr) 210px; align-items: start; }
}
.track .meta { color: var(--ink-soft); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cover { width: 100%; max-width: 150px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.player { display: block; width: 100%; max-width: 560px; height: 152px; border: 0; border-radius: 12px; margin: 18px 0 0; background: var(--paper); }
.track h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 72, "wdth" 90;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.pull {
  margin: 0 0 6px;
  max-width: 40ch;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
}
.track .gloss { margin: 0; color: var(--ink-soft); max-width: 52ch; font-size: .98rem; }
.track .go { display: flex; flex-direction: column; gap: 10px; }
.go .mono { color: var(--ink-soft); margin-bottom: 2px; }
@media (max-width: 819px) {
  .track .go { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
  .go .mono { flex-basis: 100%; margin: 0; }
}
.go a {
  text-decoration: none;
  border-bottom: 1.5px solid var(--ember);
  padding-bottom: 3px;
  width: fit-content;
  font-weight: 500;
}
.go a:hover { color: var(--ember-ink); }

details.lyrics { margin-top: 16px; }
details.lyrics summary {
  cursor: pointer;
  color: var(--ember-ink);
  list-style: none;
  width: fit-content;
}
details.lyrics summary::-webkit-details-marker { display: none; }
details.lyrics summary::after { content: "  +"; }
details.lyrics[open] summary::after { content: "  –"; }
.lyric-body {
  margin-top: 18px;
  padding: 22px 24px;
  background: var(--paper);
  border-left: 3px solid var(--ember);
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.75;
}
.lyric-body p { margin: 0 0 1.3em; }
.lyric-body p:last-child { margin-bottom: 0; }
.lyric-body .tag { display: block; color: var(--ink-soft); margin-bottom: 4px; }

/* ---------- Studio ---------- */
.studio-grid {
  display: grid;
  gap: 40px 64px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .studio-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.statement {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "wdth" 94;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  line-height: 1.3;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: pretty;
}
dl.principles { margin: 0; display: grid; gap: 0; }
dl.principles > div { padding-block: 18px; border-top: 1px solid var(--line); }
dl.principles > div:last-child { border-bottom: 1px solid var(--line); }
dl.principles dt { font-weight: 700; margin-bottom: 2px; }
dl.principles dd { margin: 0; color: var(--ink-soft); }

/* ---------- Credit ---------- */
.credit {
  display: flex;
  align-items: baseline;
  gap: 8px 28px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 6vw, 64px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.credit .mono { color: var(--ink-soft); }
.credit p { margin: 0; }
.credit a { color: var(--ember-ink); text-decoration: none; border-bottom: 1.5px solid var(--ember); padding-bottom: 2px; }

/* ---------- Footer ---------- */
footer { padding-block: 40px 56px; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px 32px;
  flex-wrap: wrap;
  border-top: 1.5px solid var(--ink);
  padding-top: 18px;
  color: var(--ink-soft);
}
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ember-ink); }

/* ---------- Language switch ---------- */
.top-right { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.langs { display: flex; gap: 4px; }
.langs a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid transparent;
}
.langs a:hover { color: var(--ember-ink); }
.langs a[aria-current="true"] { color: var(--ink); border-color: var(--ink); }

/* ---------- Lyrics: original next to translation ---------- */
.pull-t { margin: 0 0 8px; color: var(--ink-soft); font-size: .98rem; max-width: 44ch; }
.lyric-body.pair { max-width: 820px; padding: 22px 24px 8px; }
.lyric-heads { display: none; color: var(--ink-soft); margin-bottom: 14px; gap: 32px; grid-template-columns: 1fr 1fr; }
.lyric-pair { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 1.6em; }
.lyric-pair p { margin: 0; }
.lyric-pair .tx { color: var(--ink-soft); padding-left: 14px; border-left: 2px solid var(--line); }
@media (min-width: 720px) {
  .lyric-heads { display: grid; }
  .lyric-pair { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Share ---------- */
.share { padding-block: clamp(32px, 5vw, 56px) 0; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 500 .92rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--ink); background: var(--paper); }
.chip[hidden] { display: none; }
.share .sec-head .mono { color: var(--ember-ink); min-height: 1em; }

.foot a.mail { text-transform: none; letter-spacing: .02em; color: var(--ink); }
