/* Artist Light — Platinumlist deck system (pl-deck-redesign / Marketing Masterfile 2.0), as a web page.
   ONE dark background. Accent alternates cyan → lime per section. Four colours, no fifth:
   Sabbath #221327 · Monday cyan #79E2FF · Day lime #C7F88A · White #FFFFFF.
   Never write a colour into markup — sections carry .acc-cyan / .acc-lime and everything uses var(--acc). */

@font-face { font-family: "MD Nichrome"; src: url("/fonts/MDNichrome-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/InterVariable.ttf") format("truetype-variations"); font-weight: 100 900; font-display: swap; }

:root { --sabbath: #221327; --cyan: #79E2FF; --lime: #C7F88A; --white: #FFFFFF; --acc: var(--cyan); }
.acc-cyan { --acc: #79E2FF; }
.acc-lime { --acc: #C7F88A; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--sabbath); color: var(--acc); font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- frame ---------- */
.sec { position: relative; color: var(--acc); padding: 72px 0 64px; border-top: 1px solid color-mix(in srgb, var(--acc) 18%, transparent); }
.sec:first-of-type { border-top: 0; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 56px; }

/* ---------- type ---------- */
.nich, h1, h2, h3 { font-family: "MD Nichrome", "Inter", sans-serif; font-weight: 700; text-transform: uppercase; color: var(--acc); }
h1 { font-size: clamp(56px, 8vw, 132px); line-height: .9; letter-spacing: -2px; }
h2 { font-size: clamp(40px, 5vw, 76px); line-height: .95; letter-spacing: -1px; }
h3 { font-size: 26px; line-height: 1.05; letter-spacing: 0; margin-bottom: 18px; }
.lede { font-size: 22px; line-height: 1.45; font-weight: 600; opacity: .85; max-width: 980px; margin-top: 20px; }
.body { font-size: 18px; line-height: 1.5; font-weight: 500; }
.white { color: var(--white); }
.dim { opacity: .58; }

/* section marker — top-right, never an eyebrow above the headline */
.marker { position: absolute; top: 28px; right: 56px; display: flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; opacity: .55; }
.marker .num { font-family: "MD Nichrome", "Inter", sans-serif; font-size: 20px; letter-spacing: 0; }
.marker .bar { width: 48px; height: 3px; border-radius: 2px; background: var(--acc); opacity: .5; }

.footnote { margin-top: 28px; font-size: 14px; line-height: 1.5; letter-spacing: .3px; color: var(--white); opacity: .38; max-width: 1200px; }

/* ---------- wordmark (inline SVG, fill = currentColor → follows the accent) ---------- */
.wordmark { height: 40px; width: auto; display: block; color: var(--acc); align-self: flex-start; }
.wordmark svg { height: 100%; width: auto; display: block; }

/* ---------- cover ---------- */
.cover { min-height: 88vh; display: flex; align-items: center; padding: 56px 0; }
.cover .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.cover .kick { font-size: 16px; font-weight: 600; letter-spacing: 3.6px; text-transform: uppercase; opacity: .7; margin: 48px 0 28px; }
.chip { display: inline-block; font-family: "MD Nichrome", "Inter", sans-serif; font-weight: 700; text-transform: uppercase;
  background: var(--acc); color: var(--sabbath); border-radius: 14px; padding: 10px 22px 13px; font-size: clamp(24px, 2.6vw, 40px); line-height: 1; margin-top: 32px; }
.byline { margin-top: 40px; font-size: 18px; font-weight: 500; color: var(--white); opacity: .8; }
.byline span { display: block; opacity: .55; margin-top: 6px; font-size: 16px; }

/* ---------- portal — the brand image frame. Fixed art: copy, never redraw. Box stays at 0.794 w/h ---------- */
.portal { overflow: hidden; -webkit-clip-path: url(#pl-portal); clip-path: url(#pl-portal); background: color-mix(in srgb, var(--acc) 14%, transparent); }
.portal > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.portal-cover { width: clamp(300px, 34vw, 520px); aspect-ratio: 0.794; }
.portal-half { width: 302px; aspect-ratio: 0.794; flex: 0 0 auto; }

/* ---------- artist head ---------- */
.ahead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag-o { font-size: 14px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; border: 2px solid var(--acc); border-radius: 999px; padding: 6px 14px; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 20px; min-height: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mt { margin-top: 40px; }
.mt-s { margin-top: 20px; }

/* ---------- cards: outlined (default) and solid (the one or two that carry the section) ---------- */
.card { border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  border: 2px solid var(--acc); color: var(--acc); background: transparent; }
.card.solid { background: var(--acc); color: var(--sabbath); }
.card .ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--acc) 16%, transparent); }
.card.solid .ico { background: rgba(34, 19, 39, .14); }
.card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card .ttl { font-size: 14px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; opacity: .72; }
.card .val { font-family: "MD Nichrome", "Inter", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 52px; line-height: .9; letter-spacing: -1px; }
.card .mid { height: 6px; border-radius: 3px; position: relative; overflow: hidden; background: color-mix(in srgb, var(--acc) 20%, transparent); }
.card.solid .mid { background: rgba(34, 19, 39, .18); }
.card .mid i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; display: block; background: var(--acc); }
.card.solid .mid i { background: var(--sabbath); opacity: .75; }
.card .tag { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; opacity: .62;
  border-top: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); line-height: 1.35; }
.card.solid .tag { border-top-color: rgba(34, 19, 39, .22); }
.neg { opacity: .55; }

/* ---------- panels (chart / table wrappers) ---------- */
.panel { border-radius: 16px; padding: 22px 24px; border: 2px solid color-mix(in srgb, var(--acc) 55%, transparent); min-width: 0; }
.panel .cap { font-size: 14px; color: var(--white); opacity: .5; margin-top: 12px; line-height: 1.45; }

/* search chart */
.spark { width: 100%; height: 170px; display: block; }
.spark .ln { fill: none; stroke: var(--acc); stroke-width: 3; }
.spark .ar { fill: color-mix(in srgb, var(--acc) 12%, transparent); }
.spark .pk { fill: var(--acc); }
.spark text { fill: var(--white); opacity: .55; font-size: 14px; font-family: "Inter", sans-serif; font-weight: 600; }

/* bars */
.bars { display: flex; flex-direction: column; gap: 10px; }
.barrow { display: grid; grid-template-columns: minmax(110px, 180px) minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.barrow .name { font-size: 15px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barrow .track { height: 22px; border-radius: 6px; background: color-mix(in srgb, var(--acc) 12%, transparent); overflow: hidden; }
.barrow .fill { display: block; height: 100%; border-radius: 6px; background: color-mix(in srgb, var(--acc) 45%, transparent); }
.barrow.hit .fill { background: var(--acc); }
.barrow.hit .name { opacity: 1; }
.barrow .v { font-family: "MD Nichrome", "Inter", sans-serif; font-size: 22px; white-space: nowrap; }

/* tables */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.35; }
table.t th { text-align: left; font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; opacity: .6; padding: 10px 12px;
  border-bottom: 2px solid color-mix(in srgb, var(--acc) 40%, transparent); white-space: nowrap; }
table.t td { padding: 12px; border-bottom: 1px solid color-mix(in srgb, var(--acc) 18%, transparent); vertical-align: top; color: var(--white); }
table.t td.a { color: var(--acc); font-weight: 700; }
table.t td.a:first-child { white-space: nowrap; }
table.t .r { text-align: right; }
table.t .n { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t tr.hit td { background: color-mix(in srgb, var(--acc) 14%, transparent); }
table.t a { text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--acc) 50%, transparent); }

/* note cards — filled accent heading band, white body (hierarchy by hue) */
.note { border-radius: 12px; overflow: hidden; border: 2px solid var(--acc); display: flex; flex-direction: column; min-width: 0; }
.note > b { display: block; background: var(--acc); color: var(--sabbath); padding: 10px 16px; font-size: 15px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.note .items { padding: 6px 16px 14px; }
.note .it { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--acc) 16%, transparent);
  font-size: 16px; line-height: 1.45; color: var(--white); }
