/* williamflynnmusic.com — shared stylesheet
   Tokens below are copied verbatim from the practice-tools suite
   (williamflynnguitar/music-tools, index.html :root) so the two
   properties match. Change them there first, then here.
   Posture (2026-10-24): photo-led, serif for everything a visitor reads,
   monospace only for nav, footer, dates and small labels. No boxes. */

:root {
  --ink: #0a1a20; --petrol: #10303a; --petrol-2: #163f4b;
  --bone: #e9e2d2; --bone-dim: #a9a597; --brass: #c9a44c;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --rulepad: 28px; --gutter: calc(var(--rulepad) + 2px); --measure: 60ch;
}

/* ---- base ---- */
* { box-sizing: border-box; }
html { overflow-x: clip; }
html, body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--sans); }
body { font-size: 17px; line-height: 1.5; -webkit-text-size-adjust: 100%; padding: 0 0 48px; }
.wrap { max-width: 960px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
img, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--bone); text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--petrol-2); margin: 48px 0 36px; }

h1 { font-weight: 400; font-size: 40px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-weight: 400; font-size: 26px; line-height: 1.25; margin: 44px 0 12px; }
h3 { font-weight: 400; font-size: 19px; margin: 28px 0 6px; }
p { margin: 0 0 1em; max-width: var(--measure); }
p.lede { color: var(--bone-dim); font-size: 19px; line-height: 1.45; margin: 0 0 36px; max-width: 46ch; text-wrap: balance; }
.byline, .label { font-family: var(--mono); font-size: 12px; color: var(--bone-dim); letter-spacing: .02em; }
.cap { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin: 0 0 10px; }
.dim { color: var(--bone-dim); }
.note { color: var(--bone-dim); font-size: 15px; }
em { font-style: italic; }
blockquote { margin: 0 0 22px; padding-left: var(--rulepad); border-left: 2px solid var(--brass); max-width: var(--measure); }
blockquote p { margin: 0 0 6px; font-size: 18px; line-height: 1.45; }
blockquote cite { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); font-style: normal; }
.go { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); text-decoration: none; }
.go:hover { text-decoration: underline; }

/* ---- header / nav
   Mirrors the tools menu toggle: mono, 11px, .12em tracking, uppercase,
   9px 13px padding, 1px petrol-2 border, 5px radius. ---- */
.site-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding-top: 22px; padding-bottom: 14px; margin-bottom: 44px; border-bottom: 1px solid var(--petrol-2); }
.site-head.flush { border-bottom: 0; margin-bottom: 0; }
.site-name { font-family: var(--sans); font-size: 17px; letter-spacing: .02em; color: var(--bone); text-decoration: none; white-space: nowrap; }
.site-name:hover { color: var(--brass); }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); }
.site-nav a { display: inline-block; padding: 9px 13px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); text-decoration: none; border: 1px solid transparent; border-radius: 5px; }
.site-nav a:hover { color: var(--bone); border-color: var(--petrol-2); background: var(--petrol); }
.site-nav a[aria-current="page"] { color: var(--brass); border-color: var(--petrol-2); background: var(--petrol); }

/* ---- footer ---- */
.site-foot { margin-top: 72px; padding-top: 16px; border-top: 1px solid var(--petrol-2); font-family: var(--mono); font-size: 11px; color: var(--bone-dim); line-height: 1.8; letter-spacing: .02em; }
.site-foot a { color: var(--bone-dim); }
.site-foot a:hover { color: var(--brass); }
.site-foot .sep { padding: 0 6px; }

/* ---- Home hero: full-bleed photo, name set over it ---- */
.hero { position: relative; margin: 0 0 48px; background: var(--petrol); }
.hero img { width: 100%; height: min(72vh, 640px); object-fit: cover; object-position: 50% 22%; opacity: .92; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,32,.15) 0%, rgba(10,26,32,0) 35%, rgba(10,26,32,.85) 100%); pointer-events: none; }
.hero .text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
.hero .text .wrap { padding-bottom: 40px; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1; margin: 0 0 10px; letter-spacing: -.01em; }
.hero .lede { font-size: 20px; color: var(--bone); max-width: 36ch; margin: 0; }
.hero .lede span { color: var(--bone-dim); }

/* ---- one photo high on a page ---- */
.banner { width: 100%; height: 300px; object-fit: cover; object-position: 50% 35%; border-radius: 6px; margin: 0 0 40px; }
.photo { border-radius: 6px; margin: 0 0 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.split .photo { margin: 0; }

/* ---- features: heading, a paragraph, a link; no boxes ---- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 56px 0 0; }
.features h2 { margin: 0 0 12px; font-size: 28px; }
.features p { font-size: 18px; line-height: 1.55; color: var(--bone-dim); }
.features.one { grid-template-columns: 1fr; max-width: var(--measure); margin-top: 36px; }
.features.three { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.features.three h2 { font-size: 26px; }
.features.three p { font-size: 17px; }
/* ---- outline: a talk's outline as reading text (jen/) ---- */
.outline h2 { margin-top: 40px; }
.outline h3 { color: var(--bone-dim); margin-top: 22px; }
.outline ul { max-width: var(--measure); margin: 0 0 16px; padding-left: 22px; }
.outline li { margin: 0 0 8px; }
.outline li ul { margin: 8px 0 0; }
.outline li li { color: var(--bone-dim); }
.byline.when { display: block; margin: -24px 0 28px; }
.toolgroup .note { margin: 0 0 26px; }
.toolgroup { margin-top: 56px; }
.toolgroup h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin: 0 0 22px; padding-bottom: 10px; border-bottom: 1px solid var(--brass); }
.tool { max-width: var(--measure); margin: 0 0 30px; }
.tool h3 { margin: 0 0 4px; font-size: 24px; }
.tool h3 a { text-decoration: none; }
.tool h3 a:hover { text-decoration: underline; }
.tool .ref { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--bone-dim); margin: 0 0 8px; }
.tool p { margin: 0; color: var(--bone-dim); }

