/* ============================================================
   THE TABERNACLE — Site Stylesheet
   www.tabernacle.co.za
   © 2026 Andries Botha
   ============================================================ */

:root {
  /* ── Tabernacle palette ─────────────────────── */
  --midnight: #0e1626;
  --midnight-deep: #070d18;
  --midnight-soft: #1a2438;
  --bronze: #8b5a2b;
  --bronze-deep: #5c3317;
  --bronze-light: #b8895c;
  --gold: #c9a961;
  --gold-bright: #e8c878;
  --linen: #f5efe6;
  --linen-warm: #e8dec9;
  --parchment: #faf6ef;
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --ink-muted: #6b6b6b;
  --crimson: #8b2e3f;
  --rule: rgba(92, 51, 23, 0.18);
  --rule-soft: rgba(92, 51, 23, 0.10);

  /* ── Typography ─────────────────────── */
  --serif-display: 'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  --serif-small-caps: 'Cormorant SC', 'Cormorant Garamond', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* ── Layout ─────────────────────── */
  --measure: 68ch;
  --header-h: 84px;
  --max-w: 1280px;
  --max-w-narrow: 800px;
  --max-w-wide: 1440px;

  /* ── Motion ─────────────────────── */
  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif-display);
  background: var(--parchment);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   NAVIGATION (sticky header)
   ============================================================ */

header.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  height: var(--header-h);
  transition: box-shadow 0.4s var(--ease);
}
header.site-nav.scrolled {
  box-shadow: 0 1px 12px rgba(14, 22, 38, 0.08);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 38px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif-small-caps);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--midnight);
}
.brand-sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-top: 4px;
}
nav.nav-links {
  display: flex;
  gap: 42px;
  align-items: center;
}
nav.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--midnight);
  transition: color 0.3s var(--ease);
  position: relative;
  padding: 4px 0;
}
nav.nav-links a:hover { color: var(--bronze); }
nav.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
nav.nav-links a:hover::after { transform: scaleX(1); }
nav.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--midnight-deep) !important;
  padding: 12px 22px;
  border-radius: 1px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 169, 97, 0.25);
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--midnight);
  margin: 5px 0;
  transition: 0.3s var(--ease);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: 1px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--midnight-deep);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--linen);
  border: 1px solid rgba(245, 239, 230, 0.3);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-dark {
  background: var(--midnight);
  color: var(--linen);
  border: 1px solid var(--midnight);
}
.btn-dark:hover {
  background: var(--bronze-deep);
  border-color: var(--bronze-deep);
  transform: translateY(-2px);
}
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   HERO (homepage only)
   ============================================================ */

section.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--midnight-deep) 0%, var(--midnight) 60%, var(--midnight-soft) 100%);
  color: var(--linen);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 32px 80px;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px; height: 1100px;
  background: radial-gradient(circle, rgba(232, 200, 120, 0.18) 0%, rgba(201, 169, 97, 0.08) 30%, transparent 65%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}
.hero-rays {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px; height: 1400px;
  pointer-events: none;
  opacity: 0.35;
}
.hero-rays svg {
  width: 100%; height: 100%;
  animation: spin 240s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(201, 169, 97, 0.04), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(139, 90, 43, 0.05), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--serif-small-caps);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.4s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}
.hero-tagline {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--linen-warm);
  margin-bottom: 16px;
  max-width: 540px;
  line-height: 1.4;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.6s forwards;
}
.hero-attribution {
  font-family: var(--serif-small-caps);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.7s forwards;
}
.hero-cta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.85s forwards;
}
.hero-figure {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.5s var(--ease) 0.6s forwards;
}
.hero-figure img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.verse-strip {
  position: absolute;
  bottom: 40px; left: 32px; right: 32px;
  display: flex;
  justify-content: center;
  z-index: 2;
}
.verse-strip-inner {
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 97, 0.3);
  max-width: 600px; width: 100%;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.2s forwards;
}

/* ============================================================
   PAGE HEADER (used on inner pages)
   ============================================================ */

