/*
Theme Name: Erik Remmel — Divi Child
Theme URI: https://erikremmel.com
Description: Custom Divi child theme for erikremmel.com — editorial premium aesthetic in cream, charcoal, and gold. Built for the personal brand of Erik Remmel, co-founder of Helium Digital. Designed to host Search Atlas-pushed blog content with full E-E-A-T scaffolding (auto-TOC, schema markup, author bio, category-based CTAs).
Author: Erik Remmel
Author URI: https://erikremmel.com
Template: Divi
Version: 1.0.0
*/

/* =========================================================
   ERIK REMMEL — EDITORIAL THEME
   Palette: cream #F8F4ED · white #FFFFFF · charcoal #1A1A1A · gold #B8946A
   Typography: Playfair Display (serif) + Inter (sans)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&display=swap');

:root {
  --color-cream: #F8F4ED;
  --color-cream-warm: #F0E9DC;
  --color-white: #FFFFFF;
  --color-charcoal: #1A1A1A;
  --color-charcoal-soft: #2A2A2A;
  --color-charcoal-light: #4A4A4A;
  --color-gold: #B8946A;
  --color-gold-light: #D9BC97;
  --color-gold-dark: #8E6F4C;
  --color-border: rgba(26, 26, 26, 0.08);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Base / reset ---------- */
* { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-charcoal);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1.5rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

p {
  font-size: 1.125rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

a {
  color: var(--color-charcoal);
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--color-gold);
  text-decoration-color: var(--color-charcoal);
}

a.no-underline,
.no-underline a { text-decoration: none; }

ul, ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

ul li::marker { color: var(--color-gold); }

blockquote {
  border-left: 2px solid var(--color-gold);
  padding: 1rem 1.5rem;
  margin: 2.5rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.5;
  color: var(--color-charcoal-soft);
}

code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9em;
  background: var(--color-cream);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

pre {
  background: var(--color-charcoal);
  color: var(--color-cream);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.5;
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

table th {
  font-family: var(--font-sans);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--color-cream);
  border-bottom: 2px solid var(--color-charcoal);
}

table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

/* ---------- Helpers ---------- */
.italic-gold { font-family: var(--font-serif); font-style: italic; color: var(--color-gold); }
.kicker {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-block;
  margin-bottom: 1rem;
}
.gold-rule { width: 60px; height: 1px; background: var(--color-gold); display: block; margin: 1.5rem 0; }
.gold-rule-center { width: 60px; height: 1px; background: var(--color-gold); display: block; margin: 1.5rem auto; }

/* ---------- Section backgrounds ---------- */
.bg-cream, .et_pb_section.bg-cream { background: var(--color-cream) !important; }
.bg-white, .et_pb_section.bg-white { background: var(--color-white) !important; }
.bg-charcoal, .et_pb_section.bg-charcoal { background: var(--color-charcoal) !important; color: var(--color-cream); }

.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3,
.bg-charcoal h4, .bg-charcoal h5, .bg-charcoal h6 { color: var(--color-cream); }
.bg-charcoal p { color: var(--color-cream); }
.bg-charcoal a { color: var(--color-cream); text-decoration-color: var(--color-gold); }
.bg-charcoal a:hover { color: var(--color-gold); }

/* ---------- Buttons (override Divi) ---------- */
.btn,
a.btn,
.et_pb_button.btn,
.et_pb_button_module_wrapper .et_pb_button {
  display: inline-block;
  padding: 1rem 2.25rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  border: 1px solid var(--color-charcoal) !important;
  border-radius: 0 !important;
  background: var(--color-charcoal) !important;
  color: var(--color-cream) !important;
  transition: all 0.25s ease !important;
  cursor: pointer;
}

.btn:hover,
.et_pb_button.btn:hover {
  background: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: var(--color-cream) !important;
  transform: translateY(-1px);
}

.btn-outline { background: transparent !important; color: var(--color-charcoal) !important; }
.btn-outline:hover { background: var(--color-charcoal) !important; color: var(--color-cream) !important; }
.btn-gold { background: var(--color-gold) !important; border-color: var(--color-gold) !important; }
.btn-gold:hover { background: var(--color-charcoal) !important; border-color: var(--color-charcoal) !important; }

