/* ============================================================
   AMIT CHILKA — PATCH v1.2
   Fixes: hero 2 lines, overlay darkness, subtitle brightness,
   footer text visibility, dramatic essay single page,
   sidebar removal, legal pages, all readability issues.
   ============================================================ */

/* ── 1. LOGO — tagline ───────────────────────────────────── */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
  text-decoration: none;
}
.nav-logo .logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.02em;
}
.nav-logo .logo-tagline {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sandalwood);
  font-weight: 400;
}
.site-nav.scrolled .nav-logo .logo-name { font-size: 18px; }
.site-nav.scrolled .nav-logo .logo-tagline { font-size: 8px; }

/* ── 2. HERO — 2-line headline, darker overlay, bright sub ── */
.hero-eyebrow { display: none; }

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(28,36,32,0.25) 0%,
    rgba(28,36,32,0.55) 35%,
    rgba(28,36,32,0.88) 72%,
    rgba(28,36,32,0.97) 100%
  );
}

.hero-headline {
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 700px;
}
.hero-headline em {
  font-style: italic;
  color: var(--sandalwood);
}
.hero-content {
  max-width: 780px;
  padding: 0 56px 88px;
}

/* Subtitle — full brightness */
.hero-sub {
  color: rgba(245,240,232,0.92);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 300;
  max-width: 540px;
}

/* ── 3. CREDENTIALS BAR — stat style ────────────────────── */
.cred-bar {
  background: var(--forest);
  border-top: 1px solid rgba(245,240,232,0.07);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(245,240,232,0.08);
  gap: 6px;
}
.cred-item:last-child { border-right: none; }
.cred-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--sandalwood);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cred-item span.cred-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.65);
  font-weight: 400;
  line-height: 1.4;
}

