/*
 * unusual sound — site styles.
 * Full-bleed, fluid layout: bands run edge to edge, content sits in a wide
 * container (.wrap) that reflows from six columns down to two.
 */

@font-face {
  font-family: "Space Grotesk";
  src: url(../fonts/space-grotesk-latin.woff2) format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #1b1b1e;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #ededee;
  --muted: #9b9ba3;
  --faint: #6c6c74;
  --accent: #d6ff3d;
  --accent-ink: #0a0a0b;
  --soundcloud: #ff5500;
  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: min(100% - 2 * var(--gutter), 1600px); margin-inline: auto; }
.eyebrow {
  font: 500 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, .78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: clamp(12px, 3vw, 40px); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: 15px;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent); }
.topbar .search { margin-left: auto; }

.search { position: relative; display: flex; align-items: center; }
.search input {
  width: clamp(160px, 18vw, 260px);
  padding: 9px 14px 9px 38px;
  font: inherit; font-size: 14px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .15s, background-color .15s;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.search svg { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--faint); pointer-events: none; }

/* ---------- banners ---------- */
.hero, .page-banner {
  position: relative; isolation: isolate; overflow: hidden;
  background: #fff url(../img/banner.jpg) center / cover no-repeat;
}
.hero::after, .page-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,11,.15) 0%, rgba(10,10,11,.55) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.25) 70%);
}
.hero { min-height: clamp(380px, 62vh, 680px); display: flex; align-items: flex-end; }
.hero .wrap { padding-block: clamp(48px, 9vw, 120px) clamp(36px, 6vw, 72px); }
.hero h1 { font-size: clamp(40px, 7vw, 104px); font-weight: 700; max-width: 14ch; letter-spacing: -0.035em; }
.hero h1 span { color: var(--accent); }
.hero .lede { font-size: clamp(17px, 1.6vw, 21px); color: #d6d6da; max-width: 52ch; margin: 22px 0 30px; }
.page-banner { min-height: clamp(200px, 30vh, 320px); display: flex; align-items: flex-end; }
.page-banner .wrap { padding-block: 56px 32px; }
.page-banner h1 { font-size: clamp(36px, 5.5vw, 72px); font-weight: 700; letter-spacing: -0.03em; }
.page-banner .eyebrow { color: #c9c9ce; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  font: 600 15px/1 var(--font); color: var(--text); background: rgba(19,19,21,.6);
  cursor: pointer; transition: transform .15s, background-color .15s, color .15s, border-color .15s;
}
.btn:hover { color: var(--text); border-color: var(--text); transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { color: var(--accent-ink); background: #e6ff7a; border-color: #e6ff7a; }
.btn svg { width: 18px; height: 18px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 48px); }
.link-arrow { color: var(--muted); font-weight: 500; white-space: nowrap; }
.link-arrow::after { content: " \2192"; }

/* about: logo + mission, side by side when there is room */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-logo { position: relative; }
.about-logo img { width: 100%; max-width: 520px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.about h2 { font-size: clamp(30px, 3.8vw, 52px); margin-bottom: 24px; }
.about p:not(.eyebrow) { color: #c4c4ca; font-size: clamp(16px, 1.25vw, 18px); max-width: 62ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li {
  padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  font: 500 13px/1.2 var(--mono); color: var(--muted);
}

/* stats band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--bg); padding: clamp(28px, 4vw, 48px) var(--gutter); }
.stat b { display: block; font-size: clamp(36px, 4.5vw, 64px); font-weight: 700; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- release grid ---------- */
.grid {
  display: grid; gap: clamp(14px, 1.6vw, 28px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  margin: 0; padding: 0; list-style: none;
}
.grid-latest { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.card { display: block; color: var(--text); }
.card:hover { color: var(--text); }
.card figure { position: relative; margin: 0 0 12px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s cubic-bezier(.2,.7,.2,1), filter .3s; }
.card figure::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; transition: box-shadow .2s;
}
.card:hover img, .card:focus-visible img { transform: scale(1.045); }
.card:hover figure::after, .card:focus-visible figure::after { box-shadow: inset 0 0 0 2px var(--accent); }
.card .year {
  position: absolute; left: 10px; top: 10px;
  padding: 4px 8px; border-radius: 999px;
  font: 600 11px/1 var(--mono); letter-spacing: .06em;
  color: var(--text); background: rgba(10,10,11,.72); backdrop-filter: blur(6px);
}
.card .title { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.card .artist { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.card .label { display: block; margin-top: 6px; color: var(--faint); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.card:hover .title { color: var(--accent); }

/* two labels */
.labels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.label-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: border-color .2s, transform .2s;
}
.label-card:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.label-card h3 { font-size: clamp(28px, 3vw, 40px); }
.label-card p { color: var(--muted); margin: 0; max-width: 52ch; }
.label-card .meta { display: flex; gap: 24px; margin-top: auto; padding-top: 10px; font: 500 13px/1.3 var(--mono); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.label-card .meta b { display: block; font: 700 32px/1 var(--font); color: var(--accent); letter-spacing: -0.02em; margin-bottom: 6px; }
.label-card .go { color: var(--muted); font-weight: 500; }
.label-card .go::after { content: " \2192"; }

/* ---------- releases toolbar ---------- */
.toolbar {
  position: sticky; top: 68px; z-index: 40;
  background: rgba(10,10,11,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.toolbar .wrap { display: flex; align-items: center; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.toolbar .search input { width: clamp(200px, 26vw, 340px); }
.years { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 320px; padding-block: 2px; }
.years::-webkit-scrollbar { display: none; }
.years button {
  flex: none; padding: 7px 13px; border-radius: 999px; cursor: pointer;
  font: 500 13px/1 var(--mono); color: var(--muted);
  background: transparent; border: 1px solid var(--line-strong);
  transition: color .15s, background-color .15s, border-color .15s;
}
.years button:hover { color: var(--text); border-color: var(--text); }
.years button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.count { margin-left: auto; color: var(--faint); font: 500 13px/1 var(--mono); white-space: nowrap; }
.empty { display: none; padding: 64px 0; color: var(--muted); text-align: center; font-size: 18px; }
.empty.show { display: block; }

/* ---------- release dialog ---------- */
dialog.release {
  width: min(1080px, 100% - 2 * var(--gutter)); max-height: min(88vh, 900px);
  padding: 0; border: 1px solid var(--line-strong); border-radius: 20px;
  background: var(--surface); color: var(--text); overflow: hidden;
}
dialog.release::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
dialog.release[open] { animation: rise .25s cubic-bezier(.2,.7,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.rd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); max-height: inherit; }
.rd-cover { background: #000; }
/* square, never cropped: the cover keeps its own proportions at the top of its column */
.rd-cover img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.rd-body { padding: clamp(24px, 3.5vw, 44px); overflow-y: auto; max-height: min(88vh, 900px); }
.rd-body h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 6px 0 6px; }
.rd-artist { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.rd-about { color: #c4c4ca; }
.rd-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  color: var(--text); background: rgba(10,10,11,.7); border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.rd-close:hover { border-color: var(--accent); color: var(--accent); }
.rd-close svg { width: 18px; height: 18px; }
.tracklist { list-style: none; margin: 24px 0; padding: 0; counter-reset: t; border-top: 1px solid var(--line); }
.tracklist li {
  counter-increment: t; display: grid; grid-template-columns: 2.2em 1fr auto; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.tracklist li::before { content: counter(t, decimal-leading-zero); color: var(--faint); font: 500 13px/1.7 var(--mono); }
.tracklist .dur { color: var(--faint); font: 500 13px/1.7 var(--mono); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.player { margin-top: 22px; }
.player:empty { display: none; }
.player iframe { display: block; width: 100%; border: 0; border-radius: var(--radius-sm); }

/* ---------- SoundCloud band ---------- */
.sc-band { background: linear-gradient(120deg, #1a0d05 0%, var(--bg) 60%); border-top: 1px solid var(--line); }
.sc-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(40px, 6vw, 72px); }
.sc-band h2 { font-size: clamp(24px, 3vw, 40px); max-width: 22ch; }
.sc-band .btn { border-color: var(--soundcloud); }
.sc-band .btn:hover { background: var(--soundcloud); color: #fff; border-color: var(--soundcloud); }
.sc-band .btn img { width: 40px; height: 20px; }

/* ---------- contact ---------- */
.contact-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.email-big {
  display: inline-block; font-size: clamp(34px, 6vw, 88px); font-weight: 700; letter-spacing: -0.035em;
  line-height: 1; word-break: break-word; color: var(--text);
}
.email-big:hover { color: var(--accent); }
.contact-hero .actions { margin-top: 28px; }
.contact-hero aside { color: var(--muted); font-size: 17px; border-left: 2px solid var(--accent); padding-left: 24px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); }
.info-card .num { font: 600 13px/1 var(--mono); color: var(--accent); letter-spacing: .1em; }
.info-card h3 { font-size: 24px; margin: 16px 0 10px; }
.info-card p { color: var(--muted); margin: 0; }
.copied { color: var(--accent); font: 500 13px/1 var(--mono); margin-left: 6px; opacity: 0; transition: opacity .2s; }
.copied.show { opacity: 1; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(64px, 12vw, 160px); }
.notfound .big { font-size: clamp(96px, 20vw, 280px); font-weight: 700; line-height: .85; letter-spacing: -0.06em; color: var(--accent); }
.notfound p { color: var(--muted); font-size: 19px; margin: 24px 0 32px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: #070708; }
.footer .cols {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px); padding-block: clamp(48px, 6vw, 80px);
}
.footer .brand img { width: 52px; height: 52px; }
.footer .about-line { color: var(--muted); margin-top: 18px; max-width: 40ch; }
.footer h3 { font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #c9c9ce; }
.footer a:hover { color: var(--accent); }
.footer .legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px;
}

/* ---------- responsive ---------- */
@media (max-width: 1280px) { .grid-latest { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .about, .contact-hero { grid-template-columns: 1fr; }
  .about-logo img { max-width: 360px; }
  .footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .cols > :first-child { grid-column: 1 / -1; }
  .grid-latest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rd { grid-template-columns: 1fr; overflow-y: auto; }
  .rd-cover img { max-width: 520px; margin-inline: auto; }
  .rd-body { max-height: none; overflow: visible; }
}
@media (max-width: 720px) {
  .topbar .wrap { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; }
  .topbar .search { order: 3; flex: 1 1 100%; margin-left: 0; }
  .topbar .search input { width: 100%; }
  .nav { margin-left: auto; }
  .nav a { padding: 7px 11px; font-size: 14px; }
  .brand span { display: none; }
  html { scroll-padding-top: 132px; }
  .toolbar { top: 0; position: relative; }
  .toolbar .search { flex: 1 1 100%; }
  .toolbar .search input { width: 100%; }
  .count { margin-left: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card .title { font-size: 15px; }
  dialog.release { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; border: 0; margin: 0; }
  dialog.release .rd { max-height: 100%; height: 100%; }
  .hero::after, .page-banner::after {
    background: linear-gradient(180deg, rgba(10,10,11,.35) 0%, rgba(10,10,11,.7) 60%, var(--bg) 100%);
  }
}
@media (max-width: 420px) {
  .footer .cols { grid-template-columns: 1fr; }
}

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