/* Phil Kelly Music — black and gold, after the original 2003–2019 site */
:root {
  --bg: #14110d;
  --panel: #1f1a14;
  --panel-2: #2a231a;
  --text: #f6efe2;
  --muted: #cfc3ad;
  --gold: #f2c14e;
  --gold-dim: #b88d2a;
  --line: #3a3024;
  --max: 70rem;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.7 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: #ffd978; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #14110d; padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; color: #14110d; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #0e0c09; color: var(--text); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; }
.brand-name { font: 700 1.35rem/1.1 var(--serif); color: var(--text); }
.brand-name small { display: block; font: 400 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; padding: .25rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }

/* Breadcrumbs */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding-top: 1.25rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--gold-dim); }

/* Main content */
main { padding: 1.5rem 0 3rem; }
.page-head { padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .25rem 0 .75rem; }
h2 { font-size: clamp(1.45rem, 3.2vw, 1.9rem); margin: 2.5rem 0 .75rem; color: var(--gold); }
h3 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
.lede { font-size: 1.2rem; color: var(--text); max-width: 46rem; }
.meta { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; }
.prose { max-width: 46rem; }
.prose p, .prose li { color: var(--text); }
.muted { color: var(--muted); }

/* Hero */
.hero { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; padding: 1rem 0 2rem; }
.hero img { border: 1px solid var(--line); }
@media (min-width: 760px) { .hero { grid-template-columns: 1.6fr 1fr; } }

/* Cards and panels */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1.5rem 0; }
.card { background: var(--panel); color: var(--text); border: 1px solid var(--line); padding: 1.25rem; }
.card h3 { margin-top: .75rem; color: var(--text); }
.card p { color: var(--text); margin: .5rem 0 0; }
.card img { border: 1px solid var(--line); }
.panel { background: var(--panel); color: var(--text); border-left: 3px solid var(--gold); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.panel p, .panel li, .panel h3 { color: var(--text); }

/* Albums */
.album { display: grid; gap: 1.5rem; grid-template-columns: 1fr; padding: 1.5rem 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .album { grid-template-columns: 220px 1fr; } }
.album h2 { margin-top: 0; }
.tracks { columns: 2 14rem; padding-left: 1.4rem; margin: .5rem 0 1rem; }
.clips { display: grid; gap: .75rem; margin: 1rem 0; }
.clip { background: var(--panel-2); color: var(--text); padding: .6rem .8rem; }
.clip span { display: block; font-size: .92rem; margin-bottom: .35rem; color: var(--text); }
audio { width: 100%; max-width: 32rem; }

/* Reviews and news */
.review, .news-item { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.review h3, .news-item h2 { margin-top: 0; }
.source { color: var(--muted); font-size: .92rem; margin: 0 0 .75rem; }
.figure-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 1rem 0; }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.float-img { max-width: 200px; margin: 0 0 1rem; }
@media (min-width: 640px) { .float-img { float: right; margin: 0 0 1rem 1.5rem; } }
.clearfix::after { content: ""; display: block; clear: both; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: top; }
th { color: var(--gold); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.button { display: inline-block; background: var(--gold); color: #14110d; text-decoration: none; font-weight: 700; padding: .65rem 1.1rem; border-radius: 3px; }
.button:hover, .button:focus-visible { background: #ffd978; color: #14110d; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #0e0c09; color: var(--muted); font-size: .9rem; padding: 2rem 0; }
.site-footer p { margin: .35rem 0; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