/* ── 4. PATTERN SECTION — full readability ───────────────── */
.pattern-body { color: #2e3545; }
.pattern-body p { color: #2e3545; font-size: 17px; line-height: 1.9; font-weight: 300; }
.pattern-sticky p { color: #2e3545; font-size: 15px; line-height: 1.85; font-weight: 300; }
.pull-quote { color: var(--forest); font-size: 24px; line-height: 1.5; }

/* ── 5. OFFER CARDS — full opacity ───────────────────────── */
.offer-body { color: rgba(245,240,232,0.92); font-size: 14px; line-height: 1.82; }
.offer-title { color: #FFFFFF; font-size: 25px; }
.offer-tag { color: var(--sandalwood); opacity: 1; }
.offer-link { color: var(--sandalwood); opacity: 1; }
.offer-num { color: rgba(245,240,232,0.08); }
.offer-card::before { background: linear-gradient(90deg, var(--sandalwood), #d4a96a); }

/* ── 6. PROOF SECTION ────────────────────────────────────── */
.proof-stat-num { font-size: 100px; letter-spacing: -0.05em; color: var(--forest); }
.proof-stat-desc { color: #4A5568; font-size: 14px; }
.proof-text { color: #4A5568; font-size: 15px; line-height: 1.85; }
.proof-label { color: var(--sandalwood); opacity: 1; }
.proof-quote { color: var(--forest); font-size: 20px; }
.proof-name { color: var(--forest); font-weight: 500; }
.proof-role { color: var(--slate); }

/* ── 7. ESSAYS — card text ───────────────────────────────── */
.section-headline em,
.essays-headline em,
.footer-cta-head em,
.offers-headline em,
.hero-headline em,
.archive-hero-head em { font-style: italic; color: var(--sandalwood); }

.essay-title-lg { color: #FFFFFF; font-size: clamp(24px, 2.8vw, 36px); }
.essay-teaser-lg { color: rgba(245,240,232,0.85); font-size: 15px; }
.essay-meta { color: rgba(245,240,232,0.55); }
.essay-title-sm { color: var(--forest); font-size: clamp(20px, 2.2vw, 26px); }
.essay-teaser-sm { color: #4A5568; font-size: 14px; line-height: 1.78; }
.essay-category { color: var(--sandalwood); opacity: 1; }
.essays-all { color: var(--slate); font-size: 12px; border-bottom-color: rgba(74,85,104,0.4); }

/* ── 8. ECOSYSTEM — full visibility ──────────────────────── */
.eco-tag { color: var(--sandalwood); opacity: 1; }
.eco-title { color: #FFFFFF; font-size: 23px; }
.eco-desc { color: rgba(245,240,232,0.85); font-size: 14px; line-height: 1.78; }
.eco-link { color: var(--sandalwood); opacity: 1; font-size: 12px; }
.eco-eyebrow { color: rgba(245,240,232,0.55); font-size: 11px; }
.eco-card { border-top: 1px solid rgba(245,240,232,0.06); }

/* ── 9. FOOTER — maximum readability ────────────────────── */
.footer-brand { color: #FFFFFF; }
.footer-tagline { color: var(--sandalwood); opacity: 1; }
.footer-about { color: rgba(245,240,232,0.82); font-size: 14px; line-height: 1.78; }
.footer-col-head { color: rgba(245,240,232,0.65); letter-spacing: 0.18em; }
.footer-links a { color: rgba(245,240,232,0.82); font-size: 14px; }
.footer-links a:hover { color: var(--sandalwood); }
.footer-copy { color: rgba(245,240,232,0.55); }
.footer-email a { color: rgba(245,240,232,0.65); }
.footer-email a:hover { color: var(--sandalwood); }
.footer-cta-eyebrow { color: var(--sandalwood); opacity: 1; }
.footer-cta-head { color: var(--forest); font-size: clamp(32px, 4vw, 56px); }
.footer-cta-body { color: #4A5568; font-size: 16px; line-height: 1.78; }

/* ── 10. SINGLE ESSAY — dramatic, no sidebar ────────────── */

/* Remove any WordPress sidebar if present */
.sidebar, #sidebar, .widget-area, #secondary { display: none !important; }

/* Full-width essay layout — no columns */
.essay-single { max-width: 100%; }

/* DARK HERO — large, cinematic */
.essay-page-hero {
  background: var(--forest);
  padding: 140px 0 0;
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
/* Atmospheric background gradient */
.essay-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(181,130,74,0.12) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(28,36,32,0.8) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* Thumbnail as subtle bg when available */
.essay-page-hero .essay-thumb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.1;
  z-index: 0;
}

.essay-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 56px 72px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: end;
}
.essay-page-cat {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sandalwood);
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}
.essay-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
}
.essay-page-title em { font-style: italic; color: var(--sandalwood); }
.essay-page-meta {
  font-size: 12px;
  color: rgba(245,240,232,0.45);
  margin-top: 24px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.essay-page-meta::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sandalwood);
  opacity: 0.6;
}
.essay-page-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245,240,232,0.72);
  font-style: italic;
  align-self: end;
  padding-bottom: 8px;
  border-left: 1px solid rgba(181,130,74,0.3);
  padding-left: 24px;
}

/* Decorative bottom border on hero */
.essay-page-hero::after {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--sandalwood) 0%, rgba(181,130,74,0.2) 60%, transparent 100%);
}

/* READING PROGRESS */
#readingProgress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--sandalwood);
  z-index: 300;
  width: 0%;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(181,130,74,0.4);
}

/* ESSAY BODY — dramatic, magazine-quality reading */
.essay-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 88px 48px 80px;
}

/* Large drop cap on first paragraph */
.essay-content > p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 400;
  color: var(--sandalwood);
  float: left;
  line-height: 0.8;
  margin: 8px 12px 0 0;
  padding: 0;
}

.essay-content p {
  font-size: 19px;
  line-height: 1.92;
  color: #2e3545;
  font-weight: 300;
  margin-bottom: 28px;
  font-family: 'Jost', sans-serif;
}
.essay-content p:first-of-type {
  font-size: 20px;
  color: #1e2535;
  font-weight: 300;
}
.essay-content p strong { font-weight: 500; color: var(--forest); }
.essay-content p em { font-style: italic; }

.essay-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--forest);
  margin: 64px 0 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.essay-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--forest);
  margin: 44px 0 16px;
  line-height: 1.3;
}

/* Blockquotes auto-styled as dramatic pull quotes */
.essay-content blockquote,
.essay-pullquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1.5;
  color: var(--forest);
  font-weight: 400;
  border-left: 3px solid var(--sandalwood);
  padding: 20px 0 20px 36px;
  margin: 52px 0 52px -36px;
  background: none;
}
.essay-content blockquote p {
  font-size: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--forest);
  margin: 0;
}
.essay-content blockquote p::first-letter {
  font-size: inherit;
  float: none;
  margin: 0;
  color: inherit;
}

/* Section divider */
.essay-triple-dot,
.essay-content hr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 56px 0;
  border: none;
  background: none;
  height: auto;
}
.essay-content hr::before,
.essay-content hr::after,
.essay-triple-dot::before,
.essay-triple-dot::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(28,36,32,0.1);
  display: block;
}
.essay-content hr::after,
.essay-triple-dot::after { content: '· · ·'; flex: 0; font-size: 16px; color: var(--sandalwood); letter-spacing: 6px; background: none; height: auto; }
.essay-content hr::before { content: ''; }
.essay-triple-dot span { width: 5px; height: 5px; border-radius: 50%; background: var(--sandalwood); display: block; }

