/* The Clean Edit — mockup styles
   Working placeholder brand. Editorial / magazine feel. Warm, calm tones.
*/

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

:root {
  --bg: #faf7f2;
  --bg-card: #ffffff;
  --text: #1f1b16;
  --text-muted: #6b6359;
  --text-soft: #9a9087;
  --sage: #87a17b;
  --sage-soft: #e3ebdf;
  --terracotta: #c47b5a;
  --terracotta-soft: #f5e3da;
  --border: #e8e2d6;
  --border-strong: #d4cbb8;
  --shadow-sm: 0 1px 2px rgba(31, 27, 22, 0.04);
  --shadow-md: 0 4px 16px rgba(31, 27, 22, 0.06);
  --radius: 6px;
  --radius-lg: 12px;
  --maxw: 1200px;
  --maxw-prose: 720px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1rem 0; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-prose {
  max-width: var(--maxw-prose);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 720px) {
  .container, .container-prose { padding: 0 1.25rem; }
}

/* ---------- Top bar / nav ---------- */
.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(250, 247, 242, 0.92);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}

.brand .amp { font-style: italic; color: var(--terracotta); }

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

.nav a:hover, .nav a.active { color: var(--text); }

.nav .nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.nav .nav-cta:hover { background: var(--terracotta); color: white; }

@media (max-width: 720px) {
  .nav { gap: 1rem; }
  .nav a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text h1 em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-text p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}

.hero-cta:hover { background: var(--terracotta); }

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 1.25rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
}

.hero-cta-secondary:hover { border-color: var(--text); }

@media (max-width: 540px) {
  .hero-text > div { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-cta-secondary { margin-left: 0; }
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #e8d5c0 0%, #d4ba9b 50%, #b8a48a 100%);
  box-shadow: var(--shadow-md);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 65%, rgba(135, 161, 123, 0.3) 0%, transparent 50%);
}

.hero-image .image-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
  z-index: 2;
}

