/* ============================================================
   The Cracked Vessel — styles.css
   Font: Cormorant Garamond (approved typography system)
   Variables match what every HTML file actually references.
   Nav/footer selectors match nav.js exactly.

   Dark-background components (.scripture, .scripture-block,
   .prayer-box, .declaration-block etc.) use !important on all
   white/light text colors so they always override any page-level
   or inherited color rules. This is the permanent fix.
   ============================================================ */

/* ── Google Font ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
/* Names match var(--x) calls in every HTML file exactly.     */
:root {
  --cream:       #F0EDE4;
  --deep:        #2D3520;
  --gold:        #8FA67A;
  --gold-pale:   #ffffff;
  --brown:       #4A3A25;
  --muted:       #6B7560;
  --body-text:   #333D26;
  --card-dark:   #363D26;
  --card-hover:  #424A30;

  /* Convenience aliases used in shared components below */
  --white:       #ffffff;
  --gold-soft:   rgba(143, 166, 122, 0.12);
  --gold-border: rgba(143, 166, 122, 0.25);

  /* Type scale */
  --font:      'Cormorant Garamond', Georgia, serif;    /* headings, scripture, heroes, prayers */
  --font-body: 'Montserrat', 'Trebuchet MS', sans-serif; /* body copy, labels, nav, buttons */

  --t-hero:      clamp(2.4rem, 5vw, 3.6rem);
  --t-series:    clamp(2rem, 4vw, 3rem);
  --t-h2:        1.8rem;
  --t-h3:        1.3rem;
  --t-lead:      1.3rem;
  --t-scripture: 1.25rem;
  --t-body:      1.05rem;
  --t-tab:       0.82rem;
  --t-label:     0.78rem;
  --t-meta:      0.68rem;

  --radius:      2px;
  --trans:       0.2s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Base ─────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  color: var(--body-text);
  background: var(--cream);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: var(--deep);
  text-decoration: none;
  transition: color var(--trans), opacity var(--trans);
}
a:hover { color: var(--gold); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.3rem; }
strong { font-weight: 600; }
em { font-style: italic; }
hr { border: none; border-top: 1px solid var(--gold-border); margin: 2.5rem 0; }

/* ── Headings ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--deep);
  line-height: 1.15;
  font-weight: 600;
}
h1 { font-size: var(--t-hero);  margin-bottom: 0.75rem; }
h2 { font-size: var(--t-h2);   margin-bottom: 0.6rem; }
h3 { font-size: var(--t-h3);   font-style: italic; color: var(--brown); margin-bottom: 0.6rem; }
h4 { font-size: 1rem;          font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }

/* ── Container ────────────────────────────────────────────── */
.container       { width: 100%; max-width: 860px;  margin: 0 auto; padding: 0 1.5rem; }
.container--wide { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }


/* ============================================================
   NAVIGATION — selectors match nav.js exactly
   ============================================================ */

#kcd-nav {
  background: var(--deep);
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: 56px;
  border-bottom: 1px solid rgba(143,166,122,0.1);
}

/* Logo */
.nav-logo { display: flex; align-items: center; }
.nav-logo a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo a span { color: var(--gold); font-weight: 600; }

/* Links */
.nav-links {
  display: flex;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links > li { display: flex; align-items: stretch; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
  font-family: var(--font);
  font-size: var(--t-tab);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--trans), background var(--trans);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); }

/* Quiz highlight */
.nav-links .nav-quiz { color: var(--gold) !important; }

/* Subscribe CTA */
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--deep) !important;
  font-weight: 700;
  padding: 0 1rem;
  letter-spacing: 0.12em;
  transition: background var(--trans);
}
.nav-links .nav-cta:hover { background: #a0bb8a; }

/* Donate */
.nav-links .nav-donate { color: rgba(255,255,255,0.42) !important; font-size: 0.7rem; }
.nav-links .nav-donate:hover { color: var(--gold) !important; }

/* Dropdown */
.nav-dropdown { position: relative; display: flex; align-items: stretch; }

.nav-drop-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.8rem;
  height: 100%;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: var(--t-tab);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--trans);
}
.nav-drop-btn:hover,
.nav-drop-btn.active,
.nav-dropdown.open .nav-drop-btn { color: var(--gold); }

