/* Brenda's Bitter Brew — public site. No external fonts, scripts or trackers. */
:root {
  --paper: #faf6ee; --page: #e9e2d6; --ink: #2b1f18; --muted: #6b5846; --faint: #8a7560;
  --rule: #2b1810; --accent: #8b4513; --accent-ink: #fff7ea; --mast: #2b1810; --mast-ink: #f5ecd9;
  --gold: #d9b27c; --card: #f7ecdc; --card-edge: #d9b98f; --dot: #c8b394; --line: #eadfcd;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: -apple-system, 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #221a15; --page: #17110d; --ink: #eee3d3; --muted: #c4b19c; --faint: #a38f7a;
    --rule: #d9b27c; --accent: #e0a066; --accent-ink: #1b130e; --mast: #120c09; --mast-ink: #f5ecd9;
    --card: #2c221b; --card-edge: #5b4634; --dot: #5b4634; --line: #3a2d23;
  }
}
* { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); padding: 6px 10px; z-index: 9; }

.paper { max-width: 980px; margin: 0 auto; background: var(--paper); min-height: 100vh; border-left: 1px solid var(--card-edge); border-right: 1px solid var(--card-edge); }
.satire { background: var(--accent); color: var(--accent-ink); text-align: center; font: 600 12px/1.4 var(--sans); padding: 6px 16px; letter-spacing: .3px; }
.satire a { color: inherit; }
.preview { background: #b00020; color: #fff; text-align: center; font: 700 13px var(--sans); padding: 6px; }

.mast { background: var(--mast); color: var(--mast-ink); text-align: center; padding: 26px 16px 16px; }
.mast a { color: inherit; text-decoration: none; }
.mast h1, .mast .title { margin: 0; font: bold clamp(28px, 6vw, 48px)/1.05 var(--serif); letter-spacing: 2px; }
.mast .motto { margin: 8px 0 0; font: italic 15px var(--serif); color: var(--gold); }
.dateline { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; border-top: 1px solid var(--gold); margin-top: 14px; padding-top: 8px; font: 600 12px var(--sans); letter-spacing: .4px; color: var(--mast-ink); }

nav.sections { border-bottom: 3px double var(--rule); background: var(--paper); }
nav.sections ul { list-style: none; margin: 0 auto; padding: 0 8px; display: flex; flex-wrap: wrap; justify-content: center; }
nav.sections a { display: block; padding: 10px 12px; font: 700 13px var(--sans); letter-spacing: .8px; text-transform: uppercase; color: var(--ink); text-decoration: none; }
nav.sections a[aria-current="page"], nav.sections a:hover { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }

main { padding: 22px clamp(16px, 4vw, 34px) 30px; }
.kicker { font: 700 11px var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.2; }
h1.page { font-size: clamp(26px, 4.5vw, 36px); margin: 0 0 6px; }
.lede-sub { color: var(--muted); margin: 0 0 18px; }
.sec { border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); text-align: center; font: bold 15px var(--serif); letter-spacing: 2px; padding: 7px 0; margin: 28px 0 16px; text-transform: uppercase; }

/* Front page grid */
.front { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .front { grid-template-columns: 2fr 1fr; } }
.lead { background: var(--card); border: 1px solid var(--card-edge); padding: 18px 20px; }
.lead h2 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 10px; }
.lead h2 a, .teaser h3 a { color: var(--ink); text-decoration: none; }
.lead h2 a:hover, .teaser h3 a:hover { color: var(--accent); }
.teaser { padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px dotted var(--dot); }
.teaser:last-child { border-bottom: 0; }
.teaser h3 { font-size: 19px; margin: 0 0 6px; }
.excerpt { color: var(--muted); }
.quip { font-family: var(--serif); font-style: italic; }
.more { font: 700 13px var(--sans); }
.side h2 { font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; border-bottom: 2px solid var(--rule); padding-bottom: 4px; margin: 0 0 12px; }

/* Story */
article.story { max-width: 680px; margin: 0 auto; }
article.story h1 { font-size: clamp(26px, 5vw, 38px); margin: 0 0 12px; }
.fact { border-left: 4px solid var(--accent); padding: 4px 0 4px 14px; margin: 0 0 18px; }
.fact p { margin: 0 0 6px; }
.src { font-size: 13px; color: var(--faint); margin: 4px 0 0; }
.says { font-family: var(--serif); font-size: 19px; }
.says b { font-family: var(--sans); font-size: 13px; letter-spacing: .8px; text-transform: uppercase; color: var(--accent); }
.callback { background: var(--card); border: 1px dashed var(--card-edge); padding: 10px 14px; font-size: 14px; color: var(--muted); }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 14px; }

