/* ============================================================
   BlackSoapHub.com — Main Stylesheet
   Design: Rich earth palette, Playfair Display headlines,
   DM Sans body — rooted in West African craft aesthetic
   ============================================================ */

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --ink:       #1A0F09;   /* Deep espresso — primary text */
  --earth:     #3D1F0E;   /* Dark clay — headings */
  --amber:     #C4621D;   /* Fired amber — primary accent */
  --amber-lt:  #E8842A;   /* Lighter amber — hover */
  --cream:     #FAF5EE;   /* Warm ivory — background */
  --cream-dk:  #F0E8DC;   /* Deeper cream — section bg */
  --terracotta:#8B3A1A;   /* Deep terracotta — secondary */
  --sage:      #4A5E4A;   /* Earthy sage — tag/label */
  --mist:      #EDE5DB;   /* Pale sand — borders */
  --white:     #FFFFFF;
  --mid:       #7A5C48;   /* Mid-tone for secondary text */

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
  --ff-mono:    'DM Mono', monospace;

  --sz-xs:  0.75rem;
  --sz-sm:  0.875rem;
  --sz-base:1rem;
  --sz-lg:  1.125rem;
  --sz-xl:  1.25rem;
  --sz-2xl: 1.5rem;
  --sz-3xl: 1.875rem;
  --sz-4xl: 2.25rem;
  --sz-5xl: 3rem;
  --sz-6xl: 3.75rem;
  --sz-7xl: 4.5rem;

  --radius:  6px;
  --radius-lg: 12px;
  --shadow:  0 2px 16px rgba(61,31,14,0.08);
  --shadow-lg: 0 8px 40px rgba(61,31,14,0.14);

  --transition: 200ms ease;
  --max-w: 1200px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: var(--sz-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-lt); }
ul { list-style: none; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1200px) { .container { padding: 0 2.5rem; } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px)  { .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--ff-display);
  color: var(--earth);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(var(--sz-4xl), 5vw, var(--sz-7xl)); }
h2 { font-size: clamp(var(--sz-3xl), 3.5vw, var(--sz-5xl)); margin-bottom: 1rem; }
h3 { font-size: clamp(var(--sz-xl), 2.5vw, var(--sz-3xl)); margin-bottom: 0.75rem; }
h4 { font-size: var(--sz-xl); margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; color: var(--ink); }
.lead { font-size: var(--sz-lg); color: var(--mid); line-height: 1.8; }
.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--sz-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 400;
  display: block;
  margin-bottom: 0.75rem;
}
.section-title { text-align: center; }
.section-title + .lead { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: var(--sz-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--amber-lt);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196,98,29,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
}
.btn-outline:hover {
  background: var(--amber);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--earth);
  border: 1.5px solid var(--mist);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-lg { padding: 1rem 2rem; font-size: var(--sz-base); }
.btn-sm { padding: 0.5rem 1rem; font-size: var(--sz-xs); }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,245,238,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  color: var(--amber);
  font-size: 1.4rem;
  line-height: 1;
}
.logo-text {
  font-family: var(--ff-display);
  font-size: var(--sz-xl);
  font-weight: 900;
  color: var(--earth);
  letter-spacing: -0.02em;
}
.logo--light .logo-text { color: var(--cream); }
.logo--light .logo-mark { color: var(--amber-lt); }

