*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,system-ui,sans-serif;line-height:1.7;color:#333;background:#fff}
.footer-a116d1{max-width:780px;margin:0 auto;padding:0 20px}
header{background:#1a1a2e;color:#fff;padding:32px 0;margin-bottom:40px}
header h1{font-size:28px;margin-bottom:4px}
header p{opacity:.7;font-size:15px}
header .shell-c1ab1c{color:#fff;text-decoration:none;font-size:18px;font-weight:600}
.content-de02a0{border-bottom:1px solid #eee;padding:24px 0}
.content-de02a0 h2{font-size:20px;margin-bottom:8px}
.content-de02a0 h2 a{color:#1a1a2e;text-decoration:none}
.content-de02a0 h2 a:hover{color:#e94560}
.content-de02a0 .date{font-size:13px;color:#999;margin-bottom:8px}
.container-32c0ad{color:#e94560;text-decoration:none;font-size:14px;font-weight:600}
.inner-c34af8{padding-bottom:60px}
.inner-c34af8 h1{font-size:32px;margin-bottom:8px}
.inner-c34af8 time{font-size:13px;color:#999;display:block;margin-bottom:24px}
.inner-c34af8 h2{font-size:22px;margin:32px 0 12px}
.inner-c34af8 h3{font-size:18px;margin:24px 0 8px}
.inner-c34af8 p{margin-bottom:16px}
.inner-c34af8 ul,.inner-c34af8 ol{margin:0 0 16px 24px}
.inner-c34af8 a{color:#e94560}
.inner-c34af8 img{max-width:100%;height:auto;border-radius:8px;margin:16px 0}
footer{border-top:1px solid #eee;padding:24px 0;margin-top:40px;text-align:center;font-size:13px;color:#999}
footer a{color:#999}
.footer-f1c66d{background:#f5f5f5;border-left:3px solid #999;padding:10px 14px;margin-bottom:20px;font-size:13px;color:#777;font-style:italic}
.header-500f7e{background:#fef9e7;border:1px solid #f0c36d;padding:10px 14px;margin-top:20px;font-size:12px;color:#8a6d3b}
.region-3323d3{font-size:13px;color:#999;margin:-16px 0 24px;font-style:italic}
.module-42b44f{text-align:center;margin:0 0 20px}
.footer-29d1f9{max-width:100%;height:auto;border-radius:6px}
.header-dc9e07{margin-top:40px;padding-top:24px;border-top:1px solid #eee}
.header-dc9e07 h3{font-size:18px;margin-bottom:12px}
.header-dc9e07 ul{list-style:none;padding:0}
.header-dc9e07 li{padding:4px 0}
.header-dc9e07 a{color:#e94560;text-decoration:none}
.layout-548345{padding:20px 0}
.layout-548345 ul{list-style:none;padding:0}
.layout-548345 li{padding:5px 0;font-size:15px}
.layout-548345 a{color:#1a1a2e;text-decoration:none}
.layout-548345 a:hover{color:#e94560}
/* === Theme === */
:root{--primary:#C9722B;--accent:#2C4055;--bg:#ECE3CA;--fg:#1A1F2A;--border:#C9BFA6;--r:3px;--fb:'IBM Plex Sans';--fh:'Roboto Slab'}
/* === Custom === */
/* v.47d3a1 — layout revision */
/*
 * Stowdry — editorial-signature pass (emergency-water-preparedness / Jason Parker).
 * Voices:  Source Serif 4  = display + article body (the calm editorial voice)
 *          IBM Plex Sans   = card excerpts + UI
 *          IBM Plex Mono   = meta/labels (the IT-support "log file" voice — the signature)
 * Moment color: bronze #7A5A3C used EXACTLY twice — Editor's Picks label + hero drop cap.
 * Signature:    double-wave water mark (SVG data URI) in masthead + footer + italic wordmark.
 * All selectors are element/structural. `:is(#qafix, el)` claims ID-level specificity to
 * beat the obfuscated base theme and any earlier round (#qafix is absent from the DOM,
 * so matching happens through the `main`/`header` alternative while keeping ID weight).
 */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400;1,8..60,600&display=swap');

:root body {
  font-family: var(--fb), system-ui, -apple-system, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.74;
  font-size: 16px;
}
::selection { background: var(--primary); color: #FBF6EA; }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }

/* ======================================================================
   1. MASTHEAD — atmospheric band, serif-italic wordmark, wave mark, manifesto
   ====================================================================== */

:root :is(#qafix, header) {
  background:
    linear-gradient(158deg, rgba(20, 24, 32, .90) 0%, rgba(44, 64, 85, .84) 52%, rgba(122, 90, 60, .70) 100%),
    url("/theme-assets/masthead-bg.jpg") center 40% / cover no-repeat,
    var(--accent);
  border-bottom: 4px solid var(--primary);
  padding: 56px 0 36px;
  margin-bottom: 56px;
  color: #F3EBD8;
}
/* article-page header is a slimmer band (contains the wordmark <a>, not <h1>) */
:root :is(#qafix, header):has(> div > a) {
  padding: 24px 0 20px;
  margin-bottom: 44px;
}
:root :is(#qafix, header) > div {
  padding: 0 24px;
  border-bottom: 0;
}

:root :is(#qafix, header) h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 46px;
  letter-spacing: -.015em;
  line-height: 1.06;
  color: #F5EEDD;
  margin-bottom: 12px;
}
:root :is(#qafix, header) h1::before {
  content: '';
  display: block;
  width: 52px;
  height: 21px;
  margin-bottom: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 20'><path d='M1 6 Q7 0 13 6 T25 6 T37 6 T47 6' fill='none' stroke='%23C9722B' stroke-width='2.4' stroke-linecap='round'/><path d='M1 14 Q7 8 13 14 T25 14 T37 14 T47 14' fill='none' stroke='%23ECE3CA' stroke-width='2.4' stroke-linecap='round' opacity='.75'/></svg>") left center / contain no-repeat;
}
:root :is(#qafix, header) h1 + p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.58;
  color: rgba(243, 235, 216, .86);
  max-width: 560px;
}
/* manifesto strap — the persona in one mono "log" line */
:root :is(#qafix, header) > div:has(> h1)::after {
  content: 'GREATER HOUSTON\00A0\00B7\00A0EVERY TANK, FILTER & TABLET TESTED IN MY GARAGE\00A0\00B7\00A0DRY-RUN READY SINCE BERYL, 2024';
  display: block;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(243, 235, 216, .28);
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: .18em;
  color: rgba(243, 235, 216, .70);
}

/* article-page wordmark link: wave + italic serif */
:root :is(#qafix, header) > div > a {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -.01em;
  color: #F5EEDD;
  text-decoration: none;
}
:root :is(#qafix, header) > div > a::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 14px;
  margin-right: 11px;
  vertical-align: 1px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 20'><path d='M1 6 Q7 0 13 6 T25 6 T37 6 T47 6' fill='none' stroke='%23C9722B' stroke-width='2.6' stroke-linecap='round'/><path d='M1 14 Q7 8 13 14 T25 14 T37 14 T47 14' fill='none' stroke='%23ECE3CA' stroke-width='2.6' stroke-linecap='round' opacity='.75'/></svg>") left center / contain no-repeat;
}

/* ======================================================================
   2. HOMEPAGE — hero -> Editor's Picks -> strip -> Garage Log grid -> strip -> archive
   Homepage <main> is the only one with `> article > .date`.
   ====================================================================== */

:root :is(#qafix, main):has(> article > .date) {
  max-width: 1140px;
  padding: 0 24px 72px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 30px;
  row-gap: 40px;
  align-items: stretch;
}
:root :is(#qafix, main):has(> article > .date) > article {
  grid-column: 1 / -1;
  border-bottom: 0;
  padding: 0;
  margin: 0;
}

/* ---------- 2a. HERO — the one loud voice ---------- */
:root :is(#qafix, main):has(> article > .date) > article:first-of-type {
  order: 1;
  padding: 4px 0 0;
}
:root :is(#qafix, main):has(> article > .date) > article:first-of-type::before {
  content: 'LATEST FIELD TEST';
  display: inline-block;
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .24em;
  color: #F3EBD8;
  background: var(--accent);
  padding: 5px 13px 4px;
  border-radius: 3px;
  margin-bottom: 22px;
}
:root :is(#qafix, main):has(> article > .date) > article:first-of-type > h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  max-width: 15ch;
}
:root :is(#qafix, main):has(> article > .date) > article:first-of-type > h2 a { color: var(--fg); text-decoration: none; }
:root :is(#qafix, main):has(> article > .date) > article:first-of-type > h2 a:hover { color: var(--primary); }
:root :is(#qafix, main):has(> article > .date) > article:first-of-type > .date {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
:root :is(#qafix, main):has(> article > .date) > article:first-of-type > .date::before { content: 'BY JASON PARKER\00A0\00B7\00A0'; }
:root :is(#qafix, main):has(> article > .date) > article:first-of-type > p:not(.date) {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  line-height: 1.55;
  opacity: 1;
  max-width: 64ch;
  margin-bottom: 24px;
}
/* MOMENT COLOR #1 — hero drop cap, bronze */
:root :is(#qafix, main):has(> article > .date) > article:first-of-type > p:not(.date)::first-letter {
  float: left;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 62px;
  line-height: .82;
  color: #7A5A3C;
  padding: 6px 12px 0 0;
}
:root :is(#qafix, main):has(> article > .date) > article:first-of-type > a:last-child {
  display: inline-block;
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 10px 24px;
}
:root :is(#qafix, main):has(> article > .date) > article:first-of-type > a:last-child:hover {
  background: var(--accent);
  color: #F3EBD8;
}
/* Editor's Picks label — full-width block at the foot of the hero, above the band.
   MOMENT COLOR #2 — bronze. (RULE B: full row, outside any card frame.) */
:root :is(#qafix, main):has(> article > .date) > article:first-of-type::after {
  content: 'EDITOR\2019S PICKS\00A0\2014\00A0READ THESE FIRST';
  display: block;
  margin-top: 44px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(122, 90, 60, .38);
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  color: #7A5A3C;
}

/* ---------- 2b. EDITOR'S PICKS — 3-up band ---------- */
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(2),
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(3),
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(4) {
  order: 2;
  grid-column: span 2;
  background: #F6EFDD;
  border: 1px solid rgba(44, 64, 85, .14);
  border-top: 3px solid var(--primary);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  padding: 26px 32px 28px;
}
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(2) > .date,
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(3) > .date,
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(4) > .date {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(2) > h2,
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(3) > h2,
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(4) > h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -.008em;
  margin-bottom: 10px;
}
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(2) > h2 a,
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(3) > h2 a,
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(4) > h2 a { color: var(--fg); text-decoration: none; }
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(2) > h2 a:hover,
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(3) > h2 a:hover,
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(4) > h2 a:hover { color: var(--primary); }
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(2) > p:not(.date),
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(3) > p:not(.date),
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(4) > p:not(.date) {
  font-size: 14px;
  line-height: 1.6;
  opacity: .9;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* ---------- STRIP 1 — chapter break between Picks and the Garage Log (RULE F) ---------- */
:root :is(#qafix, main):has(> article > .date)::before {
  content: 'MORE ESSAYS BELOW';
  order: 3;
  grid-column: 1 / -1;
  min-height: 200px;
  margin: 32px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background:
    linear-gradient(rgba(20, 24, 28, .55), rgba(20, 24, 28, .25)),
    url("/theme-assets/chapter-cover.jpg") center 30% / cover no-repeat,
    linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #F3EBD8;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}

/* ---------- Journal (Garage Log) section label — full-width (RULE B) ---------- */
:root :is(#qafix, main):has(> article > .date)::after {
  content: 'THE GARAGE LOG\00A0\2014\00A0EVERY TEST, NEWEST FIRST';
  order: 4;
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(44, 64, 85, .28);
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--accent);
}

/* ---------- 2c. GARAGE LOG — quiet 2-col chronological grid ---------- */
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(n+5) {
  order: 5;
  grid-column: span 3;
  background: #F3ECDA;
  border: 1px solid rgba(44, 64, 85, .10);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  padding: 26px 32px;
}
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(n+5) > .date {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .8;
  margin-bottom: 9px;
}
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(n+5) > h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.006em;
  margin-bottom: 8px;
}
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(n+5) > h2 a { color: var(--fg); text-decoration: none; }
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(n+5) > h2 a:hover { color: var(--primary); }
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(n+5) > p:not(.date) {
  font-size: 14.5px;
  line-height: 1.58;
  opacity: .88;
  margin-bottom: 14px;
  max-width: 64ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Card "Read More" — quiet mono arrow link (picks + log) */
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(n+2) > a:last-child {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
}
:root :is(#qafix, main):has(> article > .date) > article:nth-of-type(n+2) > a:last-child:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- STRIP 2 + archive tail (RULE F strip2 + RULE G full-width index) ---------- */
:root :is(#qafix, main):has(> article > .date) > section {
  order: 6;
  grid-column: 1 / -1;
  margin: 44px 0 0;
  padding: 0;
  border-top: 0;
}
:root :is(#qafix, main):has(> article > .date) > section::before {
  content: 'OLDER ENTRIES';
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin-bottom: 34px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(20, 24, 28, .55), rgba(20, 24, 28, .25)),
    url("/theme-assets/chapter-cover.jpg") center 70% / cover no-repeat,
    linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #F3EBD8;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
:root :is(#qafix, main):has(> article > .date) > section > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 48px;
}
:root :is(#qafix, main):has(> article > .date) > section > ul > li {
  padding: 11px 0;
  border-bottom: 1px dotted rgba(44, 64, 85, .22);
  break-inside: avoid;
  line-height: 1.4;
}
:root :is(#qafix, main):has(> article > .date) > section > ul > li > a {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: var(--fg);
  text-decoration: none;
}
:root :is(#qafix, main):has(> article > .date) > section > ul > li > a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ======================================================================
   3. ARTICLE PAGES — display title, dinkus, hanging quote, affiliate chips
   ====================================================================== */

:root :is(#qafix, main) > h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 41px;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--fg);
  margin: 14px 0 12px;
}
:root :is(#qafix, main) > h1::before {
  content: 'FROM THE GARAGE LAB';
  display: block;
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--primary);
  margin-bottom: 16px;
}
:root :is(#qafix, main) > time {
  display: block;
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 30px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* body copy — serif reading voice */
:root :is(#qafix, main) > article:not(:has(> .date)) > p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 18px;
}
:root :is(#qafix, main) > article:not(:has(> .date)) ul,
:root :is(#qafix, main) > article:not(:has(> .date)) ol { margin: 0 0 18px 22px; }
:root :is(#qafix, main) > article:not(:has(> .date)) li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17.5px;
  line-height: 1.68;
  margin-bottom: 8px;
}

/* h2 — quiet serif head beneath a centered water dinkus */
:root :is(#qafix, main) > article:not(:has(> .date)) > h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -.014em;
  color: var(--accent);
  background: transparent;
  border: 0;
  padding: 0;
  text-transform: none;
  margin: 56px 0 16px;
}
:root :is(#qafix, main) > article:not(:has(> .date)) > h2::before {
  content: '\2248\00A0\2248\00A0\2248';
  display: block;
  text-align: center;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: .5em;
  color: var(--primary);
  margin-bottom: 40px;
}

/* h3 — mono log sub-marker */
:root :is(#qafix, main) > article:not(:has(> .date)) > h3 {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7A3B1E;
  border: 0;
  padding: 0;
  margin: 34px 0 10px;
}

/* blockquote — hanging quote, no panel */
:root :is(#qafix, main) > article:not(:has(> .date)) blockquote {
  position: relative;
  border: 0;
  background: transparent;
  padding: 2px 0 2px 44px;
  margin: 32px 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.58;
  color: var(--accent);
}
:root :is(#qafix, main) > article:not(:has(> .date)) blockquote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -6px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
  color: var(--primary);
}

/* body links — navy text, orange underline */
:root :is(#qafix, main) > article:not(:has(> .date)) > p a,
:root :is(#qafix, main) > article:not(:has(> .date)) > p a:visited {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
:root :is(#qafix, main) > article:not(:has(> .date)) > p a:hover {
  color: var(--primary);
  text-decoration-color: var(--accent);
}

/* AFFILIATE CTAs — navy product chips, unmistakably distinct from orange text links */
:root :is(#qafix, main) > article > p a[href^="/try/"],
:root :is(#qafix, main) > article > p a[href^="/ref/"],
:root :is(#qafix, main) > article > p a[href^="/go/"],
:root :is(#qafix, main) > article > p a[href^="/out/"],
:root :is(#qafix, main) > article > p a[href^="http"]:not([href*="stowdry.com"]) {
  display: inline-block;
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
  color: #F3EBD8;
  background: var(--accent);
  border: 0;
  border-radius: 3px;
  padding: 1px 9px 2px;
  text-decoration: none;
}
:root :is(#qafix, main) > article > p a[href^="/try/"]::after,
:root :is(#qafix, main) > article > p a[href^="/ref/"]::after,
:root :is(#qafix, main) > article > p a[href^="/go/"]::after,
:root :is(#qafix, main) > article > p a[href^="/out/"]::after,
:root :is(#qafix, main) > article > p a[href^="http"]:not([href*="stowdry.com"])::after {
  content: ' \2197';
  font-size: 11px;
  opacity: .75;
}
:root :is(#qafix, main) > article > p a[href^="/try/"]:hover,
:root :is(#qafix, main) > article > p a[href^="/ref/"]:hover,
:root :is(#qafix, main) > article > p a[href^="/go/"]:hover,
:root :is(#qafix, main) > article > p a[href^="/out/"]:hover,
:root :is(#qafix, main) > article > p a[href^="http"]:not([href*="stowdry.com"]):hover {
  background: var(--primary);
  color: #FFF6E6;
  text-decoration: none;
}

/* article images */
:root :is(#qafix, main) > article:not(:has(> .date)) > div:has(> img) { margin: 0 0 28px; }
:root :is(#qafix, main) > article:not(:has(> .date)) > div:has(> img) > img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* affiliate-disclosure / caption strip (div wrapping <em>) */
:root :is(#qafix, main) > article:not(:has(> .date)) > div:has(> em) {
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  margin-top: 36px;
  font-size: 13px;
  color: var(--fg);
  font-family: var(--fb), system-ui, sans-serif;
  background: rgba(201, 114, 43, .05);
}
:root :is(#qafix, main) > article:not(:has(> .date)) > div:has(> em) em {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-style: normal;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .14em;
  display: inline-block;
  margin-right: 8px;
  font-weight: 500;
}

/* related-articles list (article-page <section>) */
:root :is(#qafix, main) > section > h3 {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-weight: 500;
  font-size: 11.5px;
  color: var(--primary);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
:root :is(#qafix, main) > section > ul { list-style: none; margin: 0; padding: 0; }
:root :is(#qafix, main) > section > ul > li { padding: 9px 0; border-bottom: 1px dotted var(--border); }
:root :is(#qafix, main) > section > ul > li:last-child { border-bottom: 0; }
:root :is(#qafix, main) > section > ul > li > a {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: var(--fg);
  text-decoration: none;
}
:root :is(#qafix, main) > section > ul > li > a:hover { color: var(--primary); }

/* about / author / policy pages (h1 inside article) */
:root :is(#qafix, main) > article > h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -.016em;
  line-height: 1.14;
  margin: 8px 0 10px;
}
:root :is(#qafix, main) > article > h1 + p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 26px;
}

/* ======================================================================
   4. FOOTER — wave signature bookend
   ====================================================================== */
:root footer {
  background: transparent;
  border-top: 1px solid var(--border);
  padding: 26px 0 34px;
  margin-top: 56px;
  text-align: center;
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-size: 11px;
  color: var(--fg);
  letter-spacing: .08em;
}
:root footer > div { opacity: .62; }
:root footer > div::before {
  content: '';
  display: block;
  width: 46px;
  height: 19px;
  margin: 0 auto 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 20'><path d='M1 6 Q7 0 13 6 T25 6 T37 6 T47 6' fill='none' stroke='%23C9722B' stroke-width='2.4' stroke-linecap='round'/><path d='M1 14 Q7 8 13 14 T25 14 T37 14 T47 14' fill='none' stroke='%232C4055' stroke-width='2.4' stroke-linecap='round' opacity='.6'/></svg>") center / contain no-repeat;
}
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* ======================================================================
   5. RESPONSIVE
   ====================================================================== */
@media (max-width: 860px) {
  :root :is(#qafix, main):has(> article > .date) {
    grid-template-columns: 1fr 1fr;
  }
  :root :is(#qafix, main):has(> article > .date) > article:first-of-type > h2 { font-size: 34px; max-width: none; }
  :root :is(#qafix, main):has(> article > .date) > article:nth-of-type(2),
  :root :is(#qafix, main):has(> article > .date) > article:nth-of-type(3),
  :root :is(#qafix, main):has(> article > .date) > article:nth-of-type(4) { grid-column: 1 / -1; }
  :root :is(#qafix, main):has(> article > .date) > article:nth-of-type(n+5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root :is(#qafix, header) h1 { font-size: 34px; }
  :root :is(#qafix, header) > div:has(> h1)::after { letter-spacing: .1em; font-size: 9.5px; }
  :root :is(#qafix, main):has(> article > .date) { grid-template-columns: 1fr; padding-bottom: 48px; }
  :root :is(#qafix, main):has(> article > .date) > article:first-of-type > h2 { font-size: 30px; }
  :root :is(#qafix, main):has(> article > .date) > section > ul { columns: 1; }
  :root :is(#qafix, main) > h1 { font-size: 31px; }
  :root :is(#qafix, main) > article:not(:has(> .date)) > h2 { font-size: 23px; }
}