.bg-charcoal .btn { background: var(--color-cream) !important; color: var(--color-charcoal) !important; border-color: var(--color-cream) !important; }
.bg-charcoal .btn:hover { background: var(--color-gold) !important; border-color: var(--color-gold) !important; color: var(--color-cream) !important; }

/* ---------- Divi Header / Navigation override ---------- */
#main-header {
  background: var(--color-cream) !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--color-border);
}

#top-menu li a {
  font-family: var(--font-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  color: var(--color-charcoal) !important;
  text-decoration: none !important;
  padding-bottom: 1.5rem !important;
}

#top-menu li a:hover {
  color: var(--color-gold) !important;
  opacity: 1 !important;
}

#top-menu li.current_page_item a { color: var(--color-gold) !important; }

/* Logo replacement — two-tone "Erik Remmel" wordmark.
   Hides Divi's default logo image and renders the brand as styled text:
   "Erik" in charcoal serif + "Remmel" in gold italic.
   Erik can upload a real logo later via Divi Theme Options → General → Logo.
   When a real logo is uploaded, remove this block. */
.logo_container {
  position: relative;
  display: flex !important;
  align-items: center !important;
}
.logo_container a {
  display: inline-flex !important;
  align-items: baseline !important;
  text-decoration: none !important;
  line-height: 1 !important;
  font-family: var(--font-serif) !important;
  font-size: 2rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap;
}
.logo_container #logo,
.logo_container img {
  display: none !important;
}
.logo_container a::before {
  content: "Erik";
  color: var(--color-charcoal);
  font-style: normal;
  font-weight: 500;
}
.logo_container a::after {
  content: "Remmel";
  color: var(--color-gold);
  font-style: italic;
  font-weight: 500;
  margin-left: 0.32em;
}
.logo_container a:hover::before { color: var(--color-charcoal); }
.logo_container a:hover::after { color: var(--color-gold); }

/* ---------- Divi Footer override ---------- */
#main-footer .et-social-icons { display: none !important; } /* Hide default social icons until configured */
#footer-info { color: rgba(248, 244, 237, 0.6); }
#footer-info a { color: var(--color-gold) !important; }

/* ---------- Divi Footer override ---------- */
#main-footer {
  background: var(--color-charcoal) !important;
  color: var(--color-cream);
  padding-top: 4rem !important;
}

#main-footer h4, #main-footer h3 {
  color: var(--color-gold);
  font-size: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

#main-footer a { color: var(--color-cream); text-decoration: none; }
#main-footer a:hover { color: var(--color-gold); }

#footer-bottom {
  background: var(--color-charcoal) !important;
  border-top: 1px solid rgba(248, 244, 237, 0.1);
}

/* ---------- BLOG POST TEMPLATE (single.php) ---------- */
.single-post .et_pb_post_title { display: none; }

.post-hero {
  padding: 5rem 0 2.5rem;
  background: var(--color-cream);
}

.post-breadcrumb {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-charcoal-light);
  margin-bottom: 1rem;
}

.post-breadcrumb a { color: var(--color-charcoal-light); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--color-gold); }

.post-category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-gold);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.post-category-badge a { color: var(--color-cream); text-decoration: none; }

.post-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-charcoal-light);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.post-meta .author-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.post-meta .author-name { color: var(--color-charcoal); font-weight: 500; }
.post-meta .author-name a { color: var(--color-charcoal); text-decoration: none; }
.post-meta .meta-divider { color: var(--color-gold); }

.post-featured-image {
  background: var(--color-cream);
  padding-bottom: 2.5rem;
}

.post-featured-image .featured-image {
  width: 100%;
  height: auto;
  display: block;
}

.post-body-wrapper { background: var(--color-white); }

.post-body {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  max-width: 720px;
  margin: 0 auto;
}

