/* ============================================================
   Enabled Records — base build
   Palette: black + white + one colour per section
   Type: Fraunces (display) / DM Sans (body)
   ============================================================ */

:root {
  --ink: #0a0a0a;
  --paper: #f2efe9;
  --red: #e10600;
  --blue: #003c8a;
  --acid: #f4ff33;

  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #5a564e;
  --rule: rgba(10, 10, 10, 0.18);

  --pad: clamp(1.15rem, 4vw, 4.5rem);
  --maxw: 1180px;

  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', 'Inter', system-ui, sans-serif;

  --dot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><circle cx='1.5' cy='1.5' r='1.1' fill='%230a0a0a' fill-opacity='0.16'/></svg>");
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --fg: #f2efe9;
    --muted: #a8a29a;
    --rule: rgba(242, 239, 233, 0.22);
    --dot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><circle cx='1.5' cy='1.5' r='1.1' fill='%23f2efe9' fill-opacity='0.14'/></svg>");
  }
}

/* explicit theme override from the header switch */
html[data-theme='light'] {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #5a564e;
  --rule: rgba(10, 10, 10, 0.18);
  --dot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><circle cx='1.5' cy='1.5' r='1.1' fill='%230a0a0a' fill-opacity='0.16'/></svg>");
}
html[data-theme='dark'] {
  --bg: #0a0a0a;
  --fg: #f2efe9;
  --muted: #a8a29a;
  --rule: rgba(242, 239, 233, 0.22);
  --dot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><circle cx='1.5' cy='1.5' r='1.1' fill='%23f2efe9' fill-opacity='0.14'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 6vw, 3.6rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.15; }
