/* Brew Gear Guides v4 — exact-design rebuild matching the competitor's look.
   Cream background throughout, serif display face (Playfair Display) for
   logo, H1 and headings, clean sans (Inter) for body, warm-brown accent,
   dark-green cover panels with gold serif titles, dark footer. */
:root {
  --ink: #211a13;
  --ink-soft: #3d342a;
  --muted: #6f6252;
  --faint: #97897a;
  --line: #ddd0b6;
  --line-soft: #e9dfc9;
  --bg: #faf6ef;
  --bg-soft: #f4ecdd;
  --bg-card: #f6efe0;
  --accent: #8a5a2b;
  --accent-dark: #6f4520;
  --accent-soft: #f1e6cf;
  --green: #1e3d2f;
  --green-deep: #16301f;
  --gold: #c9a227;
  --gold-soft: #e3c878;
  --cream-text: #f4ecdd;
  --footer-bg: #211a13;
  --footer-text: #e8ddcb;
  --footer-muted: #b8a88f;
  --footer-line: #3a2f24;
  --green-ok: #1e7b34;
  --red: #b3261e;
  --red-bg: #fdecea;
  --amber-bg: #fdf6e3;
  --amber-line: #d9a441;
  --radius: 12px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--ink); }
h1 { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.01em; margin: 0.3em 0 0.5em; }
h2 { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.01em; margin: 2em 0 0.6em; scroll-margin-top: 90px; }
h3 { font-size: 1.25rem; font-weight: 700; margin: 1.6em 0 0.5em; }
h3.sub-h { font-size: 1.35rem; font-weight: 800; margin-top: 1.8em; }
h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); margin: 1.8em 0 0.6em; }
.table-label { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); margin: 1.8em 0 0.6em; }
p { margin: 0 0 1.1em; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 1.6em 0; }
figcaption { font-size: 0.88rem; color: var(--muted); text-align: center; margin-top: 0.6em; line-height: 1.5; }
ul, ol { padding-left: 1.35em; margin: 0 0 1.1em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 700; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; gap: 1.6rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--serif); font-weight: 900; font-size: 1.42rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand .bean-icon { flex: 0 0 auto; }
.main-nav { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; font-size: 0.93rem; margin-left: auto; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; white-space: nowrap; }
.main-nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.nav-drop { position: relative; }
.nav-drop-btn { background: none; border: none; font: inherit; font-weight: 600; color: var(--ink-soft); cursor: pointer; padding: 0.4rem 0; white-space: nowrap; }
.nav-drop-btn:hover { color: var(--accent); }
.nav-drop-btn .caret { font-size: 0.7em; }
.drop-menu { display: none; position: absolute; top: 100%; left: -0.6rem; min-width: 220px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem; box-shadow: 0 12px 30px rgba(33, 26, 19, 0.16); z-index: 60; }
.drop-menu a { display: block; padding: 0.5rem 0.7rem; border-radius: 6px; }
.drop-menu a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.search-pill { margin-left: 0.4rem; display: inline-flex; align-items: center; gap: 0.6rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 0.95rem; font: inherit; font-size: 0.88rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.search-pill:hover { border-color: var(--accent); color: var(--ink); }
.search-pill kbd { font: inherit; font-size: 0.75rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 0.1rem 0.35rem; color: var(--muted); }

/* ---------- Homepage hero: split editorial layout, real photograph ---------- */
.hero-split { padding: 3.6rem 0 3rem; }
.hero-split-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.eyebrow { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 0.9rem; }
.hero-split h1 { font-size: 3.3rem; margin: 0 0 0.9rem; line-height: 1.12; }
.hero-split h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 1.22rem; color: var(--muted); line-height: 1.55; margin: 0; max-width: 560px; }
.hero-stats { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin: 1.9rem 0 0; }
.hero-photo { position: relative; }
.hero-photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(33, 26, 19, 0.18); }
.hero-float { position: absolute; left: 1.2rem; bottom: 1.2rem; display: block; max-width: 330px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1.05rem; text-decoration: none; box-shadow: 0 10px 26px rgba(33, 26, 19, 0.18); }
.hero-float:hover { text-decoration: none; border-color: var(--accent); }
.hero-float-label { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.hero-float-title { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.05rem; line-height: 1.3; color: var(--ink); margin: 0.15rem 0; }
.hero-float-meta { display: block; font-size: 0.85rem; color: var(--muted); }
.hero-actions { display: flex; gap: 0.9rem; margin-top: 1.7rem; flex-wrap: wrap; }
.btn-solid { display: inline-block; background: var(--accent); color: #fff !important; font-weight: 700; font-size: 1rem; text-decoration: none; padding: 0.75rem 1.6rem; border-radius: 999px; }
.btn-solid:hover { background: var(--accent-dark); color: #fff !important; text-decoration: none; }
.btn-outline { display: inline-block; background: #fff; color: var(--ink) !important; font-weight: 700; font-size: 1rem; text-decoration: none; padding: 0.75rem 1.6rem; border-radius: 999px; border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; text-decoration: none; }

/* ---------- Homepage sections + cards (borderless, on cream) ---------- */
.home-section { padding: 2.6rem 0 0.4rem; }
.home-section .section-title { font-size: 1.9rem; margin: 0 0 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; }
.category { padding: 2.6rem 0 0.4rem; }
.category h2 { margin: 0 0 0.3rem; font-size: 1.9rem; }
.category > p { color: var(--muted); margin: 0 0 1.4rem; font-size: 1.02rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: transparent; border: none; border-radius: 0; overflow: visible; display: flex; flex-direction: column; position: relative; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-card); border-radius: var(--radius); }
.card-body { padding: 0.9rem 0.1rem 0; display: flex; flex-direction: column; gap: 0.45rem; }
.card-meta { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.card-meta .tag { color: var(--accent); font-weight: 800; }
.card h3 { margin: 0; font-size: 1.22rem; line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.card p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.editors-pick { position: absolute; top: 0.7rem; left: 0.7rem; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.65rem; border-radius: 999px; z-index: 2; }
.section-more { text-align: center; margin: 1.6rem 0 0.4rem; }
.show-more { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.6rem 1.4rem; font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.show-more:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Article: breadcrumb, cover, byline ---------- */
.crumbs { padding: 1.4rem 0 0; font-size: 0.88rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs span:last-child { color: var(--ink-soft); }
.cover { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 16px; overflow: hidden; margin: 1.4rem 0 0; background: var(--green); }
.cover-panel { background: var(--green); padding: 2.6rem 2.4rem; display: flex; flex-direction: column; justify-content: center; }
.cover-eyebrow { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); margin: 0 0 1rem; }
.cover-panel h1 { color: var(--gold-soft); font-size: 2.35rem; margin: 0 0 1rem; line-height: 1.15; }
.cover-sub { color: var(--cream-text); font-size: 1.08rem; line-height: 1.55; margin: 0 0 1.6rem; }
.cover-brand { color: var(--gold); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.22em; margin: 0; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; }
.byline-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0 0.2rem; flex-wrap: wrap; }
.byline { font-size: 0.92rem; color: var(--muted); margin: 0; }
.share-btn { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 1.05rem; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Article layout: column + sticky right sidebar ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 3.5rem;
  align-items: start;
}
.article-col { min-width: 0; }
.article-body { padding-bottom: 2.5rem; }
.article-body .lede { font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft); }
.article-body figure img { border-radius: var(--radius); background: var(--bg-card); }

/* Sidebar: picks, collapsible TOC, still-deciding box */
.sidebar { position: sticky; top: 88px; padding-top: 1.4rem; display: flex; flex-direction: column; gap: 1.6rem; }
.picks-title, .toc-title { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin: 0 0 0.9rem; }
.picks ul { list-style: none; margin: 0; padding: 0; }
.picks li { margin: 0 0 0.7rem; }
.picks li a { display: flex; gap: 0.7rem; align-items: center; text-decoration: none; }
.picks li a:hover .pick-name { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.picks img { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; background: var(--bg-card); }
.pick-name { display: block; font-size: 0.88rem; font-weight: 700; line-height: 1.3; }
.pick-price { display: block; font-size: 0.82rem; color: var(--muted); }
.picks-note { font-size: 0.78rem; color: var(--muted); margin: 0.4rem 0 0; line-height: 1.5; }
.toc-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; border-bottom: 1px solid var(--line); padding: 0 0 0.6rem; font: inherit; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); cursor: pointer; text-align: left; }
.toc-toggle .chev { font-size: 1rem; transition: transform 0.2s; }
.toc.collapsed .chev { transform: rotate(180deg); }
.toc.collapsed ul { display: none; }
.toc ul { list-style: none; margin: 0; padding: 0.9rem 0 0; }
.toc li { margin: 0 0 0.55rem; }
.toc a { display: block; font-size: 0.9rem; line-height: 1.45; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; padding-left: 0.9rem; margin-left: -0.1rem; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); font-weight: 700; border-left-color: var(--accent); }
.still-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.still-box .still-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 800; margin: 0 0 0.5rem; }
.still-box p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.still-box .buy-btn { margin: 0; }

/* ---------- Reading progress line (top of header) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 100; }
.progress-bar { height: 100%; width: 0; background: var(--accent); }

/* ---------- Back-to-top button (bottom-right, white circle) ---------- */
.back-to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 1px solid var(--line); cursor: pointer;
  font-size: 1.25rem; line-height: 1;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--accent); color: #fff; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 0.7rem 1.3rem; border-radius: 999px; font-size: 0.92rem; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 120; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; background: rgba(33, 26, 19, 0.55); z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.search-overlay[hidden] { display: none; }
