:root {
  --ink: #0a0908;
  --ink-soft: #12100d;
  --paper: #ebe7df;
  --paper-muted: rgba(235, 231, 223, 0.82);
  --paper-faint: rgba(235, 231, 223, 0.46);
  --gold: #c7a55a;
  --gold-soft: rgba(199, 165, 90, 0.38);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 13%, rgba(199, 165, 90, 0.075), transparent 28rem),
    linear-gradient(180deg, var(--ink-soft) 0, var(--ink) 42rem);
  color: var(--paper);
  font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 300;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  min-height: 100svh;
  overflow: hidden;
}

.site-header,
.hero,
.site-footer {
  width: min(100% - 48px, 1360px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  border-bottom: 1px solid rgba(235, 231, 223, 0.14);
}

.site-header p {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  font-weight: 400;
  line-height: 1.55;
}

.artist-name {
  color: var(--gold);
  font-size: clamp(0.82rem, 1vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header-note {
  color: var(--paper);
  font-size: clamp(0.61rem, 0.68vw, 0.72rem);
  letter-spacing: 0.16em;
}

.hero {
  padding: clamp(26px, 4vh, 48px) 0 clamp(22px, 3vh, 36px);
}

.hero-intro {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(2.45rem, 5.8vw, 5.55rem);
  font-weight: 200;
  letter-spacing: 0.1em;
  line-height: 0.94;
  text-transform: uppercase;
  animation: rise-in 900ms 80ms both;
}

.album-credit {
  display: flex;
  max-width: 940px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  margin: clamp(16px, 2.2vh, 24px) 0 0;
  color: var(--paper);
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 300;
  letter-spacing: 0.065em;
  line-height: 1.48;
  animation: rise-in 900ms 170ms both;
}

.album-credit span {
  display: block;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: clamp(18px, 2.7vh, 28px) 0 clamp(14px, 2vh, 20px);
  color: var(--paper-muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-transform: uppercase;
  animation: rise-in 900ms 260ms both;
}

.section-label::before,
.section-label::after {
  width: 46px;
  height: 1px;
  content: "";
  background: var(--gold-soft);
}

.release-grid {
  display: grid;
  width: min(100%, 880px, calc((100svh - 440px) * 2 + 48px));
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 48px);
}

.release-card {
  min-width: 0;
  margin: 0;
}

.release-card-1 {
  animation: rise-in 1000ms 340ms both;
}

.release-card-2 {
  animation: rise-in 1000ms 450ms both;
}

.artwork-frame {
  display: block;
  position: relative;
  overflow: hidden;
  background: #181513;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.artwork-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.artwork-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

.artwork-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(235, 231, 223, 0.12);
  content: "";
  pointer-events: none;
}

.artwork-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 900ms ease;
}

.artwork-link:hover img,
.artwork-link:focus-visible img {
  filter: saturate(1.06) contrast(1.025);
  transform: scale(1.018);
}

.release-card figcaption {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-top: 12px;
  color: var(--paper-muted);
  font-size: clamp(0.74rem, 0.9vw, 0.88rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1.55;
  text-transform: uppercase;
}

.release-card figcaption span {
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.site-footer {
  display: flex;
  min-height: 58px;
  align-items: center;
  border-top: 1px solid rgba(235, 231, 223, 0.14);
  color: rgba(235, 231, 223, 0.82);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.6;
  text-transform: uppercase;
}

@media (min-width: 801px) {
  .site-shell {
    display: grid;
    min-height: 100svh;
    grid-template-rows: auto 1fr auto;
  }

  main {
    display: flex;
    align-items: center;
  }
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: color 250ms ease;
}

.site-footer a span {
  color: var(--gold);
  font-size: 1rem;
  transition: transform 250ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

.site-footer a:hover span,
.site-footer a:focus-visible span {
  transform: translateX(-4px);
}

.site-footer a:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 8px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 32px, 1360px);
  }

  .site-header {
    min-height: 78px;
  }

  .site-header p {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .hero {
    padding: 70px 0 86px;
  }

  h1 {
    font-size: clamp(2.45rem, 11.5vw, 4.4rem);
    letter-spacing: 0.075em;
    line-height: 0.98;
  }

  .album-credit {
    max-width: 600px;
    gap: 2px;
  }

  .release-grid {
    width: 100%;
    max-width: 580px;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .site-footer {
    min-height: 150px;
  }
}

@media (max-width: 460px) {
  .site-header p {
    max-width: 280px;
  }

  .artist-name {
    font-size: 0.78rem;
  }

  .header-note {
    font-size: 0.58rem;
  }

  .hero {
    padding: 62px 0 76px;
  }

  h1 {
    max-width: 330px;
    font-size: 2.25rem;
    letter-spacing: 0.055em;
    line-height: 1.06;
  }

  .album-credit {
    margin-top: 24px;
    font-size: 0.78rem;
    letter-spacing: 0.055em;
    line-height: 1.7;
  }

  .section-label {
    gap: 12px;
    margin-top: 62px;
    font-size: 0.64rem;
    letter-spacing: 0.25em;
  }

  .section-label::before,
  .section-label::after {
    width: 26px;
  }

  .release-card figcaption {
    gap: 10px;
    margin-top: 15px;
    font-size: 0.66rem;
    letter-spacing: 0.11em;
  }

  .site-footer {
    font-size: 0.61rem;
    letter-spacing: 0.15em;
  }
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.error-panel {
  width: min(100%, 760px);
}

.error-code {
  margin: 0;
  color: var(--gold);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 200;
  letter-spacing: 0.12em;
  line-height: 1;
}

.error-title {
  margin: 22px 0 0;
  color: var(--paper);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.error-copy {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--paper-muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  line-height: 1.75;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.error-actions a {
  border-bottom: 1px solid var(--gold-soft);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.7;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 250ms ease, color 250ms ease;
}

.error-actions a:hover,
.error-actions a:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
