:root {
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-bg: #070707;
  --section-bg: #101010;
  --panel-bg: rgba(8, 8, 8, 0.42);
  --text: #f4f1eb;
  --text-muted: #b8b1a7;
  --accent: #c9a24d;
  --divider: rgba(255, 255, 255, 0.12);
  --content-max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
  display: block;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: var(--stable-hero-height, 100svh);
  height: var(--stable-hero-height, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #050505;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: calc(var(--stable-hero-height, 100svh) + var(--stable-hero-extra, 40svh));
  z-index: 0;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.76) contrast(1.08) saturate(0.92);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.86) 100%),
    radial-gradient(ellipse at 50% 32%, rgba(255, 226, 164, 0.18), rgba(201, 162, 77, 0.08) 20%, rgba(0, 0, 0, 0) 46%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0.54) 100%);
}

.film-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.045;
  pointer-events: none;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.62'/%3E%3C/svg%3E");
}

.social-panel {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  opacity: 1;
  will-change: opacity;
}

.social-panel.is-hidden {
  pointer-events: none;
}

.social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--text);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.72));
  outline: none;
  transition: color 160ms ease, filter 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--accent);
  filter: drop-shadow(0 4px 14px rgba(201, 162, 77, 0.38)) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.72));
}

.social-link:focus-visible {
  outline: 2px solid rgba(201, 162, 77, 0.72);
  outline-offset: 4px;
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.artist-section,
.releases-section {
  position: relative;
  background: var(--section-bg);
}

.artist-section::before,
.releases-section::before,
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(720px, 78vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(201, 162, 77, 0.34), transparent);
  pointer-events: none;
}

.artist-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.releases-section {
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease-out, transform 720ms ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-inner {
  width: min(calc(100% - 48px), var(--content-max));
  margin: 0 auto;
  padding: 96px 0;
}

.section-inner.narrow {
  max-width: 760px;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 5.8rem);
}

h2 {
  margin-bottom: 56px;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
}

.artist-copy {
  margin-top: 32px;
  color: var(--text);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  text-align: justify;
}

.artist-copy p {
  margin: 0 0 1.15em;
}

.artist-copy p:last-child {
  margin-bottom: 0;
}

.release {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  padding: 56px 0;
  border-top: 0;
}

.release::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), rgba(201, 162, 77, 0.16), rgba(255, 255, 255, 0.12), transparent);
}

.release:first-of-type::before {
  display: none;
}

.release:first-of-type {
  padding-top: 0;
}

.release:last-of-type {
  padding-bottom: 0;
}

.release-copy {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
}

.release-copy p {
  margin: 0;
}

.release-number {
  margin-bottom: 18px !important;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  line-height: 1.15;
}

.release-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.release-title-row .release-number {
  margin-bottom: 0 !important;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(201, 162, 77, 0.36);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.46);
}

.language-option {
  min-width: 44px;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: 600 0.72rem/1 var(--font-body);
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--text);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 77, 0.34);
}

.language-option.is-active {
  background: var(--accent);
  color: #070707;
}

.release-player {
  min-width: 0;
}

.release-player iframe {
  width: 100%;
  max-width: 100%;
  height: 352px;
  border: 0;
  background: #181818;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.site-footer {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #070707;
  color: rgba(244, 241, 235, 0.68);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1023px) {
  .section-inner {
    width: min(calc(100% - 40px), var(--content-max));
    padding: 72px 0;
  }

  .section-inner.narrow {
    max-width: 680px;
  }

  .social-panel {
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    gap: 8px;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .release {
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .hero-media img {
    object-position: center top;
  }

  .section-inner {
    width: min(calc(100% - 32px), var(--content-max));
    padding: 48px 0;
  }

  h2 {
    margin-bottom: 36px;
  }

  .artist-copy {
    text-align: left;
  }

  .social-panel {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    gap: 4px;
  }

  .social-link {
    width: 34px;
    height: 34px;
  }

  .social-link svg {
    width: 19px;
    height: 19px;
  }

  .release,
  .release-player-first {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 0;
  }

  .release-player-first .release-player {
    order: 2;
  }

  .release-player-first .release-copy {
    order: 1;
  }

  .release-player iframe {
    height: 352px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media {
    transform: none !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .social-link {
    transition: none;
  }
}