section.page-header {
  background: var(--midnight-deep);
  color: var(--linen);
  padding: calc(var(--header-h) + 80px) 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12), transparent 60%);
  pointer-events: none;
}
.page-header-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-header .section-eyebrow {
  color: var(--gold);
  justify-content: center;
}
.page-header .section-eyebrow::before {
  background: var(--gold);
}
.page-header h1 {
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--linen);
}
.page-header h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.page-header p {
  font-size: 20px;
  color: rgba(245, 239, 230, 0.75);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   STANDARD SECTIONS
   ============================================================ */

section.standard {
  padding: 140px 32px;
  position: relative;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-inner.narrow { max-width: var(--max-w-narrow); }
.section-inner.wide { max-width: var(--max-w-wide); }

.section-eyebrow {
  font-family: var(--serif-small-caps);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.section-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--bronze);
}
.section-eyebrow.center {
  justify-content: center;
}

h2.section-title {
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--midnight);
  margin-bottom: 32px;
  max-width: 780px;
}
h2.section-title em {
  font-style: italic;
  color: var(--bronze-deep);
}

.section-lede {
  font-family: var(--serif-display);
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 60px;
}

/* ============================================================
   INVITATION SECTION (homepage)
   ============================================================ */

section.invitation {
  background: var(--linen);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.invitation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.invitation-text p {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--ink-soft);
}
.invitation-text p strong {
  color: var(--bronze-deep);
  font-weight: 600;
}
.invitation-quote {
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  color: var(--midnight);
  border-left: 2px solid var(--bronze);
  padding: 8px 0 8px 28px;
  margin: 40px 0;
}
.invitation-figure {
  position: relative;
  background: var(--linen-warm);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}
.invitation-figure img {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.invitation-caption {
  position: absolute;
  bottom: -32px; left: 0; right: 0;
  text-align: center;
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--bronze);
}

/* ============================================================
   BOOK SECTION
   ============================================================ */

section.book {
  background: var(--midnight-deep);
  color: var(--linen);
  position: relative;
  overflow: hidden;
}
section.book::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08), transparent 70%);
}
.book .section-eyebrow { color: var(--gold); }
.book .section-eyebrow::before { background: var(--gold); }
.book h2.section-title { color: var(--linen); }
.book h2.section-title em { color: var(--gold-bright); }
.book .section-lede { color: rgba(245, 239, 230, 0.75); }

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 40px;
}
.book-cover-wrap {
  position: relative;
  perspective: 1200px;
}
.book-cover-img {
  aspect-ratio: 2/3;
  width: 100%;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-soft) 100%);
  border: 1px solid rgba(201, 169, 97, 0.3);
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 169, 97, 0.1);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
  overflow: hidden;
}
.book-cover-img:hover {
  transform: rotateY(-2deg) rotateX(0deg);
}
.book-cover-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.book-cover-placeholder {
  width: 100%; height: 100%;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.book-cover-placeholder::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 169, 97, 0.2);
}
.book-cover-eyebrow {
  font-family: var(--serif-small-caps);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-align: center;
  position: relative;
  z-index: 2;
}
.book-cover-title {
  font-family: var(--serif-display);
  font-size: 56px;
  line-height: 1;
  color: var(--linen);
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
  margin: 24px 0;
}
.book-cover-subtitle {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-bright);
  text-align: center;
  position: relative;
  z-index: 2;
  line-height: 1.4;
}
.book-cover-author {
  font-family: var(--serif-small-caps);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--linen-warm);
  text-align: center;
  position: relative;
  z-index: 2;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 169, 97, 0.3);
}
.book-cover-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(232, 200, 120, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.book-meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.5);
  margin-top: 24px;
  text-align: center;
}
.book-detail h3 {
  font-family: var(--serif-display);
  font-size: 32px;
  line-height: 1.2;
  color: var(--gold-bright);
  margin-bottom: 24px;
  font-weight: 400;
}
.book-detail p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(245, 239, 230, 0.85);
  margin-bottom: 20px;
}
.book-features {
  list-style: none;
  margin-top: 36px;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
}
.book-features li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.book-features-num {
  font-family: var(--serif-small-caps);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold);
  flex-shrink: 0;
  width: 32px;
  padding-top: 2px;
}
.book-features-text {
  font-family: var(--serif-display);
  font-size: 18px;
  color: var(--linen);
  line-height: 1.5;
}
.book-features-text em {
  color: var(--gold-bright);
  font-style: italic;
}
.book-cta {
  margin-top: 48px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   SERIES STRIP
   ============================================================ */

section.series {
  background: var(--linen);
  padding: 100px 32px;
  border-top: 1px solid var(--rule);
}
.series-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.series-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--rule);
  background: var(--parchment);
  position: relative;
  transition: border-color 0.3s var(--ease);
}
.series-card.current {
  border-color: var(--bronze);
  background: var(--linen-warm);
}
.series-card:hover {
  border-color: var(--bronze-light);
}
.series-card-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 56px;
  color: var(--bronze-light);
  line-height: 1;
  margin-bottom: 16px;
}
.series-card.current .series-card-num {
  color: var(--bronze);
}
.series-card-status {
  font-family: var(--serif-small-caps);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--bronze);
  margin-bottom: 16px;
}
.series-card-title {
  font-family: var(--serif-display);
  font-size: 20px;
  color: var(--midnight);
  font-style: italic;
  margin-bottom: 8px;
}
.series-card-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

