/* ══════════════════════════════════════════════════════
   Shyam Manandhar V2 – Main Theme CSS
   ══════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --cream:        #F5F1EA;
  --cream-light:  #FDFAF5;
  --cream-mid:    #F0E8DA;
  --sand:         #E0D0BB;
  --gold:         #C8A87A;
  --gold-dark:    #A8865A;
  --espresso:     #2C1F13;
  --brown-dark:   #1A1108;
  --brown-mid:    #3D2A18;
  --brown-light:  #5A3E2B;
  --brown-text:   #4A3728;
  --muted:        #6B5C4C;
  --muted-light:  #9A8B7A;
  --linen:        #B8A892;
  --grid-line:    rgba(58,42,27,0.18);
  --nav-h:        60px;
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--cream);
  color: var(--espresso);
  overflow-x: hidden;
  cursor: default;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--brown-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* stagger children */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.stagger.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0ms; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:80ms; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:160ms; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:240ms; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:320ms; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:400ms; }

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
.nav {
  position: xfixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 0 0 ;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sand);
  transition: background 0.35s, box-shadow 0.35s;
}
.nav.scrolled {
  background: rgba(253, 250, 245, 0.98);
  box-shadow: 0 2px 24px rgba(44,31,19,0.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--espresso);
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }
.logo-mark {
  width: 100px; height: auto;
  background: var(--brown-text);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px; font-weight: 700;
  color: var(--cream-light);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-bounce), background 0.2s;
}
.nav-logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.08);
  background: var(--gold);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  color: var(--muted);
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--espresso); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  padding: 7px 18px;
  border: 1px solid var(--brown-text);
  border-radius: 5px;
  color: var(--espresso);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--espresso);
  color: var(--cream-light);
  transform: translateY(-1px);
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--brown-text); transition: all 0.3s; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  min-height: 700px;
  background: var(--espresso);
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid::before,
.hero-grid::after {
  content: '';
  position: absolute;
  background: var(--grid-line);
}
.hero-grid::before {
  top: 0; bottom: 0; left: 12.5%;
  width: 0.5px;
  box-shadow: 12.5vw 0 0 var(--grid-line), 25vw 0 0 var(--grid-line), 37.5vw 0 0 var(--grid-line), 50vw 0 0 var(--grid-line), 62.5vw 0 0 var(--grid-line), 75vw 0 0 var(--grid-line);
}
.hero-grid::after {
  left: 0; right: 0; top: 20%;
  height: 0.5px;
  box-shadow: 0 20vh 0 var(--grid-line), 0 40vh 0 var(--grid-line), 0 60vh 0 var(--grid-line), 0 80vh 0 var(--grid-line);
}
.hero-left {
  padding: 80px 48px 80px 64px;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease-out) 0.2s forwards;
}
.eyebrow-rule { width: 2px; height: 52px; background: var(--gold); flex-shrink: 0; }
.eyebrow-text {
  font-family: 'Crimson Pro', serif;
  font-size: 30px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  color: var(--cream-light);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.8s var(--ease-out) 0.38s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-roles {
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  color: var(--linen);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease-out) 0.55s forwards;
}
.hero-tagline {
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--muted-light);
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease-out) 0.68s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease-out) 0.82s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--gold);
  color: var(--espresso);
  border-radius: 6px;
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease-bounce), box-shadow 0.2s;
}
.btn-primary:hover {
  background: #d9bb8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,168,122,0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(200,168,122,0.4);
  border-radius: 6px;
  color: var(--linen);
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.hero-right {
  position: relative;
  height: 100%;
  min-height: 520px;
  height: 520px;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1.1s var(--ease-out) 0.3s forwards;
}
.hero-portrait {
  position: absolute;
  inset: 40px 40px 40px 0;
  background: var(--brown-mid);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait-silhouette {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portrait-head {
  width: 96px; height: 112px;
  background: var(--brown-light);
  border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  margin-bottom: -14px;
  position: relative;
  z-index: 2;
}
.portrait-face {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 84px;
  background: #7A5540;
  border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
}
.portrait-body {
  width: 180px; height: 180px;
  background: var(--brown-light);
  border-radius: 90px 90px 0 0;
}
.portrait-label {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(139,115,85,0.7);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-badge {
  position: absolute;
  bottom: 60px; right: 0;
  background: var(--gold);
  color: var(--espresso);
  padding: 10px 18px;
  border-radius: 8px 0 0 8px;
  font-family: 'Crimson Pro', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: -4px 4px 20px rgba(0,0,0,0.3);
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.4s forwards;
}
.scroll-line { width: 40px; height: 1px; background: var(--gold); }
.scroll-text { font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted-light); }

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.stats-bar {
  background: var(--cream-light);
  border-bottom: 1px solid var(--sand);
  padding: 0 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}
.stat-item {
  padding: 28px 0;
  text-align: center;
  flex: 1;
  border-right: 1px solid var(--sand);
  transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--cream-mid); }
.stat-number {
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--espresso);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}
.stat-accent { color: var(--gold); }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about {
  padding: 96px 64px;
  background: var(--cream-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-eyebrow {
  font-size: 14px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-eyebrow::after { content: ''; width: 32px; height: 1.5px; background: var(--gold); }
.section-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.18;
  color: var(--espresso);
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--brown-light); }
.about-body { font-size: 18px; line-height: 1.85; color: var(--muted); }
.about-body p + p { margin-top: 16px; }
.about-right { position: relative; }
.about-quote {
  background: var(--espresso);
  border-radius: 12px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.about-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 28px;
  font-family: 'EB Garamond', serif;
  font-size: 120px;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}
.quote-text {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.6;
  color: var(--cream-light);
  margin-bottom: 20px;
}
.quote-source { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.about-quote-tag {
  position: absolute;
  top: 12px; right: 32px;
  background: var(--gold);
  color: var(--espresso);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  font-weight: 600;
}

/* ══════════════════════════════
   BOOKS
══════════════════════════════ */
.books { padding: 96px 64px; background: var(--cream); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.view-all {
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, opacity 0.2s;
}
.view-all:hover { gap: 10px; opacity: 0.8; }
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.book-card {
  background: var(--cream-light);
  border: 0.5px solid var(--sand);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  cursor: pointer;
}
.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(44,31,19,0.14);
}
.book-cover {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: fill; position: absolute; inset: 0; }
.book-cover-title {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-style: italic;
  text-align: center;
  padding: 0 20px;
  line-height: 1.4;
  z-index: 1;
}
.book-cover-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 600;
  z-index: 2;
}
.book-info { padding: 24px; }
.book-author { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.book-title-text {
  font-family: 'EB Garamond', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--espresso);
  line-height: 1.3;
  margin-bottom: 10px;
}
.book-desc { font-size: 18px; line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.book-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  color: var(--espresso);
  padding: 8px 18px;
  border: 1px solid var(--espresso);
  border-radius: 5px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.book-cta.filled { background: var(--gold); border-color: var(--gold); }
.book-cta:hover { background: var(--espresso); color: var(--cream-light); transform: translateY(-1px); }
.book-cta.filled:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--cream-light); }

/* ══════════════════════════════
   MINISTRY ROLES
══════════════════════════════ */
.ministry {
  background: var(--espresso);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.ministry::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ministry-header { text-align: center; margin-bottom: 48px; }
.ministry-eyebrow {
  font-size: 14px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 0;
}
.ministry-eyebrow::before,
.ministry-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 64px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.5;
}
.roles-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.role-card {
  background: var(--brown-mid);
  border-radius: 12px;
  padding: 32px 20px 28px;
  text-align: center;
  transition: background 0.25s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: default;
}
.role-card:hover {
  background: #4d3320;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.role-icon { font-size: 32px; margin-bottom: 14px; display: block; transition: transform 0.3s var(--ease-bounce); }
.role-card:hover .role-icon { transform: scale(1.18) translateY(-2px); }
.role-name { font-family: 'EB Garamond', serif; font-size: 21px; color: var(--cream-light); margin-bottom: 6px; }
.role-sub { font-size: 14px; letter-spacing: 1px; color: #8A7060; text-transform: uppercase; }

/* ══════════════════════════════
   ARTICLES
══════════════════════════════ */
.articles { padding: 96px 64px; background: var(--cream-light); }
.articles-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.article-card {
  background: var(--cream-mid);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(44,31,19,0.1);
}
.article-card.secondary {
  background: var(--cream-light);
  border: 0.5px solid var(--sand);
}
.article-tag { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.article-title {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.3;
  margin-bottom: 14px;
  flex: 1;
}
.article-card.secondary .article-title { font-size: 18px; }
.article-excerpt { font-size: 18px; line-height: 1.75; color: var(--muted); margin-bottom: 24px; }
.article-meta { font-size: 14px; color: var(--muted-light); margin-bottom: 10px; }
.article-link {
  font-size: 18px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.article-link:hover { gap: 10px; }
.articles-side { display: flex; flex-direction: column; gap: 28px; }

/* ══════════════════════════════
   EVENTS
══════════════════════════════ */
.events { padding: 96px 64px; background: var(--cream); }
.events-list { margin-top: 48px; display: flex; flex-direction: column; gap: 2px; }
.event-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--sand);
  transition: background 0.2s, padding-left 0.25s var(--ease-out);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.event-row:hover { background: var(--cream-mid); padding-left: 16px; }
.event-date { text-align: center; }
.event-day { font-family: 'EB Garamond', serif; font-size: 34px; font-weight: 600; color: var(--gold); line-height: 1; }
.event-month { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.event-info-title { font-family: 'EB Garamond', serif; font-size: 18px; color: var(--espresso); margin-bottom: 4px; }
.event-info-loc { font-size: 18px; color: var(--muted); }
.event-arrow {
  font-size: 18px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.event-row:hover .event-arrow { opacity: 1; transform: translateX(0); }

/* ══════════════════════════════
   NEWSLETTER
══════════════════════════════ */
.newsletter {
  background: var(--espresso);
  padding: 96px 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.newsletter::after {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,168,122,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: var(--cream-light);
  margin-bottom: 14px;
  line-height: 1.2;
}
.newsletter-title em { font-style: italic; color: var(--gold); }
.newsletter-sub { font-size: 18px; color: var(--linen); margin-bottom: 40px; line-height: 1.7; }
.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto 16px;
  gap: 0;
  border: 1px solid rgba(200,168,122,0.3);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(253,250,245,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-form:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,168,122,0.12); }
.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  color: var(--cream-light);
}
.newsletter-input::placeholder { color: rgba(253,250,245,0.35); }
.newsletter-btn {
  padding: 14px 26px;
  background: var(--gold);
  border: none;
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--espresso);
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-btn:hover { background: #d9bb8f; }
.newsletter-note { font-size: 12px; color: rgba(253,250,245,0.35); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer { background: var(--brown-dark); border-top: 1px solid var(--brown-mid); padding: 64px 64px 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--brown-mid);
}
.footer-brand-name {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: var(--cream-light);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-tagline { font-size: 18px; line-height: 1.7; color: #6B5343; max-width: 280px; }
.footer-col-title {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 18px; color: #6B5343; transition: color 0.2s; }
.footer-links a:hover { color: var(--cream-light); }
.footer-links li a { font-size: 18px; color: #6B5343; transition: color 0.2s; }
.footer-links li a:hover { color: var(--cream-light); }
.footer-contact-item { display: block; font-size: 18px; color: #6B5343; margin-bottom: 8px; transition: color 0.2s; }
.footer-contact-item:hover { color: var(--linen); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.footer-copy { font-size: 14px; color: var(--brown-text); }
.footer-powered { font-size: 14px; color: var(--brown-text); }

/* ══════════════════════════════
   MOBILE NAV DRAWER
══════════════════════════════ */
.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(253,250,245,0.97);
  backdrop-filter: blur(16px);
  padding: 24px 32px;
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease-out);
  z-index: 99;
  border-bottom: 1px solid var(--sand);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a,
.mobile-nav-links a {
  display: block;
  padding: 12px 0;
  font-family: 'Crimson Pro', serif;
  font-size: 21px;
  color: var(--espresso);
  border-bottom: 1px solid var(--sand);
  transition: color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav-links a:hover { color: var(--gold); }
.mobile-nav-links { list-style: none; }

/* ══════════════════════════════
   KEYFRAMES
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════
   HOVER EFFECTS
══════════════════════════════ */
/* Article Listing Block Hover Effects */
.article-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.article-image {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-image {
  transform: scale(1.08);
}

.article-link,
.view-all {
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-link:hover,
.view-all:hover {
  color: var(--gold);
}

/* Book Listing Block Hover Effects */
.book-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-card:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
}

.book-cover-image {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-card:hover .book-cover-image {
  transform: scale(1.08);
}

.book-title-text,
.book-cta {
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-title-text:hover,
.book-cta:hover {
  color: var(--gold);
}

.book-cta.filled:hover {
  background: var(--gold);
  color: var(--espresso);
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .about { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .book-listing-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .roles-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .article-listing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1 1 40%; }
}
@media (max-width: 600px) {
  .hero-left,
  .about,
  .books,
  .book-listing,
  .ministry,
  .articles,
  .article-listing,
  .events,
  .newsletter { padding-left: 24px; padding-right: 24px; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { padding-left: 24px; padding-right: 24px; }
  .footer { padding: 40px 24px 0; }
  .article-listing-grid { grid-template-columns: 1fr; }
  .article-image-wrapper { height: 160px; }
  .book-listing-grid { grid-template-columns: 1fr; }
}


/* fixes */

.entry-content {
    max-width: 1400px;
    margin: 40px auto 20px;
    min-height: 400px;

}
.wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

img.custom-logo {
    width: 100px;
    height: auto;
}
.site-content .container {
    width: 1400px;
    margin: 40px auto;
}
.home .site-content {
    max-width: 1400px;
    margin: 20px auto;
}

/** admin css */

.acf-block-component.acf-block-body {
    min-width: 1400px;
}