/* Inline CTA box */
.essay-cta-block {
  background: var(--parchment);
  padding: 40px 44px;
  margin: 56px 0 0;
  border-left: 3px solid var(--sandalwood);
}
.essay-cta-block p {
  color: #4A5568;
  font-size: 16px;
  margin-bottom: 20px;
  font-family: 'Jost', sans-serif;
}
.essay-cta-block p::first-letter { font-size: inherit; float: none; margin: 0; color: inherit; }

/* Related essays section */
.essay-related { background: var(--parchment); padding: 72px 48px; }
.essay-related-grid {
  max-width: 960px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(28,36,32,0.08);
}
.essay-related-card {
  background: var(--ivory);
  padding: 36px 32px;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}
.essay-related-card:hover { background: #ede8e0; }
.essay-related-cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sandalwood);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}
.essay-related-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--forest);
  line-height: 1.25;
  margin-bottom: 10px;
}
.essay-related-meta {
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.06em;
}
.essay-related-arrow {
  font-size: 16px;
  color: var(--sandalwood);
  margin-top: 16px;
  display: block;
  transition: transform 0.25s;
}
.essay-related-card:hover .essay-related-arrow { transform: translate(4px, -3px); }

/* ── 11. LEGAL PAGES ─────────────────────────────────────── */
.legal-hero {
  background: var(--forest);
  padding: 130px 56px 72px;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(181,130,74,0.07) 0%, transparent 65%);
}
.legal-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.legal-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 16px;
}
.legal-hero-meta {
  font-size: 12px;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 56px 100px;
}
.legal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--forest);
  margin: 52px 0 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(28,36,32,0.08);
}
.legal-body h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.legal-body p {
  font-size: 16px;
  line-height: 1.85;
  color: #4A5568;
  font-weight: 300;
  margin-bottom: 18px;
}
.legal-body ul {
  margin: 0 0 18px 24px;
  padding: 0;
}
.legal-body ul li {
  font-size: 16px;
  line-height: 1.85;
  color: #4A5568;
  font-weight: 300;
  margin-bottom: 8px;
}
.legal-body a {
  color: var(--sandalwood);
  text-decoration: none;
  border-bottom: 1px solid rgba(181,130,74,0.3);
  transition: border-color 0.25s;
}
.legal-body a:hover { border-color: var(--sandalwood); }

/* ── 12. ARCHIVE HERO ────────────────────────────────────── */
.archive-hero {
  background: var(--forest);
  padding: 140px 56px 80px;
}
.archive-hero-head {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.05;
  margin-bottom: 20px;
}
.archive-hero-head em { font-style: italic; color: var(--sandalwood); }
.archive-hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(245,240,232,0.72);
  font-weight: 300;
  max-width: 540px;
}

/* Archive cards */
.archive-card-title { color: var(--forest); }
.archive-dark-card .archive-card-title { color: #FFFFFF; }
.archive-card-teaser { color: #4A5568; font-size: 14px; }
.archive-dark-card .archive-card-teaser { color: rgba(245,240,232,0.72); }
.archive-card-meta { color: rgba(74,85,104,0.65); }
.archive-dark-card .archive-card-meta { color: rgba(245,240,232,0.42); }

/* ── 13. RESPONSIVE PATCHES ──────────────────────────────── */
@media (max-width: 1100px) {
  .cred-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(245,240,232,0.08);
    padding: 0;
  }
  .cred-item {
    background: var(--forest);
    padding: 28px 16px;
    border-right: none;
  }
  .essay-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 32px 56px;
  }
  .essay-content { padding: 64px 32px 72px; }
  .legal-hero { padding: 110px 32px 56px; }
  .legal-body { padding: 52px 32px 72px; }
}
@media (max-width: 768px) {
  .essay-content blockquote,
  .essay-pullquote { margin-left: 0; font-size: 22px; }
  .essay-related-grid { grid-template-columns: 1fr; }
  .cred-bar { grid-template-columns: repeat(2, 1fr); }
  .cred-item strong { font-size: 28px; }
  .hero-content { padding: 0 24px 56px; }
}
@media (max-width: 480px) {
  .essay-content p { font-size: 17px; }
  .essay-page-title { font-size: 34px; }
  .essay-content > p:first-of-type::first-letter { font-size: 56px; }
  .essay-content blockquote p { font-size: 21px; }
}


