/* =====================================================
   Why HE Kept Me — Site-wide Stylesheet
   Hope-forward palette: gold as the steady light,
   ink reserved for storm chapters, cream for breath.
   ===================================================== */

:root {
  /* Light & Hope */
  --cream: #FBF8F2;
  --paper: #FFFFFF;
  --gold-soft: #F5EAD0;
  --gold-light: #E5C788;
  --gold: #C9A14A;
  --gold-deep: #8B6F3F;

  /* Restoration */
  --teal: #4BDFCD;
  --teal-deep: #2DB5A5;
  --teal-soft: #E6FAF7;

  /* Storm (used sparingly) */
  --ink: #14182A;
  --ink-soft: #3A4256;
  --slate: #6B7280;

  /* Lines */
  --line: rgba(20, 24, 42, 0.10);
  --line-gold: rgba(201, 161, 74, 0.30);

  /* Shadow */
  --shadow-soft: 0 8px 28px rgba(20, 24, 42, 0.06);
  --shadow-warm: 0 14px 40px rgba(139, 111, 63, 0.12);
  --shadow-strong: 0 24px 60px rgba(20, 24, 42, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

.serif { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ===== NAV ===== */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-gold);
  z-index: 1000;
  padding: 18px 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600; color: var(--ink);
  text-decoration: none; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 12px;
}
.nav-logo .seal {
  width: 28px; height: 28px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 14px; font-weight: 700;
  font-style: italic;
}
.nav-logo span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.4px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta {
  background: var(--gold); color: var(--paper) !important;
  padding: 10px 22px; border-radius: 999px;
  font-weight: 600 !important; transition: all 0.2s ease;
  box-shadow: var(--shadow-warm);
}
.nav-cta:hover { background: var(--gold-deep); transform: translateY(-1px); }
@media (max-width: 820px) { .nav-links li:not(.nav-cta-wrap) { display: none; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
  font-size: 15px; letter-spacing: 0.4px;
  transition: all 0.25s ease; cursor: pointer;
  border: none; font-family: inherit;
}
.btn-primary {
  background: var(--gold); color: var(--paper);
  box-shadow: var(--shadow-warm);
}
.btn-primary:hover {
  background: var(--gold-deep); transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}
.btn-secondary {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-gold {
  background: transparent; color: var(--gold-deep);
  border: 1.5px solid var(--gold);
}
.btn-ghost-gold:hover { background: var(--gold); color: var(--paper); }

/* ===== SECTION FOUNDATIONS ===== */
section { padding: 100px 32px; }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 780px; margin: 0 auto; }
.container-wide { max-width: 1240px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  color: var(--gold-deep); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow.center { display: block; text-align: center; }
.eyebrow.on-dark { color: var(--gold); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600; line-height: 1.1;
  margin-bottom: 28px; color: var(--ink);
  letter-spacing: -0.5px;
}
.section-title.center { text-align: center; }
.section-title em { font-style: italic; color: var(--gold); }
.section-title.on-dark { color: var(--cream); }
.section-title.on-dark em { color: var(--gold); }

.section-lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.2vw, 24px);
  text-align: center; color: var(--ink-soft);
  line-height: 1.5; margin-bottom: 60px;
  font-style: italic;
}
.section-lede.on-dark { color: rgba(251, 248, 242, 0.78); }

/* ===== GOLD DIVIDER / SEAL ===== */
.gold-rule {
  display: block; width: 80px; height: 2px;
  background: var(--gold); margin: 0 auto 32px;
  border-radius: 2px;
}
.gold-seal {
  width: 76px; height: 76px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin: 0 auto 24px;
}
.gold-seal svg { width: 36px; height: 36px; }
.gold-seal-wrap { text-align: center; }

/* ===== SCRIPTURE ===== */
.scripture {
  text-align: center; padding: 80px 32px;
  background: var(--cream);
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
}
.scripture-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-style: italic; color: var(--ink);
  max-width: 760px; margin: 0 auto 14px;
  line-height: 1.4;
}
.scripture-ref {
  font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-deep);
  font-weight: 600;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.8s ease forwards; }
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.25s; }
.fade-up.d3 { animation-delay: 0.4s; }
.fade-up.d4 { animation-delay: 0.55s; }

/* ===== FOOTER ===== */
footer.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.65);
  padding: 60px 32px 30px;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 161, 74, 0.20);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; color: var(--cream); margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.footer-brand em { color: var(--gold); font-style: italic; }
.footer-tagline {
  font-style: italic; font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: rgba(251, 248, 242, 0.72);
  line-height: 1.5;
}
.footer-col h5 {
  color: var(--gold); font-size: 12px;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(251, 248, 242, 0.65); text-decoration: none;
  font-size: 14px; transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px; margin: 30px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(251, 248, 242, 0.45);
}
.footer-bottom strong { color: var(--gold); }

/* ===== LEGAL PAGE LAYOUT ===== */
.legal-hero {
  padding: 160px 32px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--gold-soft) 100%);
  border-bottom: 1px solid var(--line-gold);
}
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600; color: var(--ink);
  line-height: 1.05; letter-spacing: -0.5px;
  margin-bottom: 24px;
}
.legal-hero h1 em { color: var(--gold); font-style: italic; }
.legal-hero p.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic; color: var(--ink-soft);
  max-width: 680px; margin: 0 auto;
  line-height: 1.5;
}

.legal-body {
  max-width: 780px; margin: 0 auto;
  padding: 80px 32px 100px;
}
.legal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600;
  color: var(--ink); margin: 48px 0 16px;
  letter-spacing: -0.3px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p {
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.8; margin-bottom: 18px;
}
.legal-body p strong { color: var(--ink); font-weight: 600; }
.legal-body ul {
  list-style: none; padding-left: 0;
  margin: 16px 0 24px;
}
.legal-body ul li {
  position: relative; padding-left: 26px;
  margin-bottom: 12px;
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.7;
}
.legal-body ul li::before {
  content: ''; position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.legal-body a {
  color: var(--gold-deep); text-decoration: none;
  font-weight: 600; border-bottom: 1px dotted var(--gold);
}
.legal-body a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.legal-body .callout {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  padding: 24px 28px; margin: 32px 0;
  border-radius: 4px;
}
.legal-body .callout p { margin-bottom: 0; color: var(--ink); font-size: 17px; }
.legal-body .callout strong { color: var(--gold-deep); }