/* SVG illustration inside hero */
.hero-illustration {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ---------- Section base ---------- */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-narrow {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-head .left h2 { margin-bottom: 0.5rem; }
.section-head .left p { color: var(--text-muted); margin: 0; max-width: 560px; }
.section-head .right a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
}
.section-head .right a:hover { border-color: var(--text); }

/* ---------- Category tiles ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr; }
}

.cat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.cat-icon.pantry { background: var(--terracotta-soft); color: var(--terracotta); }
.cat-icon.skincare { background: var(--sage-soft); color: var(--sage); }
.cat-icon.home { background: #ece7df; color: #7a6b56; }

.cat h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.cat .swap-count {
  font-size: 0.8rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
}
.cat p { color: var(--text-muted); margin: 0.75rem 0 0 0; line-height: 1.5; }

/* ---------- Index preview strip ---------- */
.index-preview {
  background: linear-gradient(180deg, var(--bg) 0%, #f5f0e6 100%);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.index-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 980px) {
  .index-cards { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.product-img {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.product-img.bg-cream { background: linear-gradient(135deg, #f5e9dd 0%, #e8d5c0 100%); }
.product-img.bg-sage { background: linear-gradient(135deg, #e3ebdf 0%, #c4d4ba 100%); }
.product-img.bg-terra { background: linear-gradient(135deg, #f5e3da 0%, #e8c5b3 100%); }
.product-img.bg-stone { background: linear-gradient(135deg, #ece7df 0%, #d4ccbe 100%); }

.product-img .verified {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: var(--sage);
  color: white;
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-meta .price { color: var(--text); font-weight: 600; }
.product-meta .where {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--text);
  color: var(--bg);
  padding: 5rem 0;
  border-bottom: none;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 880px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.newsletter h2 { color: var(--bg); margin-bottom: 1rem; }
.newsletter p { color: rgba(250, 247, 242, 0.78); }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.5rem;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--bg);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(250, 247, 242, 0.45); }

.newsletter-form button {
  background: var(--terracotta);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease;
}

.newsletter-form button:hover { background: #b06a4a; }

@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; border-radius: 14px; padding: 0.75rem; }
  .newsletter-form input { padding: 0.5rem 0.75rem; }
  .newsletter-form button { border-radius: 8px; padding: 0.75rem; }
}

.newsletter-trust {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.6);
}

.newsletter-trust span::before { content: '— '; opacity: 0.6; }

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 0;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.footer .brand { font-size: 1.25rem; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.footer-meta {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

/* ---------- Article (journal post page) ---------- */
.article-header {
  padding: 4rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.article-header .meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.article-header .meta .pill {
  background: var(--terracotta-soft);
  color: var(--terracotta);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.article-header h1 {
  max-width: 820px;
  margin: 0 auto 1rem;
}

.article-header .deck {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

.article-byline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c47b5a 0%, #87a17b 100%);
}

.article-feature-image {
  margin: 2.5rem auto 0;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e8d5c0 0%, #c4d4ba 100%);
  position: relative;
  overflow: hidden;
}

.article-feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(255,255,255,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(135, 161, 123, 0.35) 0%, transparent 50%);
}

.article-body {
  padding: 3rem 0 4rem;
}

.article-body p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2a2620;
  margin-bottom: 1.5rem;
}

.article-body h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.85rem;
}

.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.article-body ul, .article-body ol {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2a2620;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-body li { margin-bottom: 0.5rem; }

.article-body blockquote {
  border-left: 3px solid var(--terracotta);
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

/* ---------- Compare table (in article) ---------- */
.compare {
  margin: 2.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.compare-head > div {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.compare-head > div:first-child { border-right: 1px solid var(--border); color: var(--text-muted); }
.compare-head > div:last-child { color: var(--sage); }

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child { border-bottom: 0; }

@media (max-width: 560px) {
  .compare-head { grid-template-columns: 1fr; }
  .compare-head > div:first-child { border-right: 0; border-bottom: 1px solid var(--border); }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div:first-child { border-right: 0; border-bottom: 1px solid var(--border); font-size: 0.8rem; padding: 0.6rem 1rem; }
  .compare-row > div:last-child { padding: 0.6rem 1rem; }
}

.compare-row > div {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.compare-row > div:first-child {
  background: rgba(196, 123, 90, 0.04);
  border-right: 1px solid var(--border);
  color: var(--text-muted);
}

/* ---------- Buy box ---------- */
.buy-box {
  margin: 2.5rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 640px) {
  .buy-box { grid-template-columns: 1fr; text-align: center; }
}

.buy-box .product-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  font-size: 2.5rem;
}

.buy-box h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.buy-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.buy-box .buy-cta {
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.buy-box .buy-cta:hover { background: var(--terracotta); }

.buy-box .price-tag {
  display: block;
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: 0.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ---------- Index page (directory) ---------- */
.index-hero {
  padding: 4rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.index-hero h1 {
  max-width: 760px;
  margin: 0 auto 1.25rem;
}

.index-hero h1 em { color: var(--terracotta); font-style: italic; }

.index-hero p {
  max-width: 580px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.index-search {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.index-search input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 1rem 1.4rem;
  font-size: 0.95rem;
  outline: none;
  color: var(--text);
}

.index-search input::placeholder { color: var(--text-soft); }

.index-search button {
  background: var(--text);
  color: var(--bg);
  border: 0;
  padding: 0 1.6rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.index-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.index-stats .stat strong { color: var(--text); font-size: 1.1rem; font-family: 'Cormorant Garamond', serif; font-weight: 600; }

/* Filters bar */
.index-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 65px;
  z-index: 5;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover { border-color: var(--border-strong); color: var(--text); }

.filter-pill.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.filter-pill .chev { font-size: 0.7rem; opacity: 0.6; }

.filter-pill.clear {
  border-style: dashed;
  color: var(--text-soft);
}

/* Index grid */
.index-results {
  padding: 2.5rem 0 4rem;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.results-meta .sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.results-meta .sort select {
  background: transparent;
  border: 0;
  font: inherit;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  padding: 0.3rem 0.4rem;
}

.index-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 980px) { .index-results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .index-results-grid { grid-template-columns: 1fr; } }

/* Free-from tags inside cards */
.free-from {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.free-from span {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--sage-soft);
  color: #5a7a4f;
  font-weight: 500;
}

/* ---------- Mockup ribbon ---------- */
.mockup-ribbon {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  z-index: 100;
  opacity: 0.85;
  font-family: 'Inter', sans-serif;
  box-shadow: var(--shadow-md);
}

.mockup-ribbon strong { color: var(--terracotta); }

/* ================================================================
   PHASE 2 — Visual upgrades
   ================================================================ */

/* --- Hero image: photos + overlays --- */
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: inherit;
}
.hero-image::after { z-index: 2; }
.hero-image .image-tag { z-index: 3; }

/* --- Featured article card --- */
.featured-strip {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.featured-card:hover {
  box-shadow: 0 12px 40px rgba(31, 27, 22, 0.1);
  transform: translateY(-3px);
}

.featured-card-img {
  min-height: 400px;
  background: linear-gradient(135deg, #e8d5c0 0%, #c4d4ba 50%, #87a17b 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.featured-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(31,27,22,0.15) 0%, transparent 40%);
}

.featured-card-body {
  padding: 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.featured-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  width: fit-content;
}

.featured-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.featured-card-title em { font-style: italic; color: var(--terracotta); }

.featured-card-excerpt {
  font-size: 1.0rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
}

.featured-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.featured-card-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--border-strong);
  border-radius: 50%;
  display: inline-block;
}

.featured-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  border-bottom: 1.5px solid var(--border-strong);
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color 0.15s ease;
}

.featured-card-cta:hover { border-color: var(--text); }

@media (max-width: 860px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-card-img { min-height: 280px; }
  .featured-card-body { padding: 2rem 2rem 2.5rem; gap: 1rem; }
}

/* --- Category tile: background number --- */
.cat { position: relative; overflow: hidden; }

.cat-bg-num {
  position: absolute;
  right: -0.5rem;
  bottom: -1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  font-weight: 600;
  color: rgba(0,0,0,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* --- Journal cards row (homepage) --- */
.journal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 860px) { .journal-row { grid-template-columns: 1fr; } }

.journal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.journal-card-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}

.journal-card-pill {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(255,255,255,0.92);
  color: var(--terracotta);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

.journal-card-body { padding: 1.4rem 1.6rem 1.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.journal-card-body h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500; line-height: 1.25; }
.journal-card-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; margin: 0; }
.journal-card-body .journal-meta { font-size: 0.75rem; color: var(--text-soft); margin-top: auto; padding-top: 0.75rem; display: flex; gap: 0.75rem; }

/* --- About section (homepage) --- */
.about-strip {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.about-visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--terracotta-soft) 0%, var(--sage-soft) 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.about-visual-quote {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(31,27,22,0.7) 0%, transparent 100%);
  color: white;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.4;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--text-muted); line-height: 1.75; }
.about-text p + p { margin-top: 1rem; }

/* --- Article: drop-cap --- */
.article-body .drop-cap::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.4em;
  font-weight: 500;
  float: left;
  line-height: 0.78;
  margin-right: 0.06em;
  margin-top: 0.08em;
  color: var(--terracotta);
}

/* --- Article: pull quote --- */
.article-body blockquote {
  background: linear-gradient(135deg, var(--terracotta-soft) 0%, var(--sage-soft) 100%);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.75rem 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.55;
  color: #3a2a1a;
  margin: 2.5rem 0;
}

/* --- Article feature image with photo --- */
.article-feature-image {
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 8;
}

/* --- Compare table: right col green tint --- */
.compare-row > div:last-child {
  background: rgba(135, 161, 123, 0.06);
}

/* --- "Next up" section at article bottom --- */
.article-next { padding: 4rem 0 5rem; background: linear-gradient(180deg, var(--bg) 0%, #f5f0e6 100%); }

/* =====================================================
   BRAND LOGO MARK
   ===================================================== */
.brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
}
.brand-mark {
  width: 13px;
  height: 18px;
  color: var(--terracotta);
  flex-shrink: 0;
  position: relative;
  top: -1px;
  transition: color 0.15s ease;
}
.brand:hover .brand-mark { color: var(--text); }

/* =====================================================
   COVERAGE STRIP
   ===================================================== */
.coverage-strip {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  overflow: hidden;
}
.coverage-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.coverage-inner::-webkit-scrollbar { display: none; }
.coverage-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  padding-right: 1.25rem;
  border-right: 1px solid var(--border);
  margin-right: 0;
}
.coverage-list {
  display: flex;
  align-items: center;
}
.coverage-list span {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0 1rem;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.coverage-list span:last-child { border-right: none; }
@media (max-width: 640px) { .coverage-eyebrow { display: none; } }

/* =====================================================
   RTL VERDICT BOX
   ===================================================== */
.rtl-verdict {
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 2px 14px rgba(31,27,22,0.05);
}
.verdict-header {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.verdict-stamp {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
}
.verdict-rating {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
}
.rtl-verdict .verdict-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}
.verdict-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.verdict-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s;
}
.verdict-buy:hover { background: var(--terracotta); }
.verdict-price { font-size: 0.82rem; color: var(--text-soft); }

/* =====================================================
   INGREDIENT FLAG PILLS (inline article callouts)
   ===================================================== */
.flag-bad {
  display: inline;
  background: #fff0eb;
  color: #b55a35;
  padding: 0.12em 0.5em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.88em;
  font-style: normal;
}
.flag-ok {
  display: inline;
  background: var(--sage-soft);
  color: #3e6434;
  padding: 0.12em 0.5em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.88em;
  font-style: normal;
}

/* =====================================================
   HERO — punchier eyebrow + image tag
   ===================================================== */
.hero-eyebrow-geo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}
.hero-eyebrow-geo::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* =====================================================
   FOOTER — logo + tagline
   ===================================================== */
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-soft);
  font-style: italic;
  margin-top: 0.2rem;
}
.footer-inner {
  align-items: flex-start;
}
.footer-brand-block { display: flex; flex-direction: column; gap: 0.15rem; }

.article-next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 640px) { .article-next-grid { grid-template-columns: 1fr; } }

.article-next-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-next-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.article-next-img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.article-next-body { padding: 1.25rem 1.4rem 1.5rem; }
.article-next-body h4 { margin-bottom: 0.4rem; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; line-height: 1.3; }
.article-next-body p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* --- Product card image: enhanced --- */
.product-img { aspect-ratio: 4 / 3; }
.product-img.bg-cream { background: linear-gradient(145deg, #f8eee0 0%, #eddcc7 60%, #e0c8ab 100%); }
.product-img.bg-sage  { background: linear-gradient(145deg, #dcebd6 0%, #c8dec0 60%, #b2ceaa 100%); }
.product-img.bg-terra { background: linear-gradient(145deg, #f7e4da 0%, #efcfbe 60%, #e3b9a7 100%); }
.product-img.bg-stone { background: linear-gradient(145deg, #eeeae2 0%, #e4ddd3 60%, #d8d0c4 100%); }

/* larger, more editorial emoji placement */
.product-img { font-size: 3.5rem; }

/* --- Index hero: larger stats --- */
.index-stats .stat strong { font-size: 1.4rem; }

/* --- Smooth transitions everywhere --- */
.product-card { transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.product-card:hover { box-shadow: var(--shadow-md); }

/* --- Better category tiles --- */
.cat-icon { width: 64px; height: 64px; font-size: 1.75rem; border-radius: 16px; }

/* ═══════════════════════════════════════════════════════════════════
   WORLD-CLASS OVERHAUL — April 2026
   Full-bleed editorial hero · typographic wordmark · visual polish
   ═══════════════════════════════════════════════════════════════════ */

/* — Wordmark: hide SVG icon, let Cormorant Garamond do the work — */
.brand-mark { display: none !important; }
.brand { gap: 0 !important; }

/* — Hero: full-bleed editorial layout, photo bleeds to the right — */
.hero {
  position: relative !important;
  min-height: 90vh !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

.hero-grid {
  display: block !important;
  padding: 9rem 0 !important;
  position: relative;
  z-index: 2;
}

.hero-text { max-width: 580px; }

.hero-image {
  position: absolute !important;
  inset: 0 !important;
  aspect-ratio: unset !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  z-index: 0 !important;
}

/* Gradient: text side is fully opaque, photo bleeds in from right */
.hero-image::after {
  background: linear-gradient(
    105deg,
    var(--bg) 0%,
    rgba(250,247,242,0.97) 28%,
    rgba(250,247,242,0.8) 48%,
    rgba(250,247,242,0.15) 68%,
    rgba(250,247,242,0.0) 100%
  ) !important;
}

/* Anchor photo to right so products are visible next to text */
.hero-image img { object-position: 65% center; }

/* Bigger, more confident headline */
.hero-text h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem) !important;
  line-height: 1.07 !important;
  margin-bottom: 1.75rem !important;
}

/* Mobile: stack photo above text */
@media (max-width: 760px) {
  .hero {
    flex-direction: column !important;
    min-height: auto !important;
  }
  .hero-image {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    aspect-ratio: 5 / 3 !important;
    order: -1;
  }
  .hero-image::after {
    background: linear-gradient(
      to bottom,
      rgba(250,247,242,0.0) 35%,
      var(--bg) 100%
    ) !important;
  }
  .hero-grid { padding: 2rem 0 4rem !important; }
  .hero-text h1 { font-size: clamp(2.2rem, 8vw, 2.8rem) !important; }
}

/* — About strip: taller image, better proportions — */
.about-visual {
  min-height: 480px;
  background-size: cover;
  background-position: center 30%;
}

/* — Coverage strip: slightly more prominent — */
.coverage-strip { border-top: 1px solid var(--border); }

/* — Section heads: more breathing room — */
.section-head { padding-bottom: 0.5rem; }

/* — Footer brand: keep it warm — */
.footer .brand { color: var(--text-muted) !important; font-size: 1.2rem !important; }

/* ═══════════════════════════════════════════════════════════════════
   LOGO MARK + HERO GRADIENT FIX — April 2026 v2
   ═══════════════════════════════════════════════════════════════════ */

/* — Logo: terracotta "R" badge + wordmark — */
.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  text-decoration: none !important;
}

.brand::before {
  content: 'R';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--terracotta) !important;
  color: #fff !important;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 5px;
  margin-right: 9px;
  line-height: 1;
  flex-shrink: 0;
}

/* Footer variant — smaller, muted bg-tone */
.footer .brand::before {
  background: rgba(196,123,90,0.55) !important;
}

/* — Hero gradient: stay opaque until the text is fully clear — */
.hero-image::after {
  background: linear-gradient(
    100deg,
    var(--bg)            0%,
    var(--bg)            36%,
    rgba(250,247,242,0.96) 50%,
    rgba(250,247,242,0.55) 63%,
    rgba(250,247,242,0.10) 76%,
    rgba(250,247,242,0.00) 88%
  ) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   v3 — REFINED LOGO + HERO BALANCE
   Kill the lazy "R" badge. Use the SVG as a filled terracotta tag.
   Tighten the hero so it stops swimming in dead space.
   ═══════════════════════════════════════════════════════════════════ */

/* Remove the previous "R" badge */
.brand::before { display: none !important; }

/* Re-show the SVG mark — but as a FILLED terracotta product tag */
.brand-mark {
  display: inline-block !important;
  width: 21px !important;
  height: 29px !important;
  margin-right: 10px !important;
  flex-shrink: 0;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Override the SVG's stroke-only design — make it solid terracotta with cream lines */
.brand-mark > circle {
  fill: var(--terracotta) !important;
  stroke: none !important;
}
.brand-mark > rect {
  fill: var(--terracotta) !important;
  stroke: none !important;
  rx: 2.5;
}
.brand-mark > line {
  stroke: var(--bg) !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
}

/* — Hero balance fix — */
.hero {
  min-height: 70vh !important;
}

.hero-grid {
  padding: 4rem 0 4.5rem !important;
}

/* Anchor photo against the right edge so it doesn't float */
.hero-image img {
  object-position: 78% center !important;
}

/* Cleaner gradient — solid cream through 40%, sharper transition */
.hero-image::after {
  background: linear-gradient(
    100deg,
    var(--bg)              0%,
    var(--bg)              40%,
    rgba(250,247,242,0.92) 54%,
    rgba(250,247,242,0.4)  68%,
    rgba(250,247,242,0.0)  84%
  ) !important;
}

/* Tighter headline — let the hero breathe without inflating it */
.hero-text h1 {
  font-size: clamp(2.6rem, 4.8vw, 3.8rem) !important;
  margin-bottom: 1.4rem !important;
  line-height: 1.05 !important;
}

.hero-text .lead {
  margin-bottom: 1.75rem !important;
}