.post-body p { margin-bottom: 1rem; }
.post-body p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--color-charcoal-soft);
  margin-bottom: 2rem;
}
.post-body h2 { font-size: 2.25rem; margin-top: 3.5rem; margin-bottom: 1rem; }
.post-body h3 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.post-body img { width: 100%; height: auto; margin: 2.5rem 0; }
.post-body figcaption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--color-gold);
  text-align: center;
  margin-top: 0.5rem;
}

/* TOC */
.toc-container {
  background: var(--color-cream);
  padding: 1.5rem;
  margin: 2.5rem 0;
  border-left: 2px solid var(--color-gold);
}
.toc-container h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-charcoal-light);
  margin-bottom: 1rem;
}
.toc-container ul { list-style: none; padding-left: 0; margin: 0; }
.toc-container li { margin-bottom: 0.5rem; }
.toc-container li.toc-h3 { padding-left: 1rem; font-size: 0.9rem; }
.toc-container a { color: var(--color-charcoal); text-decoration: none; }
.toc-container a:hover { color: var(--color-gold); }

/* Mid-post CTA + End-post CTA */
.mid-post-cta,
.end-post-cta {
  background: var(--color-charcoal);
  color: var(--color-cream);
  padding: 2.5rem;
  margin: 4rem 0;
  text-align: center;
}

.mid-post-cta h3,
.end-post-cta h3 {
  color: var(--color-cream);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.mid-post-cta p,
.end-post-cta p {
  color: var(--color-cream);
  margin-bottom: 1.5rem;
}

/* Author bio block */
.author-bio-block {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem;
  background: var(--color-cream);
  margin: 4rem 0 2.5rem;
  align-items: flex-start;
}

.author-bio-block .author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-block .author-info h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.author-bio-block .author-role {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.author-bio-block .author-bio-text { font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }

/* Post tags + share */
.post-tags { margin-top: 3rem; font-size: 0.875rem; color: var(--color-charcoal-light); }
.post-tags .tags-label { font-weight: 600; }
.post-share { margin-top: 1.5rem; font-size: 0.875rem; }
.post-share .share-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 1rem;
  color: var(--color-charcoal-light);
}
.post-share a { margin-right: 1.5rem; color: var(--color-charcoal); }
.post-share a:hover { color: var(--color-gold); }

/* Related posts */
.related-posts {
  padding: 5rem 0;
  background: var(--color-cream);
}

.related-posts h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 2rem;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.related-post-card {
  background: var(--color-white);
  padding: 1.5rem;
  transition: transform 0.25s ease;
  color: var(--color-charcoal);
}

.related-post-card:hover {
  transform: translateY(-2px);
  color: var(--color-charcoal);
}

.related-post-card .related-post-thumb {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.related-post-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.related-post-card .related-post-excerpt {
  font-size: 0.9rem;
  color: var(--color-charcoal-soft);
  line-height: 1.5;
  margin: 0;
}

/* Newsletter band */
.newsletter-band {
  background: var(--color-charcoal);
  color: var(--color-cream);
  padding: 4rem 1.5rem;
  text-align: center;
}

.newsletter-band h2 {
  color: var(--color-cream);
  margin-bottom: 1rem;
}

.newsletter-band .newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 1.5rem auto 0;
  border: 1px solid var(--color-cream);
}

.newsletter-band .newsletter-form input[type="email"] {
  flex: 1;
  background: var(--color-white);
  border: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-charcoal);
  outline: none;
}

/* =========================================================
   PAGE TEMPLATE STYLES (.er-* prefix to avoid Divi conflicts)
   ========================================================= */

.er-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.er-container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.er-container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

.er-section { padding: 7rem 0; position: relative; }
.er-section.bg-white { background: var(--color-white); }
.er-section.bg-cream { background: var(--color-cream); position: relative; overflow: hidden; }
.er-section.bg-charcoal { background: var(--color-charcoal); color: var(--color-cream); }
.er-section.bg-cream::before { content: ""; position: absolute; top: 50%; right: -150px; width: 400px; height: 400px; border: 1px solid var(--color-gold); border-radius: 50%; opacity: 0.08; transform: translateY(-50%); pointer-events: none; }