/* ── 1. LOGO — add tagline support ───────────────────────── */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.nav-logo .logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.02em;
}
.nav-logo .logo-tagline {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sandalwood);
  font-weight: 400;
}

/* ── 2. HERO — reduce title size, tighten layout ─────────── */
.hero-headline {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero-content {
  max-width: 780px;
  padding: 0 56px 88px;
}
/* Remove eyebrow (Dehradun) — replaced by logo tagline context */
.hero-eyebrow {
  display: none;
}

/* ── 3. CREDENTIALS BAR — stat-style redesign ────────────── */
.cred-bar {
  background: var(--forest);
  border-top: 1px solid rgba(245,240,232,0.07);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(245,240,232,0.08);
  gap: 6px;
}
.cred-item:last-child {
  border-right: none;
}
.cred-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--sandalwood);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cred-item span.cred-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.65);
  font-weight: 400;
  line-height: 1.4;
}

/* ── 4. PATTERN SECTION — full opacity readable text ─────── */
.pattern-body {
  color: #3a4152;
}
.pattern-body p {
  color: #3a4152;
  font-size: 17px;
  line-height: 1.88;
  font-weight: 300;
}
.pattern-sticky p {
  color: #3a4152;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 300;
}
.pull-quote {
  color: var(--forest);
  border-left: 2px solid var(--sandalwood);
  font-size: 24px;
  line-height: 1.5;
}

/* ── 5. OFFER CARDS — white text, full opacity, larger ───── */
.offer-body {
  color: rgba(245,240,232,0.92);
  font-size: 14px;
  line-height: 1.82;
  font-weight: 300;
}
.offer-title {
  color: #FFFFFF;
  font-size: 25px;
}
.offer-tag {
  color: var(--sandalwood);
  opacity: 1;
}
.offer-link {
  color: var(--sandalwood);
  opacity: 1;
  font-size: 12px;
}
.offer-num {
  color: rgba(245,240,232,0.08);
}

/* ── 6. PROOF SECTION — readable text ────────────────────── */
.proof-stat-desc {
  color: #4A5568;
  font-size: 14px;
}
.proof-text {
  color: #4A5568;
  font-size: 15px;
  line-height: 1.85;
}
.proof-label {
  color: var(--sandalwood);
}
.proof-quote {
  color: var(--forest);
  font-size: 20px;
}
.proof-name {
  color: var(--forest);
  font-weight: 500;
}
.proof-role {
  color: var(--slate);
}
.proof-more a {
  color: var(--slate);
  border-bottom-color: rgba(74,85,104,0.4);
}
.proof-more a:hover {
  color: var(--forest);
}

/* ── 7. ESSAYS SECTION — "slowly" in gold, card images ───── */
.section-headline em,
.essays-headline em,
.footer-cta-head em,
.offers-headline em,
.hero-headline em {
  font-style: italic;
  color: var(--sandalwood);
}

/* Essay featured card — image from featured thumbnail */
.essay-featured {
  background: var(--forest-mid);
}
.essay-featured .feat-img {
  opacity: 0.38;
}
.essay-featured:hover .feat-img {
  opacity: 0.52;
}

/* Essay side cards — show thumbnail as subtle bg */
.essay-std {
  position: relative;
  overflow: hidden;
}
.essay-std-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  transition: opacity 0.5s;
}
.essay-std:hover .essay-std-img {
  opacity: 0.14;
}

/* Essay card text fully readable */
.essay-title-lg {
  color: #FFFFFF;
  font-size: clamp(24px, 2.8vw, 36px);
}
.essay-teaser-lg {
  color: rgba(245,240,232,0.82);
  font-size: 15px;
}
.essay-meta {
  color: rgba(245,240,232,0.55);
}
.essay-title-sm {
  color: var(--forest);
  font-size: clamp(20px, 2.2vw, 26px);
}
.essay-teaser-sm {
  color: #4A5568;
  font-size: 14px;
  line-height: 1.78;
}
.essay-category {
  color: var(--sandalwood);
  opacity: 1;
}

/* Essays section header readable */
.essays-all {
  color: var(--slate);
  font-size: 12px;
  border-bottom-color: rgba(74,85,104,0.4);
}