p { margin: 0 0 1.1em; max-width: 68ch; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.7rem var(--pad);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  min-height: 44px;
}
.mark-dot {
  width: 0.62rem; height: 0.62rem;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.site-nav {
  display: flex;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
  margin-left: auto;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a {
  text-decoration: none;
  padding: 0.6rem 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: currentColor; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.7rem;
  background: transparent;
  color: inherit;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.theme-toggle:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.theme-icon { font-size: 1rem; line-height: 1; }

/* ---------- band system: one colour per section ---------- */
.band {
  padding: clamp(3rem, 8vw, 6.5rem) var(--pad);
  background-image: var(--dot);
  background-size: 22px 22px;
  color: var(--fg);
}
.band > * { max-width: var(--maxw); margin-inline: auto; }

.band--ink  { background-color: #0a0a0a; color: #f2efe9; --rule: rgba(242,239,233,0.24); --muted: #b6b0a7; }
.band--paper{ background-color: #f2efe9; color: #0a0a0a; --rule: rgba(10,10,10,0.2); --muted: #5a564e; }
.band--red  { background-color: #e10600; color: #ffffff; --rule: rgba(255,255,255,0.35); --muted: #ffe0de; }
.band--blue { background-color: #003c8a; color: #f2efe9; --rule: rgba(242,239,233,0.3); --muted: #cfdcf0; }
.band--acid { background-color: #f4ff33; color: #0a0a0a; --rule: rgba(10,10,10,0.3); --muted: #3d3a10; }

.band--ink, .band--red, .band--blue {
  --dot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><circle cx='1.5' cy='1.5' r='1.1' fill='%23ffffff' fill-opacity='0.13'/></svg>");
}
.band--acid {
  --dot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><circle cx='1.5' cy='1.5' r='1.1' fill='%230a0a0a' fill-opacity='0.18'/></svg>");
}

/* ---------- hero ---------- */
.hero { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.kinetic {
  font-size: clamp(3.4rem, 15vw, 11rem);
  font-weight: 200;
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0 0 1.6rem;
  font-variation-settings: 'wght' 200;
  animation: weigh linear both;
  animation-timeline: scroll(root);
  animation-range: 0 40vh;
}
@keyframes weigh {
  from { font-variation-settings: 'wght' 200; }
  to   { font-variation-settings: 'wght' 900; }
}
.hero-foot {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 46ch; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
@media (min-width: 780px) {
  .hero-foot { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .hero-meta { flex-direction: column; gap: 0.35rem; }
}

/* ---------- bento (broken grid) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.9rem, 2vw, 1.6rem);
}
.bento-title { grid-column: 1 / -1; margin-bottom: 0.4rem; }
.cell {
  border-top: 2px solid var(--fg);
  padding-top: 0.9rem;
}
.cell h3 { margin-bottom: 0.5rem; }
.cell p { font-size: 0.98rem; margin-bottom: 0; color: var(--fg); }
.cell p + p { margin-top: 0.6rem; }

.cell--a { grid-column: 1 / -1; }
.cell--b { grid-column: 1 / -1; }
.cell--c { grid-column: 1 / -1; }
.cell--d { grid-column: 1 / -1; }
.cell--e { grid-column: 1 / -1; }
.cell--blank { display: none; }

@media (min-width: 760px) {
  .cell--a { grid-column: 1 / 4; }
  .cell--b { grid-column: 4 / 7; margin-top: 3.2rem; }
  .cell--c { grid-column: 2 / 5; }
  .cell--d { grid-column: 5 / 7; margin-top: 2.4rem; }
  .cell--e { grid-column: 1 / 3; margin-top: -1.2rem; }
  .cell--blank { display: block; grid-column: 3 / 5; }
}

/* ---------- expandable index ---------- */
.index-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}
.index-head h2 { margin: 0; }
.index-note { font-size: 0.85rem; color: var(--muted); margin: 0; max-width: 34ch; }

.entries { border-top: 2px solid currentColor; }
.entry { border-bottom: 1px solid var(--rule); }
.entry summary {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 0.15rem 0.8rem;
  align-items: baseline;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after {
  content: '+';
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-family: var(--sans);
  font-size: 1.3rem;
  line-height: 1;
  opacity: 0.75;
}
.entry[open] summary::after { content: '–'; }
.entry-num {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  grid-row: 1 / span 2;
  padding-top: 0.35rem;
}
.entry-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  grid-column: 2;
  padding-right: 2rem;
}
.entry-artist,
.entry-year {
  grid-column: 2;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.entry-year { display: none; }

@media (min-width: 700px) {
  .entry summary {
    grid-template-columns: 5.5rem 1fr 12rem 5rem 2rem;
    align-items: center;
  }
  .entry-num { grid-row: 1; padding-top: 0; }
  .entry-title { grid-column: 2; padding-right: 0; }
  .entry-artist { grid-column: 3; }
  .entry-year { display: block; grid-column: 4; }
  .entry summary::after { grid-column: 5; grid-row: 1; }
}

.entry-body {
  padding: 0 0 1.6rem;
  max-width: 62ch;
  animation: reveal 260ms ease-out both;
}
@media (min-width: 700px) {
  .entry-body { padding-left: 5.5rem; }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.entry-format {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.entry-tracks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border-top: 1px solid var(--rule);
}
.entry-tracks li {
  display: flex;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.entry-tracks li span { color: var(--muted); font-variant-numeric: tabular-nums; }
.entry-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0; font-size: 0.9rem; }
.entry-links a { text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- roster ---------- */
.section-lede { font-size: 1.05rem; max-width: 52ch; margin-bottom: 2rem; }
.roster-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .roster-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.4rem; }
}
@media (min-width: 1050px) {
  .roster-grid { grid-template-columns: repeat(3, 1fr); }
  .artist--open { grid-column: 2 / 4; }
}
.artist { border-top: 2px solid currentColor; padding-top: 0.9rem; }
.artist h3 { margin-bottom: 0.3rem; }
.artist-meta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.artist p { font-size: 0.97rem; }
.inline-link { text-decoration: underline; }

/* ---------- about ---------- */
.about-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .about-cols { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; }
}
.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 0.82;
  float: left;
  padding: 0.08em 0.12em 0 0;
}
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.97rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 0.35rem;
}

/* ---------- demos ---------- */
.demo-list { list-style: none; padding: 0; margin: 0 0 2rem; max-width: 60ch; }
.demo-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
}
.demo-list li span { font-size: 0.78rem; letter-spacing: 0.1em; color: var(--muted); padding-top: 0.35rem; }
.demo-cta { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  background: currentColor;
  border: 2px solid currentColor;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 160ms ease;
}
.btn:hover { opacity: 0.85; }
.band--acid .btn { color: var(--acid); background: #0a0a0a; border-color: #0a0a0a; }
.band--acid .btn:hover { opacity: 0.82; }
.band--ink .btn { color: var(--ink); background: #f2efe9; border-color: #f2efe9; }
.band--ink .btn:hover { opacity: 0.85; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
}
.contact-info p { font-size: 0.97rem; margin-bottom: 1.3rem; }
.contact-info strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.contact-form { display: grid; gap: 1rem; }
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  color: #f2efe9;
  background: rgba(242, 239, 233, 0.07);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
  width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form select { appearance: none; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(242, 239, 233, 0.5); }
.contact-form .btn { justify-self: start; margin-top: 0.4rem; }
.form-status { font-size: 0.9rem; margin: 0; color: #f2efe9; }

/* ---------- footer ---------- */
.site-foot {
  padding: 2.4rem var(--pad) 3.4rem;
  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}
.foot-mark { font-family: var(--serif); font-size: 1.1rem; margin: 0; }
.foot-note { font-size: 0.8rem; color: var(--muted); margin: 0; }
.attribution {
  position: static;
  margin: 0;
  font-size: 0.75rem;
  opacity: 1;
  color: var(--muted);
  font-family: var(--sans);
}
.attribution a { color: inherit; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kinetic {
    animation: none;
    font-variation-settings: 'wght' 600;
  }
  .entry-body { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