.search-box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; width: min(620px, 92vw); padding: 1rem 1.1rem; box-shadow: 0 24px 60px rgba(33, 26, 19, 0.3); }
.search-row { display: flex; gap: 0.6rem; align-items: center; }
.search-row input { flex: 1; font: inherit; font-size: 1.05rem; border: none; outline: none; background: transparent; color: var(--ink); padding: 0.4rem 0; }
.search-close { background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0.2rem 0.4rem; }
.search-results { margin-top: 0.6rem; border-top: 1px solid var(--line-soft); padding-top: 0.4rem; max-height: 55vh; overflow: auto; }
.search-hit { display: block; padding: 0.65rem 0.3rem; text-decoration: none; border-radius: 8px; }
.search-hit:hover { background: var(--bg-soft); }
.search-hit-cat { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.search-hit-title { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.search-hit-sum { display: block; font-size: 0.88rem; color: var(--muted); }
.search-empty { color: var(--muted); font-size: 0.95rem; padding: 0.6rem 0.3rem; margin: 0; }

/* ---------- Highlighted answer boxes (top of every article) ---------- */
.key-box { border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.6em 0; border: 1px solid var(--line); }
.key-box h2 { margin: 0 0 0.6em; font-size: 1.05rem; letter-spacing: 0.02em; scroll-margin-top: 90px; }
.key-box p:last-child, .key-box ul:last-child { margin-bottom: 0; }
.key-box.short-answer { background: var(--accent-soft); border-color: #e3cfae; }
.key-box.short-answer h2 { color: var(--accent); }
.key-box.takeaways { background: var(--bg-soft); }
.key-box.takeaways h2 { color: var(--ink); }
.key-box.takeaways ul { margin-bottom: 0; }
.key-box.takeaways li { margin-bottom: 0.45em; }

/* ---------- Buy button (product blocks) ---------- */
.buy-btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  font-weight: 700; font-size: 0.98rem; text-decoration: none;
  padding: 0.7rem 1.5rem; border-radius: 8px; margin: 0.4em 0 0.2em;
}
.buy-btn:hover { background: var(--accent-dark); color: #fff !important; text-decoration: none; }
.buy-btn.small { font-size: 0.9rem; padding: 0.55rem 1.1rem; }
.details-link { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; margin-left: 0.9rem; }
.details-link:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.92rem; line-height: 1.5; }
th, td { border: 1px solid var(--line); padding: 0.65em 0.8em; text-align: left; vertical-align: top; }
th { background: var(--accent-soft); font-weight: 700; }
tbody tr:nth-child(even) td { background: #fdf9f0; }
.glance-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 1.4em 0 0.2em; }
.table-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- At-a-glance card grid ---------- */
.glance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1em 0; }
.glance-card { display: flex; gap: 1rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; position: relative; align-items: flex-start; }
.glance-thumb { flex: 0 0 128px; }
.glance-thumb img { width: 128px; height: 86px; object-fit: cover; border-radius: 8px; background: var(--bg-card); }
.glance-body { min-width: 0; }
.glance-body h4 { margin: 0 0 0.2rem; font-family: var(--serif); font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.glance-body h4 a { color: var(--ink); text-decoration: none; }
.glance-body h4 a:hover { color: var(--accent); text-decoration: underline; }
.glance-best { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 0.25rem; }
.glance-rating { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 0.25rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.glance-price { font-size: 1.05rem; font-weight: 800; margin: 0 0 0.5rem; }
.glance-card .buy-btn { margin: 0; }
.editors-choice { position: absolute; top: -0.6rem; left: 0.9rem; background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.22rem 0.6rem; border-radius: 999px; }

/* Stars (filled overlay clipped by width) */
.stars { position: relative; display: inline-block; line-height: 1; font-size: 0.95rem; letter-spacing: 0.05em; }
.stars-bg { color: #d8cbb2; }
.stars-fg { position: absolute; left: 0; top: 0; color: var(--gold); overflow: hidden; white-space: nowrap; }

/* ---------- Product blocks (horizontal: photo left, text right) ---------- */
.product { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; margin: 2.2rem 0; background: #fdf9f0; }
.product h2 { margin-top: 0; scroll-margin-top: 90px; }
.product-top { display: flex; gap: 1.6rem; align-items: flex-start; margin: 1.1em 0 0.4em; }
.product-top figure { flex: 0 0 320px; margin: 0; background: var(--bg-soft); border-radius: 8px; overflow: hidden; }
.product-top figure img { border-radius: 8px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-card); }
.product-head { min-width: 0; }
.product-name { font-family: var(--serif); font-weight: 800; font-size: 1.3rem; margin-bottom: 0.25em; line-height: 1.3; }
.rating { font-weight: 700; color: var(--accent); margin-bottom: 0.6em; display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.product .summary { font-size: 1.08rem; font-style: italic; color: var(--ink-soft); }
.product-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.3em; }
.product-col h3 { font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); margin: 0 0 0.6em; }
.product-col ul { margin-bottom: 0; }
.product .price { font-size: 1.3rem; font-weight: 800; margin: 0 0 0.1em; }
.product .price .save { color: var(--green-ok); font-size: 0.95rem; font-weight: 700; margin-left: 0.4em; }
.product .asof { font-size: 0.82rem; color: var(--muted); margin: 0; }
.product-buy { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem; border-top: 1px solid var(--line); margin-top: 1.3em; padding-top: 1.1em; flex-wrap: wrap; }
.product-buy .buy-row { margin: 0; }
.buyline { font-weight: 700; }

/* ---------- Callouts ---------- */
.callout { border-left: 4px solid var(--amber-line); background: var(--amber-bg); padding: 0.85rem 1.1rem; margin: 1.2em 0; border-radius: 0 8px 8px 0; font-size: 0.98rem; }
.callout.warn { border-left-color: var(--red); background: var(--red-bg); }

/* ---------- Diagnosis cards (guides) ---------- */
.diag-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.4em 0; }
.diag-card { border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; background: var(--bg-soft); }
.diag-card .table-label { margin-top: 0; }
.diag-card .diag-label { font-family: var(--serif); font-weight: 800; font-size: 1.1rem; margin-bottom: 0.2em; }
.diag-card .taste { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.6em; }
.diag-card p { font-size: 0.95rem; margin-bottom: 0.6em; }
.diag-card .do-this { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Steps ---------- */
ol.steps { list-style: none; padding-left: 0; counter-reset: step; }
ol.steps > li { counter-increment: step; border-top: 1px solid var(--line-soft); padding-top: 1.2em; margin-bottom: 1.4em; }
ol.steps > li::before { content: counter(step) "."; font-weight: 800; color: var(--accent); margin-right: 0.4em; }
ol.steps h3 { display: inline; font-size: 1.15rem; }

/* ---------- FAQ + details ---------- */
.faq-q { font-weight: 700; margin-top: 1.3em; }
.details { border-top: 1px solid var(--line); margin-top: 2.6em; padding-top: 1.4em; font-size: 0.95rem; }
.details dl { display: grid; grid-template-columns: 150px 1fr; gap: 0.45em 1em; margin: 0; }
.details dt { font-weight: 700; }
.details dd { margin: 0; }

/* ---------- Disclosure + footer ---------- */
.disclosure { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; font-size: 0.92rem; margin: 2.2rem 0; color: var(--ink-soft); }
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 3rem 0 2rem; margin-top: 3rem; font-size: 0.92rem; }
.site-footer .foot-top { display: grid; grid-template-columns: 1.6fr 1.4fr 0.8fr 0.8fr 0.8fr; gap: 2.2rem; }
.site-footer .foot-h { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 0.8rem; font-weight: 700; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45em; }
.site-footer a { color: var(--footer-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand-line { display: flex; align-items: center; gap: 0.5rem; font-family: var(--serif); font-weight: 900; font-size: 1.15rem; color: #fff; margin-bottom: 0.6rem; }
.site-footer .foot-brand p { color: var(--footer-muted); }
.social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--footer-line); border-radius: 50%; color: var(--footer-muted); }
.social a:hover { color: #fff; border-color: #fff; text-decoration: none; }
.foot-news p { color: var(--footer-muted); }
.newsletter { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.newsletter input { flex: 1; min-width: 0; font: inherit; font-size: 0.92rem; padding: 0.6rem 0.8rem; border-radius: 8px; border: 1px solid var(--footer-line); background: #2b2118; color: #fff; }
.newsletter input::placeholder { color: var(--footer-muted); }
.newsletter button { font: inherit; font-size: 0.92rem; font-weight: 700; background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 0.6rem 1rem; cursor: pointer; white-space: nowrap; }
.newsletter button:hover { background: var(--accent-dark); }
.newsletter-done { color: var(--gold-soft); font-size: 0.92rem; margin-top: 0.8rem; }
.site-footer .bottom { border-top: 1px solid var(--footer-line); margin-top: 2.4rem; padding-top: 1.2rem; font-size: 0.85rem; color: var(--footer-muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- About / plain pages ---------- */
.page-body { max-width: 760px; padding: 2.6rem 0 2.5rem; }
.page-body.listing { max-width: none; }
.page-body.listing h1 { font-size: 2.4rem; }
.page-body.listing .lede { font-size: 1.15rem; color: var(--muted); max-width: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sidebar { display: none; }
  .cards, .cards-4, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-2 { grid-template-columns: 1fr; }
  .cover { grid-template-columns: 1fr; }
  .cover-photo img { aspect-ratio: 16 / 9; }
  .glance-grid { grid-template-columns: 1fr; }
  .product-top { flex-direction: column; }
  .product-top figure { flex-basis: auto; width: 100%; }
  .product-cols { grid-template-columns: 1fr; }
  .site-footer .foot-top { grid-template-columns: 1fr 1fr; }
  .search-pill { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  h1 { font-size: 2rem; }
  .hero { padding: 2.6rem 0 1.8rem; }
  .hero h1 { font-size: 2.3rem; }
  .cards, .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .diag-cards { grid-template-columns: 1fr; }
  .header-inner { height: auto; padding-top: 0.7rem; padding-bottom: 0.7rem; flex-wrap: wrap; }
  .main-nav { gap: 0.9rem; font-size: 0.88rem; }
  .details dl { grid-template-columns: 1fr; }
  .site-footer .foot-top { grid-template-columns: 1fr; }
  .product { padding: 1.2rem 1.1rem; }
  .cover-panel { padding: 1.8rem 1.4rem; }
  .cover-panel h1 { font-size: 1.8rem; }
  .product-buy { flex-direction: column; align-items: flex-start; }
}

/* ---------- Homepage v5: original redesign (not the competitor layout) ---------- */
.home-block { padding: 2.8rem 0 0.6rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 2rem; }
.section-head .eyebrow { margin-bottom: 0.4rem; }
.section-link { font-weight: 700; font-size: 0.95rem; color: var(--accent); text-decoration: none; white-space: nowrap; padding-bottom: 0.2rem; }
.section-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.section-intro { color: var(--muted); max-width: 660px; margin: -0.4rem 0 1.6rem; font-size: 1.05rem; }
.text-link { font-weight: 700; color: var(--accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Featured lead story + latest list */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 0.4rem; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 2.1rem 2.2rem; display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; }
.feature-body h3 { margin: 0; font-size: 1.65rem; line-height: 1.25; }
.feature-body h3 a { color: var(--ink); text-decoration: none; }
.feature-body h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.feature-body > p { margin: 0; color: var(--muted); }
.latest-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.latest-list li { border-bottom: 1px solid var(--line-soft); }
.latest-list li a { display: flex; gap: 1.1rem; align-items: center; padding: 1rem 0; text-decoration: none; }
.latest-list img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; background: var(--bg-card); }
.latest-title { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.12rem; line-height: 1.35; color: var(--ink); }
.latest-list a:hover .latest-title { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.latest-meta { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

/* Category photo tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat-tile { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; margin: 0; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.cat-tile a:hover img { transform: scale(1.04); }
.cat-tile-body { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 2.8rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(22, 16, 10, 0.85)); color: #fff; }
.cat-tile-name { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.cat-tile-count { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-soft); margin: 0.3rem 0 0.35rem; }
.cat-tile-desc { display: block; font-size: 0.9rem; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }

/* Full-bleed bands inside the constrained main wrap */
.band-full { width: 100vw; margin-left: calc(50% - 50vw); }

/* Trust / methodology band */
.trust-band { background: var(--green); color: var(--cream-text); padding: 3.4rem 0; margin: 2.8rem 0 0.6rem; }
.trust-inner { display: grid; grid-template-columns: 0.85fr 1.5fr; gap: 3rem; }
.trust-intro h2 { color: #fff; margin: 0 0 0.8rem; font-size: 2rem; }
.trust-intro .eyebrow { color: var(--gold); }
.trust-intro p { color: rgba(244, 236, 221, 0.88); }
.btn-outline.light { background: transparent; color: #fff !important; border-color: rgba(244, 236, 221, 0.5); }
.btn-outline.light:hover { border-color: #fff; color: #fff !important; }
.trust-steps { list-style: none; margin: 0; padding: 0; counter-reset: trust; display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem 2.2rem; }
.trust-steps li { counter-increment: trust; }
.trust-steps li::before { content: counter(trust, decimal-leading-zero); font-family: var(--serif); font-weight: 800; font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: 0.35rem; }
.trust-steps h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 0.35rem; }
.trust-steps p { font-size: 0.95rem; margin: 0; color: rgba(244, 236, 221, 0.88); }

/* Editors' choice strip */
.picks-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.pick-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.pick-card > a img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--bg-card); }
.pick-label { position: absolute; top: 0.7rem; left: 0.7rem; background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.28rem 0.6rem; border-radius: 999px; z-index: 2; }
.pick-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.pick-body h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.pick-body h3 a { color: var(--ink); text-decoration: none; }
.pick-body h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pick-best { font-size: 0.88rem; color: var(--muted); margin: 0; }
.pick-rating { font-size: 0.9rem; font-weight: 700; color: var(--ink-soft); margin: 0; }
.pick-rating .star { color: var(--gold); }
.pick-price { font-size: 1.05rem; font-weight: 800; margin: 0; }
.pick-body .text-link { margin-top: auto; padding-top: 0.45rem; }

/* Newsletter band in the page body */
.news-band { background: var(--accent-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 0; margin: 2.8rem 0 0.6rem; }
.news-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.news-inner h2 { margin: 0 0 0.5rem; font-size: 2rem; }
.news-inner p { margin: 0; color: var(--muted); }
.news-form { display: flex; gap: 0.6rem; }
.news-form input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 0.75rem 0.95rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.news-form button { font: inherit; font-weight: 700; background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 0.75rem 1.4rem; cursor: pointer; white-space: nowrap; }
.news-form button:hover { background: var(--accent-dark); }
.news-done { font-weight: 700; color: var(--green-ok); margin: 0; }

/* Archive: every guide, grouped by category */
.archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.archive-group h3 { font-size: 1.15rem; margin: 0 0 0.7rem; }
.archive-group ul { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.archive-group li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
.archive-group li a { color: var(--ink); text-decoration: none; }
.archive-group li a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.archive-group li span { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }

/* ---------- Homepage v5 responsive ---------- */
@media (max-width: 1020px) {
  .hero-split-inner { grid-template-columns: 1fr; gap: 2rem; }
  .feature { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .picks-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: 1fr; gap: 2rem; }
  .trust-steps { grid-template-columns: 1fr; }
  .news-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .archive-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-split { padding: 2.4rem 0 2rem; }
  .hero-split h1 { font-size: 2.3rem; }
  .hero-float { left: 0.8rem; bottom: 0.8rem; right: 0.8rem; max-width: none; }
  .cat-tiles { grid-template-columns: 1fr; }
  .picks-strip { grid-template-columns: 1fr; }
  .latest-list img { width: 96px; height: 64px; }
}
