/* Erica Synths Garage — site stylesheet (Concept 1b, dark), from the garage-2026 prototype */
:root {
  --bg: #0e0d10;
  --surface: #19171c;
  --surface-2: #252329;
  --line: #2a2830;
  --line-soft: #1d1b20;
  --line-strong: #4a4752;
  --text: #ecebee;
  --text-2: #c4c1c9;
  --body: #dcdae0;
  --muted: #a29fa8;
  --faint: #8a8690;
  --dim: #6e6b74;
  --accent: oklch(0.74 0.14 295);
  --accent-text: oklch(0.8 0.12 295);
  --warn: #e0a35c;
  --pad: 48px;
  --gap: 40px;
  --sans: 'Archivo', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
@media (max-width: 900px) {
  :root { --pad: 20px; --gap: 24px; }
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
img { max-width: 100%; display: block; background: var(--surface); }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--bg); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------ type */
.mono { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: 0; }
.mono-13 { font-size: 13px; }
.acc { color: var(--accent-text); }
/* Components set display (grid/flex); keep the hidden attribute authoritative for the JS filters. */
[hidden] { display: none !important; }
.gap-flag { color: var(--warn); }
body.hide-gaps .gap-flag { display: none; }
.label { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.display {
  margin: 0; font-weight: 800; font-stretch: 72%; line-height: .86; letter-spacing: -.025em;
  text-transform: uppercase; text-wrap: balance;
}
.title { font-weight: 600; font-stretch: 78%; line-height: 1; }
.serif { font-family: var(--serif); }
.standfirst { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.48; color: var(--text-2); text-wrap: pretty; }
.soft { font-family: var(--serif); font-size: 16px; line-height: 1.5; color: var(--muted); }
.more { font-size: 15px; font-weight: 600; text-transform: uppercase; color: var(--accent-text); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px;
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer; color: var(--text);
}
.btn:hover { border-color: var(--text); color: var(--text); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-accent:hover { background: var(--accent-text); color: var(--bg); }
.btn-light { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------ header */
.hdr {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px var(--pad); border-bottom: 1px solid var(--line); background: var(--bg);
  position: relative; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { width: auto; height: 54px; margin: -7px 0; background: none; }
.brand span { font-size: 18px; font-weight: 600; }
.brand .short { display: none; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.nav a[aria-current] { color: var(--accent-text); box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.hdr-tools { display: flex; gap: 20px; align-items: center; font-size: 15px; font-weight: 600; text-transform: uppercase; }
.hdr-tools .nl { border: 1px solid var(--accent); color: var(--accent-text); padding: 8px 14px; }
.menu-btn { display: none; background: none; border: 0; padding: 12px 0; font-size: 14px; font-weight: 600; text-transform: uppercase; cursor: pointer; }
.progress { height: 2px; background: var(--line); position: sticky; top: 0; z-index: 15; }
.progress div { height: 2px; width: 0; background: var(--accent); }

@media (max-width: 1180px) {
  .nav { gap: 20px; font-size: 14px; }
  .brand .full { display: none; }
  .brand .short { display: inline; }
}
@media (max-width: 900px) {
  .hdr { padding: 14px var(--pad); }
  .brand img { width: auto; height: 42px; margin: -5px 0; }
  .brand { gap: 10px; }
  .brand span { font-size: 15px; }
  .nav, .hdr-tools .nl { display: none; }
  .hdr-tools { gap: 18px; font-size: 14px; }
  .hdr-tools a { padding: 12px 0; }
  .menu-btn { display: block; }
  body.menu-open .nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 24px;
  }
  body.menu-open .nav a { font-size: 32px; font-weight: 800; font-stretch: 72%; padding: 10px 0; border-bottom: 1px solid var(--line); box-shadow: none; }
  body.menu-open .nav .nav-nl { display: block; color: var(--accent-text); }
}
.nav .nav-nl { display: none; }

/* ------------------------------------------------------------ layout */
.sec { padding: 56px var(--pad) 72px; border-bottom: 1px solid var(--line); }
.sec-tight { padding: 48px var(--pad); }
.sec-alt { background: var(--surface); }
.g-3-9 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); }
.g-3-6-3 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: var(--gap); align-items: start; }
.g-3-5-4 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: var(--gap); align-items: start; }
.g-7-5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; }
.g-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.g-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.g-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stack { display: flex; flex-direction: column; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.side-note { display: flex; flex-direction: column; gap: 12px; }
.crumbs { padding: 20px var(--pad) 0; display: flex; gap: 10px; }
.crumbs span:last-child { color: var(--text); }

@media (max-width: 1100px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .sec { padding: 32px var(--pad) 40px; }
  .sec-tight { padding: 28px var(--pad); }
  .g-3-9, .g-3-6-3, .g-3-5-4, .g-7-5 { grid-template-columns: minmax(0, 1fr); }
  .g-3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .standfirst { font-size: 18px; }
}

/* ------------------------------------------------------------ meta list */
.meta-list { display: flex; flex-direction: column; gap: 22px; font-size: 15px; }
.meta-list > div { display: flex; flex-direction: column; gap: 4px; }
.meta-list .divider { padding-top: 14px; border-top: 1px solid var(--line); }
.links-list { display: flex; flex-direction: column; gap: 8px; }
.links-list a { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.links-list a span:last-child { color: var(--muted); }
.share { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; }
.share button { background: none; border: 0; padding: 0; cursor: pointer; }
.share button:hover { color: var(--accent-text); }

/* ------------------------------------------------------------ lead story */
.lead-img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; object-position: 50% 45%; }
.cap-row { padding: 10px var(--pad) 0; display: flex; justify-content: space-between; gap: 16px; }
.lead-body { padding: 32px var(--pad) 72px; border-bottom: 1px solid var(--line); }
.lead-title { font-size: clamp(56px, 7.2vw, 104px); line-height: .88; }
.lead-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--text-2); padding-top: 10px; }
.kicker { font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--muted); text-transform: uppercase; padding-top: 10px; }
@media (max-width: 900px) {
  .lead-img { aspect-ratio: 4 / 3; }
  .lead-body { padding: 18px var(--pad) 28px; }
  .kicker { padding-top: 0; }
  .lead-side { padding-top: 0; }
}

