/* ═══════════════════════════════════════════════════════════════════════════
   THEME — SHELLAC · image-first dark
   Every rule is scoped to [data-theme="shellac"].

   The premise: this archive is 219 photographs of disc labels and 137 portraits.
   The layout's job is to get out of their way. So, structurally:

     1. The hero is no longer a dark overlay with type on top of it. It is a
        PLATE — the photograph at 46% of the viewport, unframed, reaching the
        right edge — with its caption set beside it on the black canvas.
     2. Chrome is a hairline, never a box. Cards lose their paper fill, border,
        radius and shadow; the image sits directly on the canvas and the
        metadata sits under it, small and quiet.
     3. Density is uneven on purpose: generous space around images, tight
        leading inside metadata. A record is a picture plus a caption, not a
        panel of six things.
     4. One accent (shellac amber, the archive's own median label hue), used
        only where something is interactive or countable.
     5. Type: Newsreader 300 for display (light, wide, editorial), Inter for
        everything small. No faux-bold, no 900, no uppercase shouting.

   Motion: colour and border only. No transform, no scale, no translate.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. TOKENS ────────────────────────────────────────────────────────────── */

[data-theme="shellac"] {
  /* neutral near-black; the warmth comes from the discs, not the ground */
  --bg:          #0A0A0B;
  --bg-alt:      #101012;
  --paper:       #151518;
  --surface:     #131316;
  --hero-top:    #0E0E10;

  /* hairlines are alpha so they compose over photographs too */
  --line:        rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .18);

  --ink:         #F3F1ED;
  --ink-soft:    #A5A199;
  --ink-faint:   #8C8880;

  --accent:      #E5A253;
  --accent-soft: #F2C48A;
  --accent-dim:  #8A5F2A;
  --gold:        #C7A76B;
  --on-accent:   #0A0A0B;

  --shadow: none;
  --hair:   inset 0 1px 0 rgba(255, 255, 255, .04);

  --card-wash: linear-gradient(to top,
                 rgba(8, 8, 9, .92) 0%,
                 rgba(8, 8, 9, .55) 36%,
                 rgba(8, 8, 9, .06) 68%,
                 rgba(8, 8, 9, 0) 100%);
  --card-scrim:       var(--card-wash);
  --card-scrim-hover: var(--card-wash);
  --card-soft:  #C9C4BA;
  --card-gold:  #E5C07A;

  --era-pd-bg:   #0F1A12;  --era-pd-fg:   #8FCFA0;
  --era-gray-bg: #1A160D;  --era-gray-fg: #D8BC7E;
  --era-risk-bg: #1C1211;  --era-risk-fg: #E4A08F;
  --era-unk-bg:  #17171A;  --era-unk-fg:  #9B978F;

  --serif:   'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Newsreader', Georgia, serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  --radius:    0px;
  --radius-lg: 2px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --t-fast:    120ms;
  --t:         180ms;
  --fs-min:    13px;
  --body-weight: 400;

  color-scheme: dark;
}

/* ── 2. BASE ──────────────────────────────────────────────────────────────── */

[data-theme="shellac"] body {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: -.004em;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}

/* photographs are unframed and square-cornered; the crest is a medallion and
   stays one (a global border-radius:0 would square off the brand mark) */
[data-theme="shellac"] img { border-radius: 0; }
[data-theme="shellac"] .brand-crest,
[data-theme="shellac"] .nd-crest { border-radius: 50%; }
[data-theme="shellac"] a { color: var(--accent); text-decoration: none; }
[data-theme="shellac"] a:hover { color: var(--accent-soft); text-decoration: none; }
[data-theme="shellac"] em { font-family: var(--serif); }

[data-theme="shellac"] h1,
[data-theme="shellac"] h2,
[data-theme="shellac"] h3 { text-wrap: balance; font-optical-sizing: auto; }

/* wider canvas than the 1200px default: the photographs need the width */
[data-theme="shellac"] .wrap {
  max-width: 1320px;
  padding-left: 32px;
  padding-right: 32px;
}

[data-theme="shellac"] :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── 3. HEADER — two rows, both hairlines, no panel ───────────────────────── */

