/*
Theme Name: Unfinished
Theme URI: https://unfinished.local
Author: Igor Stepanovic
Description: Minimal crowdfunding landing page for the album Unfinished.
Version: 1.0.62
Text Domain: unfinished
*/

@font-face {
  font-family: "Polar Vertex";
  src: url("assets/fonts/PolarVertex-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #090908;
  --ink-soft: #11100e;
  --paper: #f0ece4;
  --muted: #aaa49a;
  --gold: #b98a4a;
  --gold-light: #d9b675;
  --line: rgba(217, 182, 117, 0.28);
  --sans: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem clamp(1.5rem, 5vw, 5.5rem);
}

.site-header--landing {
  justify-content: flex-end;
}

.wordmark,
.album-title {
  font-family: "Polar Vertex", var(--sans);
  font-weight: 400;
}

.wordmark {
  text-decoration: none;
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.site-nav { display: flex; gap: clamp(1.5rem, 3vw, 3rem); }

.site-nav a {
  color: #c9c4bc;
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 60svh;
  display: block;
  grid-template-columns: minmax(0, 0.88fr) minmax(28rem, 1.12fr);
  overflow: hidden;
  padding: 0 clamp(1.5rem, 7.5vw, 9rem);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(4rem, 32svh, 10rem);
  background: linear-gradient(to bottom, rgba(9, 9, 8, 0), var(--ink));
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  /*top: clamp(3.75rem, 12svh, 8rem);*/
  top: 20%;
  left: clamp(1.5rem, 7.5vw, 9rem);
  max-width: 43rem;
}

.constellation {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #d3cec6;
  font-family: var(--sans);
  font-size: clamp(0.92rem, 1.25vw, 1.18rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.album-title {
  margin: 0;
  font-size: clamp(4.8rem, 8.25vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.025em;
}

.title-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: fit-content;
  max-width: 100%;
}

.hero-line {
  max-width: 31rem;
  margin: 2rem 0 2.5rem;
  color: #b7b1a8;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 300;
  letter-spacing: 0.11em;
}

.support-button {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 23rem);
  padding: 1.3rem 2.25rem;
  border: 1px solid #c99f60;
  background: linear-gradient(115deg, #c8a063 0%, #a97838 50%, #c8a063 100%);
  background-position: 0 50%;
  background-size: 200% 100%;
  color: #11100e;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-position 260ms ease-out;
}

.support-button:hover {
  background-position: 100% 50%;
}

body.support-modal-open {
  overflow: hidden;
  padding-right: var(--support-scrollbar-compensation, 0px);
}

.support-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.support-modal.is-mounted {
  visibility: visible;
  pointer-events: auto;
}

.support-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(3, 3, 3, 0.72);
  cursor: pointer;
  opacity: 0;
  transition: opacity 360ms ease;
}

.support-modal__panel {
  position: fixed;
  top: var(--support-target-top, 50%);
  left: var(--support-target-left, 50%);
  width: var(--support-target-width, 1px);
  height: var(--support-target-height, 1px);
  overflow: hidden;
  border: 1px solid #c99f60;
  border-radius: 0;
  background: #b98a4a;
  box-shadow: none;
  transform: translate3d(var(--support-origin-translate-x, 0px), var(--support-origin-translate-y, 0px), 0) scale(var(--support-origin-scale-x, 0.001), var(--support-origin-scale-y, 0.001));
  transform-origin: top left;
  will-change: transform, border-radius, background-color, box-shadow;
  transition: transform 440ms cubic-bezier(0.22, 0.82, 0.22, 1), border-radius 440ms ease, background-color 300ms ease 80ms, box-shadow 440ms ease;
}

.support-modal.is-open .support-modal__backdrop { opacity: 1; }

.support-modal.is-open .support-modal__panel {
  transform: translate3d(0, 0, 0) scale(1);
  border-radius: 1.25rem;
  background: var(--ink-soft);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
}

.support-modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 190ms ease, transform 260ms ease;
}

.support-modal.is-open .support-modal__content {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 170ms;
}

.support-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 300 2rem/1 var(--sans);
}

.support-modal__eyebrow {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.support-modal h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.08;
}

.support-modal__intro {
  max-width: 33rem;
  margin: 1.15rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.payment-options {
  display: grid;
  gap: 0.7rem;
}

.payment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--paper);
  font: 400 1rem/1.3 var(--sans);
  text-align: left;
}

