:root {
  --bg: #0d0d0e;
  --surface: rgba(22, 22, 24, 0.78);
  --surface-soft: rgba(29, 29, 32, 0.78);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7e4df;
  --muted: #a6a1a0;
  --accent: #c9c1b7;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    linear-gradient(to bottom, rgba(13, 13, 14, 0.58), rgba(13, 13, 14, 0.88)),
    url("../images/ThatSameRain-bg.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-attachment: fixed, fixed;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: 40px;
  align-items: stretch;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.hero__brand,
.hero__art {
  min-width: 0;
}

.hero__brand {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 8px;
}

.hero__logo {
  width: min(100%, 420px);
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  letter-spacing: 0.02em;
}

.tagline,
.block p,
.info-list,
.press-grid,
.download-grid {
  max-width: none;
}

.tagline,
.block p,
.info-list li,
.embed-placeholder,
.download-meta span {
  color: var(--muted);
}

.cover,
.embed-placeholder,
.press-card,
.download-card {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(3px);
}

.cover {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.block {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.embed-placeholder {
  margin-top: 18px;
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
    var(--surface-soft);
}

.asset-card {
  position: relative;
  overflow: hidden;
}

.asset-download {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.72);
  color: var(--text);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.asset-download svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.asset-card:hover .asset-download,
.asset-card:focus-within .asset-download {
  opacity: 1;
  transform: translateY(0);
}

.asset-download:hover {
  background: rgba(20, 20, 22, 0.9);
  border-color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

.press-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
  align-items: start;
}

.press-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  align-self: start;
}

.press-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.press-image--landscape {
  width: 100%;
  aspect-ratio: 1200 / 860;
  object-fit: contain;
  object-position: center center;
  background: var(--surface);
  align-self: center;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list li span {
  color: var(--muted);
}

.info-list li strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.download-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.download-card:hover {
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.download-thumb {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.download-thumb--square {
  aspect-ratio: 1 / 1;
}

.download-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-thumb--square img {
  object-fit: contain;
  object-position: center;
}

.download-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.download-meta strong {
  color: var(--text);
  font-weight: 500;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.stream-links {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.stream-link {
  position: relative;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.92;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.stream-link:hover {
  transform: translateY(-2px);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--text);
}

.stream-link img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.stream-link:hover img,
.stream-link:focus-visible img {
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  transform: scale(1.02);
}

.tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 2;
}

.tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: rgba(10, 10, 11, 0.96) transparent transparent transparent;
}

.stream-link:hover .tooltip,
.stream-link:focus-visible .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (orientation: portrait) {
  body {
    background-size: auto 100vh, auto 100vh;
  }
}

@media (orientation: landscape) {
  body {
    background-size: 100vw auto, 100vw auto;
  }
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll, scroll;
  }

  .page {
    padding-top: 32px;
  }

  .hero,
  .press-grid,
  .download-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__brand {
    width: 100%;
    padding-right: 0;
  }

  .hero__logo {
    width: min(100%, 320px);
  }

  .asset-download {
    opacity: 1;
    transform: translateY(0);
  }

  .info-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .info-list li strong {
    text-align: left;
  }

  .stream-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    justify-items: center;
    margin-top: 1.2rem;
  }

  .stream-link {
    width: 2.8rem;
    height: 2.8rem;
  }

  .tooltip {
    display: none;
  }
}