[data-theme="shellac"] .site-head {
  background: var(--bg);
  border-bottom: 0;
  position: sticky; top: 0; z-index: 60;
}
[data-theme="shellac"] .head-inner {
  padding: 14px 0 12px;
  gap: 20px;
}
[data-theme="shellac"] .brand { gap: 14px; }
[data-theme="shellac"] .brand-crest {
  width: 34px; height: 34px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
  filter: saturate(.85);
}
[data-theme="shellac"] .brand-text {
  font-size: 12.5px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.3;
}
[data-theme="shellac"] .brand-text em {
  display: block;
  font-family: var(--sans); font-style: normal;
  font-size: 10.5px; font-weight: 400; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* the search field is a rule with a placeholder in it */
[data-theme="shellac"] .nav-search input,
[data-theme="shellac"] .nd-search input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: .06em;
  width: 168px;
  min-height: 34px;
  padding: 0 2px;
  transition: border-color var(--t-fast) var(--ease), width var(--t) var(--ease);
}
[data-theme="shellac"] .nav-search input::placeholder,
[data-theme="shellac"] .nd-search input::placeholder {
  color: var(--ink-soft); letter-spacing: .08em;
}
[data-theme="shellac"] .nav-search input:focus {
  outline: none; width: 210px; border-bottom-color: var(--accent);
}
[data-theme="shellac"] .nd-search input:focus { outline: none; border-bottom-color: var(--accent); }

[data-theme="shellac"] .theme-switch {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 30px; padding: 0 12px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
[data-theme="shellac"] .theme-switch:hover {
  color: var(--ink); border-color: var(--line-strong); background: transparent;
}
[data-theme="shellac"] .theme-switch .ts-icon { font-size: 11px; }

/* the directional menu becomes a thin index bar, not a second toolbar */
[data-theme="shellac"] .main-nav {
  background: transparent;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  justify-content: flex-start;
}
[data-theme="shellac"] .nav-inner {
  gap: 30px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
}
[data-theme="shellac"] .nav-inner::-webkit-scrollbar { display: none; }

[data-theme="shellac"] .main-nav a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  min-height: 42px;
  padding: 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  /* the default theme grows each link 60% on hover. Deleted, not toned down. */
  transform: none;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
[data-theme="shellac"] .main-nav a:hover {
  color: var(--ink);
  transform: none;
  border-bottom-color: var(--accent);
  text-decoration: none;
}
[data-theme="shellac"] .main-nav a[aria-current="page"],
[data-theme="shellac"] .main-nav a[aria-current],
[data-theme="shellac"] .main-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent-dim);
}

/* ── 4. HERO — an image, with a caption. Not an overlay. ──────────────────── */