.payment-option:disabled {
  cursor: default;
  opacity: 1;
}

.payment-option small {
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.title-cta-group .support-button {
  margin-top: clamp(1.25rem, 2.5svh, 2rem);
}

.secondary-link {
  display: block;
  width: max-content;
  margin-top: 1.6rem;
  border-bottom: 1px solid var(--line);
  color: #bcb6ad;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.hero-art {
  position: absolute;
  z-index: 2;
  right: clamp(-7rem, -3vw, -2rem);
  top: 50%;
  width: min(66vw, 61rem);
  padding-top: 2svh;
  pointer-events: none;
  transform: translateY(-50%);
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% 8% 10% 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 117, 48, 0.13), transparent 67%);
  filter: blur(22px);
}

.art-composition {
  position: relative;
  width: min(53vw, 45rem, 43svh);
  aspect-ratio: 1230 / 1278;
  margin-left: auto;
  isolation: isolate;
}

.portrait, .art-constellation, .art-mask-debug {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.portrait { z-index: 2; }
.art-mask-debug { z-index: 5; }
.art-constellation {
  z-index: 1;
  -webkit-mask-image: url("assets/images/constellation-mask.png");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-source-type: luminance;
  mask-image: url("assets/images/constellation-mask.png");
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-mode: luminance;
}

.head-orb {
  position: absolute;
  z-index: 1;
  top: -6%;
  left: 21.5%;
  width: 63%;
  aspect-ratio: 1;
  border: 1px solid rgba(184, 120, 31, 0.14);
  border-radius: 50%;
  /*box-shadow: 0 0 10px rgba(186, 126, 55, 0.12), inset 0 0 9px rgba(229, 184, 117, 0.06);*/
  opacity: 0.78;
  pointer-events: none;
  transform-origin: 50% 50%;
  animation: orb-drift 26s ease-in-out infinite alternate;
}

.head-orb::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-top-color: rgba(250, 210, 149, 0.36);
  border-right-color: rgba(240, 184, 105, 0.1);
  border-radius: inherit;
  animation: orb-highlight 55s linear infinite;
}

.orbiter-track {
  position: absolute;
  inset: -1px;
  animation: orb-orbit 55s linear infinite;
}

.orbiter {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f0b869;
  /*box-shadow: 0 0 0 2px rgba(92, 55, 22, 0.56), 0 0 9px rgba(235, 174, 94, 0.72);*/
  transform: translateX(-50%);
  animation: orbiter-pulse 5s ease-in-out infinite;
}

.orbiter-track-two { animation-duration: 58s; animation-direction: reverse; }
.orbiter-track-two .orbiter { width: 4px; height: 4px; top: -2.5px; opacity: 0.82; animation-delay: -1.7s; }
.orbiter-track-three { animation-duration: 94s; animation-delay: -27s; }
.orbiter-track-three .orbiter { width: 5px; height: 5px; top: -3px; opacity: 0.72; animation-delay: -3.1s; }

@keyframes orb-drift {
  from { transform: rotate(-1.2deg) scale(0.994); opacity: 0.67; }
  to { transform: rotate(1.2deg) scale(1.006); opacity: 0.84; }
}

@keyframes orb-highlight {
  to { transform: rotate(360deg); }
}

@keyframes orb-orbit {
  to { transform: rotate(360deg); }
}

@keyframes orbiter-pulse {
  0%, 100% { filter: brightness(0.86); }
  50% { filter: brightness(1.18); }
}

.constellation-debug .portrait { visibility: hidden; }
.constellation-debug .constellation { display: none; }
.constellation-debug .art-mask-debug { opacity: 0.35; }
.constellation-debug .head-orb { display: none; }
.constellation-debug .art-constellation {
  -webkit-mask-image: none;
  mask-image: none;
}
.constellation-debug .hero-shade { background: rgba(9, 9, 8, 0.02); }
.constellation-debug .hero::after { display: none; }

.hero-shade {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: rgba(9, 9, 8, 0.28);
  pointer-events: none;
}