/* ── 8. ECOSYSTEM SECTION — full visibility ──────────────── */
.eco-tag {
  color: var(--sandalwood);
  opacity: 1;
}
.eco-title {
  color: #FFFFFF;
  font-size: 23px;
}
.eco-desc {
  color: rgba(245,240,232,0.82);
  font-size: 14px;
  line-height: 1.78;
}
.eco-link {
  color: var(--sandalwood);
  opacity: 1;
  font-size: 12px;
}
.eco-eyebrow {
  color: rgba(245,240,232,0.55);
  font-size: 11px;
}
.eco-card {
  border-top: 1px solid rgba(245,240,232,0.06);
}

/* ── 9. FOOTER — full white readability ──────────────────── */
.footer-brand {
  color: #FFFFFF;
}
.footer-tagline {
  color: var(--sandalwood);
  opacity: 1;
}
.footer-about {
  color: rgba(245,240,232,0.72);
  font-size: 14px;
  line-height: 1.78;
}
.footer-col-head {
  color: rgba(245,240,232,0.55);
  letter-spacing: 0.18em;
}
.footer-links a {
  color: rgba(245,240,232,0.75);
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--sandalwood);
}
.footer-copy {
  color: rgba(245,240,232,0.45);
}
.footer-email a {
  color: rgba(245,240,232,0.55);
}
.footer-email a:hover {
  color: var(--sandalwood);
}

/* Footer CTA section — readable */
.footer-cta-eyebrow {
  color: var(--sandalwood);
  opacity: 1;
}
.footer-cta-head {
  color: var(--forest);
  font-size: clamp(32px, 4vw, 56px);
}
.footer-cta-body {
  color: #4A5568;
  font-size: 16px;
  line-height: 1.78;
}

/* ── 10. SINGLE ESSAY — premium redesign ─────────────────── */

/* Essay page hero — dramatic dark header */
.essay-page-hero {
  background: var(--forest);
  padding: 130px 56px 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.essay-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(181,130,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.essay-page-cat {
  color: var(--sandalwood);
  opacity: 1;
  font-size: 11px;
  letter-spacing: 0.2em;
}
.essay-page-title {
  color: #FFFFFF;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.08;
}
.essay-page-meta {
  color: rgba(245,240,232,0.45);
  font-size: 12px;
  margin-top: 20px;
  letter-spacing: 0.06em;
}
.essay-page-intro {
  color: rgba(245,240,232,0.72);
  font-size: 22px;
  line-height: 1.6;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  align-self: end;
}

/* Essay body — premium reading experience */
.essay-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 48px 100px;
}
.essay-content p {
  font-size: 18px;
  line-height: 1.95;
  color: #3a4152;
  font-weight: 300;
  margin-bottom: 28px;
}
.essay-content p strong {
  font-weight: 500;
  color: var(--forest);
}
.essay-content p em {
  font-style: italic;
}
.essay-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--forest);
  margin: 60px 0 22px;
  line-height: 1.2;
}
.essay-pullquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  font-style: italic;
  line-height: 1.5;
  color: var(--forest);
  font-weight: 400;
  border-left: 2px solid var(--sandalwood);
  padding: 16px 0 16px 32px;
  margin: 52px 0;
}
.essay-triple-dot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 52px 0;
}
.essay-triple-dot span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sandalwood);
  display: block;
}
.essay-triple-dot::before,
.essay-triple-dot::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(28,36,32,0.1);
}
.essay-cta-block {
  background: var(--parchment);
  padding: 40px 44px;
  margin: 56px 0 0;
  border-left: 3px solid var(--sandalwood);
}
.essay-cta-block p {
  color: var(--slate);
  font-size: 16px;
  margin-bottom: 20px;
}

/* ── 11. PREMIUM FEEL UPGRADES ────────────────────────────── */

/* Subtle grain overlay on hero for depth */
.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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
.hero-content { z-index: 2; }
.hero-scroll-indicator { z-index: 2; }