.drop-arrow { font-size: 0.65em; transition: transform var(--trans); display: inline-block; }
.nav-dropdown.open .drop-arrow { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 255px;
  background: var(--deep);
  border: 1px solid rgba(143,166,122,0.2);
  border-top: 2px solid var(--gold);
  padding: 0.5rem 0;
  z-index: 300;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.nav-dropdown.open .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 0.48rem 1.2rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  transition: color var(--trans), background var(--trans);
}
.dropdown-menu a:hover,
.dropdown-menu a.active { color: var(--gold); background: rgba(143,166,122,0.08); }

.drop-section-label {
  display: block;
  padding: 0.55rem 1.2rem 0.18rem;
  font-size: var(--t-meta);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-top: 0.3rem;
}
.drop-section-label:first-child { margin-top: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  align-self: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--deep);
  border-top: 1px solid rgba(143,166,122,0.12);
  padding: 0.8rem 0 1.5rem;
  position: sticky;
  top: 56px;
  z-index: 190;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 0.6rem 2rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color var(--trans), background var(--trans);
}
.mobile-menu a:hover,
.mobile-menu a.current { color: var(--gold); background: rgba(143,166,122,0.06); }

.mobile-menu a.indented {
  padding-left: 3rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.mobile-menu a.indented:hover { color: var(--gold); }

.mobile-section-label {
  display: block;
  padding: 0.75rem 2rem 0.18rem;
  font-size: var(--t-meta);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
}

.mobile-menu .mobile-cta {
  margin: 0.8rem 2rem 0;
  padding: 0.7rem 1.2rem;
  background: var(--gold);
  color: var(--deep) !important;
  font-weight: 700;
  text-align: center;
  display: block;
}
.mobile-menu .mobile-donate {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38) !important;
}

@media (max-width: 860px) {
  .nav-links      { display: none; }
  .nav-hamburger  { display: flex; }
}


/* ============================================================
   SALVATION BAR  (.salvation-bar)
   ============================================================ */

.salvation-bar {
  background: var(--gold);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.salvation-bar p {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--deep);
  margin-bottom: 0;
}
.salvation-bar a {
  font-family: var(--font);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deep);
  white-space: nowrap;
  transition: opacity var(--trans);
}
.salvation-bar a:hover { opacity: 0.65; color: var(--deep); }

@media (max-width: 480px) { .salvation-bar { flex-direction: column; align-items: flex-start; } }


/* ============================================================
   FOOTER  — selectors match nav.js exactly
   ============================================================ */

footer {
  background: var(--deep);
  padding: 3.5rem 2rem 0;
  font-family: var(--font);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(143,166,122,0.15);
}
@media (max-width: 780px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; } }

.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-logo {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  display: block;
}
.footer-logo span { color: var(--gold); }
.footer-logo:hover { color: var(--gold); }

