:root {
  --paper: #ffffff;
  --paper-deep: #ffffff;
  --ink: #262823;
  --muted: #66675f;
  --gold: #b58b42;
  --gold-dark: #87642b;
  --black: #262823;
  --line: rgba(38, 40, 35, 0.16);
  --shadow: 0 24px 70px rgba(34, 31, 23, 0.14);
  --serif: Baskerville, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --sans: "Avenir Next", Avenir, "Century Gothic", Futura, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  min-height: 100vh;
  padding: clamp(3rem, 7vw, 7rem);
  overflow: hidden;
}

.language-switch {
  position: absolute;
  top: 2rem;
  right: clamp(1.5rem, 5vw, 5rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.language-switch a {
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.is-current {
  color: var(--gold-dark);
}

.language-switch a.is-current {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero::before {
  position: absolute;
  inset: 8% auto auto 4%;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(181, 139, 66, 0.28);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -9rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  border: 1px solid rgba(181, 139, 66, 0.16);
  background: transparent;
  content: "";
}

.hero__copy,
.hero__art {
  position: relative;
  z-index: 1;
}

.eyebrow,
.track__project {
  margin: 0 0 1rem;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 8.6rem);
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.hero__claim {
  margin: 2.2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.7vw, 2.4rem);
  line-height: 1.18;
}

.hero__intro {
  max-width: 38rem;
  margin: 2rem 0;
  color: var(--muted);
}

.primary-button,
.track__play {
  border: 0;
  cursor: pointer;
}

.primary-button {
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-2px);
}

.hero__art {
  margin: 0;
  transform: rotate(1.5deg);
}

.hero__art img {
  display: block;
  width: min(100%, 760px);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  color: var(--gold-dark);
  font-size: 1.2rem;
}

.manifest,
.support,
.credits {
  width: min(100% - 3rem, 900px);
  margin-inline: auto;
  text-align: center;
}

.manifest {
  padding: clamp(7rem, 12vw, 12rem) 0 clamp(5rem, 9vw, 9rem);
}

.manifest h2,
.support h2 {
  margin: 0.25rem 0 1.5rem;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
}

.manifest > p:last-child,
.support > p {
  max-width: 48rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.tracks {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
}

.track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  min-height: 530px;
  margin: 0 0 clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(44, 40, 31, 0.09);
  scroll-margin-top: 2rem;
}

.track:nth-child(even) {
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
}

.track:nth-child(even) .track__image {
  order: 2;
}

.track__image {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
}

.track__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.track h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.track__question {
  max-width: 29rem;
  margin: 1.6rem 0 2.3rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.25;
}

.track__play {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.track__play:hover,
.track__play:focus-visible,
.track.is-active .track__play {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.track__number {
  position: absolute;
  right: 1.5rem;
  bottom: 0.3rem;
  color: rgba(38, 40, 35, 0.07);
  font-family: var(--serif);
  font-size: clamp(7rem, 14vw, 12rem);
  line-height: 1;
  pointer-events: none;
}

.track:nth-child(even) .track__number {
  right: auto;
  left: 1.5rem;
}

.support {
  padding: clamp(8rem, 14vw, 14rem) 0;
}

.support__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 3rem auto 0;
  text-align: left;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: #ffffff;
}

.support-card__label {
  margin: 0 0 1rem !important;
  color: var(--gold-dark) !important;
  font-family: var(--sans);
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.support-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
}

.support-card > p:not(.support-card__label) {
  flex: 1;
  margin: 1.35rem 0 2rem;
  color: var(--muted);
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.support-button--primary,
.support-button:hover,
.support-button:focus-visible {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-2px);
}

.support-button--primary:hover,
.support-button--primary:focus-visible {
  background: #d4aa61;
}

.credits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 5rem clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.credits h2 {
  grid-column: 1 / -1;
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.credits p {
  margin: 0;
  color: var(--muted);
}

.credits strong {
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credits__detail {
  grid-column: 1 / -1;
  max-width: 58rem;
  padding-top: 2rem;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem clamp(1.5rem, 5vw, 5rem) 8rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer a {
  color: var(--gold-dark);
  text-decoration: none;
}

.player {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto auto minmax(280px, 1.5fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(181, 139, 66, 0.45);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 55px rgba(38, 40, 35, 0.16);
  backdrop-filter: blur(16px);
}

.player[hidden] {
  display: none;
}

.player__identity {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
}

.player__identity > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.player__number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.65rem;
}

.player__project {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.player__identity strong {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player__control {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.player__control:hover,
.player__control:focus-visible {
  background: rgba(181, 139, 66, 0.16);
}

.player__control--main {
  color: var(--ink);
  background: var(--gold);
}

.player__control--main:hover,
.player__control--main:focus-visible {
  background: #d4aa61;
}

.player__timeline {
  display: grid;
  grid-template-columns: 2.8rem 1fr 2.8rem;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
}

.player__timeline input {
  width: 100%;
  accent-color: var(--gold);
}

:focus-visible {
  outline: 3px solid rgba(181, 139, 66, 0.48);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 1.5rem 8rem;
  }

  .hero__art {
    order: -1;
  }

  .hero__art img {
    width: min(86vw, 600px);
  }

  .hero__copy {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .hero__intro {
    margin-inline: auto;
  }

  .track,
  .track:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .track:nth-child(even) .track__image {
    order: 0;
  }

  .track__image {
    min-height: 55vw;
    max-height: 620px;
  }

  .track__body {
    min-height: 360px;
  }

  .track:nth-child(even) .track__number {
    right: 1.5rem;
    left: auto;
  }

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

  .credits h2,
  .credits__detail {
    grid-column: 1;
  }

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

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

  .player__timeline {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .track {
    width: 100%;
    min-height: 0;
  }

  .track__image {
    min-height: 68vw;
  }

  .track__body {
    min-height: 320px;
    padding: 2rem 1.5rem 3rem;
  }

  .track h2 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .player {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    grid-template-columns: 1fr auto;
  }

  .player__control:not(.player__control--main) {
    display: none;
  }

  .player__timeline {
    grid-column: 1 / -1;
  }

  .footer {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
