@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Sampled from the cover frames */
  --rust: #6b382e;
  --rust-deep: #3f1f19;
  --bone: #c9c0a8;
  --bone-deep: #978f7d;
  --ink: #0e0d0c;
  --paper: #ece5d3;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Film-grain overlay to echo the scratched cover finish */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

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

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

a { color: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

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

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 8vw, 88px) 16px clamp(32px, 6vw, 64px);
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #26201c 0%, var(--ink) 70%);
}

.hero::after,
.release::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  z-index: -1;
  opacity: .18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__logo {
  width: clamp(140px, 22vw, 220px);
  height: auto;
  margin: 0 auto clamp(24px, 4vw, 40px);
}

.hero__kicker {
  margin: 0 0 12px;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bone);
}

.hero__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 .3em;
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.hero__title span:first-child { color: #c46a55; }
.hero__title span:last-child { color: var(--bone); }
.hero__slash { color: #4a443d; font-weight: 500; }

@media (max-width: 600px) {
  .hero__title { flex-direction: column; align-items: center; }
  .hero__slash { display: none; }
}

/* ---------- Launch concert ---------- */

.gig {
  --fg: var(--paper);
  --btn-fg: var(--ink);
  padding: clamp(40px, 6vw, 64px) 16px clamp(36px, 6vw, 56px);
  border-bottom: 1px solid #2a2521;
  text-align: center;
}

.gig__kicker {
  margin: 0 0 10px;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #c46a55;
}

.gig__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.gig__meta {
  margin: 10px 0 0;
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--bone);
}

.gig__meta time {
  font-weight: 500;
  color: var(--paper);
}

.gig__meta a {
  text-underline-offset: 3px;
  transition: color .15s;
}

.gig__meta a:hover { color: var(--paper); }

.gig__links {
  max-width: 560px;
  margin: 24px auto 0;
  text-align: left;
}

@media (min-width: 600px) {
  .gig__links { grid-template-columns: 1fr 1fr; }
}

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

.releases {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .releases { grid-template-columns: 1fr 1fr; }
}

.release {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 16px clamp(48px, 7vw, 88px);
}

.release > * {
  width: 100%;
  max-width: 440px;
}

.release--unbreakable {
  --fg: var(--paper);
  --btn-fg: var(--rust-deep);
  background: linear-gradient(180deg, var(--rust) 0%, var(--rust-deep) 100%);
  color: var(--fg);
}

.release--de-neclintit {
  --fg: #1b1815;
  --btn-fg: var(--bone);
  background: linear-gradient(180deg, var(--bone) 0%, var(--bone-deep) 100%);
  color: var(--fg);
}

.release__cover {
  height: auto;
  aspect-ratio: 1;
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / .6);
}

.release__player {
  width: 100%;
  margin-top: 32px;
  height: 352px;
  border: 0;
  border-radius: 12px;
  background: rgb(0 0 0 / .25);
}

/* ---------- Platform buttons ---------- */

.platforms {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.platform {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 18px;
  border: 1.5px solid var(--fg);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}

.platform::after {
  content: "→";
  margin-left: auto;
  transition: transform .15s;
}

.platform:hover {
  background: var(--fg);
  color: var(--btn-fg);
}

.platform:hover::after { transform: translateX(4px); }

.platform--primary {
  background: var(--fg);
  color: var(--btn-fg);
}

.platform--primary:hover {
  background: transparent;
  color: var(--fg);
}

/* Placeholder buttons stay hidden until their URL is filled in */
.platform[href=""] { display: none; }

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

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 28px 16px;
  max-width: 1100px;
  margin: 0 auto;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone);
}

.footer__socials {
  display: flex;
  gap: 8px;
  margin-left: -12px;
}

.footer__socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transition: color .15s;
}

.footer__socials .icon {
  width: 22px;
  height: 22px;
}

.footer__socials a:hover { color: var(--paper); }

.footer__copy { margin: 0; opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