/* Offer cards — top border accent on hover is gold line */
.offer-card::before {
  background: linear-gradient(90deg, var(--sandalwood), #d4a96a);
}

/* Section transitions — subtle top border on dark sections */
.offers-wrap {
  border-top: 1px solid rgba(245,240,232,0.05);
}
.eco-wrap {
  border-top: 1px solid rgba(245,240,232,0.05);
}
.site-footer {
  border-top: 1px solid rgba(245,240,232,0.07);
}

/* Pattern section — add subtle right border for editorial feel */
.pattern-wrap {
  border-bottom: 1px solid rgba(28,36,32,0.07);
}

/* Proof section numbers — larger and more dramatic */
.proof-stat-num {
  font-size: 100px;
  letter-spacing: -0.05em;
  color: var(--forest);
}

/* Nav logo size correction when smaller */
.site-nav .nav-logo .logo-name {
  transition: font-size 0.4s;
}
.site-nav.scrolled .nav-logo .logo-name {
  font-size: 18px;
}
.site-nav.scrolled .nav-logo .logo-tagline {
  font-size: 8px;
}

/* About page credibility cards — gold numbers */
.cred-card-num {
  font-size: 56px;
  color: var(--sandalwood);
}
.cred-card-label {
  color: rgba(245,240,232,0.65);
  font-size: 13px;
}

/* ── 12. CREDENTIAL BAR — responsive override ────────────── */
@media (max-width: 1100px) {
  .cred-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(245,240,232,0.08);
    padding: 0;
  }
  .cred-item {
    background: var(--forest);
    padding: 28px 16px;
    border-right: none;
  }
}
@media (max-width: 640px) {
  .cred-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .cred-item strong {
    font-size: 28px;
  }
  .hero-content {
    padding: 0 24px 56px;
  }
  .essay-page-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 110px 24px 52px;
  }
  .essay-content {
    padding: 52px 24px 72px;
  }
}

