/* ==========================================================================
   Denny Vaughan — design system
   Two themes share one structure:
     [data-theme="dark"]  — after-hours: Bodoni Moda + Newsreader, tungsten & brass
     [data-theme="light"] — mid-century modern: Archivo Black + Archivo, vermilion & ochre
   Colour, type and rule weights are tokens; a few components (hero, photo
   treatment, player) also change shape between themes.
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0d0b;
  --bg-2: #161310;
  --ink: #e8dcc4;
  --ink-2: rgba(232, 220, 196, .68);
  --ink-3: rgba(232, 220, 196, .4);
  --rule: rgba(232, 220, 196, .16);
  --rule-strong: rgba(232, 220, 196, .4);
  --accent: #b8924a;
  --accent-2: #b8924a;
  --on-accent: #0f0d0b;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --display-weight: 500;
  --display-track: -.015em;
  --display-lead: 1;
  --em-style: italic;

  --rule-w: 1px;
  --rule-w-strong: 1px;
  --radius-photo: 0;
  --bar-h: 60px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f1ebde;
  --bg-2: #d9a21f;
  --ink: #111010;
  --ink-2: rgba(17, 16, 16, .8);
  --ink-3: rgba(17, 16, 16, .55);
  --rule: #111010;
  --rule-strong: #111010;
  --accent: #d8432b;
  --accent-2: #d9a21f;
  --on-accent: #111010;

  --display: "Archivo Black", "Archivo", "Arial Black", sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display-weight: 400;
  --display-track: -.035em;
  --display-lead: .88;
  --em-style: normal;

  --rule-w: 2px;
  --rule-w-strong: 8px;
  --bar-h: 64px;
}

:root {
  --gut: clamp(16px, 4vw, 64px);
  --col-gap: clamp(12px, 1.8vw, 24px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.55;
  font-optical-sizing: auto;
  padding-bottom: calc(var(--bar-h) + 8px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[data-theme="light"] body { font-size: 17px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* film grain — dark only, static */
[data-theme="dark"] body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .85  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- layout ---------- */
.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.section { padding: clamp(80px, 11vw, 170px) var(--gut) 0; position: relative; }
.section:last-child { padding-bottom: clamp(80px, 10vw, 150px); }

/* ---------- type ---------- */
.display, .h1, .h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: var(--display-lead);
}
.h1 { font-size: clamp(56px, 10vw, 160px); }
.h2 { font-size: clamp(40px, 5.6vw, 88px); }
[data-theme="light"] .h2 { font-size: clamp(44px, 7.4vw, 118px); }
.h3 { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.15; }
[data-theme="light"] .h3 { font-family: var(--text); font-weight: 800; letter-spacing: -.015em; line-height: 1.05; }
.em, .h1 em, .h2 em { font-style: var(--em-style); }
[data-theme="light"] .h1 em, [data-theme="light"] .h2 em { color: var(--accent); }

.label {
  display: inline-block;
  font-family: var(--text);
  font-variant-caps: all-small-caps;
  letter-spacing: .16em;
  font-size: 17px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.3;
}
[data-theme="light"] .label {
  font-variant-caps: normal; text-transform: uppercase;
  font-size: 12px; letter-spacing: .12em; font-weight: 700; color: var(--ink);
}
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
[data-theme="dark"] .lead { font-style: italic; color: var(--ink-2); }
[data-theme="light"] .lead { font-weight: 600; line-height: 1.3; }
.muted { color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 34em; }

.rule { border: 0; border-top: var(--rule-w) solid var(--rule); }
.rule-top { border-top: var(--rule-w) solid var(--rule); }
[data-theme="light"] .rule-accent { border-top: var(--rule-w-strong) solid var(--accent); padding-top: 14px; }
[data-theme="dark"] .rule-accent { border-top: 1px solid var(--accent); padding-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--text);
  text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
[data-theme="dark"] .btn {
  font-variant-caps: all-small-caps; letter-spacing: .16em; font-weight: 500; font-size: 17px;
  padding: 12px 20px 11px; border: 1px solid var(--ink-3);
}
[data-theme="dark"] .btn:hover { border-color: var(--accent); color: var(--accent); }
[data-theme="dark"] .btn--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
[data-theme="light"] .btn {
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 12px 18px; border: 2px solid var(--ink);
}
[data-theme="light"] .btn:hover { background: var(--ink); color: var(--bg); }
[data-theme="light"] .btn--solid { background: var(--ink); color: var(--bg); }
[data-theme="light"] .btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-head {
  position: absolute; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 26px var(--gut) 18px;
}
.site-logo { text-decoration: none; white-space: nowrap; }
[data-theme="dark"] .site-logo { font-family: var(--display); font-style: italic; font-size: 20px; }
[data-theme="light"] .site-logo { font-family: var(--display); font-size: 16px; text-transform: uppercase; letter-spacing: 0; }
[data-theme="light"] .site-head { position: relative; border-bottom: 2px solid var(--ink); padding-top: 18px; padding-bottom: 14px; }

.site-nav { display: flex; align-items: baseline; gap: clamp(14px, 2.6vw, 38px); }
.site-nav a { text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; white-space: nowrap; }
[data-theme="dark"] .site-nav a { font-variant-caps: all-small-caps; letter-spacing: .16em; font-size: 16px; color: var(--ink-2); }
[data-theme="dark"] .site-nav a:hover { color: var(--ink); }
[data-theme="dark"] .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
[data-theme="light"] .site-nav a { font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-stretch: 90%; }
[data-theme="light"] .site-nav a:hover { color: var(--accent); }
[data-theme="light"] .site-nav a[aria-current="page"] { border-bottom: 3px solid var(--accent); }