[data-theme="shellac"] .page-head {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

/* The has-photo variant is a two-column plate:
   ┌───────────────────────────────┬──────────────────┐
   │ caption column (title, lede)  │  the photograph  │
   └───────────────────────────────┴──────────────────┘
   The photograph is the .hero-colour layer, taken out of its absolute
   full-section overlay and made a real grid cell that reaches the viewport
   edge. Its scrim is deleted — the image is shown at full strength and fades
   into the canvas along the bottom edge instead of being dimmed all over. */
[data-theme="shellac"] .page-head.has-photo {
  display: grid;
  /* the photograph takes the larger share: 54% of the viewport, full height */
  grid-template-columns: minmax(0, 1fr) minmax(380px, 54%);
  align-items: stretch;
  min-height: min(64vh, 560px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

[data-theme="shellac"] .page-head.has-photo .hero-colour {
  position: static;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  background-image: var(--hero-colour, var(--hero));
  background-size: cover;
  background-position: 50% 45%;
  background-repeat: no-repeat;
  filter: saturate(.86) contrast(1.03) brightness(.94);
  /* the plate's leading edge dissolves into the canvas instead of ending on a
     hard vertical seam — the photograph reads as light in the room, not as a
     window cut into a panorama. Its outer edge stays the viewport edge. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .4) 4%, #000 9%);
  mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .4) 4%, #000 9%);
  clip-path: none;
  animation: none;
  will-change: auto;
  pointer-events: none;
}
/* the travelling light edge belonged to the wipe; there is no wipe */
[data-theme="shellac"] .page-head.has-photo .hero-sweep { display: none; }

[data-theme="shellac"] .page-head.has-photo > .wrap {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 760px;
  margin: 0 0 0 auto;
  padding: 34px 32px 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

[data-theme="shellac"] .page-head .crumbs {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
[data-theme="shellac"] .page-head .crumbs a {
  color: var(--ink-faint);
  min-height: 0;
  display: inline;
  transition: color var(--t-fast) var(--ease);
}
[data-theme="shellac"] .page-head .crumbs a:hover { color: var(--ink); }

[data-theme="shellac"] .page-head h1 {
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 12px;
  text-shadow: none;
}
/* the caption rule under the title — the only accent in the hero */
[data-theme="shellac"] .page-head h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 18px;
  background: var(--accent);
}

[data-theme="shellac"] .page-head .hsub {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 50ch;
  margin: 0 0 20px;
}

[data-theme="shellac"] .page-head .lede {
  font-size: 14px;
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 74ch;
  margin: 0 0 11px;
  order: 2;              /* flex order: prose after the plate credit */
  text-shadow: none;
}
[data-theme="shellac"] .page-head .lede:first-of-type { color: var(--ink); }
[data-theme="shellac"] .page-head .lede + .lede { margin-top: 0; }

[data-theme="shellac"] .page-head .stats-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 22px;
  width: 100%;
  order: 3;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
[data-theme="shellac"] .page-head .stats-row b {
  display: block;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 2px;
}

/* the colour disclosure is the plate's credit line: it sits directly under the
   subtitle, at the top of the caption column, next to the photograph it is
   talking about — not floating at the bottom of the page. */
[data-theme="shellac"] .hero-chip {
  position: static;
  order: 1;                     /* after crumbs/h1/hsub, before the prose */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 1;
  animation: none;
  backdrop-filter: none;
  text-shadow: none;
}
[data-theme="shellac"] .hero-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
}


/* pages without a photograph: same type, no plate */
[data-theme="shellac"] .page-head:not(.has-photo) { padding: 66px 0 52px; }
[data-theme="shellac"] .page-head:not(.has-photo) .wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* ── 4b. PLAIN HERO (home page) — flat canvas, display type, no painted wash ── */

[data-theme="shellac"] .hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 88px 0 76px;
}
[data-theme="shellac"] .hero .wrap { max-width: 960px; }
[data-theme="shellac"] .hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6.2vw, 88px);
  font-weight: 300;
  line-height: .96;
  letter-spacing: -.033em;
  margin-bottom: 22px;
}
[data-theme="shellac"] .hero h1 .t { color: var(--accent); }
[data-theme="shellac"] .hero p.sub {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 34px;
}
[data-theme="shellac"] .hero-stats {
  gap: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
[data-theme="shellac"] .hero-stats .stat .n {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
}
[data-theme="shellac"] .hero-stats .stat .l {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}
[data-theme="shellac"] .hero-map-slot { display: none; }

/* ── 5. SECTIONS — a rule, a label, then the work ─────────────────────────── */

[data-theme="shellac"] .sec {
  padding: 52px 0 !important;      /* the page carries inline padding:34px */
  background: var(--bg);
}
[data-theme="shellac"] .sec.alt { background: var(--bg-alt); }

[data-theme="shellac"] .section-head {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 34px;
}
[data-theme="shellac"] .section-head .kicker,
[data-theme="shellac"] .hero .kicker {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);      /* no longer gold, no longer a second accent */
  margin-bottom: 12px;
}
[data-theme="shellac"] .section-head h2 {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--ink);
}
[data-theme="shellac"] .section-head .rail-note,
[data-theme="shellac"] .rail-note {
  font-size: 14px;
  line-height: 1.66;
  color: var(--ink-soft);
  margin-top: 14px;
  max-width: 62ch;
}
[data-theme="shellac"] .rail-note b { color: var(--ink); font-weight: 500; }
[data-theme="shellac"] .rail-note a { min-height: 0; display: inline; }

/* ── 6. TEXT SECTIONS — label in a side column, prose in the other ────────── */

[data-theme="shellac"] .sec > .wrap { position: relative; }

/* "About this hearth" and every .sec whose children are only prose: the
   section head becomes a left-hand label and the paragraphs line up in a
   single measure beside it, instead of a stacked block under a centred head. */
[data-theme="shellac"] #about-hearth > .wrap,
[data-theme="shellac"] .sec.text-split > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);   /* one rule across both columns */
  padding-top: 24px;
}
[data-theme="shellac"] #about-hearth > .wrap > .section-head,
[data-theme="shellac"] .sec.text-split > .wrap > .section-head {
  grid-column: 1;
  margin-bottom: 0;
  border-top: 0;
  padding-top: 0;
}
[data-theme="shellac"] #about-hearth > .wrap > p,
[data-theme="shellac"] .sec.text-split > .wrap > p {
  grid-column: 2;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 15px;
}
/* the body's first line lands level with the h2, under the eyebrow */
[data-theme="shellac"] #about-hearth > .wrap > p:first-of-type,
[data-theme="shellac"] .sec.text-split > .wrap > p:first-of-type {
  color: var(--ink);
  margin-top: 26px;
}

/* ── 7. PHOTO GALLERY — bigger plates, captions outside the frame ─────────── */

