@font-face {
  font-family: Manrope;
  src: url("landing/fonts/manrope-400.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("landing/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #111b19;
  color: #f4f7f5;
  font-family: Manrope, sans-serif;
}

.release-page {
  flex: 1;
  width: min(100%, 1100px);
  margin: auto;
  padding: clamp(24px, 5vw, 64px) clamp(20px, 4vw, 48px);
}

.release-navigation { margin-bottom: 32px; }
.release-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #365448;
  border-radius: 8px;
  color: #c6d6cc;
  text-decoration: none;
}
.release-navigation a:focus-visible { outline: 3px solid #a1f2b1; outline-offset: 3px; }

.release-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.release-layout--no-cover { grid-template-columns: minmax(0, 1fr); }

.release-artwork {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: #283d34;
}
.release-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 250ms ease;
}
.release-cover[hidden] { display: none; }
.release-artwork--loading .release-cover { opacity: 0; }
.release-artwork--loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, #46615180 50%, transparent 75%);
  background-size: 200% 100%;
  animation: release-cover-shimmer 1.8s ease-in-out infinite;
}
.release-cover-status {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #c6d6cc;
}
.release-cover-status[hidden] { display: none; }
@keyframes release-cover-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .release-artwork--loading::before { animation: none; }
  .release-cover { transition: none; }
}

.release-artwork, .release-info { animation: release-appear 500ms ease-out backwards; }
.release-info { animation-delay: 80ms; }

@keyframes release-appear {
  from { opacity: 0.65; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.release-footer {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem) 2rem;
  border-top: 1px solid #365448;
  color: #c6d6cc;
  font-size: 0.875rem;
}
.release-footer a { color: inherit; text-underline-offset: 3px; }
.release-footer a:hover { color: #f4f7f5; }
.release-footer a:focus-visible { outline: 3px solid #a1f2b1; outline-offset: 3px; }

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

.release-info h1 {
  margin: 0;
  font: 700 clamp(2rem, 5vw, 3.5rem)/1.12 "Space Grotesk", sans-serif;
  overflow-wrap: anywhere;
}

.release-artists {
  margin: 1rem 0 2rem;
  color: #c6d6cc;
  font-size: 1.15rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.release-links {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid #648a76;
  border-radius: 0.5rem;
  color: #f4f7f5;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.release-links a:hover, .release-links a:focus-visible {
  background: #263b30;
  transform: translateY(-2px);
}
.release-links a:focus-visible { outline: 3px solid #a1f2b1; outline-offset: 3px; }
.release-links span { flex: none; }

.release-navigation a { transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease; }
.release-navigation a:hover, .release-navigation a:focus-visible { background: #263b30; border-color: #a1f2b1; color: #f4f7f5; transform: translateY(-2px); }
.release-links a:active, .release-navigation a:active { transform: scale(.98); }

@media (max-width: 760px) {
  .release-layout { grid-template-columns: minmax(0, 1fr); }
  .release-artwork { max-width: 420px; margin: auto; }
  .release-artists { margin-bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .release-artwork, .release-info { animation: none; }
  .release-links a, .release-navigation a { transition: none; }
  .release-links a:hover, .release-links a:focus-visible, .release-links a:active,
  .release-navigation a:hover, .release-navigation a:focus-visible, .release-navigation a:active { transform: none; }
}