/* ------------------------------------------------------------ cards */
.card-h { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.card-h img { width: 200px; aspect-ratio: 4 / 5; object-fit: cover; }
.card-h .t { font-size: 34px; font-weight: 600; font-stretch: 78%; line-height: 1; }
.card-body { display: flex; flex-direction: column; gap: 10px; }
.card-v { display: flex; flex-direction: column; gap: 12px; }
.card-v img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-v .t { font-size: 30px; font-weight: 600; font-stretch: 80%; line-height: 1.02; }
.card-v.sq img { aspect-ratio: 1; }
.card-v.portrait img { aspect-ratio: 4 / 5; }
.card-v.wide img { aspect-ratio: 16 / 9; }
.card-v.gray img { filter: grayscale(1); transition: filter .2s; }
.card-v.gray:hover img { filter: none; }
.row-item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.row-item img { width: 180px; aspect-ratio: 16 / 9; object-fit: cover; }
.row-item .t { font-size: 22px; font-weight: 600; font-stretch: 82%; line-height: 1.1; }
@media (max-width: 900px) {
  .card-h { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
  .card-h img { width: 96px; order: 2; }
  .card-h .t { font-size: 22px; font-stretch: 80%; line-height: 1.05; }
  .card-h .soft { display: none; }
  .g-2.cards { gap: 0; }
  .card-v .t { font-size: 22px; }
  .row-item { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .row-item img { width: 120px; }
  .row-item .t { font-size: 19px; }
}

/* ------------------------------------------------------------ players */
.player {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--surface);
  border: 0; padding: 0; cursor: pointer; overflow: hidden; text-align: left;
}
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.player:hover img { opacity: 1; }
.player .pb { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; }
.play {
  width: 76px; height: 76px; border-radius: 50%; background: var(--accent); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.play::after { content: ''; border-left: 22px solid var(--bg); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.play.sm { width: 32px; height: 32px; }
.play.sm::after { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; margin-left: 3px; }
.play.md { width: 52px; height: 52px; }
.play.md::after { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }
.chip { font-family: var(--mono); font-size: 12px; background: rgba(8, 8, 10, .8); padding: 6px 10px; color: var(--text); text-transform: uppercase; }
.player iframe, .audio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.no-poster { background: linear-gradient(135deg, #1d1b20, #2a2830); }
.player.no-poster .np { position: absolute; top: 24px; left: 24px; }
.thumb-play { position: relative; }
.thumb-play .play { position: absolute; left: 8px; bottom: 8px; }
@media (max-width: 900px) {
  .player .pb { left: 12px; bottom: 12px; }
  .player .play { width: 52px; height: 52px; }
  .player .play::after { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }
  .player .chip { display: none; }
}

.audio {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  width: 100%; border: 1px solid var(--line-strong); background: var(--surface); padding: 14px 16px; cursor: pointer; text-align: left;
}
.audio:hover { border-color: var(--text-2); }
.audio .info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.audio .info b { font-weight: 600; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audio.loaded { padding: 0; height: 166px; display: block; cursor: default; }
.audio.loaded.tall { height: 450px; }
.embed-fail { border: 1px dashed var(--line-strong); padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ------------------------------------------------------------ feature article */
.f-head { padding: 64px var(--pad) 40px; }
.f-title { font-size: clamp(50px, 9.2vw, 132px); }
.f-standfirst { max-width: 820px; font-size: 25px; line-height: 1.42; }
.f-hero { margin: 0; padding: 0 var(--pad); }
.f-hero img { width: 100%; height: auto; }
.f-hero figcaption { align-self: end; line-height: 1.7; }
.f-main { padding: 64px var(--pad) 40px; }
.f-meta { position: sticky; top: 24px; }
.body { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.body > * { max-width: 724px; }
.body > .w-full, .body > .w-wide { max-width: none; }
.body p, .body li { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.body p a, .body li a, .qa a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.body h2 { margin: 16px 0 0; font-size: 40px; font-weight: 600; font-stretch: 78%; line-height: 1.05; }
.body h3 { margin: 8px 0 0; font-size: 24px; font-weight: 600; line-height: 1.25; }
.body hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.qa { display: grid; grid-template-columns: 44px minmax(0, 1fr); }
.qa .q { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--text); text-wrap: pretty; }
.qa .who { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 4px; }
.qa .who.a { color: var(--accent-text); padding-top: 18px; }
.qa .ans { display: flex; flex-direction: column; gap: 18px; margin-top: 14px; }
.body figure { margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.body figure img { width: 100%; height: auto; }
.figcap { display: flex; justify-content: space-between; gap: 24px; }
.pull { margin: 24px 0; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; max-width: none !important; }
.pull div { font-size: clamp(30px, 4.4vw, 64px); font-weight: 600; font-stretch: 78%; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.pull cite { font-style: normal; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.social-card { border: 1px solid var(--line-strong); padding: 18px 20px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.social-card .ph { width: 64px; height: 64px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; display: flex; flex-direction: column; gap: 8px; }
.note p { font-size: 17px !important; }
.artist-card { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 16px 0; }
.artist-card img { width: 160px; aspect-ratio: 1; object-fit: cover; }
.artist-card .t { font-size: 48px; font-weight: 600; font-stretch: 78%; line-height: 1; }

@media (max-width: 900px) {
  .f-head { padding: 28px var(--pad) 20px; }
  .f-standfirst { font-size: 18px; line-height: 1.45; }
  .f-hero { padding: 0; display: flex; flex-direction: column-reverse; gap: 8px; }
  .f-hero figcaption { padding: 0 var(--pad); }
  .f-main { padding: 28px var(--pad) 40px; }
  .f-meta { position: static; border-top: 1px solid var(--line); padding-top: 14px; }
  .f-meta .meta-list { flex-direction: row; flex-wrap: wrap; gap: 14px 24px; }
  .body { gap: 24px; }
  .body p, .body li { font-size: 18px; line-height: 1.62; }
  .qa { display: flex; flex-direction: column; gap: 10px; }
  .qa .who.q-who { display: none; }
  .qa .q { font-size: 18px; line-height: 1.35; }
  .qa .who.a { padding-top: 0; font-size: 12px; }
  .qa .ans { margin-top: 0; }
  .body figure { margin: 0 calc(-1 * var(--pad)); }
  .body figure .figcap { padding: 0 var(--pad); flex-direction: column; gap: 4px; }
  .pull { padding: 20px 0; margin: 0; }
  .body h2 { font-size: 30px; }
  .artist-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .artist-card img { width: 96px; }
  .artist-card .t { font-size: 30px; }
  .artist-card .more { grid-column: 1 / -1; }
}
@media (min-width: 901px) {
  .f-hero { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); }
}

/* ------------------------------------------------------------ big headings on index pages */
.page-head { padding: 48px var(--pad) 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.page-head h1 { font-size: min(240px, calc((100vw - 2 * var(--pad)) / (var(--chars, 8) * .5))); line-height: .8; letter-spacing: -.035em; }
.page-head p { margin: 0 0 12px; max-width: 400px; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.huge-name { font-size: min(300px, calc((100vw - 2 * var(--pad)) / (var(--chars, 6) * .5))); line-height: .8; letter-spacing: -.035em; }
@media (max-width: 900px) {
  .page-head { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; }
  .page-head p { font-size: 16px; margin: 0; }
}

/* ------------------------------------------------------------ filters */
.filters {
  position: sticky; top: 0; z-index: 10; background: var(--bg); padding: 20px var(--pad);
  border-bottom: 1px solid var(--line); display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.filters .grp { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fchip {
  font-family: var(--mono); font-size: 13px; text-transform: uppercase; padding: 12px 14px; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
}
.fchip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.fchip:disabled { color: var(--dim); border-style: dashed; border-color: var(--line); cursor: default; }
.finput, .fselect {
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); padding: 12px 14px; font-size: 15px; font-family: var(--sans);
}
.finput { width: 220px; }
.finput::placeholder { color: var(--faint); }
.fselect { font-family: var(--mono); font-size: 13px; text-transform: uppercase; }
.letters { display: flex; gap: 2px; font-family: var(--mono); font-size: 13px; flex-wrap: wrap; }
.letters a { width: 20px; text-align: center; padding: 6px 0; }
.letters a.off { color: var(--line-strong); pointer-events: none; }
.count-row { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); gap: 16px; flex-wrap: wrap; }
.empty { padding: 48px 0; font-family: var(--serif); font-size: 19px; color: var(--muted); }
@media (max-width: 900px) {
  .filters { position: static; padding: 0 var(--pad) 16px; border-bottom: 0; }
  .finput { width: 100%; }
  .fchip { padding: 13px 12px; font-size: 12px; }
  .letters { display: none; }
}

/* ------------------------------------------------------------ A–Z */
.az-group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); padding: 24px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.az-letter { font-size: 96px; font-weight: 800; font-stretch: 72%; line-height: .8; color: var(--accent); }
.az-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr); gap: 28px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.az-row .t { font-size: 40px; font-weight: 600; font-stretch: 78%; line-height: 1; }
@media (max-width: 900px) {
  .az-group { grid-template-columns: 1fr; gap: 0; padding: 12px 0 0; margin-top: 8px; }
  .az-letter { font-size: 40px; line-height: .9; }
  .az-row { display: flex; justify-content: space-between; gap: 12px; }
  .az-row .t { font-size: 24px; font-stretch: 80%; }
  .az-row .soft { display: none; }
  .az-row .mono { text-align: right; font-size: 11px; }
}

/* ------------------------------------------------------------ timeline */
.tl-item { display: grid; grid-template-columns: 80px 200px minmax(0, 1fr) 160px; gap: 28px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.tl-item .yr { font-size: 36px; font-weight: 800; font-stretch: 72%; }
.tl-item .yr.rep { color: transparent; }
.tl-item img { width: 200px; aspect-ratio: 16 / 9; object-fit: cover; }
.tl-item .t { font-size: 30px; font-weight: 600; font-stretch: 80%; line-height: 1.05; }
.tl-item .r { text-align: right; line-height: 1.6; font-size: 13px; }
.tl-filter { display: flex; flex-direction: column; gap: 8px; }
.tl-filter button { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); background: none; color: var(--text); font-family: var(--mono); font-size: 13px; text-transform: uppercase; cursor: pointer; }
.tl-filter button span:last-child { color: var(--muted); }
.tl-filter button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tl-filter button[aria-pressed="true"] span:last-child { color: var(--bg); }
.tl-filter button:disabled { border-style: dashed; color: var(--dim); cursor: default; }
@media (max-width: 900px) {
  .tl-item { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; align-items: start; }
  .tl-item .yr, .tl-item .r { display: none; }
  .tl-item img { width: 120px; }
  .tl-item .t { font-size: 19px; line-height: 1.08; }
  .tl-filter { flex-direction: row; flex-wrap: wrap; }
}

/* ------------------------------------------------------------ series list */
.series-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.series-row .t { font-size: 40px; font-weight: 800; font-stretch: 72%; text-transform: uppercase; line-height: .95; }
.year-head { display: flex; align-items: baseline; gap: 16px; border-top: 2px solid var(--text); padding-top: 10px; }
.year-head span:first-child { font-size: 48px; font-weight: 800; font-stretch: 72%; line-height: .9; }
.name-card { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--text); padding-top: 12px; }
.name-card .t { font-size: 36px; font-weight: 800; font-stretch: 72%; text-transform: uppercase; line-height: .95; }

/* ------------------------------------------------------------ forms */
.form { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form input, .form textarea, .form select {
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); padding: 14px 16px; font: 16px var(--sans);
}
.form textarea { min-height: 140px; resize: vertical; font-family: var(--serif); }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; font-family: var(--serif); font-size: 16px; color: var(--text-2); }
.form .check input { width: 18px; height: 18px; margin-top: 3px; }
.inline-form { display: flex; max-width: 520px; }
.inline-form input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-right: 0; background: transparent; color: var(--text); padding: 14px 16px; font: 16px var(--sans); }
.inline-form input::placeholder { color: var(--faint); }
.ok-msg { display: none; border: 1px solid var(--accent); padding: 18px 20px; font-family: var(--serif); font-size: 18px; color: var(--text); }
.sent .ok-msg { display: block; }
.sent form { display: none; }

/* ------------------------------------------------------------ footer */
.ftr { padding: 40px var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; border-top: 1px solid var(--line); }
.ftr .t { font-size: 34px; font-weight: 600; font-stretch: 80%; margin-bottom: 14px; }
.ftr-links { display: flex; flex-direction: column; gap: 8px; text-align: right; font-family: var(--mono); font-size: 13px; color: var(--muted); text-transform: uppercase; }
.ftr-links nav { display: flex; gap: 6px 14px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 900px) {
  .ftr { grid-template-columns: 1fr; gap: 28px; padding: 32px var(--pad); }
  .ftr .t { font-size: 26px; }
  .ftr-links { text-align: left; }
  .ftr-links nav { justify-content: flex-start; }
}

/* ------------------------------------------------------------ CMS rich text
   The prototype styled these paragraphs inline; editors' rich text needs classes. */
.session-notes p, .artist-bio p, .residency-body p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.62; color: var(--text-2); text-wrap: pretty; }
.artist-lead p { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.4; color: var(--text); text-wrap: pretty; }
.session-notes a, .artist-bio a, .artist-lead a { color: var(--accent-text); }
@media (max-width: 700px) { .series-pics { display: none !important; } }
.form .errorlist { margin: 0; padding: 0; list-style: none; color: var(--warn); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.form .help { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.page-body p { margin: 0 0 1em; }
.page-body a { color: var(--accent-text); }
.oc-list ul { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.about-body p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--text-2); }
.about-body p:first-child { font-size: 22px; line-height: 1.45; color: var(--text); }
.about-body a, .standfirst a { color: var(--accent-text); }

/* Clear button in search inputs: a thin white cross instead of the browser's own */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  width: .9em; height: .9em; margin-left: .5em; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2l12 12M14 2L2 14' stroke='%23fff' stroke-width='1.5' stroke-linecap='square' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}
input[type="search"]::-webkit-search-cancel-button:hover { opacity: 1; }