.main-nav { margin-left: auto; display: none; }
@media (min-width: 900px) { .main-nav { display: block; } }
.main-nav > ul { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: var(--ink);
  font-size: var(--sz-sm);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover { background: var(--cream-dk); color: var(--amber); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--transition);
  padding: 0.5rem;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown li a { display: block; color: var(--ink); font-size: var(--sz-sm); padding: 0.5rem 0.75rem; border-radius: var(--radius); }
.dropdown li a:hover { background: var(--cream); color: var(--amber); }
.nav-cta { margin-left: 1rem; display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0.5rem;
}
@media (min-width: 900px) { .mobile-menu-toggle { display: none; } }
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--earth);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-nav {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
  padding: 1.5rem;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--ink);
  font-weight: 500;
  border-radius: var(--radius);
}
.mobile-nav a:hover { background: var(--cream); color: var(--amber); }
.mobile-nav .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--earth);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(196,98,29,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(139,58,26,0.3) 0%, transparent 50%);
  pointer-events: none;
}
/* Signature element: grain texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}
.hero-content { color: var(--cream); }
.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--sz-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-lt);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}
.hero h1 {
  color: var(--cream);
  margin-bottom: 1.25rem;
  font-style: italic;
  line-height: 1.1;
}
.hero h1 em {
  color: var(--amber-lt);
  font-style: italic;
}
.hero-desc {
  color: rgba(250,245,238,0.75);
  font-size: var(--sz-lg);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-stat-number {
  font-family: var(--ff-display);
  font-size: var(--sz-4xl);
  font-weight: 900;
  color: var(--amber-lt);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-label {
  font-size: var(--sz-xs);
  color: rgba(250,245,238,0.6);
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Section Spacing ──────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--alt { background: var(--cream-dk); }
.section--dark { background: var(--earth); color: var(--cream); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--cream); }
.section--dark p,
.section--dark .lead { color: rgba(250,245,238,0.75); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--amber);
}
.card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-category {
  font-family: var(--ff-mono);
  font-size: var(--sz-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.card h3 {
  font-size: var(--sz-xl);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.card p { font-size: var(--sz-sm); color: var(--mid); flex: 1; margin-bottom: 1rem; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--sz-xs);
  color: var(--mid);
  font-family: var(--ff-mono);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--mist);
}

/* ── Featured Article ─────────────────────────────────────── */
.article-featured {
  display: grid;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
@media (min-width:640px){ .article-featured{ grid-template-columns:220px 1fr; } }
@media (min-width:900px){ .article-featured{ grid-template-columns:1fr 1fr; } }
.article-featured-thumb {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-featured-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
}
@media (min-width:640px){ .article-featured-body{ padding:1.75rem; } }
@media (min-width:900px){ .article-featured-body{ padding:2.5rem; } }
.article-featured-body h2 { font-size: clamp(var(--sz-2xl), 3vw, var(--sz-4xl)); margin-bottom: 1rem; }

/* ── Category Grid ────────────────────────────────────────── */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.category-card:hover {
  background: var(--earth);
  border-color: var(--earth);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.category-card:hover h3,
.category-card:hover p { color: var(--cream); }
.category-card:hover .category-icon { color: var(--amber-lt); }
.category-icon {
  font-size: 1.75rem;
  color: var(--amber);
  line-height: 1;
}
.category-card h3 { font-size: var(--sz-xl); margin: 0; }
.category-card p { font-size: var(--sz-sm); color: var(--mid); margin: 0; line-height: 1.5; }

/* ── Product Card ─────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
  transform: translateY(-2px);
}
.product-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: var(--sz-xs);
  font-family: var(--ff-mono);
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.product-thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.product-card h3 { font-size: var(--sz-lg); }
.product-brand { font-size: var(--sz-xs); color: var(--mid); font-family: var(--ff-mono); margin-bottom: 0.75rem; }
.product-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: var(--sz-sm); }
.stars { color: var(--amber); letter-spacing: -0.05em; }
.product-price { font-family: var(--ff-display); font-weight: 700; color: var(--earth); font-size: var(--sz-xl); }
.product-best-for { font-size: var(--sz-xs); color: var(--sage); font-weight: 500; margin-top: 0.5rem; }
.product-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── Article Content ──────────────────────────────────────── */
.article-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
.article-content {
  max-width: 720px;
}
.article-content h2 {
  font-size: var(--sz-3xl);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mist);
}
.article-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-content h3 { font-size: var(--sz-2xl); margin-top: 2rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content ul { list-style: disc; }
.article-content strong { color: var(--earth); }
.article-content em { color: var(--mid); }

.article-header { margin-bottom: 2.5rem; }
.article-header h1 { margin-bottom: 1rem; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: var(--sz-sm);
  color: var(--mid);
  font-family: var(--ff-mono);
  padding: 1rem 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  margin-bottom: 2rem;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-widget h4 {
  font-size: var(--sz-base);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--mist);
}
.sidebar-widget ul li { margin-bottom: 0.5rem; }
.sidebar-widget ul li a { color: var(--ink); font-size: var(--sz-sm); }
.sidebar-widget ul li a:hover { color: var(--amber); }
.toc-list { counter-reset: toc; }
.toc-list li {
  counter-increment: toc;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--mist);
}
.toc-list li:last-child { border-bottom: none; }
.toc-list li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--ff-mono);
  font-size: var(--sz-xs);
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--mist);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--ff-display);
  font-size: var(--sz-lg);
  color: var(--earth);
  font-weight: 700;
}
.faq-question::after {
  content: '+';
  font-family: var(--ff-body);
  font-size: 1.5rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--mid);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ── Newsletter Band ──────────────────────────────────────── */