/* ============================================================
   STUDY GUIDES
   ============================================================ */

section.guides {
  background: var(--linen-warm);
  position: relative;
}
.guides-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.guide-card {
  background: var(--parchment);
  border: 1px solid var(--rule);
  padding: 40px 32px;
  transition: all 0.4s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(92, 51, 23, 0.1);
  border-color: var(--bronze-light);
}
.guide-card-image {
  aspect-ratio: 4/3;
  background: var(--linen);
  margin: -40px -32px 32px -32px;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}
.guide-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.guide-card-image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight-soft);
  color: var(--gold);
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.24em;
}
.guide-card-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 56px;
  color: var(--bronze-light);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 300;
}
.guide-card h3 {
  font-family: var(--serif-display);
  font-size: 26px;
  line-height: 1.2;
  color: var(--midnight);
  margin-bottom: 16px;
  font-weight: 500;
}
.guide-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 28px;
  flex-grow: 1;
}
.guide-card-meta {
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--bronze);
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.guide-card-link {
  color: var(--bronze-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================================
   APP SECTION
   ============================================================ */

section.app {
  background: var(--midnight);
  color: var(--linen);
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.app::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.1), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(139, 90, 43, 0.08), transparent 50%);
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}
.app .section-eyebrow { color: var(--gold); }
.app .section-eyebrow::before { background: var(--gold); }
.app h2.section-title { color: var(--linen); font-size: clamp(32px, 4.5vw, 52px); }
.app h2.section-title em { color: var(--gold-bright); }
.app p.section-lede { color: rgba(245, 239, 230, 0.75); font-size: 19px; }

.app-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 40px 0 56px;
}
.app-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.app-feature-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.app-feature h4 {
  font-family: var(--serif-display);
  font-size: 19px;
  color: var(--linen);
  margin-bottom: 6px;
  font-weight: 500;
}
.app-feature p {
  font-size: 15px;
  color: rgba(245, 239, 230, 0.7);
  line-height: 1.5;
  margin: 0;
}
.app-mockup-wrap {
  display: flex;
  justify-content: center;
}
.app-mockup {
  aspect-ratio: 9/16;
  max-width: 520px;
  width: 100%;
  background: linear-gradient(180deg, var(--midnight-soft), var(--midnight-deep));
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 36px;
  padding: 32px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.app-mockup img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.app-mockup::before {
  content: '';
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 5px;
  background: rgba(245, 239, 230, 0.1);
  border-radius: 3px;
  z-index: 2;
}
.app-status {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif-small-caps);
  font-size: 10px;
  letter-spacing: 0.28em;
  margin-bottom: 24px;
}