.footer-brand p {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col h4 {
  font-family: var(--font);
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.footer-col a {
  font-family: var(--font);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  padding: 0.22rem 0;
  transition: color var(--trans);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy { font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.27); }
.footer-cross { color: var(--gold); opacity: 0.4; font-size: 0.9rem; }
.footer-donate-nudge { font-size: 0.8rem; font-style: italic; color: rgba(255,255,255,0.3); }
.footer-donate-nudge a { color: var(--gold); opacity: 0.72; text-decoration: none; }
.footer-donate-nudge a:hover { opacity: 1; }


/* ============================================================
   SHARED SECTION UTILITIES
   (used across pages — not defined in any inline <style>)
   ============================================================ */

/* Section tag — gold caps with ✦ prefix (defined in door-template too but harmless to share) */
.section-tag {
  font-size: var(--t-meta);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-tag::before { content: '✦'; }

/* Eyebrow label (used in subscribe section etc.) */
.eyebrow {
  font-size: var(--t-meta);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Ornament divider — three lines with centred ✦ */
.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 3rem;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--gold-border);
}
.divider-cross {
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.6;
  flex-shrink: 0;
}

/* Subscribe section */
.subscribe-section {
  background: var(--deep);
  padding: 5rem 2rem;
  text-align: center;
}
.subscribe-section h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.subscribe-section p {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.88) !important;
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.subscribe-section .eyebrow {
  color: var(--gold);
  margin-bottom: 1.2rem;
}

/* Subscribe form */
.subscribe-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--deep);
  background: var(--white);
  border: none;
  outline: none;
  border-radius: var(--radius) 0 0 var(--radius);
}
.subscribe-form input[type="email"]::placeholder { color: var(--muted); }
.subscribe-form input[type="email"]:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.subscribe-form button {
  padding: 0.85rem 1.6rem;
  font-family: var(--font);
  font-size: var(--t-tab);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--deep);
  border: none;
  cursor: pointer;
  transition: background var(--trans);
  border-radius: 0 var(--radius) var(--radius) 0;
  white-space: nowrap;
}
.subscribe-form button:hover { background: #a0bb8a; }

/* Success / confirm message */
.success-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  min-height: 1.4em;
  display: none;
}
.success-msg.show { display: block; }