.newsletter-band {
  background: linear-gradient(135deg, var(--earth) 0%, #5C3D28 100%);
  color: var(--cream);
  padding: 4rem 0;
  text-align: center;
}
.newsletter-band h2 { color: var(--cream); margin-bottom: 0.75rem; }
.newsletter-band p { color: rgba(250,245,238,0.75); margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: var(--sz-base);
}
.newsletter-form input::placeholder { color: rgba(250,245,238,0.5); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--amber-lt);
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: var(--sz-xs);
  font-family: var(--ff-mono);
  color: var(--mid);
  padding: 1rem 0;
}
.breadcrumb a { color: var(--mid); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb-sep { color: var(--mist); }

/* ── Tags ─────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: var(--sz-xs);
  font-family: var(--ff-mono);
  background: var(--cream-dk);
  color: var(--earth);
  border: 1px solid var(--mist);
  text-decoration: none;
}
.tag:hover { background: var(--amber); color: var(--white); border-color: var(--amber); }

/* ── Rating Stars ─────────────────────────────────────────── */
.rating-bar { display: flex; align-items: center; gap: 0.75rem; font-size: var(--sz-sm); }
.rating-fill {
  height: 6px;
  border-radius: 999px;
  background: var(--mist);
  flex: 1;
  overflow: hidden;
}
.rating-fill-inner { height: 100%; background: var(--amber); border-radius: inherit; }

/* ── Pros / Cons ──────────────────────────────────────────── */
.pros-cons { display: grid; gap: 1rem; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros, .cons {
  padding: 1.25rem;
  border-radius: var(--radius);
  font-size: var(--sz-sm);
}
.pros { background: rgba(74,94,74,0.08); border-left: 3px solid var(--sage); }
.cons { background: rgba(139,58,26,0.08); border-left: 3px solid var(--terracotta); }
.pros h5 { color: var(--sage); margin-bottom: 0.75rem; }
.cons h5 { color: var(--terracotta); margin-bottom: 0.75rem; }
.pros li::before { content: '✓ '; color: var(--sage); font-weight: 700; }
.cons li::before { content: '✗ '; color: var(--terracotta); font-weight: 700; }
.pros li, .cons li { list-style: none; margin-bottom: 0.4rem; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--earth);
  /* padding adapts to content — min 3rem top, auto bottom */
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
/* No circle frame on base page-hero — removed.
   Individual page heroes add their own decorative layers via ::before/::after */
.page-hero .eyebrow { color: var(--amber-lt); }
.page-hero h1 { color: var(--cream); }
.page-hero h1 { font-size: clamp(var(--sz-3xl), 5vw, var(--sz-5xl)); line-height: 1.1; }
.page-hero .lead { color: rgba(250,245,238,0.78); max-width: 680px; }
.page-hero .breadcrumb a { color: rgba(250,245,238,0.55); }
.page-hero .breadcrumb-sep { color: rgba(250,245,238,0.3); }
.page-hero .breadcrumb span:last-child { color: rgba(250,245,238,0.45); }

/* ── Search Bar ───────────────────────────────────────────── */
.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 560px;
  margin: 1.5rem auto 0;
}
.search-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1.5px solid var(--mist);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: var(--sz-base);
  background: var(--white);
  color: var(--ink);
}
.search-form input:focus { outline: none; border-color: var(--amber); }

/* ── Trust Badges ─────────────────────────────────────────── */
.trust-strip {
  background: var(--cream-dk);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  padding: 1.5rem 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--sz-sm);
  color: var(--mid);
  font-weight: 500;
}
.trust-item-icon { color: var(--amber); font-size: 1.1rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #1A0C05;
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 540px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; } }

/* Brand column */
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: var(--sz-sm);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: #F0E0CC; /* bright warm cream — high contrast on dark footer */
}