.er-kicker { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gold); display: inline-block; margin-bottom: 1rem; }

.er-h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1.5rem; letter-spacing: -0.015em; font-weight: 500; line-height: 1.1; }
.er-h2 em { font-style: italic; color: var(--color-gold); }

.er-lead { font-size: 1.25rem; line-height: 1.65; color: var(--color-charcoal-soft); max-width: 760px; margin: 0 auto 3rem; }

.er-section-header { text-align: center; margin-bottom: 5rem; }
.er-section-header h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 500; letter-spacing: -0.015em; }

.text-center { text-align: center; }

/* HERO */
.er-hero { background: var(--color-cream); padding: 5rem 0 8rem; position: relative; overflow: hidden; }
.er-hero::before { content: ""; position: absolute; top: -100px; left: -100px; width: 320px; height: 320px; border: 1px solid var(--color-gold); border-radius: 50%; opacity: 0.18; pointer-events: none; }
.er-hero::after { content: ""; position: absolute; bottom: -200px; right: -200px; width: 500px; height: 500px; border: 1px solid var(--color-gold); border-radius: 50%; opacity: 0.12; pointer-events: none; }
.er-hero-tag { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-charcoal-light); }
.er-hero-tag-line { flex: 0 0 40px; height: 1px; background: var(--color-gold); }
.er-hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: center; position: relative; z-index: 2; }
.er-hero-headline { font-size: clamp(3rem, 6.5vw, 6rem); line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 1rem; font-weight: 500; }
.er-hero-headline em { font-style: italic; font-weight: 400; color: var(--color-charcoal); }
.er-hero-subhead { font-size: clamp(1.5rem, 2.5vw, 2rem); font-family: var(--font-serif); font-style: italic; color: var(--color-gold); margin-bottom: 2.5rem; line-height: 1.2; }
.er-hero-body { font-size: 1.2rem; line-height: 1.6; color: var(--color-charcoal-soft); margin-bottom: 3rem; max-width: 480px; }
.er-hero-photo { background: linear-gradient(135deg, #5a4a3a, #1a1410); aspect-ratio: 4/5; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(26,26,26,0.15); }
.er-hero-photo::before { content: ""; position: absolute; top: -20px; right: -20px; width: 100%; height: 100%; border: 1px solid var(--color-gold); z-index: -1; }
.er-hero-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 2; }

/* PAGE HERO (simpler than hero — for non-home pages) */
.er-page-hero { background: var(--color-cream); padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.er-page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -0.02em; font-weight: 500; margin-bottom: 1rem; line-height: 1.05; }
.er-page-hero h1 em { font-style: italic; color: var(--color-gold); }
.er-page-hero .er-lead { margin-bottom: 0; }

/* STATS */
.er-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.er-stat-block { padding: 3.5rem 1rem; border-right: 1px solid var(--color-border); text-align: center; }
.er-stat-block:last-child { border-right: none; }
.er-stat-number { display: block; font-family: var(--font-serif); font-size: clamp(4rem, 8vw, 7rem); font-weight: 500; line-height: 1; color: var(--color-charcoal); margin-bottom: 0.75rem; letter-spacing: -0.04em; }
.er-stat-number em { font-style: italic; color: var(--color-gold); font-weight: 400; }
.er-stat-label { display: block; font-family: var(--font-sans); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-gold); font-weight: 600; }