/* Jeff Watch */
.jeff { border: 2px dashed; padding: 16px 18px; text-align: center; border-radius: 2px; color: #2b1f18; }
.jeff .t1 { font: bold 15px var(--serif); letter-spacing: 1.5px; }
.jeff .t2 { font: bold 12px var(--serif); letter-spacing: 1.2px; margin: 4px 0 12px; text-transform: uppercase; opacity: .8; }
.jeff p { margin: 0 0 7px; font-size: 15px; }
.meter { height: 14px; border: 1px solid; margin: 12px 0 10px; }
.meter div { height: 12px; }
.band-low { background: #e3f1df; border-color: #3f7a3a; } .band-low .t1 { color: #2f6a2b; } .band-low .meter { background: #c6e2bf; border-color: #3f7a3a; } .band-low .meter div { background: #3f7a3a; }
.band-mid { background: #fdf0d5; border-color: #b7791f; } .band-mid .t1 { color: #995f0b; } .band-mid .meter { background: #f3d9a4; border-color: #b7791f; } .band-mid .meter div { background: #b7791f; }
.band-high { background: #fde6e4; border-color: #9b1111; } .band-high .t1 { color: #9b1111; } .band-high .meter { background: #f2c4c0; border-color: #9b1111; } .band-high .meter div { background: #9b1111; }
.jefflog { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.jefflog .jeff { text-align: left; }

/* Notices, advert, sign-off */
table.notices { width: 100%; border-collapse: collapse; }
.notices td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.notices td.k { font-weight: bold; width: 140px; padding-right: 12px; color: var(--muted); }
.ad { border: 3px double var(--rule); padding: 14px 16px; text-align: center; max-width: 520px; margin: 0 auto; }
.ad .lab { font-size: 10px; letter-spacing: 2px; color: var(--faint); }
.ad .ttl { font: bold 18px var(--serif); letter-spacing: 1.5px; margin: 6px 0; text-transform: uppercase; }
.ad .tag { font-style: italic; margin: 0 0 4px; }
.ad .sp { font-size: 13px; color: var(--muted); margin: 0; }
.sign { text-align: center; font: italic 17px var(--serif); max-width: 560px; margin: 0 auto; }
.sign .who { font-style: normal; font-weight: bold; margin-bottom: 6px; }
.orn { text-align: center; color: var(--accent); font-size: 18px; margin: 22px 0; }
audio { width: 100%; margin: 8px 0 0; }
.listen { background: var(--card); border: 1px solid var(--card-edge); padding: 12px 14px; margin: 0 0 18px; }
.listen p { margin: 0; font: 700 13px var(--sans); }

/* Lists */
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 10px 0; border-bottom: 1px dotted var(--dot); }
.day-group h2 { font-size: 18px; margin: 24px 0 8px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 26px 0 0; font: 700 14px var(--sans); }
.weathercard { background: var(--card); border: 1px solid var(--card-edge); padding: 14px 16px; margin: 0 0 14px; }
.weathercard .nums { font: bold 20px var(--serif); }
.trend { color: var(--muted); font-size: 14px; margin: 4px 0 8px; }

footer { border-top: 3px double var(--rule); padding: 18px 20px 30px; text-align: center; font-size: 13px; color: var(--faint); line-height: 1.6; }
footer a { color: var(--faint); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .notices td.k { width: 92px; }
  nav.sections a { padding: 8px 9px; font-size: 12px; }
}

.notices .wx { font-weight: normal; font-size: 12px; }
.meter .w0 { width: 0%; }
.meter .w5 { width: 5%; } .meter .w10 { width: 10%; } .meter .w15 { width: 15%; } .meter .w20 { width: 20%; } .meter .w25 { width: 25%; }
.meter .w30 { width: 30%; } .meter .w35 { width: 35%; } .meter .w40 { width: 40%; } .meter .w45 { width: 45%; } .meter .w50 { width: 50%; }
.meter .w55 { width: 55%; } .meter .w60 { width: 60%; } .meter .w65 { width: 65%; } .meter .w70 { width: 70%; } .meter .w75 { width: 75%; }
.meter .w80 { width: 80%; } .meter .w85 { width: 85%; } .meter .w90 { width: 90%; } .meter .w95 { width: 95%; } .meter .w100 { width: 100%; }
.side h2.gap { margin-top: 22px; }
.share { margin: 0 0 12px; }