/* Mailchimp-style confirm (used by nav.js subscribe handler) */
#home-msg, [id$="-msg"] { display: none; }
#home-msg.show, [id$="-msg"].show { display: block; }


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   JS (data.js KCD.initReveal) adds .visible when in viewport
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-card, .reveal-card-big {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-card.visible, .reveal-card-big.visible { opacity: 1; transform: none; }

/* Stagger delays */
.stagger-1 { transition-delay: 0.12s; }
.stagger-2 { transition-delay: 0.24s; }
.stagger-3 { transition-delay: 0.36s; }
.stagger-4 { transition-delay: 0.48s; }
.stagger-5 { transition-delay: 0.60s; }


/* ============================================================
   SHARED TYPOGRAPHY COMPONENTS
   (Scripture, Prayer, Declaration, Practice — used in
   door pages, series pages, post pages)
   ============================================================ */

/* Scripture block — dark green background, gold left border */
.scripture-block {
  background: var(--deep);
  padding: 1.8rem 2rem;
  position: relative;
  border-left: 3px solid var(--gold);
}
.scripture-block::before {
  content: '\201C';
  position: absolute;
  top: -0.2rem;
  left: 1rem;
  font-size: 4rem;
  color: rgba(143,166,122,0.2);
  line-height: 1;
  pointer-events: none;
}
.scripture-block p {
  font-size: var(--t-scripture);
  font-style: italic;
  font-weight: 400;
  color: #ffffff !important;
  line-height: 1.75;
  padding-left: 1rem;
  margin-bottom: 0.6rem;
}
.scripture-ref {
  display: block;
  font-size: var(--t-label);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 1rem;
}

/* Scripture pull-quote variant */
.scripture-pull {
  background: var(--deep);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
}
.scripture-pull p {
  font-size: var(--t-scripture);
  font-style: italic;
  color: #ffffff !important;
  line-height: 1.75;
  margin-bottom: 0.4rem;
}

/* Prayer box */
.prayer-box, .closing-prayer {
  background: var(--deep);
  padding: 1.8rem 2rem;
}
.prayer-label {
  display: block;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.prayer-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #ffffff !important;
  line-height: 1.9;
}

/* Declaration block */
.declaration-block { background: var(--deep); padding: 2rem 2.5rem; text-align: center; }
.decl-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.declaration-block p {
  font-size: 1.2rem;
  font-style: italic;
  color: #ffffff !important;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* Practice box */
.practice-box {
  background: rgba(143,166,122,0.09);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.8rem;
}
.prac-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.practice-box p { font-size: 1.05rem; color: var(--body-text); line-height: 1.85; margin-bottom: 0; }

/* Kingdom key / reflection box */
.kingdom-key, .reflection-box {
  background: rgba(143,166,122,0.09);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.8rem;
  margin: 1.5rem 0;
}
.kk-label, .reflection-label {
  display: block;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.kingdom-key p, .reflection-box p { font-size: 1.05rem; color: var(--body-text); line-height: 1.85; margin-bottom: 0; }

/* Day cards (accordion) */
.acc-closed, .day-card {
  background: var(--white);
  border: 1px solid rgba(46,53,32,0.13);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: background var(--trans), border-color var(--trans);
}
.acc-closed:hover, .day-card:hover { background: rgba(143,166,122,0.09); border-color: var(--gold); }

.acc-open, .day-card--open {
  background: var(--deep);
  border: 1px solid rgba(46,53,32,0.13);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.day-num { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); min-width: 3.8rem; flex-shrink: 0; }
.day-ti strong { display: block; font-family: var(--font); font-size: 1.15rem; font-weight: 500; }
.day-ti span   { font-family: var(--font); font-size: 0.85rem; font-style: italic; }
.acc-closed .day-ti strong, .day-card .day-ti strong        { color: var(--deep); }
.acc-closed .day-ti span,   .day-card .day-ti span          { color: var(--muted); }
.acc-open .day-ti strong,   .day-card--open .day-ti strong  { color: #ffffff !important; }
.acc-open .day-ti span,     .day-card--open .day-ti span    { color: rgba(255,255,255,0.88) !important; }

/* Tab bar */
.tab-bar {
  display: flex;
  border-bottom: 1px solid rgba(46,53,32,0.1);
  background: var(--white);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }

.tab-item {
  padding: 0.75rem 1.1rem;
  font-family: var(--font);
  font-size: var(--t-tab);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--trans), border-color var(--trans);
}
.tab-item:hover  { color: var(--deep); }
.tab-item.active { color: var(--deep); border-bottom-color: var(--gold); }

.tab-content        { display: none; }
.tab-content.active { display: block; }

/* Blockquote */
blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0;
  padding: 0.8rem 1.4rem;
  background: rgba(143,166,122,0.09);
}
blockquote p { font-size: 1.15rem; font-style: italic; color: var(--body-text); margin-bottom: 0; }
blockquote cite {
  display: block;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
  font-style: normal;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: var(--t-tab);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--trans), color var(--trans), transform var(--trans);
}
.btn--primary { background: var(--gold); color: var(--deep); }
.btn--primary:hover { background: #a0bb8a; color: var(--deep); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.38); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost { background: transparent; color: var(--deep); border: 1px solid var(--gold); }
.btn--ghost:hover { background: rgba(143,166,122,0.1); }

/* Utilities */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.italic      { font-style: italic; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }


/* ============================================================
   POST PAGE COMPONENTS
   Class names used in article content on post pages.
   These are the canonical rules — inline <style> blocks must
   never redefine these. White-on-dark is enforced here once.
   ============================================================ */

/* Scripture block — post pages use .scripture */
.scripture {
  background: var(--deep);
  border-left: 3px solid var(--gold);
  padding: 1.6rem 1.8rem 1.6rem 2rem;
  margin: 2rem 0;
  position: relative;
}
.scripture::before {
  content: '\201C';
  position: absolute;
  top: -0.2rem;
  left: 1rem;
  font-size: 4rem;
  color: rgba(143,166,122,0.2);
  line-height: 1;
  pointer-events: none;
}
.scripture p {
  font-size: var(--t-scripture);
  font-style: italic;
  font-weight: 400;
  color: #ffffff !important;
  line-height: 1.75;
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
}
.scripture cite {
  display: block;
  font-size: var(--t-label);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 0.5rem;
}

/* Step block — numbered steps in post articles */
.step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin: 1.6rem 0;
  padding: 1.4rem 1.6rem;
  background: rgba(143,166,122,0.07);
  border-left: 3px solid var(--gold);
}
.step-num {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 1.8rem;
  flex-shrink: 0;
  padding-top: 0.15rem;
}
.step-content h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 0.4rem;
}
.step-content p {
  font-size: 1.05rem;
  color: var(--body-text);
  line-height: 1.85;
  margin-bottom: 0;
}