/* PRODUCTS GRID */
.er-products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.er-product-card { display: block; padding: 3rem 2.5rem; background: var(--color-white); border: 1px solid var(--color-border); text-decoration: none; color: var(--color-charcoal); transition: all 0.3s ease; position: relative; overflow: hidden; }
.er-product-card::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--color-gold); transition: width 0.3s ease; }
.er-product-card:hover { border-color: var(--color-gold); transform: translateY(-4px); color: var(--color-charcoal); box-shadow: 0 12px 40px rgba(26,26,26,0.08); }
.er-product-card:hover::before { width: 100%; }
.er-product-card h3 { font-size: 2.25rem; margin: 0.25rem 0 1.25rem; letter-spacing: -0.015em; }
.er-product-card p { font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; color: var(--color-charcoal-soft); }
.er-card-cta { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; color: var(--color-gold); text-transform: uppercase; letter-spacing: 0.15em; }
.er-product-card.launched-card { background: var(--color-charcoal); color: var(--color-cream); border: 1px solid var(--color-gold); }
.er-product-card.launched-card h3 { color: var(--color-cream); }
.er-product-card.launched-card p { color: rgba(248,244,237,0.75); }
.er-product-card.launched-card .er-card-cta { color: var(--color-gold); }
.er-product-card.launched-card:hover { background: var(--color-charcoal-soft); transform: translateY(-4px); }
.er-bundle-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--color-gold); color: var(--color-cream); font-family: var(--font-sans); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.4rem 0.85rem; }

/* PULL QUOTE */
.er-pull-quote { background: var(--color-white); padding: 8rem 0; text-align: center; position: relative; }
.er-pull-quote::before { content: "\201C"; position: absolute; top: 3rem; left: 50%; transform: translateX(-50%); font-family: var(--font-serif); font-size: 8rem; color: var(--color-gold); opacity: 0.3; line-height: 1; font-weight: 700; }
.er-pull-quote-text { font-family: var(--font-serif); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-style: italic; line-height: 1.3; color: var(--color-charcoal); max-width: 900px; margin: 0 auto 2rem; position: relative; z-index: 2; }
.er-pull-quote-text em { color: var(--color-gold); font-style: italic; }
.er-pull-quote-attr { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-charcoal-light); font-weight: 600; }

/* ABOUT STRIP */
.er-about-strip { background: var(--color-charcoal); color: var(--color-cream); padding: 8rem 0; position: relative; overflow: hidden; }
.er-about-strip::before { content: ""; position: absolute; top: -150px; right: -150px; width: 400px; height: 400px; border: 1px solid var(--color-gold); border-radius: 50%; opacity: 0.15; }
.er-about-strip-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; align-items: center; position: relative; z-index: 2; }
.er-about-photo { background: linear-gradient(135deg, #5a4a3a, #2a1f15); aspect-ratio: 4/5; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); overflow: hidden; }
.er-about-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 2; }
.er-about-strip h2 { color: var(--color-cream); }
.er-about-strip h2 em { color: var(--color-gold); font-style: italic; }
.er-about-strip p { color: rgba(248,244,237,0.85); margin-bottom: 1.25rem; font-size: 1.15rem; line-height: 1.6; }
.er-about-strip .btn { background: var(--color-cream) !important; color: var(--color-charcoal) !important; border-color: var(--color-cream) !important; margin-top: 1rem; }
.er-about-strip .btn:hover { background: var(--color-gold) !important; border-color: var(--color-gold) !important; color: var(--color-cream) !important; }

/* NEWSLETTER */
.er-newsletter { background: var(--color-cream); text-align: center; padding: 8rem 0; }
.er-newsletter h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1rem; letter-spacing: -0.015em; }
.er-newsletter h2 em { font-style: italic; color: var(--color-gold); }
.er-newsletter-lead { font-size: 1.2rem; color: var(--color-charcoal-soft); max-width: 640px; margin: 0 auto 2.5rem; }

/* FEATURE GRID (used on product pages) */
.er-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.er-feature-card { padding: 2rem; background: var(--color-cream); border-left: 2px solid var(--color-gold); }
.er-feature-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.er-feature-card p { font-size: 1rem; margin: 0; }
.er-section.bg-cream .er-feature-card { background: var(--color-white); }

/* STEPS ROW */
.er-steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.er-step-card { padding: 2.5rem 2rem; text-align: center; }
.er-step-number { display: block; font-family: var(--font-serif); font-size: 4.5rem; color: var(--color-gold); line-height: 1; margin-bottom: 1rem; font-style: italic; font-weight: 400; }
.er-step-card h3 { font-size: 1.875rem; margin-bottom: 0.75rem; }