[data-theme="shellac"] .pgallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 30px;
  margin-top: 8px;
}

[data-theme="shellac"] .pg-cell { position: relative; }
[data-theme="shellac"] .pg-cell.pg-lead { grid-column: 1 / -1; }

[data-theme="shellac"] .pg-shot {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
[data-theme="shellac"] .pg-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  background: var(--surface);
  filter: saturate(.82) contrast(1.03);
  transition: filter var(--t) var(--ease);
}
[data-theme="shellac"] .pg-shot:hover img,
[data-theme="shellac"] .pg-shot:focus-visible img {
  filter: saturate(1) contrast(1.05);
}
[data-theme="shellac"] .pg-lead .pg-shot img { aspect-ratio: 2 / 1; }

/* the caption sits UNDER the photograph, on the canvas — no gradient band,
   no text sitting in the picture */
[data-theme="shellac"] .pg-cap {
  position: static;
  display: block;
  padding: 14px 0 0;
  background: none;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--ink-soft);
  text-align: left;
  text-shadow: none;
  max-width: 46ch;
}
[data-theme="shellac"] .pg-lead .pg-cap {
  padding: 18px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}
[data-theme="shellac"] .pg-shot::after { display: none; }

[data-theme="shellac"] .pg-note {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 74ch;
}

/* the colour toggle: hairline circle, accent only when it is on */
[data-theme="shellac"] .ph-toggle {
  width: 34px; height: 34px;
  top: 10px; right: 10px;
  background: rgba(10, 10, 11, .55);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #F3F1ED;
  font-size: 14px;
  backdrop-filter: blur(6px);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
[data-theme="shellac"] .ph-toggle:hover { border-color: #fff; color: #fff; }
[data-theme="shellac"] .pg-cell.showing-colour .ph-toggle {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent);
}
[data-theme="shellac"] .ph-chip {
  top: 12px; left: 0;
  background: none; border: 0; padding: 0;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--accent);
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
}
[data-theme="shellac"] .mm-badge {
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  background: rgba(10, 10, 11, .6);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 12px;
  backdrop-filter: blur(6px);
}
[data-theme="shellac"] .mm-printed {
  left: 10px; right: auto;
  background: rgba(10, 10, 11, .72);
  color: var(--ink);
  border-color: rgba(255, 255, 255, .25);
}
[data-theme="shellac"] .mm-src { opacity: .9; }

/* ── 8. RECORDINGS — a picture and two lines of type, no card ─────────────── */

[data-theme="shellac"] .live-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 42px 28px;
}
[data-theme="shellac"] .live-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: none;
}
[data-theme="shellac"] .live-card:hover,
[data-theme="shellac"] .live-card:active { border: 0; box-shadow: none; }

[data-theme="shellac"] .yt-lite {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background-color: var(--surface);
  filter: saturate(.85);
  transition: filter var(--t) var(--ease);
}
[data-theme="shellac"] .yt-lite:hover,
[data-theme="shellac"] .yt-lite:focus-visible { filter: saturate(1); }
[data-theme="shellac"] .yt-lite::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .22));
}
[data-theme="shellac"] .yt-lite .yt-play {
  width: 46px; height: 32px;
  background: rgba(10, 10, 11, .72);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 13px;
  border-radius: 999px;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
[data-theme="shellac"] .yt-lite:hover .yt-play {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent);
}