/* Reflection box — post pages use .reflection */
.reflection {
  background: rgba(143,166,122,0.09);
  border-left: 3px solid var(--gold);
  padding: 1.6rem 1.8rem;
  margin: 2rem 0;
}
.reflection-label {
  display: block;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.reflection h3 {
  font-size: 1.15rem;
  font-weight: 600;
  font-style: normal;
  color: var(--deep);
  margin-bottom: 0.6rem;
}
.reflection p {
  font-size: 1.05rem;
  color: var(--body-text);
  line-height: 1.85;
  margin-bottom: 0;
}

/* Section divider — ornamental break between article sections */
.section-divider {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--gold);
  opacity: 0.5;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
}

/* Post closing — Claire's sign-off block */
.post-closing {
  border-top: 1px solid var(--gold-border);
  padding-top: 2rem;
  margin-top: 2rem;
}
.post-closing p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--body-text);
  line-height: 1.8;
}
.post-closing strong { color: var(--deep); font-style: normal; }

/* Post hero — title area on post pages */
.post-hero {
  background: var(--deep);
  padding: 5rem 2rem 3.5rem;
  text-align: center;
}
.post-category {
  font-size: var(--t-meta);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.post-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.12;
  max-width: 780px;
  margin: 0 auto 1.2rem;
}
.post-hero .post-lede {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.88) !important;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Post body — article content area */
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.post-body p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--body-text);
  margin-bottom: 1.4rem;
}
.post-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--deep);
  margin: 2.5rem 0 0.8rem;
}
.post-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--brown);
  margin: 1.8rem 0 0.6rem;
}


/* ============================================================
   PRINT  (base — nav.js injects detailed per-page rules on top)
   ============================================================ */

@media print {
  #kcd-nav, #kcd-mobile, footer, .salvation-bar,
  .kc-share-bar, .subscribe-section, .kcd-print-btn { display: none !important; }
  body { background: #fff !important; color: #1a1a1a !important; }
}
/* ============================================================
   GLOBAL READABILITY + WCAG OVERRIDES
   Authoritative, site-wide, non-destructive
   ============================================================ */

/* 1) Variable-level fixes (cascade everywhere safely) */
:root {
  /* Muted text passes WCAG AA on cream (#F0EDE4) */
  --muted: #4A5440;

  /* Small text legibility */
  --t-meta: 0.72rem;
  --t-label: 0.82rem;
  /* --t-tab intentionally unchanged */
}

/* 2) Global body weight for all reading contexts */
html body {
  font-weight: 500 !important;
}

/* 3) CORE CONTENT TEXT
   Covers About, Beliefs, FAQ, Start Here, static pages etc.
   Montserrat at 500 weight on cream background for clear reading. */
main p,
.container p,
.container--wide p,
.post-body p {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  line-height: 1.95 !important;
  color: var(--body-text);
}

/* 4) Preserve hierarchy — headings stay on Cormorant */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: inherit;
}

/* 5) Do NOT touch card-based or dark components
   Re-assert existing rules so nothing regresses */
.scripture p,
.scripture-block p,
.callout p,
.prayer-box p,
.declaration-block p,
.reflection p {
  font-family: var(--font) !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

/* 6) Footer contrast fixes */
footer .footer-brand p {
  color: rgba(255,255,255,0.72) !important;
}

footer .footer-col a {
  color: rgba(255,255,255,0.72) !important;
}

footer .footer-copy {
  color: rgba(255,255,255,0.55) !important;
}

footer .footer-donate-nudge {
  color: rgba(255,255,255,0.55) !important;
}

/* 7) Donate visibility (desktop + mobile) */
#kcd-nav .nav-donate {
  color: rgba(255,255,255,0.65) !important;
}

.mobile-menu .mobile-donate {
  color: rgba(255,255,255,0.65) !important;
}

/* 8) Small-label reinforcement */
.section-tag,
.eyebrow,
.drop-section-label,
.mobile-section-label {
  font-size: var(--t-meta) !important;
}

.footer-col h4,
.prayer-label,
.reflection-label,
.kk-label {
  font-size: var(--t-label) !important;
}