/* ============================================================
   BLOG / JOURNAL
   ============================================================ */

section.blog {
  background: var(--parchment);
}
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 32px;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.blog-feature {
  position: relative;
  border-right: 1px solid var(--rule);
  padding-right: 48px;
}
.blog-feature .blog-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--bronze-deep) 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}
.blog-card .blog-image {
  aspect-ratio: 1/1;
  background: var(--linen-warm);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.blog-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-image img,
.blog-feature:hover .blog-image img {
  transform: scale(1.04);
}
.blog-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.7;
}
.blog-card .blog-image-placeholder { color: var(--bronze); }
.blog-meta {
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--bronze);
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 16px;
  color: var(--bronze-light);
}
.blog-feature h3 {
  font-family: var(--serif-display);
  font-size: 36px;
  line-height: 1.15;
  color: var(--midnight);
  margin-bottom: 16px;
  font-weight: 400;
  font-style: italic;
}
.blog-card h3 {
  font-family: var(--serif-display);
  font-size: 22px;
  line-height: 1.25;
  color: var(--midnight);
  margin-bottom: 12px;
  font-weight: 500;
}
.blog-feature p {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}
.blog-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 16px;
}
.blog-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease);
}
.blog-link:hover { gap: 14px; color: var(--bronze); }

/* Article page */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px;
}
.article-body h2 {
  font-family: var(--serif-display);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  color: var(--midnight);
  margin: 64px 0 24px;
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--serif-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--bronze-deep);
  margin: 48px 0 16px;
}
.article-body p {
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-size: 72px;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin: 8px 12px 0 0;
  color: var(--bronze-deep);
}
.article-body blockquote {
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  color: var(--midnight);
  border-left: 2px solid var(--bronze);
  padding: 8px 0 8px 32px;
  margin: 40px 0;
}
.article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--serif-small-caps);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--bronze);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */

section.newsletter {
  background: var(--linen);
  border-top: 1px solid var(--rule);
  text-align: center;
  padding: 120px 32px;
}
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
}
.newsletter h2 {
  font-family: var(--serif-display);
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  color: var(--midnight);
  margin-bottom: 20px;
  font-weight: 300;
}
.newsletter h2 em {
  font-style: italic;
  color: var(--bronze-deep);
}
.newsletter p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 40px;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  background: var(--parchment);
  font-family: var(--serif-display);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.newsletter-form input:focus {
  border-color: var(--bronze);
}
.newsletter-note {
  margin-top: 20px;
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--bronze);
}
.newsletter-success {
  display: none;
  padding: 32px;
  background: var(--linen-warm);
  border: 1px solid var(--bronze-light);
  margin-top: 24px;
  font-style: italic;
  color: var(--bronze-deep);
}
.newsletter-success.show {
  display: block;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-form {
  display: grid;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field label {
  display: block;
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--bronze);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  background: var(--parchment);
  font-family: var(--serif-display);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--bronze);
}
.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer.site-footer {
  background: var(--midnight-deep);
  color: var(--linen);
  padding: 100px 32px 48px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-brand-mark {
  width: 44px;
  height: 64px;
  object-fit: contain;
}
.footer-brand-text {
  font-family: var(--serif-small-caps);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--linen);
}
.footer-tagline {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 16px;
  color: rgba(245, 239, 230, 0.6);
  line-height: 1.5;
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-domain {
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
}
.footer-col h4 {
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col li {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(245, 239, 230, 0.7);
  line-height: 1.5;
}
.footer-col a {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(245, 239, 230, 0.7);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--serif-small-caps);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(245, 239, 230, 0.4);
}
.footer-verse {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: normal;
  text-transform: none;
}

/* ============================================================
   SEVEN FEASTS SECTION
   ============================================================ */

section.feasts {
  background: linear-gradient(180deg, var(--linen-warm) 0%, var(--parchment) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 140px 32px;
}
.feasts-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.feasts h2.section-title {
  margin: 0 auto 24px;
  text-align: center;
  max-width: 800px;
}
.feasts .section-lede {
  margin: 0 auto 60px;
  text-align: center;
  font-style: italic;
}
.feasts-image {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--rule);
  background: var(--midnight-deep);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14, 22, 38, 0.15);
}
.feasts-image img {
  width: 100%;
  height: auto;
  display: block;
}
.feasts-caption {
  margin-top: 24px;
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--bronze);
  text-align: center;
}
.feasts-caption em {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 16px;
  color: var(--bronze-deep);
  letter-spacing: normal;
  text-transform: none;
}

