/* ---- kwela (Kwela — Street-jazz six-piece, records & tour merch 325) --------
   THE ONE STRUCTURAL MOVE: THE CATALOGUE INVERTS. The whole document is ink —
   stage, record shelf, tour band, sleeve note and closing block — and then the
   shop is lifted straight out of the centre column, run edge to edge on flat
   white and re-centred with its own padding, so the square flat-lays read as
   objects photographed on paper rather than pictures floating on a dark page.
   Inside that band the theme's own tokens are re-pointed rather than the type
   being re-coloured piece by piece, which is why the inversion costs one rule.
   The album row and the merch row share ONE square-tile declaration on purpose:
   the shop is a second verse of the record shelf, not a different kind of page.
   Brass is rationed to buttons, prices and the hairlines under the tracklist —
   two greys, no gradients, no third accent anywhere. */
body.t-kwela {
  --kw-ink: #0c0b0a;
  --kw-brass: #c79338;
  background: var(--kw-ink);
  color: var(--text);
  --header-bg: #0c0b0a;
  --surface: #141210;
  --surface-2: #1b1815;
  --line: #262220;
  --line-strong: #3a3430;
  --heading: #f2efe8;
  --text: #b6b1a8;
  --muted: #7d786f;
  --radius: 0;
}
body.t-kwela .sf-head, body.t-kwela .sf-header, body.t-kwela .sf-foot,
body.t-kwela .sf-footer, body.t-kwela .sf-cats {
  background: var(--kw-ink); border-color: var(--line);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* the bar rides ON the picture with no ground of its own — the header's own
   markup order is untouched; only its ground and its border are taken away */
body.t-kwela:has(.sc-hero) .sf-header { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 0; }
body.t-kwela .btn.brand { background: var(--kw-brass); border: 0; box-shadow: none; color: #1a1206; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; font-weight: 700; padding: 17px 34px; }
body.t-kwela .btn.brand:hover { background: #dcaa4d; opacity: 1; }

/* THE STAGE — three photographs, the whole first screen, the tracked line
   lifted above the heading and one slab under it. Nothing else on the fold. */
body.t-kwela .sc-hero { min-height: 100vh; padding: 152px 20px 112px; }
body.t-kwela .sc-hero-inner { display: flex; flex-direction: column; align-items: center; }
body.t-kwela .sc-hero h1 { font-weight: 800; font-size: clamp(38px, 7.4vw, 92px); line-height: 0.94; letter-spacing: -0.035em; text-transform: uppercase; margin: 0 0 26px; }
body.t-kwela .sc-hero p { order: -1; margin: 0 0 22px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.42em; color: var(--kw-brass); }
body.t-kwela .sc-h2 { font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.025em; color: var(--heading); margin-bottom: 32px; }

/* THE RECORD SHELF — four true squares gapped in the centre column, the caption
   deliberately tiny against the artwork, roughly five to one picture-to-text */
body.t-kwela .sc-strip { padding: 104px 20px 10px; }
body.t-kwela .sc-strip-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
body.t-kwela .sc-strip-img, body.t-kwela .sc-buy-media img, body.t-kwela .sc-about-media img { aspect-ratio: 1; border: 0; background: var(--surface); }
body.t-kwela .sc-strip-label, body.t-kwela .sc-buy-cat { margin-top: 13px; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* THE TOUR STRIP — a thin band that breaks the centre column, resets the
   rhythm and carries one line and one control, nothing more */
body.t-kwela .sc-banner { margin: 96px calc(50% - 50vw) 0; min-height: 0; padding: 46px 24px 52px; display: flex; align-items: center; }
body.t-kwela .sc-banner-inner { max-width: 880px; }
body.t-kwela .sc-banner h2 { font-size: clamp(15px, 1.9vw, 21px); font-weight: 600; letter-spacing: 0; margin: 0 0 20px; }

/* THE SLEEVE NOTE — the eight-track listing as plain ruled rows, the rule drawn
   by a repeating gradient locked to the 30px line so every row sits on its own
   brass hairline the way a session sheet does. The two paragraphs underneath
   stay on the same ruling, which is what makes it read as one insert. */
body.t-kwela .sc-about-split { padding: 100px 20px 96px; gap: 62px; align-items: start; }
body.t-kwela .sc-about-copy p {
  font-size: 14.5px; line-height: 30px; color: var(--text); font-variant-numeric: tabular-nums;
  background-image: repeating-linear-gradient(to bottom, transparent 0 29px, color-mix(in srgb, var(--kw-brass) 34%, transparent) 29px 30px);
}

/* THE INVERSION — the catalogue leaves the centre column, runs edge to edge on
   flat white and re-centres itself on the same 1040px measure as the record
   shelf. Re-pointing --heading, --muted and the two surfaces inside the band is
   what flips every piece of type and every tile ground in one move. */
body.t-kwela .sc-buygrid {
  max-width: none; margin: 100px 0 0; padding: 96px max(20px, calc(50vw - 520px)) 108px;
  background: #ffffff; color: #4b463f;
  --heading: #16120d; --muted: #6b665e; --surface: #f3f0e9; --surface-2: #f3f0e9;
}
body.t-kwela .sc-buy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 26px; }
body.t-kwela .sc-buy-p { color: #8f6417; font-size: 15px; font-weight: 700; }

/* THE CLOSE — back to ink, edge to edge, the way the reference's dark footer
   ends the page */
body.t-kwela .sc-contact-band { background: var(--surface); padding: 100px 0 112px; }
body.t-kwela .sc-contact-band .sc-field input, body.t-kwela .sc-contact-band .sc-field textarea { background: var(--kw-ink); border-color: var(--line-strong); color: var(--heading); }

@media (max-width: 900px) {
  body.t-kwela .sc-hero { min-height: 84vh; padding: 124px 20px 88px; }
  body.t-kwela .sc-strip-row, body.t-kwela .sc-buy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.t-kwela .sc-buygrid { padding: 72px 20px 84px; }
}

/* NIGHT — the room is already dark, so night deepens the ink a stop, lifts the
   brass so it still reads tungsten against it, and takes the one white thing on
   the page down to warm bone: the catalogue inverts a second time rather than
   staying a hole punched through the page. Every other block follows its
   tokens, so the whole night state is two rules. */
html[data-theme="dark"] body.t-kwela {
  --kw-ink: #080706;
  --kw-brass: #d8a950;
  --header-bg: #080706;
  --surface: #100e0d;
  --surface-2: #171412;
  --line: #221e1b;
  --line-strong: #342e2a;
  --heading: #f6f3ec;
  --text: #a9a49b;
  --muted: #757068;
}
html[data-theme="dark"] body.t-kwela .sc-buygrid { background: #ece7db; --surface: #ded8c9; --surface-2: #ded8c9; }