.theme-toggle {
  all: unset; cursor: pointer; flex: none;
  width: 30px; height: 30px; display: grid; place-items: center; align-self: center;
  margin-left: clamp(4px, 1vw, 14px);
}
.theme-toggle svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.theme-toggle:hover svg { transform: rotate(180deg); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[data-theme="dark"] .theme-toggle { border: 1px solid var(--ink-3); border-radius: 50%; }
[data-theme="light"] .theme-toggle { border: 2px solid var(--ink); border-radius: 50%; }

/* ---------- photo treatment ---------- */
.ph { position: relative; overflow: hidden; background: #000; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
[data-theme="dark"] .ph img { filter: grayscale(.25) brightness(.86) contrast(1.08) sepia(.14); }
[data-theme="dark"] .ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 85% 80% at 50% 42%, transparent 50%, rgba(15, 13, 11, .72) 100%);
}
/* light: duotone — b/w photo multiplied onto a flat field */
[data-theme="light"] .ph { background: var(--tone, var(--accent)); }
[data-theme="light"] .ph img { filter: grayscale(1) contrast(1.35) brightness(1.06); mix-blend-mode: multiply; }
[data-theme="light"] .ph[data-tone="ochre"] { --tone: var(--accent-2); }
[data-theme="light"] .ph[data-tone="paper"] { --tone: var(--bg); }
[data-theme="light"] .ph[data-tone="ink"] { --tone: var(--ink); }
[data-theme="light"] .ph[data-tone="ink"] img { mix-blend-mode: screen; filter: grayscale(1) contrast(1.2); }
/* full colour objects (record sleeves) keep their colour in both themes */
.ph[data-tone="true"] img { filter: none !important; mix-blend-mode: normal !important; }
[data-theme="light"] .ph[data-tone="true"] { background: var(--ink); }
.ph[data-tone="true"]::after { display: none; }

figcaption, .caption { margin-top: 10px; font-size: 15px; line-height: 1.35; }
[data-theme="dark"] figcaption, [data-theme="dark"] .caption { font-style: italic; color: var(--ink-3); }
[data-theme="light"] figcaption, [data-theme="light"] .caption { font-size: 13px; font-weight: 600; letter-spacing: .03em; border-top: 2px solid var(--ink); padding-top: 8px; }

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding: 0 var(--gut); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-name { font-family: var(--display); font-weight: var(--display-weight); white-space: nowrap; position: relative; }
.hero-name span { display: block; }
.hero-sub { font-family: var(--display); font-weight: 400; }
.hero-quote { position: relative; }

/* dark hero: the Savoy at 1 a.m. */
[data-theme="dark"] .hero { min-height: max(100svh, 760px); grid-template-rows: auto 1fr auto; padding-top: clamp(130px, 17vh, 170px); }
[data-theme="dark"] .hero-photo {
  position: absolute; z-index: -2; top: 0; bottom: 0; right: 0; width: 68%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 46%); mask-image: linear-gradient(to right, transparent 0, #000 46%);
}
[data-theme="dark"] .hero-photo img { object-position: 50% 12%; filter: brightness(.62) contrast(1.12) sepia(.18); }
[data-theme="dark"] .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 30% 46% at 71% 30%, rgba(232, 200, 140, .1), transparent 70%),
    radial-gradient(ellipse 85% 85% at 70% 38%, transparent 38%, rgba(15, 13, 11, .9) 100%),
    linear-gradient(to bottom, transparent 62%, var(--bg) 100%);
}
[data-theme="dark"] .hero-dates { grid-row: 1; grid-column: 1 / span 5; font-variant-caps: all-small-caps; letter-spacing: .3em; font-size: 16px; color: var(--accent); }
[data-theme="dark"] .hero-copy { grid-row: 2; grid-column: 1 / span 5; padding-top: 22px; }
[data-theme="dark"] .hero-sub { font-style: italic; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; margin-bottom: 24px; }
[data-theme="dark"] .hero-desc { color: var(--ink-2); max-width: 27em; }
[data-theme="dark"] .hero-name {
  grid-row: 3; grid-column: 1 / -1; align-self: end;
  font-size: clamp(88px, 16.5vw, 262px); line-height: .8; letter-spacing: -.025em;
  margin: 0 0 clamp(70px, 9vw, 140px) -.04em;
}
[data-theme="dark"] .hero-name span + span { padding-left: .5em; font-style: italic; font-weight: 400; margin-top: .04em; }
[data-theme="dark"] .hero-quote {
  position: absolute; right: var(--gut); top: clamp(130px, 17vh, 170px);
  font-family: var(--display); font-style: italic; font-size: clamp(18px, 1.7vw, 24px); text-align: right;
}
[data-theme="dark"] .hero-quote::before { content: ""; display: block; width: 56px; height: 1px; background: var(--accent); margin: 0 0 14px auto; }

/* light hero: the poster */
[data-theme="light"] .hero { padding-bottom: clamp(36px, 4vw, 56px); border-bottom: 2px solid var(--ink); }
[data-theme="light"] .hero-photo {
  position: absolute; z-index: -1; right: -3vw; top: clamp(32px, 4vw, 60px);
  width: min(42vw, 640px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--accent);
}
[data-theme="light"] .hero-photo img { object-position: 34% 10%; filter: grayscale(1) contrast(1.4) brightness(1.08); mix-blend-mode: multiply; }
[data-theme="light"] .hero-dates { grid-row: 1; grid-column: 1 / span 6; padding-top: clamp(40px, 6vw, 96px); font-weight: 700; font-size: 13px; letter-spacing: .14em; }
[data-theme="light"] .hero-name {
  grid-row: 2; grid-column: 1 / span 8;
  font-size: clamp(76px, 11.4vw, 178px); line-height: .8; letter-spacing: -.045em; margin: 14px 0 0 -.04em;
}
[data-theme="light"] .hero-name span + span { margin-top: .04em; }
[data-theme="light"] .hero-copy { grid-row: 3; grid-column: 1 / span 5; margin-top: clamp(40px, 6vw, 90px); }
[data-theme="light"] .hero-sub {
  font-family: var(--text); font-weight: 800; font-size: clamp(26px, 3vw, 44px); line-height: 1; letter-spacing: -.02em;
  border-top: 8px solid var(--accent); padding-top: 14px; max-width: 9em; margin-bottom: 22px;
}
[data-theme="light"] .hero-desc { font-size: 18px; font-weight: 500; }
[data-theme="light"] .hero-quote {
  grid-row: 3; grid-column: 8 / -1; align-self: end;
  background: var(--ink); color: var(--bg);
  font-weight: 800; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.015em; line-height: 1; padding: 22px 24px;
}

