:root {
  color-scheme: dark;
  --ink: #120709;
  --ink-soft: #211012;
  --wine: #5f1721;
  --wine-bright: #8b2834;
  --gold: #c9a462;
  --gold-soft: #e4c98e;
  --cream: #f2e8d3;
  --muted: #bbaea2;
  --line: rgba(228, 201, 142, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 0%, rgba(139, 40, 52, 0.16), transparent 34rem),
    var(--ink);
  color: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.portrait-panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #160b0c;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
  filter: saturate(0.88) contrast(1.03);
  transform: scale(1.015);
  animation: settle 1.4s cubic-bezier(.2,.75,.2,1) both;
}

.portrait-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 70%, rgba(18, 7, 9, 0.55) 100%),
    linear-gradient(0deg, rgba(12, 5, 6, 0.74), transparent 32%);
}

.portrait-note {
  position: absolute;
  left: clamp(1.5rem, 3vw, 3.5rem);
  bottom: 1.8rem;
  margin: 0;
  color: rgba(242, 232, 211, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.link-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2rem, 5vw, 5.25rem);
  padding-bottom: 1.8rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.018), transparent 48%),
    var(--ink);
  border-left: 1px solid rgba(228, 201, 142, 0.12);
}

.ambient-orb {
  position: absolute;
  top: -10rem;
  right: -9rem;
  width: 27rem;
  height: 27rem;
  border-radius: 50%;
  background: rgba(120, 28, 39, 0.24);
  filter: blur(70px);
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  margin: auto 0;
}

.eyebrow {
  margin: 0 0 1.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.7s 0.12s ease-out forwards;
}

.wordmark {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 850 / 200;
  overflow: hidden;
  line-height: 1;
  opacity: 0;
  animation: rise 0.85s 0.22s cubic-bezier(.2,.75,.2,1) forwards;
}

.wordmark img {
  /* Original album lettering with a transparent background. */
  display: block;
  width: 100%;
  height: auto;
}

.intro {
  margin: 2.3rem 0 2.5rem;
  color: var(--cream);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: 0.015em;
  opacity: 0;
  animation: rise 0.7s 0.34s ease-out forwards;
}

.listen-links {
  display: grid;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.7s 0.45s ease-out forwards;
}

.listen-button {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  min-height: 4.6rem;
  padding: 0.72rem 1.15rem 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.12;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  backdrop-filter: blur(9px);
}

.listen-button:hover,
.listen-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(228, 201, 142, 0.58);
  background: rgba(201, 164, 98, 0.09);
}

.listen-button:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.listen-button small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--cream);
}

.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--ink);
}

.spotify-icon {
  background: #1ed760;
}

.youtube-icon {
  background: transparent;
}

.youtube-icon svg {
  width: 2.1rem;
  height: 2.1rem;
}

.arrow {
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.listen-button:hover .arrow {
  transform: translate(2px, -2px);
}

.rule {
  width: 100%;
  height: 1px;
  margin: 2.5rem 0 1.15rem;
  background: linear-gradient(90deg, var(--line), transparent);
}

.signoff {
  margin: 0;
  color: var(--gold);
  font-family: "Bodoni Moda", Didot, serif;
  font-size: 1.15rem;
  font-style: italic;
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: 2.8rem;
  color: rgba(187, 174, 162, 0.58);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes settle {
  from { opacity: 0; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1.015); }
}

@media (max-width: 820px) {
  .stage {
    display: block;
    min-height: 100svh;
    overflow: visible;
  }

  .portrait-panel {
    position: absolute;
    inset: 0 0 auto;
    min-height: 0;
    height: 58svh;
  }

  .portrait {
    object-position: center 47%;
  }

  .portrait-shade {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(18, 7, 9, 0.82) 16%, transparent 58%),
      linear-gradient(90deg, rgba(18, 7, 9, 0.18), transparent 55%);
  }

  .portrait-note {
    top: 1.2rem;
    bottom: auto;
    left: 1.25rem;
  }

  .link-panel {
    min-height: 100svh;
    padding: 47svh 1.15rem 1.15rem;
    border-left: 0;
    background: transparent;
  }

  .content {
    width: 100%;
    margin: 0;
  }

  .eyebrow {
    margin-bottom: 1rem;
    font-size: 0.68rem;
  }

  .intro {
    margin: 1.65rem 0 1.6rem;
    font-size: 1rem;
  }

  .listen-button {
    min-height: 4.35rem;
  }

  .rule,
  .signoff {
    display: none;
  }

  footer {
    margin-top: 2rem;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
}

@media (max-height: 730px) and (max-width: 820px) {
  .portrait-panel { height: 50svh; }
  .link-panel { padding-top: 40svh; }
  .eyebrow { margin-bottom: 0.8rem; }
  .intro { margin: 1.3rem 0; }
  footer { margin-top: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
