/* The Waste Land */

@font-face {
  font-family: "Assistant";
  src: url("/assets/fonts/assistant-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --display: "Assistant", sans-serif;
  --nav: "Roboto", sans-serif;
  --system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --dark: #2f2e2e;
  --sand: #ebe1d9;
  --green: #61ce70;
  --grey: #7a7a7a;
  --pink: #c36;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #333;
  font-family: var(--system);
  font-size: 16px;
  line-height: 1.5;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: #336; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
p { margin: 0 0 14.4px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  background: #fff;
}

/* ---- Background video ---- */
#bg-video {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

/* ---- Header ---- */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--dark);
}
.site-header__title { padding: 30px 30px 30px 30px; }
.site-header h1 {
  width: 72%;
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}
.site-header__nav { padding: 10px; }
.site-nav ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: 15px;
  color: var(--grey);
  font-family: var(--nav);
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
}
.site-nav a:hover, .site-nav a:focus, .site-nav a[aria-current="page"] { color: var(--green); }

.menu-toggle { display: none; }

/* ---- Footer ---- */
.site-footer {
  display: flex;
  background: var(--dark);
  padding: 10px;
}
.site-footer__col {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px;
}
.site-footer h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}
.email {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 24px;
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.email:hover, .email:focus { color: #fff; }
.email span { text-decoration: underline; }
.email svg, .hero__button svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---- Text blocks ---- */
.prose {
  display: flow-root;
  padding: 0 30px;
  color: #000;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.5;
}
.prose--small { font-size: 18px; }

.page-title {
  color: #000;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.signature { display: block; }

/* ---- Home ---- */
.hero {
  position: relative;
  padding: 60px 0 140px;
}
.hero__art { width: 80%; margin: 0 auto; }
.hero__logo {
  position: absolute;
  z-index: 1;
  top: 68px;
  left: 100px;
  width: 406px;
}
.hero__button {
  position: absolute;
  z-index: 1;
  bottom: 206px;
  left: 180px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--dark);
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.hero__button span { text-decoration: underline; }
.hero__button:hover, .hero__button:focus {
  background: #fff;
  color: var(--dark);
  animation: buzz-out .75s linear;
}
@keyframes buzz-out {
  10%, 30% { transform: translateX(3px) rotate(2deg); }
  20%, 40% { transform: translateX(-3px) rotate(-2deg); }
  50%, 70% { transform: translateX(2px) rotate(1deg); }
  60%, 80% { transform: translateX(-2px) rotate(-1deg); }
  90% { transform: translateX(1px) rotate(0); }
  100% { transform: translateX(-1px) rotate(0); }
}

/* ---- About ---- */
.about { padding: 60px 0 60px; }
.portrait { margin: 0; }
.portrait img { width: 80%; margin: 0 auto; }
.about__title {
  padding: 50px 30px 50px;
  color: #000;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}
.signoff {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 10px;
}
.signoff__name { width: 50%; }
.signoff__bird { justify-self: end; }

/* ---- Slideshows ---- */
.slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 12 / 7;
  margin: 0 60px;
  touch-action: pan-y;
}
.slider__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-active { visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 30px;
  height: 30px;
  padding: 2px;
  margin-top: -15px;
  background: rgba(0, 0, 0, .67);
  border-radius: 3px;
  transition: background .3s;
}
.slider__arrow:hover, .slider__arrow:focus-visible { background: rgba(0, 0, 0, .47); }
.slider__arrow--prev { left: 15px; }
.slider__arrow--next { right: 15px; }

.gallery { padding: 60px 0 20px; }
.gallery .page-title { margin-bottom: 12px; }
/* The CD artwork is square, so show each image whole, sized to fit on one screen. */
.gallery .slider {
  width: min(100% - 120px, 100vh - 40px, 1000px);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.gallery .slide img { object-fit: contain; }

.attic { padding-bottom: 91px; }
.attic .slider { margin-top: -50px; }
.page-title--attic { position: relative; margin-top: -10px; }
.prose--attic { padding-top: 50px; }
.signature--attic { width: calc((100% - 60px) * .25); margin: 80px 0 0 30px; }

/* ---- My Songs ---- */
.songs { padding: 80px 0 100px; }
.player {
  display: flex;
  max-width: 1140px;
  margin: 0 auto;
  color: #707281;
}
.player__cover { width: 42%; height: 570px; }
.player__cover img { width: 100%; height: 100%; object-fit: cover; }
.player__panel {
  position: relative;
  width: 58%;
  height: 570px;
  background: var(--dark) url("/wp-content/uploads/2025/04/album-bg.png") center / cover;
}
.player__top { position: relative; height: 135px; }
.player__top > * { position: relative; }
.player__top::before { content: ""; display: block; height: 31px; }
.player__featured { padding: 0 40px; font-size: 15px; letter-spacing: 1px; line-height: 23px; }
.player__title { padding: 0 40px; color: #fff; font-size: 30px; font-weight: 700; line-height: 45px; }
.player__list { height: 360px; overflow: hidden auto; }
.player__list::-webkit-scrollbar { width: 12px; background: transparent; }
.player__list::-webkit-scrollbar-track { border-radius: 10px; box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); }
.player__list::-webkit-scrollbar-thumb { border-radius: 10px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); }
.track {
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 0 40px;
  color: #707281;
  font-size: 16px;
  text-align: left;
  border-radius: 8px;
}
.track:hover { background: #5c5c5c; }
.track__icon { flex: none; width: 9px; margin-right: 24px; }
.track__icon svg { display: block; width: 9px; height: 9px; fill: var(--sand); }
.track__name { flex: 1 1 auto; font-weight: 500; }
.track__time { flex: none; }
.track.is-current .track__name, .track.is-current .track__time { color: #fff; }

.player__bottom { position: absolute; left: 0; bottom: 0; width: 100%; height: 75px; }
.player__bar { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: rgba(255, 255, 255, .1); cursor: pointer; }
.player__bar::before { content: ""; position: absolute; inset: -6px 0; }
.player__progress { position: relative; width: 0; height: 100%; background: var(--sand); }
.player__now { position: absolute; top: 50%; left: 40px; transform: translateY(-50%); }
.player__label { font-size: 10px; letter-spacing: 1px; line-height: 18px; text-transform: uppercase; }
.player__song { max-width: 200px; color: #fff; font-size: 14px; font-weight: 500; line-height: 18px; }
.player__controls {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  margin-top: 3px;
  transform: translate(-50%, -50%);
}
.player__skip { width: 44px; height: 42px; color: var(--pink); }
.player__skip svg { display: block; width: 14px; height: 16px; margin: 0 auto; fill: currentColor; }
.player__play {
  width: 42px;
  height: 42px;
  margin: 0 15px;
  border-radius: 50%;
  background: var(--sand);
  color: #fff;
  transition: opacity .2s;
}
.player__play:hover { opacity: .9; }
.player__play svg { display: block; width: 14px; height: 16px; margin: 0 auto; fill: currentColor; }
.player__icon-play { display: block; padding-left: 2px; }
.player__icon-pause { display: none; }
.player.is-playing .player__icon-play { display: none; }
.player.is-playing .player__icon-pause { display: block; }
.player__clock { position: absolute; top: 50%; right: 40px; font-size: 13px; transform: translateY(-50%); }
.player__clock span:first-child { color: #fff; }
.player__sep { padding: 0 6px; }

.page-title--credits { margin-top: 80px; }
.songs-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1140px;
  margin: 20px auto 0;
  padding: 40px 20px;
  color: #000;
  font-family: var(--display);
  text-align: center;
}
.song-box { font-size: 20px; line-height: 30px; }
.song-box h3 { margin: 8px 0 12px; font-size: 30px; font-weight: 700; line-height: 36px; }
.prose--songs { max-width: 1140px; margin: 50px auto 0; }

/* ---- Soundtracks ---- */
.soundtracks { padding-bottom: 100px; }
.film { padding: 120px 120px 60px; }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.soundtracks > .page-title { margin-top: 20px; }
.prose--soundtrack { padding-top: 50px; }
.signature--soundtrack { width: 19.5%; margin: 20px 0 0 30px; }
.prose--lyrics-intro { padding-top: 50px; }
.lyrics-title, .lyrics-credit { color: #000; font-weight: 700; line-height: 1; text-align: center; }
.lyrics-title { margin-top: 20px; font-size: 50px; }
.lyrics-credit { margin-top: 20px; font-size: 40px; line-height: 50px; }
.lyrics-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 80px;
  padding: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
  min-height: 380px;
  padding: 25px;
  background: var(--dark);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
  color: #fff;
  text-align: center;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-5px); }
.card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 8px 0 10px;
  color: var(--sand);
  font-size: 26px;
  font-weight: 700;
}
.card .text {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.card p { font-family: var(--display); font-size: 18px; }
.prose--outro { padding-top: 50px; padding-bottom: 30px; }

@media (min-width: 1024px) {
  .lyrics-container { justify-content: space-between; }
  .card { flex: 1; max-width: 22%; }
}

/* ---- 404 ---- */
.not-found__body { min-height: 50vh; padding: 60px 30px; font-family: var(--display); font-size: 20px; color: #000; }
.not-found__body h1 { font-size: 50px; font-weight: 700; line-height: 1.1; margin-bottom: 20px; }

/* ---- Phones ---- */
@media (max-width: 768px) {
  .songs-container { grid-template-columns: 1fr; gap: 12px; }
  .player { display: block; }
  .player__cover { width: 100%; height: 100vw; }
  .player__panel { width: 100%; }
  .lyrics-container { flex-direction: column; align-items: center; }
  .card { max-width: 90%; min-height: auto; }
}

@media (max-width: 767px) {
  .site-header__title { padding: 10px; }
  .site-header h1 { width: 100%; font-size: 20px; text-align: center; }
  .site-header__nav { position: relative; padding: 10px; }

  .menu-toggle {
    position: relative;
    display: block;
    width: 40px;
    height: 43px;
    margin: 0 auto;
    color: #fff;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    position: absolute;
    left: 8px;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform .2s;
  }
  .menu-toggle span { top: 21px; }
  .menu-toggle span::before { content: ""; left: 0; top: -7px; }
  .menu-toggle span::after { content: ""; left: 0; top: 7px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav { display: none; }
  .site-nav.is-open {
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0;
    display: block;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
  }
  .site-nav ul { display: block; }
  .site-nav li:not(:last-child) { border-bottom: 1px solid #c4c4c4; }

  .site-footer { display: block; }
  .site-footer__col { min-height: 0; }

  .hero { padding: 0 0 100px; text-align: center; }
  .hero__art { width: 100%; }
  .hero__logo { top: 0; left: -22px; width: 60%; }
  .hero__button { position: static; margin-top: 40px; }

  .about { padding: 0 0 60px; }
  .portrait img { width: 100%; }
  .about__title { padding: 20px 30px; }
  .signoff { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .signoff__name { width: 60%; }
  .signoff__bird { justify-self: center; width: 40%; }

  .slider { margin: 0; aspect-ratio: 375 / 236; }
  .slider__arrow { width: 20px; height: 20px; margin-top: -10px; }
  .gallery { padding-top: 40px; }
  .gallery .page-title { margin-bottom: 20px; }
  .gallery .slider { width: 100%; }

  .attic { padding-bottom: 60px; }
  .attic .slider { margin-top: 0; }
  .page-title--attic { margin-top: 40px; }
  .signature--attic { width: calc((100% - 60px) * .8); margin-top: 50px; }

  .songs { padding-top: 0; }
  .page-title--credits { margin-top: 40px; }
  .songs-container { margin-top: 0; }

  .film { padding: 50px 10px 10px; }
  .soundtracks > .page-title { margin-top: 32px; }
  .signature--soundtrack { width: calc((100% - 30px) * .6); }
  .lyrics-title { margin-top: 60px; font-size: 30px; }
  .lyrics-credit { font-size: 25px; }
  .prose--outro { padding-top: 58px; padding-bottom: 0; }
}

@media (max-width: 480px) {
  .player__panel { height: 655px; }
  .player__top { height: auto; padding: 25px 0 15px; }
  .player__top::before { display: none; }
  .player__list { height: 360px; }
  .player__bottom { height: 140px; }
  .player__controls { top: 45px; width: 100%; justify-content: center; }
  .player__now, .player__clock { top: 95px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__button:hover, .hero__button:focus { animation: none; }
  .card, .card:hover { transition: none; transform: none; }
}
