/* TRANSMISSIONS album page: colors from the cover
   (smoky ruins on the left, a bright sky city on the right) */
:root {
  --smoke: #15130f;
  --night: #0f1013;
  --deep-blue: #0b1c2e;
  --sky: #6cc0f0;
  --cream: #ece3cf;
}

* { box-sizing: border-box; }
html { background: var(--night); }
html, body { margin: 0; }
body {
  min-height: 100vh;
  color: var(--cream);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 400;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }

nav.top { max-width: 1040px; margin: 0 auto; padding: 22px 16px 0; }
.home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}
.home-link:hover { color: var(--sky); }
.ww-icon { width: 30px; height: auto; flex: none; overflow: visible; }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px 40px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-top: 36px;
}
.cover {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
}
.artist {
  margin: 0;
  font-weight: 400;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--sky);
}
h1 {
  margin: 14px 0 0;
  font-weight: 300;
  /* One long word with wide spacing: sized so it fits its half of the hero
     at every width (it overflowed into the page edge before) */
  font-size: clamp(30px, 4.1vw, 44px);
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.album-meta {
  margin: 18px 0 0;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .65;
}
.album-meta span { white-space: nowrap; }
.listen-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 26px 13px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--night);
  background: var(--sky);
  border-radius: 999px;
  transition: background .15s, transform .15s;
}
.listen-btn:hover { background: #8fd0f5; transform: translateY(-1px); }
.listen-btn[hidden] { display: none; }

/* ---------- Tracklist (shared styles in tracklist.css) ---------- */
.tracklist {
  --tl-text: var(--cream);
  --tl-accent: var(--sky);
  --tl-hover: rgba(255, 255, 255, .06);
  --tl-current: rgba(108, 192, 240, .12);
  --tl-label: var(--sky);
  margin-top: 64px;
}
.section-title {
  margin: 0 0 22px;
  font-weight: 400;
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: .45em;
  padding-left: .45em;
  text-transform: uppercase;
  color: var(--cream);
}
.track-title { font-weight: 400; }

footer {
  padding: 32px 16px 44px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .7;
}
footer a { color: var(--sky); text-decoration: none; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 22px; }
  .intro { text-align: center; }
  .cover { max-width: 460px; margin: 0 auto; }
  h1 { letter-spacing: .16em; }
}

/* Faint album art behind the page (like the pre-save page): the cover fills
   the screen, softened, under the page colors made slightly see-through */
body { background: transparent; }
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.backdrop::before {
  /* The whole cover at about the window's height, centered, edges faded out */
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(min(100vh, 100vw) * 1.15); /* 15% larger than the window height */
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url('/assets/transmissions-fade.jpg') center / contain no-repeat; /* lettering painted out, edges faded in the image */
}
.backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(108, 192, 240, .16), transparent 55%),
    linear-gradient(90deg, rgba(21, 19, 15, .89) 0%, rgba(15, 16, 19, .89) 50%, rgba(11, 28, 46, .89) 100%);
}

/* Follow on Spotify / Apple Music (top right) */
nav.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.follow a { color: inherit; opacity: .85; transition: opacity .2s, transform .2s; }
.follow a:hover { opacity: 1; transform: translateY(-1px); }
.follow .sp-icon { width: 20px; height: 20px; flex: none; display: block; }
@media (max-width: 560px) { .follow > span { display: none; } .follow .sp-icon { width: 22px; height: 22px; } }

/* Listen buttons (Spotify + Apple Music) in a row that wraps neatly */
.listen-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.listen-links .listen-btn { margin-top: 0; }
.listen-btn.alt { color: var(--cream); background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.listen-btn.alt:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 760px) { .listen-links { justify-content: center; } }