/* ── PATCH v1.3 — footer maximum brightness ─── */
.site-footer { background: #1C2420; }
.footer-brand { color: #FFFFFF !important; font-size: 28px; }
.footer-tagline { color: #B5824A !important; font-size: 11px; letter-spacing: 0.14em; }
.footer-about { color: #d4d0c8 !important; font-size: 14px; line-height: 1.8; }
.footer-col-head { color: #9a9890 !important; font-size: 10px; letter-spacing: 0.2em; }
.footer-links a { color: #d4d0c8 !important; font-size: 14px; }
.footer-links a:hover { color: #B5824A !important; }
.footer-copy { color: #8a8880 !important; font-size: 12px; }
.footer-email a { color: #b0aca4 !important; }
.footer-email a:hover { color: #B5824A !important; }
.footer-base { border-top-color: rgba(255,255,255,0.1) !important; }
.footer-grid { border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 48px; margin-bottom: 28px; }

/* Footer CTA — full readability */
.footer-cta-wrap { background: #E8DFD0; }
.footer-cta-eyebrow { color: #B5824A !important; }
.footer-cta-head { color: #1C2420 !important; }
.footer-cta-body { color: #4A5568 !important; font-size: 17px; }

/* Essay body text — maximum contrast */
.essay-content p { color: #2a3040 !important; }
.essay-content p:first-of-type { color: #1e2535 !important; font-size: 20px; }
.essay-content h2 { color: #1C2420 !important; }
.essay-content blockquote p { color: #1C2420 !important; }
.essay-pullquote { color: #1C2420 !important; }

/* Pattern section text */
.pattern-body p { color: #2a3040 !important; }
.pattern-sticky p { color: #2a3040 !important; }

/* Proof section */
.proof-text { color: #3a4050 !important; }
.proof-stat-desc { color: #3a4050 !important; }

/* ── PATCH v1.4 — essay alignment, drop cap, footer, legal ── */

/* Essay body — align with title, fix drop cap */
.ac-essay-body {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Fix drop cap to properly span 2 lines */
.ac-essay-body p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 80px !important;
  font-weight: 400 !important;
  color: #B5824A !important;
  float: left !important;
  line-height: 0.72 !important;
  margin: 6px 10px -2px 0 !important;
  padding: 0 !important;
}

/* Footer — single bottom line only */
.footer-grid {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 40px !important;
}
.footer-base {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  padding-top: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Footer copyright — "Built slowly, on purpose." in gold italics */
.footer-copy {
  color: rgba(245,240,232,0.55) !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
}
.footer-copy em {
  font-style: italic !important;
  color: #B5824A !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* Footer bottom right — legal links */
.footer-legal-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-legal-links a {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(245,240,232,0.42) !important;
  text-decoration: none !important;
  transition: color 0.25s !important;
  border-bottom: none !important;
}
.footer-legal-links a:hover {
  color: #B5824A !important;
}

/* Legal page — more padding, better alignment */
.legal-hero {
  padding: 130px 80px 72px !important;
}
.legal-hero-inner {
  max-width: 800px !important;
}
.section-eyebrow.legal-eyebrow,
.legal-hero .section-eyebrow {
  color: #B5824A !important;
  opacity: 1 !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  margin-bottom: 16px !important;
}
.legal-hero-title {
  color: #FFFFFF !important;
  font-size: clamp(38px, 4.5vw, 56px) !important;
  font-weight: 300 !important;
  margin-bottom: 16px !important;
}
.legal-hero-meta {
  color: rgba(245,240,232,0.55) !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}
.legal-body {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 72px 80px 100px !important;
}
.legal-body h2 {
  color: #1C2420 !important;
  font-size: 28px !important;
  margin-top: 52px !important;
  margin-bottom: 16px !important;
}
.legal-body p,
.legal-body li {
  font-size: 16px !important;
  line-height: 1.85 !important;
  color: #3a4152 !important;
}
.legal-body strong {
  color: #1C2420 !important;
  font-weight: 500 !important;
}

@media (max-width: 768px) {
  .legal-hero { padding: 110px 28px 52px !important; }
  .legal-body { padding: 52px 28px 72px !important; }
  .footer-legal-links { flex-wrap: wrap; gap: 12px; }
}

/* ── PATCH v1.5 — arrow color fix, essay line height ────── */
.essay-arrow,
.card-arrow,
.essay-std .essay-arrow,
.essay-featured .essay-arrow { color: #B5824A !important; }

/* Essay line height reduction */
.ac-essay-body p { line-height: 1.2 !important; }
.ac-essay-body p:first-of-type { line-height: 1.2 !important; }
.ac-essay-body blockquote { line-height: 1.3 !important; }
.ac-essay-body blockquote p { line-height: 1.3 !important; }

/* Drop cap — tighter alignment */
.ac-essay-body p:first-of-type::first-letter {
  line-height: 0.75 !important;
  margin: 4px 10px 0 0 !important;
}

/* ── PATCH v1.6 — force arrow color, remove default link blue ── */
a .essay-arrow,
.essay-arrow,
a .card-arrow,
.card-arrow { color: #B5824A !important; text-decoration: none !important; }

/* Kill WordPress default blue link color inside cards */
.essay-std, .essay-featured, .essay-std *, .essay-featured * { color: inherit; }
.essays-grid a, .archive-grid a, .essays-grid a:visited, .archive-grid a:visited { color: inherit; }

/* Essay body line height — site-wide override */
.ac-essay-body p { line-height: 1.8 !important; }

/* ── PATCH v1.7 — kill WordPress default blue link color on arrows ── */
/* WordPress sets a { color: #0073aa } globally — override for all essay contexts */
.essays-grid a, .essays-grid a:link, .essays-grid a:visited,
.archive-grid a, .archive-grid a:link, .archive-grid a:visited,
.essay-std, .essay-featured,
.essay-std span, .essay-featured span,
.essay-std .essay-arrow, .essay-featured .essay-arrow,
.archive-text-card span, .archive-parchment-card span, .archive-dark-card span {
  color: inherit !important;
  text-decoration: none !important;
}

/* Force arrow color directly regardless of parent */
span.essay-arrow, span.card-arrow,
.essay-foot span.essay-arrow,
.feat-body span.essay-arrow,
.archive-card-foot span.essay-arrow,
.essay-std span.essay-arrow {
  color: #B5824A !important;
}

/* Remove drop cap globally in case patch.css was being applied */
.ac-essay-body p:first-of-type::first-letter {
  font-size: inherit !important;
  float: none !important;
  color: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
}

/* ── PATCH v1.8 — mobile drawer, share icons ────────────── */

/* Elegant mobile drawer */
.nav-drawer {
  padding: 0 !important;
  justify-content: center !important;
  gap: 0 !important;
}
.drawer-link {
  font-family: 'Jost', sans-serif !important;
  font-size: 15px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(245,240,232,0.75) !important;
  text-decoration: none !important;
  padding: 14px 40px !important;
  display: block !important;
  font-weight: 400 !important;
  transition: color 0.2s !important;
  width: 100% !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(245,240,232,0.06) !important;
}
.drawer-link:first-child { border-top: 1px solid rgba(245,240,232,0.06) !important; }
.drawer-link:hover { color: #B5824A !important; }
.drawer-cta {
  display: inline-block !important;
  background: #B5824A !important;
  color: #1C2420 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  padding: 14px 32px !important;
  text-decoration: none !important;
  margin-top: 32px !important;
}

/* Essay share bar */
.essay-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 40px;
}
.essay-share-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  margin-right: 4px;
}
.essay-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.12);
  color: #444;
  transition: all 0.2s;
  cursor: pointer;
  background: white;
}
.essay-share-btn:hover { border-color: #B5824A; color: #B5824A; }
.essay-share-btn svg { flex-shrink: 0; }

/* ── PATCH v1.9 — comments spacing fix ── */
.ac-comments { margin-top: 0 !important; padding-top: 0 !important; }
.ac-comments #respond { border-top: none !important; margin-top: 0 !important; padding-top: 0 !important; }
.ac-comments #reply-title { margin-top: 0 !important; }

/* ── PATCH v2.0 — about page readability fixes ── */

/* Credibility numbers strip — brighter text */
.cred-bar .cred-item span.cred-label,
.cred-bar .cred-item span { color: rgba(245,240,232,0.82) !important; }

/* About page numbers strip inline styles override */
/* Target the dark strip specifically */
[style*="background:#2C3830"] span[style*="rgba(245,240,232,0.55)"] {
  color: rgba(245,240,232,0.85) !important;
}

/* Work with me cards on about page — darker body text */
[style*="background:#F5F0E8"] p[style*="color:#4A5568"] {
  color: #333333 !important;
  font-size: 14px !important;
}

/* Credentials list items */
[style*="rgba(245,240,232,0.58)"] { color: rgba(245,240,232,0.82) !important; }

/* ══════════════════════════════════════════════
   GLOBAL READABILITY STANDARD — applies everywhere
   Dark bg: body text min rgba(245,240,232,0.85)
   Light bg: body text #2e3848 minimum
   Labels/eyebrows: never below 0.6 opacity
   Font size: body min 15px, small labels min 11px
   ══════════════════════════════════════════════ */

/* All paragraph text on dark backgrounds */
.site-footer p, .site-footer li,
.site-footer .footer-about { color: rgba(245,240,232,0.82) !important; font-size: 14px !important; }

/* Footer links */
.site-footer .footer-links a { color: rgba(245,240,232,0.82) !important; font-size: 14px !important; }

/* Footer column headers */
.site-footer .footer-col-head { color: rgba(245,240,232,0.65) !important; }

/* About page credentials — the reported issue */
/* Eyebrow */
[style*="rgba(245,240,232,0.3)"] { color: rgba(245,240,232,0.6) !important; }
[style*="rgba(245,240,232,0.2)"] { color: rgba(245,240,232,0.6) !important; }

/* Force all li text in dark sections to be readable */
.site-footer li,
footer li { color: rgba(245,240,232,0.82) !important; }

/* ── PATCH v2.0 — arrow fix, essay card fixes ─────────────── */

/* Nuclear arrow fix — target every possible arrow context */
.essay-arrow svg, .card-arrow svg,
.essay-foot svg, .feat-body svg,
.essay-related-card svg { display: block; flex-shrink: 0; }

/* Featured essay — darker overlay for readability over any image */
.essay-featured .feat-img {
  opacity: 0.22 !important;
}
.essay-featured .feat-body {
  background: linear-gradient(
    to top,
    rgba(28,36,32,0.98) 0%,
    rgba(28,36,32,0.85) 40%,
    rgba(28,36,32,0.4) 75%,
    transparent 100%
  ) !important;
  padding: 52px 44px !important;
}

/* Essay title and teaser — full brightness */
.essay-title-lg { color: #FFFFFF !important; }
.essay-teaser-lg { color: rgba(245,240,232,0.85) !important; font-size: 15px !important; }
.essay-meta { color: rgba(245,240,232,0.55) !important; }
.essay-category { color: #B5824A !important; opacity: 1 !important; }

/* Side essay cards */
.essay-title-sm { color: #1C2420 !important; font-size: clamp(18px,2.2vw,24px) !important; }
.essay-teaser-sm { color: #2e3848 !important; font-size: 14px !important; line-height: 1.78 !important; }

/* Continue reading section on essay single page */
.essay-related-card { text-decoration: none !important; }
.essay-related-title { color: #1C2420 !important; }
.essay-related-cat { color: #B5824A !important; }
.essay-related-meta { color: #666 !important; }

/* Remove any residual blue from WordPress on arrow spans */
a span.essay-arrow, a span.card-arrow { color: #B5824A !important; }

/* ── PATCH v2.0 — definitive arrow color fix ─────────────── */
/* Force sandalwood on all essay arrow spans and their SVG children */
.essay-arrow,
.essay-arrow svg,
.essay-arrow svg path {
  color: #B5824A !important;
  stroke: #B5824A !important;
}
/* Kill any WordPress/plugin SVG fill override inside cards */
.essay-featured svg path,
.essay-std svg path,
.essay-related-card svg path,
.ac-essay-body a svg path {
  stroke: #B5824A !important;
  fill: none !important;
}
/* Related essays in single-essay.php */
.essay-related-arrow,
a .essay-related-arrow { color: #B5824A !important; }
a .essay-related-arrow svg path { stroke: #B5824A !important; fill: none !important; }