/* ENTRY MODES (chat/voice/book) */
.er-entry-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1100px; margin: 3rem auto 0; }
.er-entry-mode { padding: 2.5rem 2rem; background: var(--color-cream); text-align: center; }
.er-section.bg-cream .er-entry-mode { background: var(--color-white); }
.er-entry-mode h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.er-entry-mode p { margin-bottom: 1.5rem; font-size: 1rem; }

/* CONTACT CARDS */
.er-contact-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.er-contact-card { padding: 2.5rem 2rem; background: var(--color-cream); text-align: center; }
.er-contact-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.er-contact-card p { margin-bottom: 1.5rem; font-size: 1rem; }

/* FINAL CTA */
.er-final-cta { background: var(--color-charcoal); color: var(--color-cream); padding: 7rem 0; text-align: center; }
.er-final-cta h2 { color: var(--color-cream); font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.er-final-cta h2 em { color: var(--color-gold); font-style: italic; }
.er-final-cta p { color: rgba(248,244,237,0.85); max-width: 600px; margin: 0 auto 2rem; font-size: 1.15rem; }
.er-final-cta .btn { background: var(--color-cream) !important; color: var(--color-charcoal) !important; border-color: var(--color-cream) !important; }
.er-final-cta .btn:hover { background: var(--color-gold) !important; border-color: var(--color-gold) !important; color: var(--color-cream) !important; }
.er-final-cta .small-note { color: rgba(248,244,237,0.6); font-size: 0.875rem; margin-top: 2rem; }
.er-final-cta .small-note a { color: var(--color-gold); }

/* PRINCIPLES (about page) */
.er-principles-list { max-width: 800px; margin: 0 auto; }
.er-principle { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--color-border); }
.er-principle:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.er-principle-number { font-family: var(--font-serif); font-size: 3.5rem; color: var(--color-gold); display: block; margin-bottom: 0.5rem; line-height: 1; font-style: italic; }
.er-principle h3 { font-size: 1.875rem; margin-bottom: 0.5rem; }
.er-principle p { font-size: 1.125rem; }

/* CATEGORY CARDS (blog page) */
.er-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.er-category-card { display: block; padding: 2rem; background: var(--color-cream); text-align: center; text-decoration: none; transition: transform 0.25s ease; height: 100%; color: var(--color-charcoal); }
.er-section.bg-cream .er-category-card { background: var(--color-white); }
.er-category-card:hover { transform: translateY(-2px); color: var(--color-charcoal); }
.er-category-card h3 { font-size: 1.5rem; margin: 0.5rem 0; }

/* GATEWAY PAGE (ListingVidz, PRESS) */
.er-gateway-content { max-width: 800px; margin: 0 auto; text-align: center; }
.er-gateway-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.er-features-list { text-align: left; max-width: 600px; margin: 2rem auto; list-style: none; padding-left: 0; }
.er-features-list li { padding-left: 1.5rem; position: relative; margin-bottom: 0.75rem; font-size: 1.1rem; }
.er-features-list li::before { content: ""; position: absolute; left: 0; top: 0.7rem; width: 8px; height: 1px; background: var(--color-gold); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .related-posts-grid { grid-template-columns: 1fr; }
  .author-bio-block { flex-direction: column; text-align: center; }
  .author-bio-block .author-photo { margin: 0 auto; }
  .post-meta { flex-wrap: wrap; }
  .er-section { padding: 5rem 0; }
  .er-hero { padding: 4rem 0 6rem; }
  .er-hero-inner, .er-about-strip-inner { grid-template-columns: 1fr; gap: 3rem; }
  .er-products-grid { grid-template-columns: 1fr; }
  .er-stats-row { grid-template-columns: 1fr; }
  .er-stat-block { border-right: none; border-bottom: 1px solid var(--color-border); }
  .er-stat-block:last-child { border-bottom: none; }
  .er-steps-row, .er-entry-modes, .er-contact-modes { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .newsletter-band .newsletter-form { flex-direction: column; }
  .er-pull-quote { padding: 5rem 0; }
}
