:root {
  --ink: #111111;
  --paper: #f0ede5;
  --white: #faf8f2;
  --red: #86131a;
  --yellow: #f5ef24;
  --line: rgba(17, 17, 17, 0.22);
  --line-light: rgba(255, 255, 255, 0.22);
  --serif: "Iowan Old Style", Baskerville, Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}

body::selection {
  color: var(--ink);
  background: var(--yellow);
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  display: flex;
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  height: 64px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.site-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  position: absolute;
  left: 0.45rem;
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle > span:first-child {
  top: 0.95rem;
}

.menu-toggle > span:nth-child(2) {
  top: 1.5rem;
}

.menu-toggle[aria-expanded="true"] > span:first-child {
  top: 1.2rem;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  top: 1.2rem;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  height: max(620px, calc(100svh - 64px));
  min-height: 620px;
  margin-top: 64px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.76) 100%);
}

.hero-inner {
  position: relative;
  display: flex;
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  height: 100%;
  margin-inline: auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(2rem, 6vh, 4rem);
}

.hero-meta p {
  margin: 0.35rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-meta p:last-child {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.78;
}

.flag {
  display: inline-block;
  width: 1.7rem;
  height: 0.72rem;
  background: linear-gradient(#1d6fba 0 50%, #ffd600 50% 100%);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-accent {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.button-light {
  color: var(--white);
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.55);
}

.button:hover,
.button:focus-visible {
  filter: brightness(0.92);
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-header {
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-label,
.player-label,
.panel-label {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-header h1,
.section-header h2,
.links-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.section-header > p:last-child:not(.section-label) {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-style: italic;
}

.section-header-light {
  color: var(--white);
}

.music-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(24rem, 1.4fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.player-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  background: var(--red);
}

.player-label {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line-light);
}

.current-track {
  display: flex;
  min-height: 10rem;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem 0;
}

.track-number {
  margin: 0.45rem 0 0;
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
}

.current-track h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.current-track div p {
  margin: 0.7rem 0 0;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.65;
  text-transform: uppercase;
}

.native-audio {
  width: 100%;
}

.js .native-audio {
  display: none;
}

.custom-controls {
  display: none;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
}

.js .custom-controls {
  display: flex;
}

.play-button {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.play-icon {
  margin-left: 0.12em;
}

.timeline-wrap {
  flex: 1;
}

.timeline {
  width: 100%;
  height: 2px;
  margin: 0;
  background: linear-gradient(
    to right,
    var(--yellow) 0%,
    var(--yellow) var(--progress, 0%),
    rgba(255, 255, 255, 0.3) var(--progress, 0%),
    rgba(255, 255, 255, 0.3) 100%
  );
  cursor: pointer;
  appearance: none;
}

.timeline::-webkit-slider-thumb {
  width: 0.75rem;
  height: 0.75rem;
  background: var(--yellow);
  border: 0;
  border-radius: 50%;
  appearance: none;
}

.timeline::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
  background: var(--yellow);
  border: 0;
  border-radius: 50%;
}

.time-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
}

.tracklist {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.tracklist li {
  border-bottom: 1px solid var(--ink);
}

.track {
  display: grid;
  width: 100%;
  grid-template-columns: 2.2rem 1fr auto 3rem;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0.5rem;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.track:hover,
.track:focus-visible,
.track.is-active {
  color: var(--white);
  background: var(--ink);
  outline: none;
}

.track-index,
.track-duration,
.track-action {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
}

.track-duration {
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.track-action {
  text-align: right;
}

.track.is-active .track-action {
  color: var(--yellow);
}

.film-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(15rem, 0.8fr);
  border: 1px solid var(--line-light);
}

.video-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #000;
  border: 0;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4.8rem;
  height: 4.8rem;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.video-poster iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.release-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.release-links {
  margin-top: 2rem;
  border-top: 1px solid var(--line-light);
}

.release-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: 1.25rem;
  text-decoration: none;
}

.release-links a:hover,
.release-links a:focus-visible {
  color: var(--yellow);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-lead {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.about-body > p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.artist-facts {
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--ink);
}

.artist-facts div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--ink);
}

.artist-facts dt {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artist-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
}

.links-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  color: var(--white);
  background: var(--red);
}

.links-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
}

.links-inner h2 {
  margin-top: 0.6rem;
  font-size: clamp(2.8rem, 4vw, 4rem);
}

.platform-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-light);
}

.platform-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.8rem;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.platform-links a:nth-child(even) {
  border-right: 0;
}

.platform-links a:hover,
.platform-links a:focus-visible {
  color: var(--ink);
  background: var(--yellow);
}

.site-footer {
  padding: 1rem 0;
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  text-underline-offset: 0.2rem;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.8rem;
    padding: var(--gutter);
    color: var(--white);
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .section-header > p:last-child:not(.section-label) {
    margin: 0;
  }

  .music-layout,
  .film-layout,
  .about-layout,
  .links-inner {
    grid-template-columns: 1fr;
  }

  .player-card {
    max-width: 36rem;
  }

  .release-panel {
    min-height: 21rem;
  }

  .about-layout,
  .links-inner {
    gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  .hero {
    height: calc(100svh - 64px);
    min-height: 600px;
  }

  .hero-image {
    object-position: 42% center;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1.25rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-header h1,
  .section-header h2 {
    font-size: 3.4rem;
  }

  .track {
    grid-template-columns: 1.8rem 1fr auto;
    gap: 0.65rem;
  }

  .track-action {
    display: none;
  }

  .track-title {
    font-size: 1.35rem;
  }

  .release-panel {
    min-height: auto;
  }

  .about-lead {
    font-size: 2rem;
  }

  .platform-links {
    grid-template-columns: 1fr;
  }

  .platform-links a,
  .platform-links a:nth-child(even) {
    border-right: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner p:nth-child(2) {
    display: none;
  }
}

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

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