/* ---------- inner-page masthead ---------- */
.masthead { position: relative; isolation: isolate; overflow: hidden; padding: 0 var(--gut); }
.masthead .grid { align-items: end; }
.masthead-title { grid-column: 1 / span 8; }
.masthead-intro { grid-column: 1 / span 6; margin-top: 28px; }
.masthead-photo { grid-column: 9 / -1; grid-row: 1 / span 2; align-self: stretch; margin: 0; }
[data-theme="dark"] .masthead { padding-top: clamp(150px, 20vh, 220px); }
[data-theme="dark"] .masthead-title { font-size: clamp(56px, 9vw, 150px); line-height: .9; }
[data-theme="dark"] .masthead::after { content: ""; position: absolute; left: var(--gut); right: var(--gut); bottom: 0; height: 1px; background: var(--rule); }
[data-theme="dark"] .masthead { padding-bottom: clamp(48px, 6vw, 90px); }
[data-theme="light"] .masthead { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(36px, 4vw, 56px); border-bottom: 2px solid var(--ink); }
[data-theme="light"] .masthead-title { font-size: clamp(60px, 10.6vw, 168px); line-height: .82; letter-spacing: -.045em; }
[data-theme="light"] .masthead-intro { border-top: 8px solid var(--accent); padding-top: 14px; }
[data-theme="light"] .masthead-photo { border-radius: 50%; aspect-ratio: 1; align-self: start; }

/* ---------- bands (colour fields) ---------- */
.band { position: relative; margin-top: clamp(80px, 11vw, 170px); padding: clamp(56px, 7vw, 110px) var(--gut); }
.band + .band { margin-top: 0; }
[data-theme="dark"] .band { background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
[data-theme="dark"] .band--plain { background: transparent; border: 0; }
[data-theme="light"] .band { background: var(--accent-2); }
[data-theme="light"] .band--ink {
  --bg: #111010; --ink: #f1ebde; --ink-2: rgba(241, 235, 222, .82); --ink-3: rgba(241, 235, 222, .6); --rule: #f1ebde; --rule-strong: #f1ebde;
  background: #111010; color: var(--ink); overflow: hidden;
}
[data-theme="light"] .band--ink.band--disc::after {
  content: ""; position: absolute; right: -8vw; top: -9vw; width: 26vw; height: 26vw; border-radius: 50%; background: #d8432b; z-index: 0;
}
[data-theme="light"] .band--ink > * { position: relative; z-index: 1; }
[data-theme="light"] .band--accent { background: var(--accent); }
[data-theme="light"] .band--accent .btn--solid:hover { background: var(--bg); color: var(--ink); border-color: var(--ink); }

/* ---------- index lists (timeline, facts) ---------- */
.index-list { list-style: none; border-top: var(--rule-w) solid var(--rule-strong); }
.index-list > li { display: grid; grid-template-columns: minmax(0, 11.5rem) 1fr; column-gap: var(--col-gap); padding: 28px 0 30px; border-bottom: 1px solid var(--rule); }
.index-list .k { font-family: var(--display); line-height: 1; white-space: nowrap; }
[data-theme="dark"] .index-list .k { font-size: clamp(26px, 2.5vw, 38px); font-style: italic; font-weight: 400; }
[data-theme="dark"] .index-list .k.is-accent { color: var(--accent); }
[data-theme="dark"] .index-list p { color: var(--ink-2); }
[data-theme="light"] .index-list > li { border-bottom: 0; border-top: 1px solid var(--rule); padding: 18px 0 22px; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; }
[data-theme="light"] .index-list > li:first-child { border-top: 0; }
[data-theme="light"] .index-list .k { grid-column: 1 / span 4; font-size: clamp(34px, 5.2vw, 84px); line-height: .9; letter-spacing: -.04em; color: var(--accent-2); white-space: normal; }
[data-theme="light"] .index-list > li:nth-child(odd) .k { color: var(--ink); }
[data-theme="light"] .index-list .v { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--col-gap); }
[data-theme="light"] .index-list .v .h3 { grid-column: 1 / span 3; }
[data-theme="light"] .index-list .v p { grid-column: 4 / -1; font-size: 15px; line-height: 1.4; }
.index-list .h3 { margin-bottom: 8px; }