.story,
.support,
.album-section {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(10rem, 0.48fr) minmax(18rem, 1fr);
  gap: clamp(3rem, 10vw, 10rem);
  max-width: 82rem;
  margin: 0 auto;
  padding: clamp(7rem, 13vw, 12rem) clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.album-section {
  min-height: min(44rem, 76svh);
  align-items: center;
}

main > .hero + .album-section {
  border-top-color: transparent;
}

.section-number {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title {
  max-width: 15ch;
  margin: -0.25rem 0 2rem;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-copy {
  max-width: 41rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.section-more {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  margin: 1.8rem 0 0 auto;
  padding: 0.72rem 1rem 0.76rem 1.1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  transition: background-color 180ms ease, color 180ms ease;
}

.section-more:hover {
  background: var(--gold);
  color: var(--ink);
}

.section-more-arrow {
  display: inline-block;
  font-family: "Polar Vertex", var(--sans);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 0.8;
  color: inherit;
  transform: rotate(90deg);
}

.support { align-items: center; }

.support-card {
  padding: clamp(2rem, 5vw, 4.25rem);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(185, 138, 74, 0.08), rgba(255, 255, 255, 0.01));
}

.support-card .section-title { max-width: 18ch; }
.support-card .support-button { margin-top: 2rem; }

.support-button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.82;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.5rem, 5vw, 5.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #77726b;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .site-header { padding-top: 1.5rem; }
  .site-nav { gap: 1.25rem; }
  .hero {
    min-height: 50svh;
  }
  .hero-copy { top: clamp(4.5rem, 12svh, 8rem); }
  .hero-art {
    top: 50%;
    right: -11rem;
    bottom: auto;
    width: 46rem;
  }
  .art-composition { width: min(38rem, 43svh); }
  .hero-shade {
    background: rgba(9, 9, 8, 0.28);
  }
}

@media (max-width: 620px) {
  .wordmark { max-width: 10rem; line-height: 1.5; }
  .site-nav a:first-child { display: none; }
  .hero { min-height: 50svh; padding-inline: 1.4rem; }
  .hero-copy { top: clamp(4.5rem, 12svh, 7rem); left: 1.4rem; right: 1.4rem; }
  .album-title { font-size: clamp(4.6rem, 21vw, 6rem); }
  .hero-line { margin-block: 1.4rem 2rem; line-height: 1.55; }
  .hero-art { top: 50%; right: -12.5rem; width: 39rem; }
  .art-composition { width: min(32rem, 43svh); }
  .story,
  .support,
  .album-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-footer { flex-direction: column; gap: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .constellation { display: none; }
  .head-orb, .head-orb::after, .orbiter-track, .orbiter { animation: none; }
  .support-modal__backdrop, .support-modal__panel, .support-modal__content { transition: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Shared WHAT / WHO / WHY page template. */
.section-more { text-decoration: none; }
.section-more:focus-visible,
.section-page-back:focus-visible,
.wordmark:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
.section-page-header { position: relative; }
.section-page {
  max-width: 82rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 5rem) clamp(5rem, 10vw, 9rem);
  min-height: 80svh;
}
.section-page .section-title { max-width: 18ch; margin: 1.5rem 0 3rem; }
.section-page-content { max-width: 46rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); overflow-wrap: anywhere; }
.section-page-content > :first-child { margin-top: 0; }
.section-page-content h2,
.section-page-content h3,
.section-page-content h4 { color: var(--paper); font-weight: 400; line-height: 1.2; margin-top: 2em; }
.section-page-content a { color: var(--gold-light); text-underline-offset: 0.2em; }
.section-page-content img,
.section-page-content video { max-width: 100%; height: auto; }
.section-page-content iframe { max-width: 100%; }
.section-page-content figure { max-width: 100%; margin-inline: 0; }
.section-page-back { display: inline-block; margin-top: 3rem; color: var(--gold); text-decoration: none; }
.section-page-back:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 0.25em; }

/* Long-form story sections and direct landing-page anchors. */
.story-content { max-width: 48rem; }
.story-content .story-section { padding-block: 2rem 3rem; scroll-margin-top: 2rem; }
.story-content .story-section + .story-section { border-top: 1px solid var(--line); padding-top: 4rem; }
.story-content .story-section h2 { margin-top: 0; color: var(--paper); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; }
.story-content .story-section p { margin-block: 0 1.4em; }
.story-content .story-section p:last-child { margin-bottom: 0; }

/* Compact landing-page overview; internal page typography stays independent. */
.album-overview {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 82rem;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem);
}
.album-overview .album-section { display: flex; min-height: 0; min-width: 0; max-width: none; margin: 0; padding: 0; border: 0; align-items: stretch; }
.album-overview .album-section > div { display: flex; flex-direction: column; width: 100%; }
.album-overview .section-title { min-height: 2.16em; margin: 0 0 1.5rem; font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
.album-overview .section-copy { font-size: 1rem; margin-bottom: 2rem; }
.album-overview .section-more { margin-top: auto; }
@media (max-width: 800px) {
  .album-overview { grid-template-columns: 1fr; gap: 3rem; }
  .album-overview .section-title { min-height: 0; max-width: none; margin-bottom: 1rem; }
  .album-overview .album-section + .album-section { padding-top: 3rem; border-top: 1px solid rgba(255, 255, 255, .07); }
}

.album-overview .section-title-key { display: block; font-weight: 400; margin-bottom: .25em; color: var(--gold);}
.album-overview .section-title-rest { display: block; font-weight: 300; }

@media (min-width: 801px) {
  .album-overview .album-section + .album-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(clamp(2rem, 4vw, 4rem) / -2);
    width: 1px;
    background: rgba(217, 182, 117, .16);
    pointer-events: none;
  }
}

.site-nav button:not(.support-button) { padding: 0; border: 0; background: none; color: #c9c4bc; font: inherit; font-size: 1rem; font-weight: 300; cursor: pointer; }
.site-nav a:hover, .site-nav button:not(.support-button):hover { color: var(--gold-light); }
.site-nav a:focus-visible, .site-nav button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
@media (max-width: 620px) {
  .site-header:has(.site-nav) { gap: 1rem; flex-wrap: wrap; }
  .site-nav { gap: 1.25rem; }
  .site-nav a:first-child { display: inline; }
  .site-nav a, .site-nav button { font-size: .85rem; }
}

/* Give the landing navigation a little more space above it. */
.site-header .site-nav { padding-top: .75rem; }

.site-nav { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a[aria-current="page"] { color: var(--gold); }
@media (max-width: 620px) {
  .ucs-header .site-nav { flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1rem; max-width: 60%; }
}

.payment-option[href] { text-decoration: none; box-sizing: border-box; }
.payment-option[href]:hover { border-color: var(--gold); background: rgba(255,255,255,.06); }

.support-progress { width: 100%; margin: 1.5rem 0; }
.support-progress__label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .7rem; color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
.support-progress__label strong { color: var(--gold-light); font-weight: 400; font-variant-numeric: tabular-nums; }
.support-progress__track { height: 5px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.12); }
.support-progress__fill { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.support-progress__pending { margin: 0; color: var(--muted); font-size: .75rem; }
.title-cta-group .support-progress { width: min(100%, 23rem); margin: 1.25rem 0 0; position: relative; z-index: 6; }

/* Shared footer: a quiet invitation at the end of every page. */
.site-footer {
  display: block;
  border-top: 0;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.5rem, 7.5vw, 9rem);
  background: var(--ink);
}
.site-footer__invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  border-top: 1px solid var(--line);
}
.site-footer__eyebrow {
  margin: 0 0 1.5rem;
  color: var(--gold-light);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.site-footer__copy h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.8rem, 3.6vw, 3.8rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -.045em;
}
.site-footer__copy h2 span { color: var(--gold-light); }
.site-footer__copy > p:last-child {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 300;
}
.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-shrink: 0;
  min-height: 60px;
  padding: 1rem 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.site-footer__cta span { font-size: 1.5rem; line-height: 1; }
.site-footer__cta:hover { background: var(--gold-light); color: var(--ink); }
.site-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.site-footer__brand {
  width: fit-content;
  color: var(--paper);
  font-family: "Polar Vertex", var(--sans);
  font-size: clamp(.9rem, 1.2vw, 1.2rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.site-footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.site-footer__heading { margin: 0 0 .9rem; color: var(--gold-light); font-size: .7rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .8rem;
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--gold-light); }
.site-footer__credit { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .7rem; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 6px; }
@media (max-width: 760px) {
  .site-footer__invitation { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .site-footer__bottom { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__links { gap: 1.5rem; }
}
@media (max-width: 400px) { .site-footer__cta { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .site-footer__cta { transition: none; } }

/* Shared compact navigation; retain ordinary links when JavaScript is unavailable. */
.site-menu-toggle { display: none; }
@media (max-width: 880px) {
  .site-header.menu-ready { align-items: center; flex-wrap: nowrap; gap: 1rem; }
  .menu-ready .site-menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    flex-shrink: 0; width: 48px; height: 48px; padding: 11px;
    color: var(--paper); background: var(--ink); border: 1px solid var(--line); cursor: pointer;
  }
  .site-menu-toggle span { display: block; width: 24px; height: 1px; background: currentColor; }
  .site-menu-toggle:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
  .menu-open .site-menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-open .site-menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .site-menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-header.menu-ready .site-nav {
    display: none; position: absolute; top: calc(100% - 12px); right: clamp(1.5rem, 5vw, 5.5rem);
    width: min(340px, calc(100vw - 3rem)); max-width: none; max-height: calc(100dvh - 120px);
    overflow-y: auto; padding: 24px; flex-direction: column; align-items: stretch;
    flex-wrap: nowrap; gap: 0; background: var(--ink); border: 1px solid var(--line);
    box-shadow: 0 18px 60px #0009;
  }
  .site-header.menu-open .site-nav, .site-header.menu-closing .site-nav { display: flex; }
  .site-header.menu-ready .site-nav a, .site-header.menu-ready .site-nav button {
    font-size: 1rem; padding: 13px 0; text-align: left; flex-basis: auto;
  }
  .site-header.menu-ready .site-nav [hidden] { display: none; }
  .menu-opening .site-nav { animation: uf-menu-expand 320ms steps(1, end) both; }
  .menu-closing .site-nav { animation: uf-menu-expand 320ms steps(1, end) reverse both; pointer-events: none; }
  .menu-opening .site-menu-toggle, .menu-closing .site-menu-toggle { animation: uf-menu-jitter 320ms steps(1, end); }
}
@keyframes uf-menu-expand {
  0% { opacity: 0; clip-path: inset(48% 0 48% 0); transform: translateX(-12px); }
  15% { opacity: 1; clip-path: inset(12% 0 65% 0); transform: translateX(10px); filter: contrast(2); }
  32% { clip-path: inset(55% 0 8% 0); transform: translateX(-8px); }
  48% { clip-path: inset(0); transform: translateX(4px); text-shadow: -3px 0 #b8a27b, 3px 0 #777; }
  65% { clip-path: inset(18% 0 24% 0); transform: translateX(-5px); }
  82%, 100% { opacity: 1; clip-path: inset(0); transform: none; filter: none; text-shadow: none; }
}
@keyframes uf-menu-jitter {
  15%, 48% { transform: translateX(3px); }
  32%, 65% { transform: translateX(-3px); }
  82%, 100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-opening .site-nav, .menu-closing .site-nav,
  .menu-opening .site-menu-toggle, .menu-closing .site-menu-toggle { animation: none; }
}

/* Compact version of the hero CTA, shared by desktop and mobile navigation. */
.site-header .site-nav .site-nav-cta {
  min-width: 0;
  padding: .7rem 1.05rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 880px) {
  .site-header.menu-ready .site-nav .site-nav-cta { margin-top: .65rem; padding: .85rem 1.05rem; }
}

/* A quiet arrival for shared navigation on internal pages, including page swaps. */
@keyframes uf-header-enter {
  from { opacity: 0; translate: 0 -6px; }
  to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header:not(.site-header--landing) {
    animation: uf-header-enter 480ms cubic-bezier(.22, .61, .36, 1);
  }
}

/* Keep the hero artwork in normal flow on tablet and phone layouts. */
@media (max-width: 880px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    min-height: 0;
    padding: 6rem 1.5rem 2.5rem;
  }
  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 34rem;
    text-align: center;
  }
  .hero .title-cta-group { margin-inline: auto; align-items: center; }
  .hero .album-title { font-size: clamp(3.2rem, 14vw, 6rem); }
  .hero .eyebrow { font-size: clamp(.8rem, 2vw, 1rem); letter-spacing: .3em; }
  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    padding-top: 1rem;
    transform: none;
  }
  .hero .art-composition { width: min(70vw, 22rem, 40svh); margin-inline: auto; }
  .hero::after { height: 4rem; }
}