[data-theme="shellac"] .lc-body { padding: 14px 0 0; }
[data-theme="shellac"] .live-card h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.008em;
}
[data-theme="shellac"] .live-card h3 a { color: var(--ink); }
[data-theme="shellac"] .live-card h3 a:hover { color: var(--accent); }
[data-theme="shellac"] .lc-culture {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 7px;
}
[data-theme="shellac"] .yt-badge {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 0 0;
  background: none !important;
  border-radius: 0;
  color: var(--ink-faint) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
[data-theme="shellac"] .yt-badge::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--accent);
  display: inline-block;
}
/* the green badge is a different fact from "on YouTube" — it keeps its hue */
[data-theme="shellac"] .live-card .yt-badge.green::before { background: #5FAF77; }

[data-theme="shellac"] .playlist-player {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 18px 0;
  margin-bottom: 40px;
}
[data-theme="shellac"] .pl-head { margin-bottom: 12px; gap: 14px; }
[data-theme="shellac"] .pl-head strong {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
[data-theme="shellac"] .pl-note { font-size: 12px; color: var(--ink-faint); }
[data-theme="shellac"] .embed-wrap { border-radius: 0; }

[data-theme="shellac"] .filter-bar {
  background: transparent;
  border: 0;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
  padding: 4px 0 4px 18px;
}
[data-theme="shellac"] .filter-bar .fb-text { font-size: 15px; color: var(--ink-soft); }
[data-theme="shellac"] .filter-bar .fb-text strong {
  font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink);
}
[data-theme="shellac"] .filter-bar .fb-clear {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 0 16px; min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
[data-theme="shellac"] .filter-bar .fb-clear:hover {
  background: transparent; border-color: var(--accent); color: var(--accent);
}

/* ── 9. PORTRAIT RAIL — taller, unframed, caption below ───────────────────── */

[data-theme="shellac"] .figure-grid {
  gap: 30px;
  padding: 4px 0 24px;
  scrollbar-color: var(--line-strong) transparent;
}
[data-theme="shellac"] .figure-card {
  flex: 0 0 268px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: none;
}
[data-theme="shellac"] .figure-card:hover,
[data-theme="shellac"] .figure-card:focus-visible,
[data-theme="shellac"] .figure-card:active { border: 0; box-shadow: none; }
[data-theme="shellac"] .figure-card.is-active {
  border: 0;
  box-shadow: none;
}
[data-theme="shellac"] .figure-card.is-active .figure-img {
  outline: 2px solid var(--accent);      /* draws over the image, unlike an inset shadow */
  outline-offset: -2px;
}

[data-theme="shellac"] .figure-img {
  aspect-ratio: 3 / 4;
  background: var(--surface);
  overflow: hidden;
}
[data-theme="shellac"] .figure-img img {
  object-fit: cover;
  object-position: 50% 16%;     /* heads are not cut off in the tall sources */
  filter: saturate(.9) contrast(1.02);
  transition: filter var(--t) var(--ease);
}
[data-theme="shellac"] .figure-card:hover .figure-img img { filter: saturate(1) contrast(1.04); }

[data-theme="shellac"] .figure-card figcaption {
  padding: 13px 0 0;
  gap: 5px;
}
[data-theme="shellac"] .figure-card strong {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.006em;
}
[data-theme="shellac"] .figure-card .f-role {
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--ink-faint);
}
[data-theme="shellac"] .figure-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 4px;
}
[data-theme="shellac"] .figure-card .f-credit {
  padding-top: 8px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--ink-faint);
  opacity: 1;
}
[data-theme="shellac"] .figure-card .f-count {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}
[data-theme="shellac"] .rail-btn {
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
[data-theme="shellac"] .rail-btn:hover {
  background: transparent; border-color: var(--ink); color: var(--ink);
}
[data-theme="shellac"] .rail-btn[disabled] { opacity: .28; background: transparent; }

/* ── 10. DISCS + TRACK ROWS ───────────────────────────────────────────────── */

[data-theme="shellac"] .disc-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 34px 22px;
}
[data-theme="shellac"] .disc-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: none;
}
[data-theme="shellac"] .disc-card:hover,
[data-theme="shellac"] .disc-card:active { border: 0; box-shadow: none; }
[data-theme="shellac"] .dc-img {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
}
[data-theme="shellac"] .dc-img img {
  object-fit: cover;            /* labels are 1:1 already — no letterbox, no padding */
  padding: 0;
  filter: saturate(.92);
  transition: filter var(--t) var(--ease);
}
[data-theme="shellac"] .disc-card:hover .dc-img img { filter: saturate(1.05); }
[data-theme="shellac"] .dc-cap { padding: 12px 0 0; }
[data-theme="shellac"] .dc-cap strong {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
[data-theme="shellac"] .dc-meta {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 5px;
}
[data-theme="shellac"] .disc-note { font-size: 12.5px; color: var(--ink-faint); }
[data-theme="shellac"] .disc-chip {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 0 14px; min-height: 34px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-faint);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
[data-theme="shellac"] .disc-chip:hover { border-color: var(--line-strong); color: var(--ink); }
[data-theme="shellac"] .disc-chip.is-on {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent);
}

[data-theme="shellac"] .track-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
[data-theme="shellac"] .track-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 14px;
  gap: 14px;
  transition: none;
}
[data-theme="shellac"] .track-card:hover { border-color: var(--line-strong); }
[data-theme="shellac"] .track-card .thumb {
  width: 58px; height: 58px;
  border-radius: 0;
  background: var(--surface);
}
[data-theme="shellac"] .track-card .tc-title {
  font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink);
}
[data-theme="shellac"] .track-card .tc-meta {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 5px;
}
[data-theme="shellac"] .track-card .era-chip {
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; margin-top: 7px;
}