/* ============================================================
   PASTORAL HEART SECTION
   ============================================================ */

section.pastoral {
  background: var(--midnight-deep);
  color: var(--linen);
  padding: 140px 32px;
  position: relative;
  overflow: hidden;
}
section.pastoral::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08), transparent 60%);
  pointer-events: none;
}
.pastoral-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}
.pastoral .section-eyebrow {
  color: var(--gold);
  justify-content: center;
}
.pastoral .section-eyebrow::before {
  background: var(--gold);
}
.pastoral h2.section-title {
  color: var(--linen);
  margin: 0 auto 24px;
  text-align: center;
  max-width: 800px;
}
.pastoral h2.section-title em {
  color: var(--gold-bright);
}
.pastoral-lede {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
  color: rgba(245, 239, 230, 0.85);
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.pastoral-image {
  max-width: 1100px;
  margin: 0 auto 40px;
  border: 1px solid rgba(201, 169, 97, 0.2);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.pastoral-image img {
  width: 100%;
  height: auto;
  display: block;
}
.pastoral-caption {
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 40px;
}
.pastoral-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.pastoral-cta:hover {
  gap: 18px;
  color: var(--gold-bright);
}

/* ============================================================
   ARTICLE FEATURE IMAGE
   ============================================================ */

.article-feature-image {
  max-width: 1100px;
  margin: 0 auto 60px;
  border: 1px solid var(--rule);
  background: var(--linen);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14, 22, 38, 0.12);
}
.article-feature-image img {
  width: 100%;
  height: auto;
  display: block;
}
.article-feature-caption {
  text-align: center;
  font-family: var(--serif-small-caps);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--bronze);
  margin: -40px auto 60px;
  max-width: 720px;
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5);
  z-index: 99;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: whatsappPulse 3s ease-in-out infinite;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  width: 32px !important;
  height: 32px !important;
  display: block;
  flex-shrink: 0;
}
.whatsapp-float svg path {
  fill: white !important;
}
@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 0 0 16px rgba(37, 211, 102, 0);
  }
}
@media (max-width: 568px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px !important;
    height: 54px !important;
  }
  .whatsapp-float svg {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ============================================================
   CONTACT PAGE WHATSAPP CARD ENHANCEMENT
   ============================================================ */

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white !important;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 14px 24px;
  border-radius: 4px;
  margin-top: 8px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.whatsapp-button:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}
.whatsapp-button svg {
  width: 18px;
  height: 18px;
  fill: white;
}
.whatsapp-button svg path {
  fill: white !important;
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 968px) {
  nav.nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  nav.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--parchment);
    padding: 32px;
    gap: 20px;
    border-bottom: 1px solid var(--rule);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-figure { height: 420px; }
  .hero { padding: calc(var(--header-h) + 40px) 24px 60px; min-height: auto; }
  section.standard { padding: 80px 24px; }
  .invitation-grid, .book-grid, .app-grid, .guides-header {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .guides-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; gap: 40px; }
  .blog-feature {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 40px;
  }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .series-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 568px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .book-cover-title { font-size: 42px; }
  .nav-cta { padding: 10px 16px; font-size: 11px; }
  .series-grid { grid-template-columns: 1fr; }
  .article-body { padding: 60px 24px; }
  .article-body p:first-of-type::first-letter { font-size: 56px; }
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  header.site-nav, footer.site-footer, .nav-cta { display: none; }
  body { background: white; color: black; }
  section { padding: 20px 0 !important; }
}
