:root {
  color-scheme: dark;
  --bg: #03070a;
  --ink: #f6f0e4;
  --muted: #c0c3c1;
  --gold: #e9b85e;
  --gold-strong: #f4ca74;
  --line: rgba(233, 184, 94, 0.56);
  --radius: 7px;
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(2, 7, 10, 0.27), rgba(2, 7, 10, 0.72) 48%, rgba(5, 4, 2, 0.44)),
    linear-gradient(180deg, rgba(2, 5, 7, 1) 0%, rgba(2, 5, 7, 0.97) 22%, rgba(2, 5, 7, 0.25) 47%, rgba(2, 5, 7, 0.96) 80%, rgba(2, 5, 7, 1) 100%),
    url("https://lawrencebentley.com/glassanimal/Glass%20Animal%20-%20Static%20Made%20of%20Stars/Glass%20Animal%20Cover.jpg") left center / 58% auto fixed no-repeat,
    url("./sacrificial-garden/Glass Animal - Sacrificial Garden/Glass Animal-Sacrificial Garden-Cover.jpg") right center / 58% auto fixed no-repeat,
    var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 26% 40%, rgba(43, 114, 151, 0.18), transparent 36%),
    radial-gradient(circle at 76% 42%, rgba(231, 171, 75, 0.16), transparent 36%),
    linear-gradient(90deg, rgba(3, 10, 14, 0.12), rgba(4, 6, 7, 0.74) 49%, rgba(9, 6, 2, 0.18));
}

a {
  -webkit-tap-highlight-color: transparent;
}