/* era chips: dot + word, the fill reduced to a tint */
[data-theme="shellac"] .era-pd,
[data-theme="shellac"] .era-gray,
[data-theme="shellac"] .era-risk,
[data-theme="shellac"] .era-unk {
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 34%, transparent);
}

/* ── 11. TRACK DETAIL — the label as a 540px plate, no mat, no frame ──────── */

[data-theme="shellac"] .detail-grid {
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  gap: 56px;
  padding: 56px 0;
}
[data-theme="shellac"] .label-fig {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
  isolation: isolate;
}
[data-theme="shellac"] .label-fig img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  background: var(--surface);
  filter: saturate(.95);
}
[data-theme="shellac"] .label-fig figcaption {
  text-align: left;
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--ink-faint);
  max-width: 56ch;
}

/* no label photograph yet: a quiet neutral plate the same size as one, so the
   grid does not collapse and the absence reads as an empty plate, not a bug */
[data-theme="shellac"] .label-fig > p {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: var(--surface);
  padding: 40px !important;
  color: var(--ink-faint) !important;
  font-size: 10.5px !important;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.7 !important;
}

[data-theme="shellac"] .meta-list > div {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  gap: 24px;
}
[data-theme="shellac"] .meta-list dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
[data-theme="shellac"] .meta-list dd { color: var(--ink); }
[data-theme="shellac"] .video-credit { font-size: 11.5px; color: var(--ink-faint); }

/* ── 12. ARTIST LIBRARY ───────────────────────────────────────────────────── */

