@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --ground: #0b0a0a;
  --raise: #161413;
  --line: #2a2725;
  --ink: #ece9e3;
  --dim: #8f8a83;
  --red: #ff3a12;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--ground); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(120% 70% at 50% 0%, #1b1716 0%, transparent 60%),
    var(--ground);
  font: 400 17px/1.5 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

/* film grain over everything, inline so nothing loads from elsewhere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
a:focus-visible, button:focus-visible, .carousel:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

img { display: block; max-width: 100%; height: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- header */
.top { padding: 44px var(--gutter) 4px; text-align: center; }
.top.small { padding-top: 28px; }
.sig { display: block; margin: 0 auto; width: min(62vw, 300px); }
.top.small .sig { width: 132px; }
.sig svg { display: block; width: 100%; height: auto; overflow: visible; }

.profiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px auto 0;
}
.profiles a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .2s, color .2s;
}
.profiles a:hover { border-color: var(--red); color: #fff; }

main { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- section labels: lowercase with a hand-drawn red stroke under it */
.label {
  margin: 56px 0 26px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--dim);
}
.scrawl {
  display: inline-block;
  padding-bottom: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 20 3, 38 10, 58 6 S 96 2, 118 7' fill='none' stroke='%23ff3a12' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 10px no-repeat;
}

.big {
  margin: 0;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 46px;
  line-height: .98;
  letter-spacing: -.01em;
}
.meta { margin: 8px 0 0; color: var(--dim); font-size: 14px; letter-spacing: .02em; }

/* ---------- covers: each one lights the wall behind it with its own colours */
.cover { position: relative; display: block; isolation: isolate; }
.cover img { position: relative; border-radius: 3px; }
.glow::before {
  content: "";
  position: absolute;
  inset: 6%;
  z-index: -1;
  background: var(--art) center / cover;
  filter: blur(28px) saturate(1.6);
  opacity: .55;
  transform: translateY(6%);
  transition: opacity .4s, transform .4s;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .2s;
}
.btn:hover { background: var(--red); color: #fff; }
.btn.wide { display: block; text-align: center; background: var(--red); color: #fff; }

/* ---------- home: featured release */
.feature { display: grid; gap: 26px; }
.feature-art { display: block; max-width: 520px; }
.feature .glow::before { opacity: .4; filter: blur(36px) saturate(1.4); }
.tracks { margin: 16px 0 24px; padding-left: 1.3em; font-size: 18px; }
.tracks li { padding: 2px 0; }

/* ---------- home: discography carousel */
.disco-head { display: flex; align-items: flex-end; justify-content: space-between; }
.arrows { display: none; gap: 8px; margin-bottom: 26px; }
.arrows button {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.arrows button:hover { border-color: var(--red); }

.carousel {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel::-webkit-scrollbar { display: none; }
.card { flex: 0 0 64%; scroll-snap-align: start; }
.card a { display: block; text-decoration: none; }
.card .title { display: block; margin-top: 14px; font-size: 19px; font-weight: 700; font-stretch: 85%; line-height: 1.2; }
.card .meta { display: block; margin-top: 2px; font-size: 13px; }
.card a:hover .glow::before { opacity: .85; transform: translateY(3%) scale(1.04); }

/* ---------- stickers: slapped on at an angle, white die-cut edge drawn from the PNG's own outline */
.sticker { display: block; }
.sticker img {
  width: 100%;
  transform: rotate(var(--r, 0deg));
  filter:
    drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
    drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
    drop-shadow(0 12px 14px rgba(0, 0, 0, .6));
  transition: transform .3s;
}
a:hover > .sticker img, .wall li:hover .sticker img { transform: rotate(0deg) scale(1.04); }

.more { margin-bottom: 26px; color: var(--dim); font-size: 14px; text-decoration: none; }
.more:hover { color: var(--ink); }
.sticker-card { flex-basis: 52%; display: flex; align-items: center; }
.carousel:has(.sticker-card) { overflow-y: hidden; padding-top: 16px; }
.sticker-card a { width: 100%; padding: 12px; }

.stickers-page { padding-top: 28px; }
.wall { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 56px; }
.wall li { display: grid; gap: 20px; justify-items: center; scroll-margin-top: 24px; }
.wall .sticker { width: min(84%, 380px); }
.wall li:nth-child(odd) .sticker { justify-self: start; margin-left: 6%; }
.wall li:nth-child(even) .sticker { justify-self: end; margin-right: 6%; }
.wall .cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.wall .name { font-weight: 700; font-stretch: 85%; font-size: 19px; }
.dl {
  padding: 8px 16px;
  border: 1px solid var(--red);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.dl:hover { background: var(--red); color: #fff; }

/* ---------- release pages */
.release-page { display: grid; gap: 28px; padding-top: 28px; max-width: 980px; }
.rp-art { width: min(100%, 300px); margin: 0 auto; }  /* small on phones so the play buttons sit above the fold */
.count { margin: 16px 0 0; font-size: 20px; font-weight: 600; color: var(--red); }

.stores { display: grid; gap: 10px; margin: 24px 0 0; }
.store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--raise);
  text-decoration: none;
  font-weight: 600;
  transition: border-color .2s;
}
.store .ic { width: 22px; height: 22px; }
.store .go {
  margin-left: auto;
  padding: 5px 12px;
  border: 1px solid var(--red);
  border-radius: 999px;
  font-size: 13px;
}
.store:hover { border-color: var(--red); }
.store:hover .go { background: var(--red); color: #fff; }

.tl { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tl li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tl .n { width: 1.2em; color: var(--dim); font-size: 14px; }
.tl .tt { flex: 1; min-width: 0; font-weight: 500; }
.tl .ex {
  display: inline-block;
  margin-left: 8px;
  padding: 0 4px;
  border-radius: 2px;
  background: var(--dim);
  color: var(--ground);
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  vertical-align: 2px;
}
.tl .acts { display: flex; gap: 4px; }
.tl .acts a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--dim); }
.tl .acts a:hover { color: var(--ink); background: var(--raise); }
.tl .d { width: 2.6em; text-align: right; color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; }

/* ---------- legal pages */
.legal { max-width: 680px; padding-top: 28px; }
.legal h2 { margin: 32px 0 6px; font-size: 17px; font-weight: 700; }
.legal p { margin: 0; color: #c9c5be; font-size: 15px; }
.legal hr { margin: 44px 0 20px; border: 0; border-top: 1px solid var(--line); }
.legal a { text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- footer */
.foot { margin-top: 88px; padding: 28px var(--gutter) 40px; text-align: center; color: var(--dim); font-size: 13px; }
.foot p { margin: 0; }
.foot a { color: var(--dim); text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }

@media (min-width: 700px) {
  .top { padding-top: 64px; }
  .big { font-size: 64px; }
  .feature { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .arrows { display: flex; }
  .card { flex-basis: calc((100% - 3 * 24px) / 3.4); }
  .carousel { gap: 24px; margin: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .release-page { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 44px; align-items: start; }
  .rp-art { width: 100%; max-width: 520px; position: sticky; top: 32px; }
  .sticker-card { flex-basis: 30%; }
  .wall { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; align-items: end; }
  .wall .sticker, .wall li:nth-child(n) .sticker { width: 100%; justify-self: center; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .glow::before { transition: none; }
}
