
/* Riffology Vault — in riffology.co's design language: print-style, near-black, warm white, one red accent,
   Playfair Display for headlines, Inter for text, square corners. */
:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-2: #101014;
  --surface: #15151a;
  --surface-2: #1f1f25;
  --line: #26262d;
  --text: #f4f1ed;
  --soft: #d6d2cc;
  --muted: #8b8680;
  --faint: #6b6762;
  --accent: #e63946;
  --accent-soft: #b32d39;
  --good: #5fb98a;
  --warn: #d9a441;
  --bad: #e06464;
  --radius: 2px;
  --max: 1320px;
  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --ui: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* masthead, as on riffology.co */
.site-header { border-bottom: 3px double var(--line); background: var(--bg); }
.header-bar { max-width: var(--max); margin: 0 auto; padding: 16px 24px 8px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header-meta { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-weight: 500; }
.masthead { font-family: var(--serif); font-weight: 900; font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: .04em; line-height: 1; text-align: center; display: grid; justify-items: center; gap: 6px; }
.masthead:hover { color: var(--text); }
.masthead small { font: 600 .68rem/1 var(--ui); letter-spacing: .42em; text-transform: uppercase; color: var(--accent); padding-left: .42em; }
.header-right { display: flex; justify-content: flex-end; }
.site-nav { max-width: var(--max); margin: 0 auto; padding: 12px 24px; border-top: 1px solid var(--line); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.site-nav a { color: var(--soft); padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--text); border-color: var(--accent); }
.site-nav a.nav-podcast { color: var(--accent); display: inline-flex; align-items: center; gap: .4em; }
.site-nav a.nav-podcast:hover { color: var(--text); background: var(--accent); border-color: var(--accent); padding: 4px 8px; }
.site-nav .sep { width: 1px; background: var(--line); }
@media (max-width: 820px) { .header-bar { grid-template-columns: 1fr; text-align: center; } .header-meta { display: none; } .header-right { justify-content: center; } .site-nav ul { gap: 14px 20px; } }

/* search, with type-ahead */
.search { position: relative; width: 240px; max-width: 100%; }
.search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; font: inherit; font-size: .85rem; color: var(--text); background: #ffffff08; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 32px; outline: none; transition: border-color .15s, background .15s; }
.search input::placeholder { color: var(--muted); }
.search input:hover { border-color: var(--soft); }
.search input:focus { border-color: var(--accent); background: #ffffff0f; }
.suggest { position: absolute; top: 42px; right: 0; width: min(420px, 92vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px #000; display: none; z-index: 60; text-align: left; }
.suggest.open { display: block; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.suggest a:last-child { border-bottom: 0; }
.suggest a.active, .suggest a:hover { background: var(--surface-2); color: var(--text); }
.suggest img, .suggest .ph { width: 40px; height: 40px; object-fit: cover; background: var(--line); flex: none; border: 1px solid var(--line); }
.suggest .ph { display: grid; place-items: center; font: 900 18px var(--serif); color: var(--muted); }
.suggest small { color: var(--muted); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }

/* type */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
h1.display { font-weight: 900; font-size: clamp(2.4rem, 5.5vw, 4.25rem); line-height: 1.05; }
h2.display { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.kicker { display: inline-block; font-family: var(--ui); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* sections: sans, spaced, with riffology.co's red dash */
section { margin: 56px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-head h2 { font: 700 1rem/1.3 var(--ui); text-transform: uppercase; letter-spacing: .22em; }
.section-head h2::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: .75rem; transform: translateY(-3px); }
.section-head a.more { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; white-space: nowrap; }
.section-head a.more:hover { color: var(--accent); }

/* album cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 28px 20px; }
.grid.big { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 640px) { .grid, .grid.big { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; } }
.card { display: block; position: relative; }
.card .cover { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s, transform .4s ease; }
.card .cover img.loaded { opacity: 1; }
.card:hover .cover img { transform: scale(1.04); }
.card .t { margin-top: 12px; font: 700 1.05rem/1.25 var(--serif); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card .s { color: var(--muted); font-size: .7rem; margin-top: 5px; text-transform: uppercase; letter-spacing: .14em; font-weight: 500; }
.card:hover .t { color: var(--accent); }
.badge-age { position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff; font: 700 .65rem/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; padding: 5px 7px; border-radius: var(--radius); }
.nocover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; padding: 14px; background: var(--surface); }
.nocover::before { content: ''; position: absolute; top: 14px; left: 14px; width: 28px; height: 2px; background: var(--accent); }
.nc-artist { font: 600 .62rem/1.3 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nc-title { font: 900 1.15rem/1.15 var(--serif); color: var(--soft); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.nc-year { font: 600 .62rem/1 var(--ui); letter-spacing: .16em; color: var(--faint); }
.hero .art .nocover { padding: 28px; }
.hero .art .nocover::before { top: 28px; left: 28px; }
.hero .art .nc-title { font-size: 2rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

/* hero (album, artist, lists): print-style, with only a faint, desaturated cover behind */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .bg { position: absolute; inset: -80px; background-size: cover; background-position: center; filter: blur(70px) saturate(40%) brightness(.55); opacity: .35; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: 48px; padding-top: 48px; padding-bottom: 44px; align-items: end; }
.hero .art { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 60px -30px #000; }
.hero .art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; } .hero .art { max-width: 340px; } }
.hero h1 { margin: 12px 0 8px; }
.byline { font: 400 1.35rem/1.3 var(--serif); font-style: italic; color: var(--soft); }
.byline a { color: var(--text); border-bottom: 1px solid color-mix(in oklab, var(--accent) 50%, transparent); font-style: normal; font-weight: 700; }
.byline a:hover { color: var(--accent); border-color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 24px; }
.fact .kicker { display: block; margin-bottom: 3px; color: var(--muted); }
.fact .v { font-size: 1.05rem; font-weight: 600; }
.fact .v a { border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--soft); }
.chip:hover { border-color: var(--accent); color: var(--text); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--soft); font: 600 .72rem/1.2 var(--ui); text-transform: uppercase; letter-spacing: .16em; cursor: pointer; }
.btn:hover { border-color: var(--text); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: #fff; }
.btn.small { padding: 6px 10px; font-size: .66rem; }
.btn:disabled { opacity: .6; cursor: default; }

/* date confidence (admin) */
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; vertical-align: middle; }
.conf::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.conf.high { color: var(--good); }
.conf.medium { color: var(--warn); }
.conf.disputed, .conf.low { color: var(--bad); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border: 1px solid var(--line); }
.stat { padding: 18px 20px; border-right: 1px solid var(--line); display: block; }
.stat:last-child { border-right: 0; }
.stats a.stat:hover { background: var(--surface); color: var(--text); }
.stat .n { font: 900 2rem/1 var(--serif); }
.stat .l { color: var(--muted); font-size: .68rem; margin-top: 8px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.meter { height: 3px; background: var(--line); margin-top: 12px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); }

/* tables and details */
.panel { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--accent); font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
details { border-top: 1px solid var(--line); }
details summary { cursor: pointer; padding: 16px 0; font: 700 .8rem var(--ui); text-transform: uppercase; letter-spacing: .16em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: '+'; color: var(--muted); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: '–'; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }
.note { border-left: 3px solid var(--accent); padding: 8px 0 8px 18px; color: var(--soft); font-style: italic; margin: 12px 0 18px; }

/* people */
.people { display: flex; flex-wrap: wrap; gap: 10px; }
.person { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: .9rem; }
.person img, .person .ph { width: 30px; height: 30px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; font: 900 .9rem var(--serif); color: var(--muted); }
.person.out { color: var(--muted); font-weight: 500; }
.person:hover { border-color: var(--accent); color: var(--text); }

.pager { display: flex; justify-content: space-between; gap: 12px; margin: 40px 0; }

/* forms (login + admin) */
.form { display: grid; gap: 14px; max-width: 560px; }
label { font-size: .7rem; font-weight: 700; color: var(--muted); display: grid; gap: 6px; text-transform: uppercase; letter-spacing: .14em; }
input[type=text], input[type=email], input[type=date], select, textarea {
  width: 100%; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); font: inherit; font-size: .95rem; outline: none; text-transform: none; letter-spacing: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.center { min-height: 60vh; display: grid; place-items: center; padding: 48px 16px; }
.boxed { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 36px; width: min(460px, 100%); }
.boxed h1 { font-weight: 900; }
.flash { padding: 12px 16px; border-left: 3px solid var(--good); background: var(--surface); color: var(--text); margin: 16px 0; font-weight: 500; }
.flash.err { border-left-color: var(--bad); }
.edit-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 12px; align-items: end; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .edit-row { grid-template-columns: 1fr; } }
.edit-row .src { font-size: .78rem; color: var(--faint); margin-top: 4px; }
.overridden { color: var(--accent); font-weight: 700; font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; }
.cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cand { border: 1px solid var(--line); padding: 8px; display: grid; gap: 6px; font-size: .78rem; color: var(--muted); cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 500; }
.cand:has(input:checked) { border-color: var(--accent); outline: 1px solid var(--accent); }
.cand img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* summary: riffology.co's article body, with its drop cap */
.summary { max-width: 1000px; margin-top: 44px; }
.summary p { font-size: 1.12rem; line-height: 1.78; margin: 0 0 1.2rem; color: var(--soft); }
.summary p:first-child::first-letter { font-family: var(--serif); font-weight: 900; float: left; font-size: 4.2rem; line-height: .85; padding: .4rem .6rem 0 0; color: var(--accent); }
.summary a { color: var(--text); border-bottom: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); }
.summary a:hover { color: var(--accent); border-color: var(--accent); }
.summary .credit { font-size: .72rem; margin-top: 6px; text-transform: uppercase; letter-spacing: .12em; }

/* On Riffology: episodes you can play in place, then stories */
.eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; margin-bottom: 28px; }
@media (max-width: 640px) { .eps { grid-template-columns: 1fr; } }
.ep { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 14px; background: var(--surface); border: 1px solid var(--line); align-items: center; }
.ep-art { width: 112px; height: 112px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); }
.ep-body { display: grid; gap: 6px; min-width: 0; }
.ep-title { font: 700 1.1rem/1.25 var(--serif); }
.ep-title:hover { color: var(--accent); }
.ep-player { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; margin-top: 4px; }
.ep-play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.ep-play:hover { background: var(--accent-soft); }
.ep-play svg { width: 18px; height: 18px; fill: currentColor; }
.ep-play .i-pause, .ep.playing .ep-play .i-play { display: none; }
.ep.playing .ep-play .i-pause { display: block; }
.ep-track { height: 3px; background: var(--line); cursor: pointer; position: relative; }
.ep-track::before { content: ''; position: absolute; inset: -9px 0; }
.ep-track i { display: block; height: 100%; width: 0; background: var(--text); }
.ep-time { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 20px; }
.post { display: grid; gap: 8px; align-content: start; }
.post-img { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post:hover .post-img img { transform: scale(1.04); }
.post .kicker { margin-top: 6px; }
.post-title { font: 700 1.1rem/1.3 var(--serif); }
.post:hover .post-title { color: var(--accent); }
.post-meta { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-weight: 500; }

/* years: the timeline chart, decade chapters and cover-mosaic year tiles */
.yr-chart { margin: 28px 0 0; position: relative; }
.yr-hit { fill: transparent; }
.yr-tip { position: absolute; z-index: 5; pointer-events: none; width: 260px; display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center;
  padding: 10px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: 0 18px 40px -18px #000; transform: translate(-50%, calc(-100% - 12px)); }
.yr-tip[hidden] { display: none; }
.yr-tip img, .yr-tip .ph { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line); background: var(--surface-2); }
.yr-tip .y { font: 900 1.6rem/1 var(--serif); }
.yr-tip .t { font: 700 .95rem/1.25 var(--serif); margin-top: 4px; }
.yr-tip .a, .yr-tip .n { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 3px; }
.yr-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.yr-bar { fill: var(--surface-2); transition: fill .15s; }
.yr-bar.peak { fill: var(--soft); }
a:hover .yr-bar { fill: var(--accent); }
.yr-grid { stroke: var(--line); stroke-width: 1; }
.yr-axis { stroke: var(--muted); stroke-width: 1; }
.yr-tick { fill: var(--muted); font: 600 11px var(--ui); letter-spacing: .14em; text-transform: uppercase; }
.yr-chart figcaption { font-size: .8rem; margin-top: 8px; }
.yr-chart figcaption a { color: var(--soft); border-bottom: 1px solid var(--line); }
.decade-best { margin: -6px 0 22px; color: var(--soft); font-family: var(--serif); font-size: 1.05rem; }
.decade-best a:hover { color: var(--accent); }
.yr-grid-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
@media (max-width: 640px) { .yr-grid-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.yr-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.yr-mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.yr-mosaic.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.yr-mosaic.n2 { grid-template-rows: 1fr; }
.yr-mosaic.n3 img:first-child { grid-row: span 2; }
.yr-mosaic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.5); transition: filter .35s ease, transform .5s ease; }
.yr-tile:hover .yr-mosaic img { filter: none; transform: scale(1.03); }
.yr-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(transparent, #0a0a0cf0 70%); display: grid; gap: 4px; }
.yr-num { font: 900 2.4rem/1 var(--serif); color: var(--text); }
.yr-meta { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: var(--soft); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yr-tile:hover .yr-num { color: var(--text); }

/* admin: add artist, live builds, batches */
.admin-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 820px) { .admin-cols { grid-template-columns: 1fr; } }
.artist-search { display: grid; gap: 10px; }
.artist-search input[type=text] { font-size: 1.05rem; padding: 14px 16px; }
label.inline { display: flex; gap: 8px; align-items: center; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: .85rem; }
.matches { display: grid; gap: 0; border: 1px solid var(--line); border-bottom: 0; }
.matches:empty, .matches:has(> p) { border: 0; }
.match { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.match .faint { font-size: .78rem; margin-top: 2px; }
.match .faint a { text-decoration: underline; }
.jobs { display: grid; gap: 10px; }
.job { background: var(--surface); border: 1px solid var(--line); padding: 0 16px 12px; }
.job.live { border-left: 3px solid var(--accent); }
.job.bad { border-left: 3px solid var(--bad); }
.job summary { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0 10px; text-transform: none; letter-spacing: 0; font: inherit; }
.job summary::after { display: none; }
.job-name { font: 700 1.05rem var(--serif); }
.job-stage { color: var(--muted); font-size: .8rem; }
.job.ok .job-stage { color: var(--good); }
.job.bad .job-stage { color: var(--bad); }
.job.live .job-stage::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.bar { height: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); transition: width .6s ease; }
.job.ok .bar i { background: var(--good); }
.job-now { margin-top: 10px; font-size: .9rem; }
.job-log { margin: 10px 0 0; max-height: 240px; overflow: auto; background: var(--bg-2); padding: 10px 12px; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); white-space: pre-wrap; }

/* footer, as on riffology.co */
.site-footer { border-top: 3px double var(--line); margin-top: 80px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 32px 24px 12px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.masthead-sm { font: 900 1.5rem var(--serif); letter-spacing: .06em; margin: 0; }
.footer-inner .muted { margin: 8px 0 0; max-width: 48ch; font-size: .9rem; }
.footer-inner nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; color: var(--soft); align-items: flex-start; }
.copyright { max-width: var(--max); margin: 0 auto; padding: 0 24px 32px; color: var(--faint); font-size: .8rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copyright button { all: unset; cursor: pointer; text-decoration: underline; }