/* Social icons */
.social-links { display: flex; gap: 1rem; }
.social-links a { color: #B8977E; transition: color var(--transition); }
.social-links a:hover { color: #E8A96A; }

/* Column headings */
.footer-col h4 {
  color: #FFFFFF;
  font-size: var(--sz-sm);
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Column links */
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: #C4A882; /* solid — no opacity, always visible */
  font-size: var(--sz-sm);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col ul li a:hover { color: #E8A96A; }

/* Newsletter copy */
.footer-newsletter-copy {
  font-size: var(--sz-sm);
  color: #F0E0CC; /* bright warm cream — visible on all devices */
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid #3D2010;
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  font-size: var(--sz-xs);
  color: #D4BFA8; /* lifted for visibility on all devices */
}
@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Copyright */
.footer-bottom-inner > p:first-child {
  color: #FFFFFF; /* pure white — maximum contrast for copyright */
  margin: 0;
  white-space: nowrap;
}

/* Legal links */
.footer-bottom-inner nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.footer-bottom-inner nav a { color: #B8977E; text-decoration: none; transition: color 150ms; }
.footer-bottom-inner nav a:hover { color: #E8A96A; }

/* Affiliate disclosure */
.affiliate-note {
  font-style: italic;
  font-size: var(--sz-xs);
  color: #D4BFA8; /* lifted from #B8977E — visible on all screens */
  width: 100%;
  margin: 0;
  line-height: 1.6;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.gap-1 { gap: 0.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.divider { border: none; border-top: 1px solid var(--mist); margin: 3rem 0; }
.highlight-box {
  background: linear-gradient(135deg, rgba(196,98,29,0.08), rgba(61,31,14,0.05));
  border: 1px solid rgba(196,98,29,0.2);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.highlight-box p { margin: 0; }

/* ── Responsive Tweaks ────────────────────────────────────── */
@media (max-width: 639px) {
  .section { padding: 3.5rem 0; }
  h2 { font-size: var(--sz-3xl); }
  .hero { padding: 3.5rem 0 3rem; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ── Focus Visible ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ── Pagination — modern design ────────────────────────────── */
.bsh-pg {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 2.5rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
}

/* Meta row */
.bsh-pg__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}
.bsh-pg__info {
  font-size: var(--sz-sm);
  color: var(--mid);
}
.bsh-pg__info strong {
  color: var(--ink);
  font-weight: 700;
}
.bsh-pg__of {
  font-size: var(--sz-xs);
  color: var(--mid);
  font-family: var(--ff-mono);
  white-space: nowrap;
}

/* Progress bar */
.bsh-pg__bar {
  height: 3px;
  background: var(--mist);
  border-radius: 999px;
  overflow: hidden;
}
.bsh-pg__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-lt, #e8842d));
  border-radius: 999px;
  transition: width .4s ease;
}

/* Controls */
.bsh-pg__controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 600px) {
  .bsh-pg__controls { justify-content: flex-start; }
}

/* Base button */
.bsh-pg__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius);
  border: 1px solid var(--mist);
  background: var(--white);
  color: var(--ink);
  font-size: var(--sz-sm);
  font-weight: 500;
  font-family: var(--ff-body);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 120ms, background 120ms, color 120ms,
              box-shadow 120ms, transform 100ms;
  user-select: none;
}
.bsh-pg__btn:hover {
  border-color: var(--amber);
  background: #fff7ed;
  color: var(--amber);
  box-shadow: 0 2px 8px rgba(196,98,29,.12);
  transform: translateY(-1px);
}

/* Prev / Next nav buttons */
.bsh-pg__btn--nav {
  padding: 0 14px;
  background: var(--cream-dk);
  border-color: var(--mist);
  font-weight: 600;
}
.bsh-pg__btn--nav:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  box-shadow: 0 3px 12px rgba(196,98,29,.25);
}

/* Current page */
.bsh-pg__btn--current {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  font-weight: 700;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(196,98,29,.35);
  transform: scale(1.06);
  z-index: 1;
}

/* Disabled */
.bsh-pg__btn--disabled {
  opacity: .3;
  pointer-events: none;
  cursor: default;
  box-shadow: none !important;
  transform: none !important;
}

/* Ellipsis */
.bsh-pg__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 36px;
  color: var(--mid);
  font-size: var(--sz-sm);
  letter-spacing: .1em;
}