:root {
  --bg: #0a0808;
  --bg-raised: #141010;
  --text: #ece6dc;
  --muted: #8a817a;
  --line: rgba(236, 230, 220, 0.14);
  --red: #ff2a2a;
  --magenta: #c04bff;

  --display: "Anton", "Impact", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --gutter: clamp(1rem, 4vw, 3rem);

  /* The hero leaves room for the ticker so it sits on the bottom of the first screen */
  --ticker-height: calc(clamp(1.25rem, 3vw, 2rem) * 1.2 + 0.8rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.95rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

::selection {
  background: var(--red);
  color: var(--bg);
}

/* Film grain over the whole page */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url("images/vert2.jpg") center/cover;
  mix-blend-mode: screen;
  opacity: 0.6;
}

/* Cover art and videos sit above the grain so they show clean */
.release__cover,
.disco__cover,
.release-page__cover,
.video {
  position: relative;
  z-index: 101;
}

/* ---------- Nav ---------- */

/* The nav is above the page grain, so it carries its own copy, lined up with the page's */
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("images/vert2.jpg") center/cover fixed;
  mix-blend-mode: screen;
  opacity: 0.6;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 102; /* above the covers, which scroll under it */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
  background: rgba(10, 8, 8, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav__logo {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav__link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.nav__link:hover {
  border-color: var(--red);
}

.socials {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0 0 0 clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  border-left: 1px solid var(--line);
}

.socials a {
  display: block;
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.socials a:hover {
  transform: translateY(-2px);
}

.s-spotify:hover { color: #1db954; }
.s-soundcloud:hover { color: #ff5500; }
.s-instagram:hover { color: #ee41e5; }
.s-youtube:hover { color: #ff0000; }
.s-tiktok:hover { color: #25f4ee; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--ticker-height));
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) clamp(2rem, 6vh, 4rem);
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  background: url("images/hero.jpg") center 30% / cover;
  transform: scale(1.05);
  animation: drift 20s ease-in-out infinite alternate;
}

.hero__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 8, 8, 0.3) 0%, rgba(10, 8, 8, 0) 30%, rgba(10, 8, 8, 0.6) 70%, var(--bg) 100%);
}

@keyframes drift {
  to {
    transform: scale(1.12) translate(-1%, -1%);
  }
}

.hero__content {
  position: relative;
  width: 100%;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

/* Same small grey capitals as the "All releases" link */
.hero__bio {
  flex: 1 1 0;
  min-width: 0;
  /* Full size from tablets up, scaled down on phones so the longest words fit */
  font-size: clamp(0.6rem, 3.2vw - 0.25rem, 1.25rem);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-align: right;
}

.hero__bio p,
.hero__bio ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__bio > * + * {
  margin-top: 0.75rem;
}

.hero__bio a {
  text-decoration-color: var(--line);
  text-underline-offset: 0.25em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.hero__bio a:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}

.hero__title {
  margin: 0 0 0 -0.04em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(5rem, 24vw, 22rem);
  line-height: 0.82;
  letter-spacing: -0.01em;
  text-shadow: 0 0 60px rgba(255, 42, 42, 0.35);
}

/* Beside the bio, the title is a bit smaller and the bio wraps into the width left over */
@media (min-width: 1200px) {
  .hero__row {
    flex-wrap: nowrap;
  }

  .hero__title {
    font-size: min(22rem, 17vw);
  }
}

/* Narrower than that there's no room beside the title, so the bio sits under it */
@media (max-width: 1199px) {
  .hero__bio {
    flex-basis: 100%;
    text-align: left;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--text);
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--text);
  color: var(--bg);
}

.btn--light {
  background: var(--text);
  color: var(--bg);
}

.btn--light:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--bg);
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  background: var(--red);
  color: var(--bg);
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.4rem 0;
}

.ticker__track {
  display: inline-flex;
  animation: scroll 30s linear infinite;
}

.ticker__track span {
  flex-shrink: 0;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  scroll-margin-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter) 0;
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.section__num {
  font-size: 0.8rem;
  color: var(--red);
}

.section__head h1,
.section__head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
}

.section__more {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.section__more:hover {
  color: var(--text);
}

/* ---------- Releases ---------- */

.releases__fallback {
  color: var(--muted);
}

.releases__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.release {
  display: grid;
  grid-template-columns: clamp(4.5rem, 9vw, 6.5rem) 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}

.release:hover {
  background: linear-gradient(90deg, rgba(255, 42, 42, 0.12), rgba(192, 75, 255, 0.05) 60%, transparent);
}

.release__cover {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-raised);
}

.release__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.release:hover .release__cover img {
  transform: scale(1.06);
}

.release h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.release__meta {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.release__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.all-releases {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.all-releases:hover {
  color: var(--text);
}

/* ---------- Discography & release pages ---------- */

/* These pages have no hero, so clear the fixed nav */
.page {
  padding-top: 4rem;
}

.section--wide {
  max-width: none;
}

.disco {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(9rem, 16vw, 14rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(0.75rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.disco__tile {
  display: block;
  text-decoration: none;
}

.disco__cover {
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-raised);
}

.disco__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.disco__tile:hover .disco__cover img {
  transform: scale(1.06);
}

.disco__name {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.disco__tile:hover .disco__name {
  color: var(--red);
}

.release-page {
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.release-page__cover {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-raised);
}

.release-page__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-page__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  min-width: 0;
}

.release-page__heading {
  margin: clamp(2.5rem, 6vw, 4rem) 0 1rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-transform: uppercase;
}

.tracks,
.credits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.track {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.track__num,
.track__length {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.track__name {
  overflow-wrap: anywhere;
}

.track__artists {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.credits li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- Video ---------- */

.videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.video {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  overflow: hidden;
  text-decoration: none;
}

.video img,
.video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video img {
  filter: saturate(0.85) brightness(0.75);
  transition: filter 0.3s, transform 0.6s;
}

.video:hover img {
  filter: none;
  transform: scale(1.03);
}

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--bg);
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}

.video__play {
  width: clamp(4rem, 9vw, 6rem);
  height: clamp(4rem, 9vw, 6rem);
  font-size: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 0 40px rgba(255, 42, 42, 0.5);
}

.video:hover .video__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.video__title {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* ---------- Contact ---------- */

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(5rem, 12vw, 10rem);
  padding: 0 var(--gutter);
  text-align: center;
}

.contact__label {
  /* "BOOKING/INQUIRIES:" can't wrap, so it has to shrink to fit phones */
  font-size: clamp(1rem, 5vw, 2rem);
  overflow-wrap: anywhere;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.contact__email {
  font-family: var(--display);
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.contact__email:hover {
  color: var(--red);
}

/* ---------- Links ---------- */

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 34rem;
  text-align: center;
}

/* Pins the footer to the bottom of the screen when the page is short */
.fill-screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.fill-screen main {
  flex: 1;
}

.links__group {
  margin: 3rem 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.links__group:first-child {
  margin-top: 0;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Full-width .btn; the extra class keeps the bigger padding over .btn's phone padding */
.link-list .link-list__item {
  display: flex;
  justify-content: center;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: clamp(3rem, 8vw, 5rem);
  padding: 0 var(--gutter) 1.5rem;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
  .nav__link:not(.nav__link--mobile) {
    display: none;
  }


  .socials {
    padding-left: 0;
    border-left: 0;
  }

  .release {
    grid-template-columns: 5rem 1fr;
    gap: 0.75rem 1rem;
    padding: 1rem 0;
  }

  .release__actions {
    grid-column: 2;
  }

  .btn {
    padding: 0.6rem 0.9rem;
  }

  .section__more {
    display: none;
  }

  .videos,
  .release-page {
    grid-template-columns: 1fr;
  }
}

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

  .hero__img,
  .dot,
  .ticker__track {
    animation: none;
  }
}