.note .it:last-child { border-bottom: 0; }
.note .it .d { color: var(--acc); font-weight: 700; font-size: 14px; letter-spacing: .6px; padding-top: 2px; }
.note .it .u { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--acc); opacity: .7;
  border: 1px solid var(--acc); border-radius: 999px; padding: 1px 8px; vertical-align: 1px; }
.note .empty { padding: 14px 0 6px; font-size: 16px; color: var(--white); opacity: .55; }

/* takeaway strip — the sentence to be repeated back */
.takeaway { margin-top: 32px; padding: 20px 28px; border-radius: 16px; background: var(--acc); color: var(--sabbath);
  font-family: "MD Nichrome", "Inter", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1.15; }

/* flag (homonym etc.) — outlined, not a fifth colour */
.flag { margin-top: 20px; border: 2px dashed var(--acc); border-radius: 12px; padding: 14px 18px; font-size: 16px; line-height: 1.45; color: var(--white); }

/* skeleton */
.skel { height: 18px; border-radius: 6px; background: color-mix(in srgb, var(--acc) 16%, transparent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hidden { display: none !important; }

/* buttons + inputs (staff app) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 14px 22px; font-size: 16px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; border: 2px solid var(--acc); color: var(--acc); background: transparent; text-decoration: none; }
.btn.solid { background: var(--acc); color: var(--sabbath); }
.btn:disabled { opacity: .45; cursor: default; }
.field { display: block; margin-top: 18px; }
.field > span { display: block; font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.input { width: 100%; border: 2px solid color-mix(in srgb, var(--acc) 55%, transparent); border-radius: 12px; background: transparent; color: var(--white);
  font: inherit; font-size: 18px; padding: 14px 16px; }
.input:focus { outline: none; border-color: var(--acc); }
textarea.input { min-height: 150px; resize: vertical; line-height: 1.5; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border: 2px solid color-mix(in srgb, var(--acc) 55%, transparent);
  border-radius: 999px; padding: 7px 14px; color: var(--acc); background: transparent; }
.pill.sel { background: var(--acc); color: var(--sabbath); border-color: var(--acc); }
.err { color: var(--white); font-size: 16px; min-height: 22px; margin-top: 12px; opacity: .85; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .g3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .sec { padding: 56px 0 44px; }
  .marker { right: 18px; top: 18px; }
  .cover .wrap, .ahead { grid-template-columns: 1fr; }
  .portal-cover { width: min(78vw, 360px); justify-self: end; }
  .portal-half { width: min(56vw, 220px); justify-self: end; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 16px; }
  .card .val { font-size: 34px; }
  .lede { font-size: 18px; }
  .note .it { grid-template-columns: 1fr; gap: 2px; }
  .barrow { grid-template-columns: minmax(90px, 120px) minmax(0, 1fr) auto; gap: 10px; }
  .barrow .v { font-size: 18px; }
}

@media print {
  .noprint { display: none !important; }
  .sec { break-inside: avoid-page; }
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
