/* Everyday Home Reviews — design system v2
   Editorial review-site scheme: white surfaces, serif display (Fraunces) +
   Inter UI, deep teal accent, amber reserved for shop CTAs. */
:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --ink: #221f1a;
  --ink-soft: #5f594e;
  --ink-faint: #8a8375;
  --accent: #0e5a52;
  --accent-dark: #0a443e;
  --shop: #b45309;
  --shop-dark: #92400e;
  --rule: #e9e4da;
  --rule-soft: #f1ede5;
  --pro: #0e5a52;
  --con: #a3402a;
  --max: 1120px;
  --article-max: 760px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(34, 31, 26, .04), 0 8px 24px -12px rgba(34, 31, 26, .12);
  --shadow-hover: 0 2px 4px rgba(34, 31, 26, .06), 0 16px 32px -12px rgba(34, 31, 26, .18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.18; letter-spacing: -0.015em; font-weight: 600; }
img { max-width: 100%; display: block; }

.accent-bar { height: 3px; background: linear-gradient(90deg, var(--accent), #1a7a6e); }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-text { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.logo em { font-style: normal; color: var(--accent); }
.logo-mark { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Hero */
.hero { padding: 48px 24px 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-text { max-width: 720px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 46px); font-weight: 700; margin-bottom: 16px; }
.hero p { font-size: 18px; color: var(--ink-soft); max-width: 640px; }
.hero-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }

/* Featured card */
.featured {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease;
}
.featured:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--ink); }
.featured-media { min-height: 320px; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.featured:hover .featured-media img { transform: scale(1.03); }
.featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.featured-body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.featured-body p { color: var(--ink-soft); font-size: 15.5px; }
.featured-cta { color: var(--accent); font-weight: 600; font-size: 14.5px; }

/* Section heads */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 48px 0 20px; border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.section-head h2 { font-size: 24px; }
.listing { padding-bottom: 8px; }
.listing-head { padding: 44px 0 8px; }
.listing-title { font-size: clamp(28px, 4vw, 38px); font-weight: 700; }
.listing-sub { color: var(--ink-soft); margin-top: 6px; }
.listing .card-grid { margin-top: 22px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--ink); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card-cat { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.card h3 { font-size: 19px; }
.card p { color: var(--ink-soft); font-size: 14.5px; flex-grow: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-date { font-size: 12.5px; color: var(--ink-faint); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cat-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9;
  text-decoration: none; display: block; background: var(--accent);
  box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease;
}
.cat-tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile span {
  position: absolute; inset: auto 0 0 0; padding: 28px 18px 14px;
  background: linear-gradient(transparent, rgba(15, 20, 18, .82));
  color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 600;
}

/* How we review */
.how-we-review { background: var(--surface); border-top: 1px solid var(--rule); margin-top: 56px; padding: 8px 0 56px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.how-grid h3 { font-size: 18px; margin-bottom: 6px; color: var(--accent-dark); }
.how-grid p { color: var(--ink-soft); font-size: 14.5px; }
.how-link { margin-top: 24px; font-weight: 600; font-size: 14.5px; }
.how-link a { text-decoration: none; }

/* Article */
.article { padding: 44px 24px 72px; }
.article-head { max-width: var(--article-max); margin: 0 auto 26px; }
.article-head h1 { font-size: clamp(30px, 4.5vw, 42px); font-weight: 700; margin: 14px 0 12px; }
.dek { font-size: 19px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 20px; }
.category-pill {
  display: inline-block; background: rgba(14, 90, 82, .08); color: var(--accent-dark); text-decoration: none;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  padding: 6px 12px; border-radius: 99px;
}
.category-pill:hover { background: rgba(14, 90, 82, .15); color: var(--accent-dark); }
.byline-row { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; letter-spacing: .02em; flex-shrink: 0;
}
.byline-text { display: flex; flex-direction: column; }
.byline-author { font-weight: 600; font-size: 14.5px; }
.byline-meta { font-size: 13px; color: var(--ink-faint); display: flex; gap: 6px; align-items: center; }
.byline-meta .dot { color: var(--rule); }
.article-hero { max-width: 980px; margin: 0 auto 34px; }
.article-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }
.article-body { max-width: var(--article-max); margin: 0 auto; }
.article-body p { margin-bottom: 18px; }
.article-body p.lead { font-size: 18px; color: var(--ink-soft); }
.article-body h2 { font-size: 27px; margin: 42px 0 14px; }
.article-body h3 { font-size: 19.5px; margin: 28px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 15px; background: var(--surface); }
.article-body th, .article-body td { border: 1px solid var(--rule); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--rule-soft); font-family: var(--sans); }

.disclosure-box {
  background: var(--rule-soft); border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: 12px 16px; margin-bottom: 28px;
}
.disclosure-box p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* Top picks panel */
.quick-picks {
  list-style: none; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 10px 22px; margin: 0 0 28px !important; box-shadow: var(--shadow);
  counter-reset: pick;
}
.quick-picks::before {
  content: "Our top picks"; display: block; font-family: var(--serif); font-weight: 700; font-size: 17px;
  padding: 12px 0 10px; border-bottom: 1px solid var(--rule);
}
.quick-picks li { counter-increment: pick; padding: 11px 0 11px 34px; position: relative; border-bottom: 1px solid var(--rule-soft); font-size: 15px; margin: 0; }
.quick-picks li:last-child { border-bottom: none; }
.quick-picks li::before {
  content: counter(pick); position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; display: grid; place-items: center; font-family: var(--sans);
}

/* Product sections as pick cards */
.product {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 26px 28px 8px; margin: 30px 0; box-shadow: var(--shadow);
  scroll-margin-top: 84px;
}
.product h2 { margin: 0 0 6px !important; font-size: 23px !important; }
.pick-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 4px; }
.pick-head h2 { margin: 2px 0 0 !important; font-size: 24px !important; }
.pick-rank {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--serif);
  font-size: 20px; font-weight: 700; display: grid; place-items: center; margin-top: 2px;
}
.pick-badge {
  display: inline-block; background: rgba(180, 83, 9, .1); color: var(--shop-dark);
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  padding: 4px 10px; border-radius: 99px; margin-bottom: 4px;
}
.product-link { margin: 12px 0 18px; }
.product-link a {
  display: inline-block; background: var(--shop); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 11px 22px; border-radius: 8px;
  transition: background .15s ease, transform .15s ease;
}
.product-link a:hover { background: var(--shop-dark); color: #fff; transform: translateY(-1px); }
.product-link a::after { content: " \2192"; }

/* Bottom line callout */
.bottom-line {
  background: rgba(14, 90, 82, .06); border: 1px solid rgba(14, 90, 82, .18);
  border-radius: var(--radius); padding: 6px 26px 10px; margin-top: 36px;
}
.bottom-line h2 { margin-top: 20px !important; font-size: 23px !important; }
.pros-cons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 8px 0 24px; }
.pros-cons ul { list-style: none; margin: 0 !important; background: var(--rule-soft); border-radius: 10px; padding: 14px 16px; font-size: 14.5px; }
.pros-cons li { padding-left: 24px; position: relative; }
.pros-cons li::before { position: absolute; left: 2px; font-weight: 700; font-family: var(--sans); }
.pros li::before { content: "+"; color: var(--pro); }
.cons li::before { content: "\2013"; color: var(--con); }
.pros::before, .cons::before { display: block; padding-left: 0 !important; position: static !important; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.pros::before { content: "Pros"; color: var(--pro); }
.cons::before { content: "Cons"; color: var(--con); }

.methodology-note { border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 18px; font-size: 14px; color: var(--ink-faint); }
.static-page .article-body h2 { font-size: 23px; }

/* Footer */
.site-footer { background: #201c16; color: #cbc4b6; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand { font-family: var(--serif); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-brand em { font-style: normal; color: #5eb3a6; }
.footer-tag { font-size: 14px; margin-bottom: 16px; }
.footer-disclosure { font-size: 12.5px; color: #948c7d; max-width: 480px; }
.footer-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #948c7d; margin-bottom: 12px; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 9px; }
.footer-list a { color: #cbc4b6; text-decoration: none; font-size: 14px; }
.footer-list a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #353027; padding-top: 18px; padding-bottom: 26px; font-size: 12.5px; color: #948c7d; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 0; aspect-ratio: 16 / 9; }
  .featured-body { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 36px 24px 20px; }
  .header-inner { height: auto; padding: 12px 0; flex-direction: column; gap: 8px; }
  .site-nav { justify-content: center; gap: 14px; }
  .product { padding: 20px 18px 4px; }
}