/* ---- pull quote ---- */
blockquote.pull { margin: 72px auto 0; padding: 0; border: 0; max-width: 40ch; text-align: center; }
blockquote.pull p { font-size: 30px; line-height: 1.25; margin: 0 0 10px; text-wrap: balance; }
blockquote.pull cite { color: var(--brass); }

/* ---- gigs ---- */
.gigs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.gigs li { display: grid; grid-template-columns: 14ch 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--petrol-2); }
.gigs time { font-family: var(--mono); font-size: 12px; color: var(--brass); padding-top: 5px; }
.gigs .where { font-size: 19px; }
.gigs .note { display: block; margin-top: 2px; }
.gigs .series { color: var(--brass); }
.gigs .place { color: var(--bone-dim); }
.gigs .where a { text-decoration: none; }
.gigs .where a:hover { text-decoration: underline; }
.gigs .about { display: block; margin-top: 4px; color: var(--bone-dim); font-size: 15px; max-width: var(--measure); }
.gigs .links { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.gigs .links a { color: var(--brass); text-decoration: none; }
.gigs .links a:hover { text-decoration: underline; }
.gigs .links .sep { color: var(--petrol-2); padding: 0 8px; }
.gigs .links .cal { margin-left: 0; }
.gigs .empty { grid-template-columns: 1fr; color: var(--bone-dim); border-bottom: 0; }
.gigs .cal { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--brass); text-decoration: none; margin-left: 10px; white-space: nowrap; }
.gigs .cal:hover { text-decoration: underline; }
.next-up { margin: 0 0 28px; }
.next-up .more { display: inline-block; margin-top: 16px; }

/* ---- library tables ---- */
table.lib { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 16px; }
table.lib th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: var(--bone-dim); padding: 6px 12px 8px 0; border-bottom: 1px solid var(--petrol-2); }
table.lib td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--petrol-2); vertical-align: baseline; }
table.lib td:last-child, table.lib th:last-child { padding-right: 0; }
table.lib td.level { font-family: var(--mono); font-size: 12px; color: var(--bone-dim); white-space: nowrap; }
table.lib td.artist { color: var(--bone-dim); }
table.lib tr.missing td { color: var(--bone-dim); opacity: .6; }
table.lib tr.missing .soon { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-left: 10px; }
table.lib a { text-decoration: none; }
table.lib a:hover { text-decoration: underline; }
.lib-count { font-family: var(--mono); font-size: 12px; color: var(--bone-dim); margin: -6px 0 12px; }

/* ---- forms (contact) ---- */
form.std { max-width: 480px; display: grid; gap: 14px; }
form.std label { display: grid; gap: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
input, textarea, button { font: inherit; }
input[type="text"], input[type="email"], textarea { width: 100%; background: var(--petrol); color: var(--bone); border: 1px solid var(--petrol-2); border-radius: 5px; padding: 10px 12px; font-family: var(--sans); font-size: 17px; }
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--brass); outline: none; }
button, .btn { display: inline-block; background: var(--petrol); color: var(--bone); border: 1px solid var(--brass); border-radius: 5px; padding: 10px 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
button:hover, .btn:hover { background: var(--petrol-2); color: var(--brass); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- embeds ---- */
.embed { margin: 0 0 22px; }
.embed iframe { display: block; border: 0; border-radius: 8px; width: 100%; }
.embed.video iframe { aspect-ratio: 16 / 9; height: auto; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; margin: 0 0 22px; }
.videos figure { margin: 0; }
.yt-all { margin: -4px 0 22px; }
.videos figcaption { margin-top: 8px; font-size: 16px; line-height: 1.4; }
.videos figcaption .when { font-family: var(--mono); font-size: 12px; color: var(--bone-dim); margin-left: 10px; }
.albums { display: grid; gap: 40px; margin-top: 36px; }
.album { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--petrol-2); }
.album:last-child { border-bottom: 0; }
.album h2 { margin-top: 0; }

/* ---- press photos ---- */
.press { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.press li { display: grid; gap: 6px; }
.press img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 5px; background: var(--petrol); }
.press a.dl { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--bone-dim); text-decoration: none; }
.press a.dl:hover { color: var(--brass); }

/* ---- small screens ---- */
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  p.lede { font-size: 17px; }
  .site-head { margin-bottom: 30px; }
  .hero img { height: 62vh; }
  .hero h1 { font-size: 44px; }
  .hero .lede { font-size: 17px; }
  .banner { height: 200px; }
  .split { grid-template-columns: 1fr; }
  .split .photo { max-width: 360px; }
  .features { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .features.three { grid-template-columns: 1fr; }
  blockquote.pull p { font-size: 24px; }
  .gigs li { grid-template-columns: 1fr; gap: 2px; }
  .album { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .site-nav { gap: 2px; }
  .site-nav a { padding: 8px 9px; }
}
