:root {
  --bg: #0c0c0c;
  --surface: #151515;
  --line: #262626;
  --text: #ededed;
  --muted: #9a9a9a;
  --accent: #e04545;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
body { overflow-x: clip; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(12, 12, 12, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.nav__brand img { border-radius: 4px; }
.nav__links { display: flex; gap: clamp(12px, 2.5vw, 28px); font-size: 14px; }
.nav__links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 640px) {
  .nav__brand span { display: none; }
  .nav__links { gap: 14px; font-size: 13px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { white-space: nowrap; }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; grid-template-columns: minmax(0, 1fr);
  overflow: hidden; isolation: isolate;
  padding: 96px var(--gutter) 64px;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.55);
  transform: scale(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,12,12,.2) 0%, rgba(12,12,12,.35) 55%, var(--bg) 100%);
}
.hero__logo { margin: 0 auto 28px; width: clamp(110px, 16vw, 160px); height: auto; background: transparent; }
.hero h1 { margin: 0; font-size: clamp(40px, 8vw, 92px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.hero__tag { margin: 18px auto 0; max-width: 36ch; color: #cfcfcf; font-size: clamp(16px, 2vw, 19px); font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { border-color: #fff; transform: translateY(-1px); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:hover { background: #ea5656; border-color: #ea5656; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--gutter) 0; }
.section__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; border-top: 1px solid var(--line); padding-top: 20px; }
.section__head h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 500; letter-spacing: -.02em; }
.eyebrow { font: 400 12px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--accent); }
.lede { margin: -12px 0 28px; color: var(--muted); max-width: 60ch; }
.subhead { margin: 56px 0 20px; font-size: 20px; font-weight: 500; }

/* Release cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 20px; }
.cards--small { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.card a { display: grid; gap: 4px; text-decoration: none; }
.card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--surface); margin-bottom: 8px; transition: transform .3s, box-shadow .3s; }
.card a:hover img { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.card__title { font-weight: 500; line-height: 1.3; }
.card a:hover .card__title { color: var(--accent); }
.card__meta { font-size: 13px; color: var(--muted); }
.card__cat { font: 400 11px/1 "JetBrains Mono", ui-monospace, monospace; color: #6f6f6f; margin-top: 2px; }
@media (max-width: 480px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }

/* Videos */
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 20px; }
.vcard__title { margin: 14px 0 4px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.vcard__title a { text-decoration: none; }
.vcard__title a:hover { color: var(--accent); }
.vcard__meta { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.vcard__meta a { text-decoration: none; color: var(--text); }
.vcard__notes { margin: 0; font-size: 14px; color: #b4b4b4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.video { display: block;
  position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; width: 100%;
  border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--surface);
}
.video img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); transition: filter .3s, transform .4s; }
.video:hover img { filter: grayscale(0); transform: scale(1.03); }
.video::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; translate: -50% -50%;
  border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .2s;
}
.video:hover::after { transform: scale(1.08); }
.video:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing::after { display: none; }

/* About */
.section--split .prose { columns: 2 320px; column-gap: 48px; }
.prose p { margin: 0 0 1.2em; color: #c8c8c8; break-inside: avoid; }
.prose__lead { font-size: 1.15em; color: var(--text) !important; }

/* Podcasts */
.mixes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mix { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mix__play {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.mix__play::before { content: ''; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--text); }
.mix__play:hover, .mix__play:focus-visible { background: var(--accent); border-color: var(--accent); outline: none; }
.mix__head { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
.mix h3 { margin: 0; font-size: 16px; font-weight: 600; }
.mix h3 a { text-decoration: none; }
.mix h3 a:hover { color: var(--accent); }
.mix h3 span { color: var(--muted); font-weight: 400; }
.mix__meta { margin: 0; font-size: 13px; color: var(--muted); }
.mix__meta a { color: var(--muted); text-decoration-color: var(--line); text-underline-offset: 3px; }
.mix__meta a:hover { color: var(--text); }
.mix.is-playing { display: block; }
.mix.is-playing .mix__head { margin-bottom: 10px; }
.mix__player { height: 60px; border-radius: 8px; overflow: hidden; background: var(--surface); }
.mix__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.embed--spotify { height: 352px; border-radius: 12px; overflow: hidden; background: var(--surface); }
.embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Facts list */
.facts { display: grid; gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); break-inside: avoid; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.prose a, .lede a, .facts a, .release__artists a, .release__summary a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* Release & artist pages */
.release, .artist, .notfound { padding-top: 110px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.release__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 760px) { .release__grid { grid-template-columns: 1fr; } }
.release__cover { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.release h1, .artist h1, .notfound h1 { margin: 6px 0 8px; font-size: clamp(34px, 6vw, 64px); font-weight: 500; letter-spacing: -.03em; line-height: 1.02; }
.release__artists { margin: 0 0 18px; font-size: 20px; }
.release__summary, .artist__bio { margin: 0; color: #c8c8c8; max-width: 62ch; }
.release__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.release .eyebrow, .artist .eyebrow { margin: 0; }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tracks li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tracks__n { font: 400 12px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); }
.tracks__artists { display: block; font-size: 13px; color: var(--muted); }
.tracks__artists a { color: inherit; }
.tracks__time { font: 400 13px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--muted); }

/* Contact */
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.socials a { display: inline-block; padding: 14px 24px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }

/* Footer */
.footer {
  max-width: var(--max); margin: clamp(80px, 12vw, 140px) auto 0;
  padding: 28px var(--gutter) 40px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px; border-top: 1px solid var(--line);
}
.footer a { text-decoration: none; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer a:hover { color: var(--text); }

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

/* Contact form */
.contact { display: grid; gap: 16px; max-width: 720px; margin-bottom: 40px; }
.contact__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.contact input, .contact textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text); font: inherit; font-size: 15px;
  transition: border-color .2s;
}
.contact textarea { resize: vertical; min-height: 140px; }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--accent); }
.contact .is-invalid { border-color: var(--accent); }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact button { cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; }
.contact button:disabled { opacity: .6; cursor: progress; }
.contact__status { margin: 0; font-size: 14px; color: var(--muted); }
.contact__status.is-error { color: var(--accent); }