/* ---------- tracklist (songs / instrumentals / featured) ---------- */
.tracklist { list-style: none; border-top: var(--rule-w) solid var(--rule-strong); counter-reset: trk; }
.trk { border-bottom: 1px solid var(--rule); }
[data-theme="light"] .trk { border-bottom-width: 2px; }
.trk-play {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto auto; align-items: baseline; column-gap: var(--col-gap);
  padding: 18px 0;
  transition: background-color .25s, color .25s;
}
.trk-play:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.trk-no { font-variant-numeric: tabular-nums; }
.trk-title { min-width: 0; }
.trk-meta { color: var(--ink-3); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22em; }
.trk-dur { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.trk-eq { display: none; }

[data-theme="dark"] .trk-no { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--ink-3); line-height: 1; }
[data-theme="dark"] .trk-title { font-family: var(--display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }
[data-theme="dark"] .trk-play:hover .trk-title { color: var(--accent); }
[data-theme="dark"] .trk.is-current .trk-no { color: var(--accent); }
[data-theme="dark"] .trk.is-current .trk-title { font-style: italic; }

[data-theme="light"] .trk-play { padding: 14px 12px; margin: 0 -12px; width: calc(100% + 24px); }
[data-theme="light"] .trk-no { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
[data-theme="light"] .trk-title { font-weight: 800; font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.015em; line-height: 1.1; }
[data-theme="light"] .trk-meta { color: var(--ink-3); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
[data-theme="light"] .trk-dur { font-weight: 700; color: var(--ink); }
[data-theme="light"] .trk-play:hover { background: var(--ink); color: var(--bg); }
[data-theme="light"] .trk-play:hover .trk-meta, [data-theme="light"] .trk-play:hover .trk-dur { color: var(--bg); }
[data-theme="light"] .trk.is-current .trk-play { background: var(--accent); color: var(--ink); }
[data-theme="light"] .trk.is-current .trk-meta, [data-theme="light"] .trk.is-current .trk-dur { color: var(--ink); }

/* playing indicator: three bars, replaces the number */
.trk.is-current.is-playing .trk-no { visibility: hidden; position: relative; }
.trk.is-current.is-playing .trk-eq { display: inline-flex; position: absolute; gap: 3px; align-items: flex-end; height: 16px; }
.trk-numcell { position: relative; display: flex; align-items: baseline; }
.trk-eq i { width: 3px; background: currentColor; animation: eq 1s ease-in-out infinite; }
[data-theme="dark"] .trk-eq i { background: var(--accent); }
.trk-eq i:nth-child(1) { height: 60%; animation-delay: -.2s; }
.trk-eq i:nth-child(2) { height: 100%; animation-delay: -.5s; }
.trk-eq i:nth-child(3) { height: 40%; animation-delay: -.8s; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.trk-eq i { transform-origin: bottom; }

/* expandable details beneath a track (lyrics, notes) */
.trk-more { padding: 0 0 22px 0; }
.trk-more summary { cursor: pointer; list-style: none; display: inline-block; margin-left: calc(4.2rem + var(--col-gap)); color: var(--ink-3); font-size: 15px; }
.trk-more summary::-webkit-details-marker { display: none; }
.trk-more summary:hover { color: var(--accent); }
.trk-more[open] summary { color: var(--ink); }
.trk-more .lyrics { margin: 14px 0 0 calc(4.2rem + var(--col-gap)); white-space: pre-line; max-width: 32em; color: var(--ink-2); }
[data-theme="dark"] .trk-more .lyrics { font-style: italic; }

/* ---------- player ---------- */
.player {
  position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; height: var(--bar-h);
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); align-items: center;
}
.p-ctrls { display: flex; align-items: center; height: 100%; }
.p-btn { all: unset; cursor: pointer; display: grid; place-items: center; flex: none; }
.p-btn svg { fill: currentColor; }
.p-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.p-btn .i-pause { display: none; }
.player.is-playing .p-toggle .i-play { display: none; }
.player.is-playing .p-toggle .i-pause { display: block; }
.p-meta { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.p-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-kind { white-space: nowrap; }
.p-prog { display: flex; align-items: center; gap: 14px; font-variant-numeric: tabular-nums; }
.p-bar { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; }
.p-fill { position: absolute; left: 0; width: 0; }

[data-theme="dark"] .player { background: rgba(10, 9, 8, .97); border-top: 1px solid var(--rule); padding: 0 var(--gut); column-gap: 28px; }
[data-theme="dark"] .p-ctrls { gap: 6px; }
[data-theme="dark"] .p-btn { width: 30px; height: 30px; color: var(--ink-2); }
[data-theme="dark"] .p-btn:hover { color: var(--accent); }
[data-theme="dark"] .p-btn svg { width: 12px; height: 12px; }
[data-theme="dark"] .p-toggle { width: 36px; height: 36px; border: 1px solid var(--ink-3); color: var(--ink); }
[data-theme="dark"] .p-toggle:hover { border-color: var(--accent); }
[data-theme="dark"] .p-meta { flex-direction: row; align-items: baseline; gap: 14px; }
[data-theme="dark"] .p-title { font-family: var(--display); font-style: italic; font-size: 19px; }
[data-theme="dark"] .p-kind { font-variant-caps: all-small-caps; letter-spacing: .16em; font-size: 15px; color: var(--ink-3); order: 2; }
[data-theme="dark"] .p-prog { font-size: 14px; color: var(--ink-3); }
[data-theme="dark"] .p-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rule); }
[data-theme="dark"] .p-fill { top: 50%; height: 1px; background: var(--accent); }
[data-theme="dark"] .p-fill::after { content: ""; position: absolute; right: -2px; top: -3px; width: 5px; height: 7px; background: var(--accent); }

[data-theme="light"] .player { background: #111010; color: #f1ebde; border-top: 4px solid var(--accent-2); padding-right: var(--gut); column-gap: 0; }
[data-theme="light"] .p-btn { width: 44px; height: 100%; color: #f1ebde; }
[data-theme="light"] .p-btn svg { width: 14px; height: 14px; }
[data-theme="light"] .p-btn:hover { color: var(--accent-2); }
[data-theme="light"] .p-toggle { width: var(--bar-h); background: var(--accent); color: #111010; }
[data-theme="light"] .p-toggle:hover { background: var(--accent-2); color: #111010; }
[data-theme="light"] .p-toggle svg { width: 20px; height: 20px; }
[data-theme="light"] .p-meta { padding: 0 var(--gut) 0 clamp(12px, 2vw, 28px); }
[data-theme="light"] .p-title { font-weight: 900; font-size: 16px; letter-spacing: -.01em; }
[data-theme="light"] .p-kind { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent-2); }
[data-theme="light"] .p-prog { font-size: 13px; font-weight: 700; }
[data-theme="light"] .p-bar { height: 14px; background: #3a3836; }
[data-theme="light"] .p-fill { top: 0; bottom: 0; background: var(--accent-2); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  grid-template-columns: 1fr; grid-template-rows: 1fr auto; place-items: center;
  padding: 64px var(--gut) calc(var(--bar-h) + 24px);
}
.lightbox.is-open { display: grid; }
[data-theme="dark"] .lightbox { background: rgba(8, 7, 6, .96); }
[data-theme="light"] .lightbox { background: var(--bg); }
.lightbox img { max-width: 100%; max-height: calc(100svh - var(--bar-h) - 170px); object-fit: contain; }
[data-theme="light"] .lightbox img { box-shadow: 0 0 0 2px var(--ink); }
.lightbox .caption { text-align: center; margin-top: 16px; min-height: 1.4em; }
[data-theme="light"] .lightbox .caption { border: 0; }
.lb-btn { all: unset; cursor: pointer; position: absolute; display: grid; place-items: center; width: 48px; height: 48px; }
.lb-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
[data-theme="light"] .lb-btn svg { stroke-width: 2.5; }
.lb-btn:hover { color: var(--accent); }
.lb-btn:focus-visible { outline: 2px solid var(--accent); }
.lb-close { top: 12px; right: calc(var(--gut) - 12px); }
.lb-prev { left: calc(var(--gut) - 12px); top: 50%; transform: translateY(-50%); }
.lb-next { right: calc(var(--gut) - 12px); top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 24px; left: var(--gut); font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: 15px; }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
[data-theme="light"] .video { box-shadow: 0 0 0 2px var(--ink); }

/* ---------- footer ---------- */
.site-foot { padding: 64px var(--gut) 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 36px; }
[data-theme="dark"] .site-foot { border-top: 1px solid var(--rule); margin-top: clamp(80px, 10vw, 150px); }
[data-theme="light"] .site-foot { border-top: 2px solid var(--ink); }
.site-foot .f1 { grid-column: 1 / span 5; }
.site-foot .f2 { grid-column: 7 / span 3; }
.site-foot .f3 { grid-column: 10 / span 3; }
.site-foot .big { display: block; font-family: var(--display); font-size: 34px; line-height: 1.05; margin-bottom: 8px; }
[data-theme="dark"] .site-foot .big { font-style: italic; font-weight: 500; }
[data-theme="light"] .site-foot .big { font-size: 32px; letter-spacing: -.02em; }
.site-foot .f1 span:not(.big) { display: block; color: var(--ink-2); }
.site-foot h2 { margin-bottom: 12px; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 4px; }
.site-foot a { text-decoration: none; color: var(--ink-2); }
.site-foot a:hover { color: var(--accent); }
[data-theme="light"] .site-foot a { color: var(--ink); font-weight: 600; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 20px; font-size: 14px; color: var(--ink-3); }
[data-theme="light"] .site-foot .legal { border-top-width: 2px; font-weight: 600; font-size: 13px; color: var(--ink); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trk-eq i { animation: none; }
  .theme-toggle svg { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .masthead-title, .masthead-intro { grid-column: 1 / -1; }
  .masthead-photo { grid-column: 1 / -1; grid-row: auto; margin-top: 36px; aspect-ratio: 4 / 3; }
  [data-theme="light"] .masthead-photo { width: 84vw; margin-left: auto; margin-right: -8vw; aspect-ratio: 1; }
  .site-foot .f1 { grid-column: 1 / -1; }
  .site-foot .f2 { grid-column: 1 / span 6; }
  .site-foot .f3 { grid-column: 7 / -1; }
  [data-theme="light"] .index-list .k { grid-column: 1 / -1; }
  [data-theme="light"] .index-list .v { grid-column: 1 / -1; grid-template-columns: 1fr; margin-top: 8px; }
  [data-theme="light"] .index-list .v .h3, [data-theme="light"] .index-list .v p { grid-column: 1 / -1; }
  [data-theme="light"] .index-list .v p { margin-top: 6px; }
}

@media (max-width: 700px) {
  body { font-size: 18px; }
  [data-theme="light"] body { font-size: 16px; }
  .site-head { flex-wrap: wrap; row-gap: 12px; padding-top: 20px; }
  .site-nav { order: 3; width: 100%; gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  [data-theme="dark"] .site-nav a { font-size: 14px; letter-spacing: .1em; }
  [data-theme="light"] .site-nav a { font-size: 12px; letter-spacing: .04em; }
  .theme-toggle { order: 2; margin-left: auto; }

  /* hero → stacked */
  .hero { display: flex; flex-direction: column; padding: 0; }
  .hero > * { padding-left: var(--gut); padding-right: var(--gut); }
  [data-theme="dark"] .hero { min-height: 0; padding-top: 0; }
  [data-theme="dark"] .hero::before { display: none; }
  [data-theme="dark"] .hero-photo {
    position: relative; z-index: 0; width: 100%; height: 66svh; min-height: 460px; padding: 0; order: 1;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  [data-theme="dark"] .hero-photo img { object-position: 50% 8%; }
  [data-theme="dark"] .hero-quote { top: calc(max(460px, 66svh) - 110px); font-size: 19px; }
  [data-theme="dark"] .hero-name { order: 2; margin: -.62em 0 0; font-size: clamp(80px, 22.5vw, 130px); line-height: .82; z-index: 2; }
  [data-theme="dark"] .hero-name span + span { padding-left: .28em; }
  [data-theme="dark"] .hero-dates { order: 3; margin-top: 32px; }
  [data-theme="dark"] .hero-copy { order: 4; padding-top: 14px; }

  [data-theme="light"] .hero-dates { order: 1; padding-top: 32px; }
  [data-theme="light"] .hero-name { order: 2; font-size: 20.4vw; margin: 10px 0 0; }
  [data-theme="light"] .hero-photo { order: 3; position: relative; z-index: 0; right: auto; top: auto; width: 84vw; margin: 22px -8vw 0 auto; padding: 0; }
  [data-theme="light"] .hero-copy { order: 4; margin-top: 28px; }
  [data-theme="light"] .hero-sub { font-size: 30px; }
  [data-theme="light"] .hero-quote { order: 5; margin-top: 26px; font-size: 30px; padding: 18px var(--gut); }
  [data-theme="light"] .hero { padding-bottom: 0; }

  [data-theme="dark"] .masthead { padding-top: 150px; }

  .index-list > li { grid-template-columns: 1fr; row-gap: 8px; }

  .trk-play { grid-template-columns: 2.6rem minmax(0, 1fr) auto; }
  .trk-meta { grid-column: 2 / span 2; grid-row: 2; max-width: none; margin-top: 4px; }
  [data-theme="dark"] .trk-no { font-size: 22px; }
  .trk-more summary, .trk-more .lyrics { margin-left: calc(2.6rem + var(--col-gap)); }

  .site-foot .f2, .site-foot .f3 { grid-column: 1 / -1; }

  /* player: compact */
  [data-theme="dark"] .player { --bar-h: 58px; grid-template-columns: auto minmax(0, 1fr) 30%; column-gap: 14px; }
  [data-theme="dark"] .p-kind { display: none; }
  [data-theme="dark"] .p-title { font-size: 17px; }
  .p-prev { display: none !important; }
  .p-dur { display: none; }
  .p-prog { gap: 8px; }
  [data-theme="light"] .player { grid-template-columns: auto minmax(0, 1fr) 30%; }
  [data-theme="light"] .p-meta { padding: 0 12px; }
  [data-theme="light"] .p-btn.p-next { width: 36px; }
}

/* ==========================================================================
   Home page sections
   ========================================================================== */
.home-bio-h { grid-column: 1 / span 7; }
.home-bio-photo { grid-column: 8 / -1; grid-row: 1 / span 2; align-self: start; margin: -30px 0 0; }
.home-bio-photo .ph { aspect-ratio: 4 / 5; }
.home-bio-photo img { object-position: 50% 18%; }
.home-bio-items { grid-column: 1 / span 6; margin-top: 56px; }
.home-bio-items article { display: grid; grid-template-columns: 150px 1fr; column-gap: var(--col-gap); padding: 26px 0; border-top: 1px solid var(--rule); }
.home-bio-items article:last-child { border-bottom: 1px solid var(--rule); }
[data-theme="dark"] .home-bio-items .h3 { font-family: var(--text); font-variant-caps: all-small-caps; letter-spacing: .14em; font-weight: 500; font-size: 19px; color: var(--accent); padding-top: 4px; }
[data-theme="light"] .home-bio-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); grid-column: 1 / span 7; }
[data-theme="light"] .home-bio-items article { display: block; border: 0; border-top: 8px solid var(--accent); padding: 14px 0 0; }
[data-theme="light"] .home-bio-items article:nth-child(2) { border-color: var(--ink); margin-top: clamp(0px, 3vw, 48px); }
[data-theme="light"] .home-bio-items article:nth-child(3) { border-color: var(--accent-2); margin-top: clamp(0px, 6vw, 96px); }
[data-theme="light"] .home-bio-items article:last-child { border-bottom: 0; }
[data-theme="light"] .home-bio-items .h3 { margin-bottom: 12px; font-size: clamp(20px, 1.9vw, 28px); }
[data-theme="light"] .home-bio-items p { font-size: 16px; }
[data-theme="light"] .home-bio-photo { margin-top: 0; }

.ft-head { grid-column: 1 / span 7; }
.ft-sub { margin-top: 20px; max-width: 20em; }
.feature-list { grid-column: 1 / -1; list-style: none; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; border: 0; }
.feature { grid-column: span 6; display: grid; grid-template-columns: clamp(110px, 13vw, 190px) 1fr; column-gap: 24px; align-items: end; border-top: var(--rule-w) solid var(--rule-strong); border-bottom: 0; padding-top: 18px; }
.feature:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.feature-ph { aspect-ratio: 1; }
.feature-ph img { object-position: 70% 55%; }
.feature-title { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(28px, 3.4vw, 52px); line-height: 1; margin: 6px 0 10px; letter-spacing: var(--display-track); }
[data-theme="dark"] .feature-title { font-style: italic; font-weight: 400; }
.feature p { font-size: 16px; max-width: 26em; margin-bottom: 18px; }
[data-theme="dark"] .feature p { color: var(--ink-2); font-size: 17px; }
.feature.is-current .feature-play { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.home-video { grid-column: 3 / span 8; margin-top: clamp(56px, 7vw, 100px); }

.tl-head { grid-column: 1 / span 5; align-self: start; position: sticky; top: 40px; }
.tl-list { grid-column: 6 / -1; }
[data-theme="light"] .tl-head { position: relative; grid-column: 1 / span 8; max-width: 6em; }
[data-theme="light"] .tl-list { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 80px); border-top: 0; }
[data-theme="dark"] .band--ink.band--plain { margin-top: 0; padding-top: clamp(80px, 11vw, 170px); padding-bottom: 0; }

.home-gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 56px; align-items: start; margin-top: clamp(32px, 4vw, 60px); }
.home-gal figure { margin: 0; }
.home-gal a { display: block; cursor: zoom-in; }
.home-gal .ph img { transition: transform 1.2s var(--ease); }
.home-gal a:hover .ph img { transform: scale(1.03); }
.home-gal .g1 { grid-column: 1 / span 5; } .home-gal .g1 .ph { aspect-ratio: 1; } .home-gal .g1 img { object-position: 62% 50%; }
.home-gal .g2 { grid-column: 7 / span 3; margin-top: 130px; } .home-gal .g2 .ph { aspect-ratio: 3 / 4; } .home-gal .g2 img { object-position: 50% 14%; }
.home-gal .g3 { grid-column: 10 / span 3; } .home-gal .g3 .ph { aspect-ratio: 1; }
.home-gal .g4 { grid-column: 3 / span 4; margin-top: -30px; } .home-gal .g4 .ph { aspect-ratio: 5 / 4; } .home-gal .g4 img { object-position: 50% 14%; }
[data-theme="light"] .home-gal { row-gap: var(--col-gap); }
[data-theme="light"] .home-gal .g1 { grid-column: 1 / span 6; grid-row: 1 / span 2; } [data-theme="light"] .home-gal .g1 .ph { aspect-ratio: 4 / 5; }
[data-theme="light"] .home-gal .g2 { grid-column: 7 / span 3; margin-top: 0; }
[data-theme="light"] .home-gal .g3 { grid-column: 10 / span 3; margin-top: clamp(0px, 6vw, 90px); }
[data-theme="light"] .home-gal .g4 { grid-column: 7 / span 6; margin-top: 0; } [data-theme="light"] .home-gal .g4 .ph { aspect-ratio: 16 / 9; } [data-theme="light"] .home-gal .g4 img { object-position: 50% 30%; }

.leg-quote { grid-column: 1 / span 10; margin-top: clamp(32px, 4vw, 56px); font-family: var(--display); }
[data-theme="dark"] .leg-quote { font-style: italic; font-weight: 400; font-size: clamp(30px, 4.4vw, 66px); line-height: 1.12; text-indent: -.4em; }
[data-theme="dark"] .leg-quote em { color: var(--accent); }
[data-theme="light"] .leg-quote { font-family: var(--text); font-weight: 900; font-size: clamp(30px, 5.2vw, 82px); line-height: .98; letter-spacing: -.035em; }
[data-theme="light"] .leg-quote em { font-style: normal; color: var(--accent); }
.leg-cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(48px, 6vw, 80px); }
.leg-cols article { border-top: var(--rule-w) solid var(--rule-strong); padding-top: 22px; }
.leg-cols .h3 { margin-bottom: 10px; }
[data-theme="dark"] .leg-cols p { color: var(--ink-2); }
[data-theme="light"] .leg-cols { grid-column: 4 / -1; }
[data-theme="light"] .leg-cols p { font-size: 15.5px; }

.cta-h { grid-column: 1 / span 9; }
[data-theme="dark"] .cta-h { font-size: clamp(44px, 7.4vw, 118px); line-height: .95; }
[data-theme="light"] .cta-h { font-size: clamp(44px, 8vw, 128px); line-height: .86; }
.cta-lead { grid-column: 1 / span 6; margin-top: clamp(32px, 4vw, 56px); }
[data-theme="dark"] .cta-lead { font-style: normal; color: var(--ink); }
.cta-feat { grid-column: 8 / -1; margin-top: clamp(32px, 4vw, 56px); list-style: none; align-self: end; }
.cta-feat li { padding: 12px 0; border-top: var(--rule-w) solid var(--rule-strong); }
[data-theme="dark"] .cta-feat li { color: var(--ink-2); border-top-color: var(--rule); }
[data-theme="light"] .cta-feat li { font-weight: 700; font-size: 16px; line-height: 1.25; }
.cta-urg { grid-column: 1 / span 7; margin-top: clamp(32px, 5vw, 72px); }
[data-theme="dark"] .cta-urg { font-style: italic; color: var(--ink-2); }
[data-theme="light"] .cta-urg { font-weight: 900; font-size: clamp(24px, 3vw, 44px); letter-spacing: -.02em; line-height: 1; grid-column: 1 / -1; max-width: 20em; }
.cta-boxes { grid-column: 1 / -1; margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.cta-boxes > div { grid-column: span 6; }
.cta-boxes .h3 { margin-bottom: 12px; }
.cta-boxes p { margin-bottom: 22px; max-width: 26em; }
.cta-boxes .note { font-size: 14px; margin: 18px 0 0; }
[data-theme="dark"] .cta-boxes > div { border-top: 1px solid var(--ink-3); padding-top: 28px; }
[data-theme="dark"] .cta-boxes > div:nth-child(1) { grid-column: 1 / span 5; }
[data-theme="dark"] .cta-boxes > div:nth-child(2) { grid-column: 7 / span 6; }
[data-theme="dark"] .cta-boxes p { color: var(--ink-2); }
[data-theme="dark"] .cta-boxes .note { color: var(--ink-3); font-style: italic; }
[data-theme="light"] .cta { padding-bottom: clamp(48px, 6vw, 90px); }
[data-theme="light"] .cta-boxes > div { background: var(--ink); color: var(--bg); padding: clamp(20px, 2.4vw, 34px); }
[data-theme="light"] .cta-boxes .btn--solid { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); }
[data-theme="light"] .cta-boxes .btn--solid:hover { background: var(--bg); border-color: var(--bg); }
[data-theme="light"] .cta-boxes .note { opacity: .75; }
[data-theme="dark"] .cta.band--plain { margin-top: 0; padding-top: clamp(80px, 11vw, 170px); }
[data-theme="light"] .cta + * , [data-theme="light"] main:has(> .cta:last-child) + .site-foot { border-top: 0; }

@media (max-width: 960px) {
  .home-bio-h, .home-bio-items, [data-theme="light"] .home-bio-items { grid-column: 1 / -1; }
  .home-bio-photo { grid-column: 1 / -1; grid-row: auto; margin: 48px 0 0; }
  .home-bio-photo .ph { aspect-ratio: 4 / 3; }
  .ft-head { grid-column: 1 / -1; }
  .feature { grid-column: 1 / -1; }
  .feature:nth-child(2) { margin-top: 0; }
  .home-video { grid-column: 1 / -1; }
  .tl-head, [data-theme="light"] .tl-head { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .tl-list { grid-column: 1 / -1; }
  .leg-quote, .leg-cols, [data-theme="light"] .leg-cols { grid-column: 1 / -1; }
  .leg-cols { grid-template-columns: 1fr; row-gap: 28px; }
  .cta-h, .cta-lead, .cta-feat, .cta-urg { grid-column: 1 / -1; }
  .cta-boxes > div, [data-theme="dark"] .cta-boxes > div:nth-child(n) { grid-column: 1 / -1; }
  .cta-boxes > div + div { margin-top: 24px; }
}
@media (max-width: 700px) {
  .home-bio-items article { grid-template-columns: 1fr; row-gap: 6px; }
  [data-theme="light"] .home-bio-items { grid-template-columns: 1fr; row-gap: 28px; }
  [data-theme="light"] .home-bio-items article:nth-child(n) { margin-top: 0; }
  .feature { grid-template-columns: 92px 1fr; align-items: start; }
  .feature .btns { grid-column: 1 / -1; }
  .feature-body { display: contents; }
  .feature-body > .label, .feature-body > .feature-title, .feature-body > p { grid-column: 2; }
  .feature-ph { grid-row: 1 / span 2; }
  .feature p, .feature .btns { grid-column: 1 / -1 !important; }
  .feature p { margin-top: 12px; }
  .home-gal { row-gap: 36px; }
  .home-gal .g1 { grid-column: 1 / span 9 !important; grid-row: auto !important; }
  .home-gal .g2 { grid-column: 5 / -1 !important; margin-top: 0 !important; }
  .home-gal .g3 { grid-column: 1 / span 7 !important; margin-top: 0 !important; }
  .home-gal .g4 { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  [data-theme="dark"] .leg-quote { text-indent: 0; }
}

/* review fixes */
[data-theme="dark"] .tl-head { max-width: 6.5em; }
[data-theme="dark"] .hero-name { font-size: clamp(88px, 15vw, 240px); }
[data-theme="dark"] .hero-copy { padding-bottom: 32px; }
@media (max-width: 700px) {
  .site-nav { gap: 12px; justify-content: space-between; }
  [data-theme="dark"] .site-nav a { font-size: 13.5px; letter-spacing: .06em; }
  [data-theme="light"] .site-nav a { font-size: 11.5px; letter-spacing: .02em; }
}

/* ==========================================================================
   Light theme, revised: photos are clean black & white on paper.
   Colour lives in the shapes (rules, blocks, discs), not in the photographs.
   data-tone="red|ochre" remains as an opt-in tint, to be used rarely.
   ========================================================================== */
[data-theme="light"] .ph { background: var(--bg); }
[data-theme="light"] .ph img { filter: grayscale(1) contrast(1.12) brightness(1.02); mix-blend-mode: multiply; }
[data-theme="light"] .ph[data-tone="ink"] { --tone: var(--bg); }
[data-theme="light"] .ph[data-tone="ink"] img { mix-blend-mode: multiply; filter: grayscale(1) contrast(1.12) brightness(1.02); }
[data-theme="light"] .ph[data-tone="ochre"], [data-theme="light"] .ph[data-tone="paper"] { background: var(--bg); }
[data-theme="light"] .ph[data-tone="red"] { background: var(--accent); }
[data-theme="light"] .ph[data-tone="red"] img { filter: grayscale(1) contrast(1.35) brightness(1.06); }
[data-theme="light"] .ph[data-tone="tint-ochre"] { background: var(--accent-2); }

/* hero: b/w portrait in a circle, a flat vermilion disc offset behind it */
[data-theme="light"] .hero-photo { background: var(--bg); overflow: visible; }
[data-theme="light"] .hero-photo img { border-radius: 50%; filter: grayscale(1) contrast(1.15) brightness(1.02); mix-blend-mode: normal; position: relative; z-index: 1; }
[data-theme="light"] .hero-photo::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  transform: translate(-7%, 5%); z-index: 0;
}
[data-theme="light"] .masthead-photo.ph { overflow: hidden; }

/* ==========================================================================
   Sharing
   ========================================================================== */
.share-btn { cursor: pointer; display: inline-grid; place-items: center; }
.share-btn svg { width: 18px; height: 18px; }
.share-btn .i-done { display: none; }
.share-btn.is-copied .i-share { display: none; }
.share-btn.is-copied .i-done { display: block; }
.btn.share-btn { padding-left: 14px; padding-right: 14px; }
[data-theme="dark"] .btn.share-btn { padding-top: 11px; padding-bottom: 10px; }

/* in a tracklist row: a quiet icon at the end of the row */
.trk { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 6px; }
.trk > .trk-more { grid-column: 1 / -1; }
.trk-share { all: unset; box-sizing: border-box; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-3); transition: color .2s; }
.trk-share svg { width: 17px; height: 17px; }
.trk-share:hover, .trk-share.is-copied { color: var(--accent); }
.trk-share:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
[data-theme="light"] .trk-share { color: var(--ink); }
[data-theme="light"] .trk.is-current .trk-share { color: var(--ink); }

}

/* portraits in mastheads: keep the face in frame at every crop */
.masthead-photo img { object-position: 50% 18%; }
/* player clears the home indicator when saved to the home screen */
.player { padding-bottom: env(safe-area-inset-bottom, 0); height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