[data-theme="shellac"] .artist-wrap { grid-template-columns: 260px 1fr; gap: 48px; }
[data-theme="shellac"] .artist-portrait img {
  border: 0; border-radius: 0; background: var(--surface);
  filter: saturate(.9);
}
[data-theme="shellac"] .artist-portrait figcaption {
  font-size: 11px; color: var(--ink-faint); margin-top: 10px;
}
[data-theme="shellac"] .artist-blurb {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -.012em;
  color: var(--ink);
  max-width: 60ch;
}
[data-theme="shellac"] .artist-block h2,
[data-theme="shellac"] .artists-group h2 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 18px;
}
[data-theme="shellac"] .artist-grid { gap: 30px 22px; margin-bottom: 40px; }
[data-theme="shellac"] .artist-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  gap: 10px;
  transition: none;
}
[data-theme="shellac"] .artist-card:hover { border: 0; }
[data-theme="shellac"] .artist-card img {
  aspect-ratio: 3 / 4;
  object-position: 50% 18%;
  border-radius: 0;
  background: var(--surface);
  filter: saturate(.9);
  transition: filter var(--t) var(--ease);
}
[data-theme="shellac"] .artist-card:hover img { filter: saturate(1.05); }
[data-theme="shellac"] .artist-card-name { font-size: 13px; font-weight: 500; }
[data-theme="shellac"] .artist-card-role {
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint);
}
[data-theme="shellac"] .artist-card-flags { color: var(--ink-faint); letter-spacing: .14em; }
[data-theme="shellac"] .linklist li { border-bottom: 1px solid var(--line); padding: 9px 0; }
[data-theme="shellac"] .linklist a { color: var(--ink); }
[data-theme="shellac"] .linklist a:hover { color: var(--accent); }
[data-theme="shellac"] .linklist .meta { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
[data-theme="shellac"] .artist-note { border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 12px; }

/* ── 13. TIMELINE + SEARCH ROWS ───────────────────────────────────────────── */

[data-theme="shellac"] .tl-row,
[data-theme="shellac"] .sr-row {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  gap: 18px;
  transition: background var(--t-fast) var(--ease);
}
[data-theme="shellac"] .tl-row:hover,
[data-theme="shellac"] .sr-row:hover { background: var(--bg-alt); }
[data-theme="shellac"] .tl-year,
[data-theme="shellac"] .tl-meta em {
  font-size: 11.5px; letter-spacing: .1em; color: var(--gold);
}
[data-theme="shellac"] .tl-main strong,
[data-theme="shellac"] .sr-main strong {
  font-family: var(--sans); font-size: 14.5px; font-weight: 500; line-height: 1.4;
}
[data-theme="shellac"] .tl-meta,
[data-theme="shellac"] .sr-meta {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
}
[data-theme="shellac"] .sr-thumb { border-radius: 0; aspect-ratio: 4 / 3; }
[data-theme="shellac"] .decade-bar { height: 44px; gap: 2px; }
[data-theme="shellac"] .db-seg { background: var(--accent-dim); border-radius: 0; opacity: 1; }
[data-theme="shellac"] .db-seg:hover { background: var(--accent); }
[data-theme="shellac"] .db-n { font-size: 10px; color: var(--ink); }
[data-theme="shellac"] .decade-key { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
[data-theme="shellac"] .search-form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 22px;
  padding: 14px 0;
  font-family: var(--display);
  font-weight: 300;
}
[data-theme="shellac"] .search-form input:focus { border-bottom-color: var(--accent); }
[data-theme="shellac"] .search-count { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
[data-theme="shellac"] mark {
  background: var(--card-gold);
  color: var(--on-accent);       /* the default theme put ivory on gold: 1.61:1 */
  border-radius: 0;
  padding: 0 2px;
}

/* ── 14. PROSE, BUTTONS, FOOTER ───────────────────────────────────────────── */

[data-theme="shellac"] .prose { max-width: 68ch; padding: 60px 0 72px; }
[data-theme="shellac"] .prose h1 {
  font-family: var(--display); font-size: clamp(36px, 4vw, 52px);
  font-weight: 300; line-height: 1.02; letter-spacing: -.028em; margin-bottom: 16px;
}
[data-theme="shellac"] .prose .lede { font-size: 18px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 32px; }
[data-theme="shellac"] .prose h2 {
  font-family: var(--display); font-size: 30px; font-weight: 300;
  letter-spacing: -.02em; line-height: 1.1; margin: 44px 0 14px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
[data-theme="shellac"] .prose h3 {
  font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
  margin: 32px 0 10px;
}
[data-theme="shellac"] .prose p { font-size: 16.5px; line-height: 1.68; margin-bottom: 18px; color: var(--ink-soft); }
[data-theme="shellac"] .prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 22px;
  font-family: var(--display);
  font-size: 21px; font-weight: 300; line-height: 1.45;
  color: var(--ink);
}
[data-theme="shellac"] .prose .divider { border-top: 1px solid var(--line); }
[data-theme="shellac"] .prose code,
[data-theme="shellac"] .prose pre {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 0;
  font-size: 13px;
}

[data-theme="shellac"] .btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 0 24px;
  min-height: 42px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
[data-theme="shellac"] .btn:hover { background: transparent; border-color: var(--accent); color: var(--accent); }

[data-theme="shellac"] .site-foot {
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 48px 0 26px;
  margin-top: 0;
}
[data-theme="shellac"] .foot-brand strong {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
}
[data-theme="shellac"] .foot-brand p { font-size: 12.5px; line-height: 1.6; color: var(--ink-faint); margin-top: 10px; max-width: 48ch; }
[data-theme="shellac"] .foot-links { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; gap: 4px; }
[data-theme="shellac"] .foot-links a { color: var(--ink-faint); min-height: 30px; }
[data-theme="shellac"] .foot-links a:hover { color: var(--ink); }
[data-theme="shellac"] .foot-legal {
  border-top: 1px solid var(--line); margin-top: 34px; padding-top: 16px;
  font-size: 10.5px; letter-spacing: .06em; color: var(--ink-faint);
}

/* ── 15. CHIPS, NOTICES, MAPS ─────────────────────────────────────────────── */

[data-theme="shellac"] .chip {
  font-family: var(--sans); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-faint); padding: 3px 9px;
}
[data-theme="shellac"] .muted { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
[data-theme="shellac"] .notice { border-left: 2px solid var(--accent); font-size: 14px; color: var(--ink-soft); }
[data-theme="shellac"] .place-map,
[data-theme="shellac"] .place-list li { border-color: var(--line); }
[data-theme="shellac"] .place-list li { border-left: 1px solid var(--line-strong); }
[data-theme="shellac"] .studio-card,
[data-theme="shellac"] .film-card {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
[data-theme="shellac"] .studio-photo,
[data-theme="shellac"] .film-player { border-radius: 0; }
[data-theme="shellac"] .studio-body,
[data-theme="shellac"] .film-body { padding: 14px 0 0; }
[data-theme="shellac"] .studio-body h3,
[data-theme="shellac"] .film-body h3 {
  font-family: var(--sans); font-size: 15px; font-weight: 500;
}
[data-theme="shellac"] .studio-meta,
[data-theme="shellac"] .film-meta,
[data-theme="shellac"] .hsub {
  font-family: var(--sans); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-faint);
}
[data-theme="shellac"] .studio-credit,
[data-theme="shellac"] .film-credit { font-size: 10.5px; color: var(--ink-faint); }
[data-theme="shellac"] .nbr-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
[data-theme="shellac"] .nbr-body { padding: 12px 0 0; }
[data-theme="shellac"] .nbr-name {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
}
[data-theme="shellac"] .nbr-why { font-size: 12px; color: var(--ink-faint); }
[data-theme="shellac"] .nbr-count { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
[data-theme="shellac"] .nbr-flag { height: 46px; }

[data-theme="shellac"] .hero-colour,
[data-theme="shellac"] .hero-sweep,
[data-theme="shellac"] .hero-chip { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  [data-theme="shellac"] *,
  [data-theme="shellac"] *::before,
  [data-theme="shellac"] *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ── 18. RESPONSIVE ───────────────────────────────────────────────────────── */

/* tablet: the plate narrows, the caption keeps its measure */
@media (max-width: 1080px) {
  [data-theme="shellac"] .page-head.has-photo { grid-template-columns: minmax(0, 1fr) 42%; }
  [data-theme="shellac"] .page-head.has-photo > .wrap { padding: 36px 36px 44px 32px; }
  [data-theme="shellac"] .page-head h1 { font-size: clamp(40px, 6vw, 58px); }
  [data-theme="shellac"] .pgallery { gap: 34px 22px; }
  [data-theme="shellac"] .live-grid { gap: 34px 22px; }
  [data-theme="shellac"] .detail-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 36px; }
}

/* phone: plate first (full width, 44vh), caption beneath it on the canvas.
   The photograph is still the first thing on the page. */
@media (max-width: 860px) {
  [data-theme="shellac"] { --fs-min: 13.5px; }   /* matches the site's phone floor */
  [data-theme="shellac"] .wrap { padding-left: 20px; padding-right: 20px; }
  [data-theme="shellac"] .page-head.has-photo {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  [data-theme="shellac"] .page-head.has-photo .hero-colour {
    grid-column: 1;
    grid-row: 1;
    height: clamp(240px, 46vh, 400px);
    -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  }
  [data-theme="shellac"] .page-head.has-photo > .wrap {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    padding: 28px 20px 40px;
  }
  [data-theme="shellac"] .page-head h1 { font-size: clamp(38px, 11vw, 56px); }
  [data-theme="shellac"] .page-head h1::after { margin-top: 18px; }
  [data-theme="shellac"] .page-head .crumbs { margin-bottom: 22px; }
  /* the stacked hero needs a real measure on a tablet, not 700px of 14px */
  [data-theme="shellac"] .page-head .lede { max-width: 66ch; }
  [data-theme="shellac"] .page-head .stats-row { gap: 24px; margin-top: 28px; }

  [data-theme="shellac"] .sec { padding: 44px 0 !important; }

  [data-theme="shellac"] #about-hearth > .wrap,
  [data-theme="shellac"] .sec.text-split > .wrap {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }
  [data-theme="shellac"] #about-hearth > .wrap > .section-head,
  [data-theme="shellac"] .sec.text-split > .wrap > .section-head,
  [data-theme="shellac"] #about-hearth > .wrap > p,
  [data-theme="shellac"] .sec.text-split > .wrap > p { grid-column: 1; }

  [data-theme="shellac"] .pgallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  [data-theme="shellac"] .pg-lead .pg-shot img { aspect-ratio: 4 / 3; }
  [data-theme="shellac"] .pg-cap { font-size: 11.5px; padding-top: 10px; }

  [data-theme="shellac"] .live-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px 16px; }
  [data-theme="shellac"] .live-card h3 { font-size: 14.5px; }

  [data-theme="shellac"] .figure-card { flex-basis: 210px; }
  [data-theme="shellac"] .disc-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 26px 14px; }
  [data-theme="shellac"] .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 0; }
  [data-theme="shellac"] .artist-wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  [data-theme="shellac"] .artist-portrait { max-width: 200px; }
  [data-theme="shellac"] .prose { padding: 40px 0 56px; }

  /* the header becomes one row: brand, then the menu button */
  [data-theme="shellac"] .head-inner { padding: 10px 0 10px; }
  [data-theme="shellac"] .brand-crest { width: 30px; height: 30px; }
  [data-theme="shellac"] .brand-text { font-size: 11px; }
  [data-theme="shellac"] .nav-toggle {
    background: transparent; border: 1px solid var(--line); border-radius: 999px;
    color: var(--ink);
  }
}

@media (max-width: 520px) {
  [data-theme="shellac"] .pgallery { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  [data-theme="shellac"] .live-grid { grid-template-columns: minmax(0, 1fr); }
  [data-theme="shellac"] .page-head .hsub { font-size: 10.5px; }
}
