*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.75;color:#333;background:#f0f2f5}
.astro-fgwA6j8r{max-width:860px;margin:0 auto;padding:0 20px}
.astro-KhvApFa8{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.astro-KhvApFa8 h1{font-size:22px;font-weight:700;margin-bottom:2px}
.astro-KhvApFa8 p{font-size:14px;color:#666}
.astro-KhvApFa8 a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.astro-ZRRiEdkE{display:flex;flex-direction:column;gap:20px}
.astro-1kEkkZC2{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.astro-1kEkkZC2:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.astro-1kEkkZC2 h2{font-size:19px;margin-bottom:6px}
.astro-1kEkkZC2 h2 a{color:#1a1a1a;text-decoration:none}
.astro-1kEkkZC2 .astro-aqtvZASu{font-size:12px;color:#999;margin-bottom:8px}
.astro-1kEkkZC2 p{font-size:14px;color:#555;margin-bottom:12px}
.astro-nfe04V5a{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.astro-nfe04V5a:hover{background:#4752c4}
.astro-SfgqKiEw{padding-bottom:60px}
.astro-SfgqKiEw h1{font-size:30px;font-weight:700;margin-bottom:8px}
.astro-SfgqKiEw time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.astro-SfgqKiEw h2{font-size:22px;margin:32px 0 12px}
.astro-SfgqKiEw h3{font-size:18px;margin:24px 0 8px}
.astro-SfgqKiEw p{margin-bottom:16px}
.astro-SfgqKiEw ul,.astro-SfgqKiEw ol{margin:0 0 16px 24px}
.astro-SfgqKiEw a{color:#5865f2}
.astro-SfgqKiEw img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.astro-rHzUgj03{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.astro-rHzUgj03 a{color:#999;text-decoration:none}
.astro-bnkaBZqs{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.astro-wBWTE7Gr{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.astro-hOK7Z94t{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.astro-9MIt3RjN{text-align:center;margin:0 0 24px}
.astro-6taA3Bhk{max-width:100%;height:auto;border-radius:12px}
.astro-95IoJsyV{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.astro-95IoJsyV h3{font-size:16px;font-weight:700;margin-bottom:12px}
.crd-related-list{display:flex;flex-direction:column;gap:8px}
.crd-related-link{display:block;background:#fff;border-radius:8px;padding:10px 14px;color:#333;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.06);font-size:14px}
.crd-related-link:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
.astro-yGs2cQ6z{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.astro-mvyzrQkI{display:block;background:#fff;border-radius:8px;padding:10px 16px;color:#1a1a1a;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.05);font-size:15px}
.astro-mvyzrQkI:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#7A4A38;--accent:#5C8AC9;--bg:#F0E8D9;--fg:#0F1820;--border:#C0B3A0;--r:5px;--fb:'Schibsted Grotesk';--fh:'Vesper Libre'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Vesper+Libre:wght@400;500;700&family=Schibsted+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root body { font-family: var(--fb), system-ui, -apple-system, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.70; font-size: 16.5px; }
::selection { background: var(--accent); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 30px 0; }

:root > body > header { background: var(--primary); color: var(--bg); padding: 50px 0 32px; margin-bottom: 44px; border-bottom: 3px solid var(--accent); }
:root > body > header > div { max-width: 800px; margin: 0 auto; padding: 0 24px; }
:root > body > header h1 { font-family: var(--fh), Cambria, serif; font-size: 36px; font-weight: 500; color: var(--bg); line-height: 1.16; margin-bottom: 8px; }
:root > body > header p { font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; color: rgba(240, 232, 217, .82); max-width: 700px; }
:root > body > header a { font-family: var(--fh), Cambria, serif; font-size: 26px; color: var(--bg); text-decoration: none; font-weight: 500; }

:root main { max-width: 800px; margin: 0 auto; padding: 0 24px 70px; }

:root main > h1 { font-family: var(--fh), Cambria, serif; font-size: 32px; font-weight: 500; color: var(--primary); line-height: 1.20; margin: 6px 0 6px; }
:root main > time { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--accent); margin-bottom: 28px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

:root main > article > p { margin-bottom: 18px; font-size: 16.5px; max-width: 720px; }
:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-size: 25px; font-weight: 500; color: var(--primary); margin: 36px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--accent); max-width: 720px; }
:root main > article > h3 { font-family: var(--fh), Cambria, serif; font-size: 19px; font-weight: 500; color: var(--accent); margin: 24px 0 10px; max-width: 720px; }
:root main > article ul, :root main > article ol { margin: 0 0 18px 26px; max-width: 720px; }
:root main > article li { margin-bottom: 6px; font-size: 16px; }
:root main > article li strong { color: var(--primary); font-weight: 700; }
:root main > article blockquote { border-left: 3px solid var(--accent); padding: 12px 0 12px 22px; margin: 26px 0; font-style: italic; color: var(--primary); background: rgba(92, 138, 201, .08); border-radius: 0 var(--r) var(--r) 0; max-width: 720px; }
:root main > article > p strong { color: var(--primary); font-weight: 700; }
:root main > article > p code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 14px; background: rgba(122, 74, 56, .08); padding: 1px 6px; border-radius: var(--r); }

:root main > article > p a, :root main > article > p a:visited { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
:root main > article > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }

:root main > article > p a[href^="/ref/"], :root main > article > p a[href^="/try/"], :root main > article > p a[href^="/check/"], :root main > article > p a[href^="/partner/"], :root main > article > p a[href^="/go/"], :root main > article > p a[href^="/out/"] { background: var(--accent); color: var(--bg); padding: 3px 12px; border-radius: var(--r); text-decoration: none; font-weight: 600; font-family: var(--fh), Cambria, serif; font-size: 14px; letter-spacing: .02em; }
:root main > article > p a[href^="/ref/"]:hover, :root main > article > p a[href^="/try/"]:hover, :root main > article > p a[href^="/check/"]:hover, :root main > article > p a[href^="/partner/"]:hover, :root main > article > p a[href^="/go/"]:hover, :root main > article > p a[href^="/out/"]:hover { background: var(--primary); color: var(--bg); }

:root main > article > section:has(> img), :root main > article > img, :root main > article > figure { margin: 0 0 30px; }
:root main > article > section > img, :root main > article > img, :root main > article > figure > img { width: 100%; height: auto; display: block; border-radius: var(--r); box-shadow: 0 3px 14px rgba(15, 24, 32, .12); }

:root main > article > table, :root main > article table { width: 100%; max-width: 720px; border-collapse: collapse; margin: 26px 0; font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; background: #FBF6EC; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
:root main > article table th { background: var(--primary); color: var(--bg); padding: 10px 14px; text-align: left; font-family: var(--fh), Cambria, serif; font-weight: 500; font-size: 13.5px; letter-spacing: .02em; }
:root main > article table td { padding: 9px 14px; border-bottom: 1px solid var(--border); vertical-align: top; font-variant-numeric: tabular-nums; }
:root main > article table tr:last-child td { border-bottom: 0; }

:root main > div > div:has(> h2) { background: #FFFAF0; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; margin-bottom: 18px; box-shadow: 0 1px 5px rgba(15, 24, 32, .05); transition: border-left-color .15s ease, transform .12s ease; }
:root main > div > div:has(> h2):hover { border-left-color: var(--primary); transform: translateX(2px); }
:root main > div > div:has(> h2) > p:first-child { font-family: var(--fb), system-ui, sans-serif; font-size: 11px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; font-weight: 700; }
:root main > div > div:has(> h2) > h2 { font-family: var(--fh), Cambria, serif; font-size: 21px; font-weight: 500; margin-bottom: 6px; line-height: 1.22; padding-bottom: 0; border-bottom: 0; }
:root main > div > div:has(> h2) > h2 a { color: var(--primary); text-decoration: none; }
:root main > div > div:has(> h2) > h2 a:hover { color: var(--accent); }
:root main > div > div:has(> h2) > p:not(:first-child) { font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; color: var(--fg); opacity: .82; margin-bottom: 12px; }
:root main > div > div:has(> h2) > a:last-child { font-family: var(--fb), system-ui, sans-serif; font-size: 12.5px; color: var(--primary); background: transparent; padding: 0; text-decoration: none; letter-spacing: .04em; font-weight: 700; border-bottom: 1px solid var(--primary); }
:root main > div > div:has(> h2) > a:last-child:hover { color: var(--accent); border-bottom-color: var(--accent); }

:root footer { background: transparent; border-top: 1px solid var(--border); padding: 22px 0 32px; margin-top: 48px; text-align: center; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--fg); opacity: .60; letter-spacing: .03em; }
: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); }

/* === R2 fixes (2026-06-11T22:30:07.513016+00:00) === */

:root main > article > p { line-height: 1.8; }

:root main > article > h2 { margin-top: 2.4em; margin-bottom: 0.4em; }

:root main > article > h3 { margin-top: 1.6em; margin-bottom: 0.25em; }

:root > body > header h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }

:root > body > header p { font-size: 0.95rem; opacity: 0.9; margin-top: 0.3em; }

.crd-related-list { border-left: 3px solid currentColor; padding-left: 1em; list-style: none; margin: 0; }
.crd-related-list li, .crd-related-list > div { background: none; border: none; box-shadow: none; border-radius: 0; padding: 0.3em 0; transform: none; }
.crd-related-list li:hover, .crd-related-list > div:hover { background: none; transform: none; }
.crd-related-list a { color: var(--primary); text-decoration: none; font-weight: 500; font-size: 15px; }
.crd-related-list a:hover { color: var(--accent); text-decoration: underline; }

:root main > article h2 + p strong { font-weight: 600; color: var(--primary); }

/* === R3 fixes (2026-06-11T23:10:19.074412+00:00) === */

:root main > article > p a[href^="/see/"] { background: var(--accent); color: var(--bg); padding: 3px 12px; border-radius: var(--r); text-decoration: none; font-weight: 600; font-family: var(--fh), Cambria, serif; font-size: 14px; letter-spacing: .02em; }
:root main > article > p a[href^="/see/"]:hover { background: var(--primary); color: var(--bg); }

:root main > article li a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }

:root footer { opacity: 0.82; }

:root main > article > h3 { color: var(--primary); opacity: 0.78; }

:root main > article > p strong { color: var(--primary); font-weight: 700; }

/* === R4 fixes (2026-06-11T23:50:24.466981+00:00) === */

.crd-related-list a { display: block; padding: 0.3em 0; }

:root main > div > div:has(> h2):first-child { border-left: 4px solid var(--primary); padding-left: 20px; }
:root main > div > div:has(> h2):first-child > h2 { font-size: 23px; }

:root main > article > section:has(> img), :root main > article > img, :root main > article > figure { margin: 28px 0 30px; }

/* v.5b6a00 — layout revision */

:root { --rust: #B34F2A; --paper: #FAF5EC; --paper2: #F5EFE1; --hair: rgba(20,14,8,.09); }

/* ============================================================
   MASTHEAD — full-bleed photo band, monogram, wordmark, manifesto
   (heavy gradient + solid base so a missing photo degrades to a
   rich brown band, never an empty white box)
   ============================================================ */
:root > body > header {
  max-width: none; margin: 0; padding: 50px 0 44px;
  background:
    linear-gradient(116deg, rgba(122,74,56,.93) 0%, rgba(122,74,56,.80) 54%, rgba(48,34,26,.92) 100%),
    #563325 url("/theme-assets/landing-photo.jpg") center 40% / cover no-repeat;
  border-bottom: 3px solid var(--accent);
}
:root > body > header > div {
  max-width: 1040px; margin: 0 auto; padding: 0 24px; position: relative;
}
:root > body > header > div::before {
  content: ""; display: block; width: 44px; height: 52px; margin-bottom: 15px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 56'><path d='M24 2 44 10 44 28 C44 42 35 50 24 54 13 50 4 42 4 28 L4 10 Z' fill='none' stroke='%23F0E8D9' stroke-width='2.4'/><path d='M15 27 22 34 34 19' fill='none' stroke='%23B34F2A' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
:root > body > header h1 {
  font-family: var(--fh), Cambria, serif; font-size: 42px; font-weight: 500;
  letter-spacing: .01em; line-height: 1.08; color: var(--bg);
  text-shadow: 0 1px 14px rgba(20,12,8,.42); margin-bottom: 6px;
}
:root > body > header p {
  font-family: var(--fb), system-ui, sans-serif; font-size: 15px; font-weight: 400;
  color: rgba(240,232,217,.90); max-width: 600px; margin-top: 4px; opacity: 1;
  line-height: 1.5; letter-spacing: 0;
}
:root > body > header > div::after {
  content: "Real subscriptions · real speed tests from a Seattle home lab · zero marketing copy";
  display: block; margin-top: 17px; padding-top: 13px; max-width: 620px;
  border-top: 2px solid var(--accent);
  font-family: var(--fb), system-ui, sans-serif; font-style: italic;
  font-size: 13px; letter-spacing: .015em; color: rgba(240,232,217,.85); line-height: 1.5;
}

/* ============================================================
   HOMEPAGE — editorial grid (scoped away from article pages)
   main > div:first-of-type = card grid   |   :last-of-type = archive tail
   ============================================================ */
:root body:not(:has(main > article)) > header > div,
:root body:not(:has(main > article)) main { max-width: 1040px; }

:root body:not(:has(main > article)) main > div:first-of-type {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 26px; align-items: stretch;
}

/* ---- shared card shell (warm paper, soft frame — RULE A/C/E) ---- */
:root body:not(:has(main > article)) main > div:first-of-type > div {
  margin: 0; background: var(--paper); border: 1px solid var(--hair); border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04); padding: 26px 32px 24px;
  display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .12s ease;
}
:root body:not(:has(main > article)) main > div:first-of-type > div:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,24,32,.09); border-left-color: var(--hair);
}
:root body:not(:has(main > article)) main > div:first-of-type > div > p:first-of-type {
  font-family: var(--fb), system-ui, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 11px; opacity: 1; line-height: 1.4;
}
:root body:not(:has(main > article)) main > div:first-of-type > div > h2 {
  font-family: var(--fh), Cambria, serif; font-size: 20px; font-weight: 500;
  line-height: 1.24; margin: 0 0 12px; padding: 0; border: 0;
}
:root body:not(:has(main > article)) main > div:first-of-type > div > h2 a { color: var(--primary); text-decoration: none; }
:root body:not(:has(main > article)) main > div:first-of-type > div > h2 a:hover { color: var(--accent); }
:root body:not(:has(main > article)) main > div:first-of-type > div > p:last-of-type {
  font-family: var(--fb), system-ui, sans-serif; font-size: 15.5px; line-height: 1.62;
  color: var(--fg); opacity: .82; margin: 0 0 18px; max-width: 64ch;
}
:root body:not(:has(main > article)) main > div:first-of-type > div > a:last-child {
  margin-top: auto; align-self: flex-start; font-family: var(--fb), system-ui, sans-serif;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); background: transparent; padding: 0; border-radius: 0;
  text-decoration: none; border-bottom: 1px solid var(--primary);
}
:root body:not(:has(main > article)) main > div:first-of-type > div > a:last-child:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---- zone spans ---- */
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child { grid-column: 1 / -1; }
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(2),
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(3),
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(4) { grid-column: span 2; }
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(n+5) { grid-column: span 3; }

/* clamp non-hero excerpts so same-row heights match (RULE D) */
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(n+2) > p:last-of-type {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============ HERO — the loud voice ============ */
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child {
  display: grid; grid-template-columns: 1.7fr 1fr; column-gap: 46px; row-gap: 0;
  background: #FBF6EC; border: 1px solid var(--hair); border-top: 3px solid var(--primary);
  border-radius: 8px; padding: 42px 48px 44px; box-shadow: 0 2px 16px rgba(15,24,32,.07);
}
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child:hover { transform: none; box-shadow: 0 2px 16px rgba(15,24,32,.07); }
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child > h2 {
  grid-column: 1; grid-row: 1; font-size: 40px; line-height: 1.10; margin: 0 0 4px;
}
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child > p:last-of-type {
  grid-column: 1; grid-row: 2; font-size: 19px; line-height: 1.5; opacity: .92; margin: 8px 0 22px;
  max-width: 62ch; -webkit-line-clamp: none; display: block; overflow: visible;
}
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child > p:last-of-type::first-letter {
  font-family: var(--fh), Cambria, serif; font-size: 3em; float: left; line-height: .78;
  padding: 5px 10px 0 0; color: var(--rust); font-weight: 700;
}
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child > a:last-child {
  grid-column: 1; grid-row: 3; justify-self: start; align-self: start; margin: 0;
  border: 1.5px solid var(--primary); border-radius: 28px; padding: 9px 26px;
  color: var(--primary); font-size: 11.5px; letter-spacing: .12em;
}
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child > a:last-child:hover {
  background: var(--primary); color: var(--bg); border-color: var(--primary);
}
/* hero right rail — fills the empty column (RULE 4) */
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child > p:first-of-type {
  grid-column: 2; grid-row: 1 / span 3; align-self: start; margin: 4px 0 0;
  padding-left: 20px; border-left: 2px solid var(--accent); text-transform: uppercase;
  font-size: 12px; font-weight: 600; letter-spacing: .13em; color: var(--accent);
}
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child > p:first-of-type::before {
  content: "Latest test"; display: block; margin-bottom: 12px;
  font-size: 11px; letter-spacing: .2em; color: var(--primary); font-weight: 700;
}
:root body:not(:has(main > article)) main > div:first-of-type > div:first-child > p:first-of-type::after {
  content: "By Marcus Hadley — hands-on, paid subscription"; display: block; margin-top: 14px;
  font-style: italic; font-weight: 400; font-size: 12.5px; letter-spacing: .01em;
  text-transform: none; color: var(--fg); opacity: .68;
}

/* ============ EDITOR'S PICKS band (cards 2-4) + full-row label (RULE B) ============ */
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(2),
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(3),
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(4) {
  margin-top: 96px; border-top: 3px solid var(--accent);
}
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(2) { position: relative; }
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(2)::before {
  content: "EDITOR'S PICKS — READ THESE FIRST"; position: absolute; top: -44px; left: 0;
  width: calc(300% + 52px); padding-bottom: 9px; border-bottom: 1px solid var(--border);
  font-family: var(--fb), system-ui, sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: .18em; color: var(--primary);
}

/* ============ STRIP 1 — photo band between Picks and Journal (RULE F) ============ */
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(5),
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(6) { margin-top: 250px; }
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(5) { position: relative; }
:root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(5)::before {
  content: "THE JOURNAL — MOST RECENT FIRST"; position: absolute; left: 0; top: -226px;
  width: calc(200% + 26px); height: 196px; line-height: 196px; text-align: center;
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
    #241a14 url("/theme-assets/story-bg.jpg") center 30% / cover no-repeat;
  color: #F3ECDE; font-family: var(--fb), system-ui, sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.55); border-radius: 8px;
}

/* ============ ARCHIVE TAIL — full-width magazine index (RULE A/G) ============ */
:root body:not(:has(main > article)) main > div:last-of-type {
  margin-top: 82px; padding: 0; background: transparent; box-shadow: none; border: 0; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; align-items: stretch;
}
/* STRIP 2 — photo band between Journal and tail index (RULE F) */
:root body:not(:has(main > article)) main > div:last-of-type::before {
  content: "SEE ALL"; display: block; grid-column: 1 / -1; height: 200px; line-height: 200px; text-align: center;
  margin-bottom: 44px; border-radius: 8px;
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
    #241a14 url("/theme-assets/story-bg.jpg") center 70% / cover no-repeat;
  color: #F3ECDE; font-family: var(--fb), system-ui, sans-serif; font-size: 14px;
  font-weight: 700; letter-spacing: .34em; text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
:root body:not(:has(main > article)) main > div:last-of-type::after {
  content: "The full shelf — every test I have published, newest to oldest"; display: block;
  grid-column: 1 / -1; text-align: center; margin: 26px 0 0; padding-top: 16px;
  border-top: 1px solid var(--border); font-family: var(--fb), system-ui, sans-serif;
  font-style: italic; font-weight: 400; font-size: 12.5px; letter-spacing: .04em;
  text-transform: none; color: var(--fg); opacity: .6;
}
:root body:not(:has(main > article)) main > div:last-of-type > a {
  display: block; height: 100%; margin: 0; padding: 18px 22px;
  background: var(--paper); border: 1px solid var(--hair); border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  font-family: var(--fh), Cambria, serif; font-size: 15.5px; line-height: 1.4; color: var(--primary);
  text-decoration: none; transition: transform .12s ease, box-shadow .12s ease;
}
:root body:not(:has(main > article)) main > div:last-of-type > a:hover {
  color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,24,32,.09);
}

/* ---- mobile: collapse the editorial grid ---- */
@media (max-width: 820px) {
  :root body:not(:has(main > article)) > header > div,
  :root body:not(:has(main > article)) main { max-width: 100%; }
  :root body:not(:has(main > article)) main > div:first-of-type { grid-template-columns: 1fr; gap: 22px; }
  :root body:not(:has(main > article)) main > div:first-of-type > div:first-child,
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(2),
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(3),
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(4),
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(n+5) { grid-column: 1 / -1; }
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(2),
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(3),
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(4) { margin-top: 0; }
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(5),
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(6) { margin-top: 40px; }
  :root body:not(:has(main > article)) main > div:first-of-type > div:first-child { display: block; padding: 28px 26px; }
  :root body:not(:has(main > article)) main > div:first-of-type > div:first-child > p:first-of-type { border-left: 0; padding-left: 0; margin: 0 0 16px; }
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(2)::before { position: static; display: block; width: auto; margin-bottom: 16px; }
  :root body:not(:has(main > article)) main > div:first-of-type > div:nth-child(5)::before { position: static; width: 100%; height: 150px; line-height: 150px; margin-bottom: 8px; }
  :root body:not(:has(main > article)) main > div:last-of-type { grid-template-columns: 1fr; }
  :root body:not(:has(main > article)) main > div:last-of-type::before { height: 150px; line-height: 150px; }
}

/* ============================================================
   ARTICLE PAGE — bigger title, byline, framed art, lead + dinkus
   ============================================================ */
:root main:not(:has(> div > div > h2)) > h1 { font-size: 42px; line-height: 1.12; margin-bottom: 8px; }
:root main:has(> article) > time::after { content: " · By Marcus Hadley · Seattle"; color: var(--fg); opacity: .6; }

/* framed hero image */
:root main > article > div[role="img"] {
  margin: 6px 0 34px; padding: 8px; background: #FBF6EC;
  border: 1px solid var(--hair); border-radius: 8px; position: relative; text-align: left;
}
:root main > article > div[role="img"] > img { border-radius: 3px; box-shadow: none; margin: 0; }
:root main > article > div[role="img"]::after {
  content: "Hands-on testing · Seattle home lab"; display: block; margin-top: 9px;
  font-family: var(--fb), system-ui, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
/* inline images — framed like the hero so they read editorial, not raw stock */
:root main > article > div:has(> img):not([role]) {
  margin: 30px 0; padding: 8px; background: #FBF6EC; text-align: left;
  border: 1px solid var(--hair); border-radius: 8px;
}
:root main > article > div:has(> img):not([role]) > img {
  width: 100%; height: auto; display: block; margin: 0; border-radius: 3px; box-shadow: none;
}
:root main > article > div:has(> img):not([role])::after {
  content: "From the Seattle home lab"; display: block; margin-top: 9px;
  font-family: var(--fb), system-ui, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}

/* lead paragraph + rust drop cap */
:root main > article > p:first-of-type { font-size: 18px; line-height: 1.72; color: var(--primary); }
:root main > article > p:first-of-type::first-letter {
  font-family: var(--fh), Cambria, serif; font-size: 3.1em; float: left; line-height: .8;
  padding: 6px 11px 0 0; color: var(--rust); font-weight: 700;
}
/* dinkus between sections */
:root main > article > h2::before {
  content: "✷ ✷ ✷"; display: block; text-align: center; margin: 6px 0 26px;
  color: var(--accent); font-size: 13px; letter-spacing: .5em; opacity: .8; text-indent: .5em;
}
:root main > article > h2:first-of-type::before { content: none; }

/* Related module (structural — class is not guaranteed stable) */
:root main > div:has(> h3) { max-width: 720px; margin: 44px 0 0; border-top: 1px solid var(--border); padding-top: 22px; }
:root main > div:has(> h3) > h3 {
  font-family: var(--fb), system-ui, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; opacity: 1;
}
:root main > div:has(> h3) a {
  display: block; font-family: var(--fh), Cambria, serif; font-size: 16px; color: var(--primary);
  text-decoration: none; padding: 9px 0; border-bottom: 1px solid rgba(192,179,160,.5); background: transparent;
}
:root main > div:has(> h3) a:hover { color: var(--accent); }


/* related-articles-nav-fix v1 */
:root main > nav p,
:root main > section p {
  line-height: 1.85;
  margin: 0;
}
:root main > nav a,
:root main > section a {
  display: inline-block;
  margin: 0 4px;
  padding: 0 2px;
}


/* mobile-overflow-fix v1 */
:root html, :root body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 920px) {
  :root main > * { max-width: 100%; }
  :root main { overflow-x: hidden; }
}


/* mobile-overflow-fix v2 */
@media (max-width: 640px) {
  :root main,
  :root main > article,
  :root main > div,
  :root main > section,
  :root main > nav {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  :root main > article > *,
  :root main > div > *,
  :root main > section > *,
  :root main > nav > * {
    max-width: 100%;
  }
  :root main h1,
  :root main h2,
  :root main h3,
  :root main h4 {
    overflow-wrap: break-word;
    word-break: normal;
  }
  /* Any 3+ col grid inside main → 1 col on mobile */
  :root main :is(ul, ol, section, div, nav)[style*="grid-template-columns"],
  :root main > section > ul,
  :root main > nav > ul,
  :root main > div > ul {
    grid-template-columns: 1fr !important;
  }
  /* Any CSS multi-column layout → 1 col on mobile */
  :root main :is(ul, ol, section, div, p) {
    columns: 1;
  }
  /* Article body images stay inside viewport */
  :root main img,
  :root main figure {
    max-width: 100%;
    height: auto;
  }
}


/* mobile-padding-fix v1 */
@media (max-width: 640px) {
  :root main {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Racquet-moody overlay=25% grid=mixed scale=dramatic family=astro-grid */

/* ── HERO STRIPS: site-level atmospheric photos (overlay 25%) ── */
:root main:not(:has(> h1)) > div:has(> div)::before {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) 100%),
    url("/theme-assets/premium-hero-strip-1.webp") center 40% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}
:root main:not(:has(> h1)) > div:has(> div)::after {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) 100%),
    url("/theme-assets/premium-hero-strip-2.webp") center 45% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}


/* ── CARD 1: featured full-row with 300px photo header (via card-own background, NOT ::before —
    leaves ::before free for existing site's M2 label / meta content). ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
  grid-column: 1 / -1;
  position: relative;      /* anchor for existing site's ::before label if it uses absolute */
  overflow: visible;       /* let above-card labels render without clipping */
  padding: 320px 44px 40px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 300px,
    var(--bg) !important;
  margin-top: 60px !important;  /* room for above-card M2 label (existing site convention) */
}

/* ── CARDS 2-4: medium with 180px photo header (background technique, ::before untouched) ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

/* ── Article page: drop cap + dinkus dividers ── */
:root main:has(> h1) > article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-size: 76px; line-height: 0.9; color: var(--primary);
  float: left; margin: 6px 12px 0 0; padding: 0; font-weight: 400;
}
:root main:has(> h1) > article > h2 + p ~ h2::before {
  content: "✦ ✦ ✦";
  display: block; text-align: center; color: var(--accent);
  font-size: 12px; letter-spacing: 0.3em; margin-bottom: 24px;
  font-weight: 400;
}

/* ── Mobile responsive: adjust photo heights via background-size on the card itself ── */
@media (max-width: 720px) {
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
    padding: 240px 22px 28px !important;
    background:
      url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 220px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div)::before,
  :root main:not(:has(> h1)) > div:has(> div)::after { min-height: 240px; }
  :root main:has(> h1) > article > p:first-of-type::first-letter { font-size: 60px; }
}