.entry-shell {
  width: min(1220px, calc(100vw - 64px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 0 42px;
}

.entry-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.entry-header::before {
  content: "";
}

.entry-header h1 {
  grid-column: 2;
  margin: 0;
  color: var(--gold);
  font-size: clamp(2.5rem, 5.1vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.31em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.back-link {
  grid-column: 3;
  justify-self: end;
  align-self: start;
  margin-top: 3px;
  padding: 7px 0 5px;
  color: var(--gold-strong);
  border-bottom: 1px solid var(--line);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.27em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease;
}

.back-link:hover {
  color: #fff3d5;
  border-color: #fff3d5;
}

.project-note {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: clamp(25px, 4vw, 50px);
  align-items: center;
  margin: 36px 0 30px;
  padding: clamp(25px, 3vw, 36px);
  background:
    radial-gradient(circle at 8% 20%, rgba(43, 114, 151, 0.12), transparent 38%),
    rgba(3, 9, 12, 0.84);
  border: 1px solid rgba(233, 184, 94, 0.32);
  border-radius: var(--radius);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.34);
}

.project-note__heading {
  padding-right: clamp(25px, 3vw, 42px);
  border-right: 1px solid rgba(233, 184, 94, 0.28);
}

.project-note__heading p,
.project-note__heading h2,
.project-note__copy p {
  margin: 0;
}

.project-note__heading p {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-note__heading h2 {
  margin-top: 10px;
  color: var(--gold-strong);
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.project-note__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}

.project-note__copy p {
  color: rgba(246, 240, 228, 0.78);
  font-size: 0.94rem;
  line-height: 1.7;
}

.project-note__copy strong {
  color: var(--ink);
  font-weight: 600;
}

.project-note__emoji {
  display: inline-block;
  margin-left: 0.12em;
  font-size: 1.05em;
}

.collection-title {
  display: grid;
  grid-template-columns: minmax(70px, 190px) auto minmax(70px, 190px);
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin: 25px 0 27px;
}

.collection-title span {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}

.collection-title span:last-child {
  background: linear-gradient(90deg, var(--line), transparent);
}

.collection-title p {
  margin: 0;
  color: rgba(246, 240, 228, 0.9);
  font-size: 0.92rem;
  letter-spacing: 0.54em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.album-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}

.album-choice {
  min-width: 0;
  text-align: center;
}

.album-art-link {
  position: relative;
  display: block;
  width: min(100%, calc(100vh - 380px));
  margin-inline: auto;
  border: 1px solid rgba(233, 184, 94, 0.76);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.album-art-link::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.album-art-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 220ms ease;
}

.album-choice:hover .album-art-link {
  border-color: var(--gold-strong);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.68), 0 0 32px rgba(233, 184, 94, 0.11);
  transform: translateY(-5px);
}

.album-choice:hover .album-art-link img {
  filter: brightness(1.04);
  transform: scale(1.012);
}

.album-copy {
  padding: 22px 10px 0;
}

.album-copy h2,
.album-copy p {
  margin: 0;
  text-transform: uppercase;
}

.album-copy h2 {
  color: var(--gold-strong);
  font-size: clamp(1.12rem, 1.85vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 1.2;
}

.album-copy p {
  margin-top: 10px;
  color: rgba(246, 240, 228, 0.83);
  font-size: 0.82rem;
  letter-spacing: 0.34em;
}

.album-copy p span {
  margin: 0 8px;
  color: var(--gold);
}

.album-copy p::after {
  display: block;
  width: min(260px, 76%);
  margin: 15px auto 0;
  color: var(--gold-strong);
  background: linear-gradient(90deg, var(--line) 0 43%, transparent 43% 57%, var(--line) 57% 100%) center / 100% 1px no-repeat;
  content: "✦";
  font-size: 0.88rem;
  letter-spacing: 0;
  line-height: 1;
}

.enter-album {
  display: inline-grid;
  place-items: center;
  min-width: 250px;
  min-height: 52px;
  margin-top: 15px;
  padding: 0 24px;
  color: var(--gold-strong);
  background: rgba(4, 10, 13, 0.62);
  border: 1px solid rgba(233, 184, 94, 0.78);
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.enter-album:hover {
  color: #071016;
  background: var(--gold-strong);
  border-color: #ffe2a2;
  transform: translateY(-2px);
}

.album-art-link:focus-visible,
.enter-album:focus-visible,
.back-link:focus-visible,
.making-of a:focus-visible {
  outline: 2px solid #ffe3a5;
  outline-offset: 4px;
}

.making-of {
  position: relative;
  margin-top: clamp(84px, 10vw, 138px);
  padding: clamp(36px, 5vw, 66px);
  background:
    radial-gradient(circle at 12% 8%, rgba(46, 123, 159, 0.13), transparent 33%),
    radial-gradient(circle at 91% 94%, rgba(233, 184, 94, 0.12), transparent 34%),
    rgba(3, 8, 11, 0.88);
  border: 1px solid rgba(233, 184, 94, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.making-of::before {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.making-of__intro {
  max-width: 850px;
  margin: 0 auto clamp(34px, 5vw, 54px);
  text-align: center;
}

.section-eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  line-height: 1.4;
  text-transform: uppercase;
}

.making-of__intro h2 {
  margin: 14px 0 0;
  color: var(--gold-strong);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-transform: uppercase;
}

.making-of__lede {
  max-width: 690px;
  margin: 20px auto 0;
  color: rgba(246, 240, 228, 0.79);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.75;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: rgba(233, 184, 94, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-step {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(3, 9, 12, 0.96);
}

.process-number {
  display: block;
  margin-bottom: 24px;
  color: rgba(233, 184, 94, 0.48);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.process-step h3,
.mastering-feature h3 {
  margin: 0;
  color: var(--gold-strong);
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.process-step h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.36rem);
  letter-spacing: 0.16em;
}

.process-step p,
.mastering-feature figcaption > p:last-child {
  color: rgba(246, 240, 228, 0.78);
  line-height: 1.75;
}

.process-step p {
  margin: 16px 0 0;
  font-size: 0.96rem;
}

.process-step a {
  color: var(--gold-strong);
  text-decoration-color: rgba(233, 184, 94, 0.48);
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.process-step a:hover {
  color: #fff3d5;
  text-decoration-color: #fff3d5;
}

.mastering-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: stretch;
  margin: clamp(34px, 5vw, 58px) 0 0;
  background: rgba(9, 8, 5, 0.72);
  border: 1px solid rgba(233, 184, 94, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
}

.mastering-photo {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.mastering-photo::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent 60%, rgba(8, 7, 4, 0.2));
}

.mastering-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.05) brightness(0.86);
}

.mastering-feature figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 52px);
}

.mastering-feature h3 {
  margin-top: 13px;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  letter-spacing: 0.1em;
}

.mastering-feature figcaption > p:last-child {
  margin: 19px 0 0;
  font-size: 1rem;
}

@media (max-width: 980px) {
  body {
    background-attachment: scroll;
    background-size: auto 50%, auto 50%, 120% auto, 120% auto, auto;
    background-position: center, center, left top, right bottom, center;
  }

  .entry-shell {
    width: min(780px, calc(100vw - 32px));
    padding-top: 25px;
  }

  .entry-header {
    grid-template-columns: 1fr auto;
  }

  .entry-header::before {
    display: none;
  }

  .entry-header h1 {
    grid-column: 1;
    justify-self: start;
    font-size: clamp(2.2rem, 7vw, 4rem);
    text-align: left;
  }

  .back-link {
    grid-column: 2;
  }

  .album-choices {
    gap: 28px;
  }

  .project-note {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-note__heading {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(233, 184, 94, 0.28);
  }

  .making-of {
    margin-top: 86px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .mastering-feature {
    grid-template-columns: 1fr;
  }

  .mastering-photo {
    min-height: 0;
  }

  .mastering-photo img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 700px) {
  body {
    background:
      radial-gradient(circle at 18% 22%, rgba(32, 92, 126, 0.22), transparent 36%),
      radial-gradient(circle at 84% 68%, rgba(210, 145, 51, 0.16), transparent 38%),
      linear-gradient(180deg, #02070a, #060706 54%, #090602);
  }

  .entry-shell {
    width: min(100% - 24px, 520px);
    padding-top: 18px;
  }

  .entry-header {
    display: flex;
    flex-direction: column-reverse;
    gap: 26px;
    align-items: flex-start;
  }

  .entry-header h1 {
    font-size: clamp(2.1rem, 12vw, 3.5rem);
    letter-spacing: 0.2em;
    white-space: normal;
  }

  .back-link {
    align-self: flex-end;
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: 0.19em;
  }

  .collection-title {
    grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
    gap: 16px;
    margin: 22px 0;
  }

  .collection-title p {
    font-size: 0.77rem;
    letter-spacing: 0.38em;
  }

  .project-note {
    gap: 21px;
    margin: 28px 0 24px;
    padding: 24px 21px;
  }

  .project-note__heading {
    padding-bottom: 17px;
  }

  .project-note__copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-note__copy p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .album-choices {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .album-art-link {
    width: 100%;
  }

  .album-copy {
    padding-top: 18px;
  }

  .album-copy h2 {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
  }

  .enter-album {
    width: min(100%, 300px);
    min-width: 0;
  }

  .making-of {
    margin-top: 72px;
    padding: 32px 18px 18px;
  }

  .making-of__intro {
    margin-bottom: 30px;
  }

  .making-of__intro h2 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
    letter-spacing: 0.06em;
  }

  .making-of__lede {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .process-step {
    padding: 26px 22px 30px;
  }

  .process-number {
    margin-bottom: 18px;
  }

  .mastering-feature {
    margin-top: 28px;
  }

  .mastering-feature figcaption {
    padding: 29px 22px 32px;
  }

  .mastering-feature h3 {
    font-size: 1.45rem;
  }
}

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