*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #7C4DCC;
  --gold-light: #A87EE8;
  --deep: #0F0A1E;
  --warm: #F0EDFB;
  --rust: #3B5FCC;
  --sage: #2E4A8A;
  --cream: #F5F2FC;
  --text: #1A1030;
  --muted: #5A4E7A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(245,242,252,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,77,204,0.2);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--deep);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  background: var(--deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 4rem 4rem 5rem;
  position: relative;
  z-index: 2;
}
.hero-left::after {
  content: '';
  position: absolute; top: 0; right: -60px; bottom: 0;
  width: 120px;
  background: var(--deep);
  clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
  z-index: 3;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--gold);
  color: var(--deep);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 2rem;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, transform 0.2s;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.hero-cta svg { transition: transform 0.2s; }
.hero-cta:hover svg { transform: translateX(4px); }
.hero-cta-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.hero-cta-secondary:hover { background: rgba(212,175,55,0.1); color: var(--gold-light); border-color: var(--gold-light); }

.hero-right {
  background: linear-gradient(135deg, #C4B5F0 0%, #7C4DCC 50%, #2E1A6E 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-cross {
  position: absolute;
  width: 280px; height: 380px;
  opacity: 0.12;
}
.hero-cross::before, .hero-cross::after {
  content: '';
  position: absolute;
  background: var(--deep);
  border-radius: 4px;
}
.hero-cross::before { width: 40px; height: 100%; left: 50%; transform: translateX(-50%); top: 0; }
.hero-cross::after { height: 40px; width: 100%; top: 30%; left: 0; }

.hero-verse {
  position: relative; z-index: 2;
  text-align: center;
  padding: 3rem;
  opacity: 0;
  animation: fadeIn 1.2s 1s forwards;
}
.verse-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.verse-ref {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.35); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 10;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35));
}

/* ── CATEGORIES STRIP ── */
.categories {
  background: var(--gold);
  padding: 1.2rem 3rem;
  display: flex; align-items: center; gap: 0; overflow: hidden;
}
.cat-track {
  display: flex; gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.cat-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--deep);
}
.cat-dot { width: 4px; height: 4px; background: var(--deep); border-radius: 50%; }

/* ── FEATURED POSTS ── */
.section { padding: 6rem 5rem; }
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--deep);
}
.section-link {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
}
.section-link:hover { color: var(--rust); }

.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5px;
  background: rgba(124,77,204,0.15);
}
.post-card {
  background: var(--cream);
  position: relative; overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.post-card:hover { transform: scale(1.01); z-index: 2; }
.post-card.featured { grid-row: span 1; }
.post-thumb {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative; overflow: hidden;
}
.post-card.featured .post-thumb { aspect-ratio: 4/3; }
.post-body { padding: 1.5rem; }
.post-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.7rem;
  color: #fff;
}
.tag-faith { background: #3B5FCC; }
.tag-healing { background: #7C4DCC; }
.tag-family { background: #5B3FAA; }
.tag-homeschool { background: #2A6BAA; }
.tag-trauma { background: #8B3A6B; }
.tag-character { background: #1A4A6E; }
.tag-christlike { background: #A87EE8; }
.post-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--deep);
  margin-bottom: 0.5rem;
}
.post-card.featured .post-title { font-size: 1.1rem; }
.post-card:not(.featured) .post-title { font-size: 1.1rem; }
.post-excerpt {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}
.post-card .post-excerpt { display: none; }
.post-meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex; align-items: center; gap: 0.5rem;
}
.post-meta-dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }

/* thumbnail gradients */
.bg1 { background: linear-gradient(135deg, #3B1A8A 0%, #7C4DCC 100%); }
.bg2 { background: linear-gradient(135deg, #1A3A6E 0%, #3B5FCC 100%); }
.bg3 { background: linear-gradient(135deg, #2E1A6E 0%, #5B3FAA 100%); }
.bg4 { background: linear-gradient(135deg, #1A2E5A 0%, #2E6BAA 100%); }

.thumb-icon { font-size: 2.5rem; opacity: 0.6; }

/* ── ABOUT ── */
.about-section {
  background: var(--deep);
  padding: 6rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '"';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 40rem;
  line-height: 1;
  color: rgba(124,77,204,0.04);
  top: -5rem; left: -2rem;
  pointer-events: none;
}
.about-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.about-title em { color: var(--gold-light); font-style: italic; }
.about-bio {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}
.about-topics {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2rem;
}
.topic-pill {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(124,77,204,0.4);
  color: var(--gold-light);
  text-transform: uppercase;
}
.about-portrait {
  position: relative;
  width: 80%;
  margin-left: auto;
}
.portrait-frame {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(145deg, #A87EE8 0%, #7C4DCC 40%, #0F0A1E 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.portrait-frame::after {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid rgba(124,77,204,0.5);
  font-size: 5rem;
  opacity: 0.4;
}
.portrait-photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-caption {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, #A87EE8 0%, #7C4DCC 60%, #0F0A1E 100%);
  text-align: center;
}
.portrait-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.portrait-sub {
  font-size: 0.75rem;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.about-corner-ornament {
  position: absolute; top: -12px; right: -12px;
  width: 60px; height: 60px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
}
.about-corner-ornament-bl {
  position: absolute; bottom: -12px; left: -12px;
  width: 60px; height: 60px;
  border-bottom: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

/* ── PRAYER BOX ── */
.prayer-wrapper {
  display: flex;
  justify-content: center;
  padding: 3rem 2rem 0;
}
.prayer-box {
  width: 80%;
  background: linear-gradient(135deg, #1A4A6E 0%, #2A6A9E 100%);
  border-radius: 8px;
  padding: 2.5rem 3rem;
  text-align: center;
}
.prayer-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}
.prayer-text {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin: 0 auto;
  text-align: center;
  max-width: 600px;
}

/* ── SCRIPTURE BANNER ── */
.scripture-banner {
  padding: 5rem;
  background: var(--warm);
  text-align: center;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.scripture-banner::before, .scripture-banner::after {
  content: '✦';
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold); opacity: 0.4;
}
.scripture-banner::before { left: 3rem; }
.scripture-banner::after { right: 3rem; }
.scripture-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: 700;
  color: var(--deep);
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}
.scripture-ref {
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--rust);
}

/* ── FOOTER ── */
footer {
  background: var(--deep);
  padding: 3rem 5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 2px solid rgba(124,77,204,0.3);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 900;
  color: #fff;
}
.footer-logo span { color: var(--gold); }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
.footer-verse {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ── POST CONTENT ── */
.post-content p {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 1.6rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 7rem 2rem 3rem; min-height: 60vh; }
  .hero-left::after { display: none; }
  .hero-right { min-height: 40vh; }
  .section { padding: 4rem 2rem; }
  .posts-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .post-card.featured { grid-row: span 1; }
  .about-section { grid-template-columns: 1fr; padding: 4rem 2rem; gap: 3rem; }
  .about-portrait { max-width: 320px; margin: 0 auto; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem; }
  .scripture-banner { padding: 3rem 2rem; }
  .scripture-banner::before, .scripture-banner::after { display: none; }
}
