/* ==========================================================================
   Inner page shared styles — Shekhawati Haveli Fresco Design System
   Full-bleed immersive hero
   ========================================================================== */

/* --- Page Hero --- */
.page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--madder-dark);
}

/* Background image — full bleed, slow zoom */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 25s ease-out forwards;
}
@keyframes hero-zoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Gradient overlay — lets the image breathe while keeping text readable */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(46, 14, 9, 0.92) 0%,
      rgba(62, 19, 12, 0.78) 20%,
      rgba(94, 29, 18, 0.45) 45%,
      rgba(94, 29, 18, 0.15) 70%,
      rgba(94, 29, 18, 0.45) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.3) 0%,
      transparent 20%,
      transparent 40%,
      rgba(46, 14, 9, 0.75) 100%);
}

/* Jali lattice — very subtle */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' fill='none' stroke='%23c89832' stroke-width='0.6' stroke-opacity='0.05'/%3E%3Cpath d='M40 20L60 40L40 60L20 40Z' fill='none' stroke='%23c89832' stroke-width='0.4' stroke-opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

/* Merlon crenellation band at bottom */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cpath d='M0 12V4h4v4h4V4h4v4h4V4h4v8z' fill='%23c89832' fill-opacity='0.35'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  z-index: 5;
  pointer-events: none;
}

/* Hero content — anchored to the bottom-left, with generous padding */
.page-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 0 56px;
}
.page-hero-text {
  padding: 0 28px;
  max-width: 620px;
}
@media (max-width: 768px) {
  .page-hero-text { padding: 0 20px; }
  .page-hero { min-height: 420px; }
  .page-hero-content { padding-bottom: 40px; }
}

/* Breadcrumb — small, top-anchored, out of the way */
.page-hero .breadcrumb {
  position: absolute;
  top: 110px;
  left: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(245, 240, 225, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .page-hero .breadcrumb { top: 80px; left: 20px; }
}
.page-hero .breadcrumb a {
  color: var(--gold-light);
  transition: color 0.2s var(--ease);
  text-decoration: none;
}
.page-hero .breadcrumb a:hover { color: var(--lime); }
.page-hero .breadcrumb span { color: rgba(245, 240, 225, 0.2); }

/* H1 — the hero carries its own weight. Large, dramatic, no eyebrow. */
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--lime);
  margin: 0;
  line-height: 1.02;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.page-hero h1 em {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 500;
}

/* Gold divider — a crafted separator between title and subtitle */
.page-hero-text h1 + .page-hero-subtitle {
  position: relative;
  margin-top: 24px;
  padding-top: 24px;
}
.page-hero-text h1 + .page-hero-subtitle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Subtitle — descriptive, integrated */
.page-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 240, 225, 0.85);
  max-width: 500px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* CTA buttons */
.page-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* --- Hero entrance animations --- */
.page-hero .breadcrumb {
  opacity: 0;
  animation: hero-fade-in 0.6s var(--ease) 0.15s forwards;
}
.page-hero h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-fade-in 0.9s var(--ease) 0.3s forwards;
}
.page-hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 0.7s var(--ease) 0.5s forwards;
}
.page-hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 0.7s var(--ease) 0.65s forwards;
}
@keyframes hero-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Legacy: hide old split-layout elements if they remain --- */
.page-hero-figure { display: none; }
.page-hero-eyebrow { display: none; }
.page-hero-stats { display: none; }
.page-hero-scroll { display: none; }

/* --- Page layout --- */
.page-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 56px 0;
  position: relative;
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; gap: 0; padding: 40px 0; }
}

/* Sidebar — slim, elegant, sticky */
.sidebar { position: sticky; top: 110px; height: fit-content; }
@media (max-width: 900px) { .sidebar { display: none; } }
.sidebar-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 16px;
  padding-left: 14px;
}
.sidebar-nav {
  border-left: 1px solid var(--hairline);
}
.sidebar-nav a {
  display: block;
  padding: 9px 14px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
  position: relative;
  border-left: 2px solid transparent;
  margin-left: -1px;
}
.sidebar-nav a:hover {
  color: var(--madder);
  border-left-color: var(--gold-light);
}
.sidebar-nav a.active {
  color: var(--madder);
  font-weight: 600;
  border-left-color: var(--madder);
}

/* Page main — content sits directly on the page background, no card wrapper */
.page-main { min-width: 0; }
.page-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
  overflow: visible;
}
.page-card::before { display: none; }
@media (max-width: 768px) { .page-card { padding: 0; } }

/* Page header — removed, hero carries the title */
.page-header { display: none; }

/* --- Prose styling (editorial typography) --- */
.prose { color: var(--ink-soft); line-height: 1.8; font-size: 1.02rem; max-width: 68ch; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--madder);
  margin: 40px 0 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--ink);
  margin: 28px 0 10px;
  font-weight: 600;
}
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 16px 0 16px 0; }
.prose li { margin-bottom: 8px; line-height: 1.7; }
.prose ul li { list-style: none; position: relative; padding-left: 22px; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 1px;
  background: var(--gold);
}
.prose ol { list-style: decimal; padding-left: 22px; }
.prose a:not(.btn) { color: var(--madder); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--madder-dark); }

/* --- Objectives --- editorial list, no numbered circles */
.objectives-list { display: flex; flex-direction: column; gap: 0; }
.objective-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  transition: all 0.3s var(--ease);
}
.objective-item:last-child { border-bottom: none; }
.objective-item:hover {
  padding-left: 8px;
}
.objective-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.6;
  padding-top: 2px;
}
.objective-text { color: var(--ink-soft); line-height: 1.7; font-size: 0.96rem; }

/* --- Awards --- editorial timeline, no border-left */
.awards-list { display: flex; flex-direction: column; gap: 0; }
.award-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
  transition: all 0.3s var(--ease);
}
.award-item:last-child { border-bottom: none; }
.award-item:hover { padding-left: 8px; }
.award-year {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--madder);
  line-height: 1.2;
}
.award-text { color: var(--ink-soft); line-height: 1.7; font-size: 0.96rem; }
.award-text strong { color: var(--ink); }

/* --- Projects grid --- */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr; } }
.project-list-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--white-warm);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s var(--ease);
}
.project-list-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.project-list-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-list-card:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .project-list-card { grid-template-columns: 1fr; } }
.project-list-body { padding: 28px; }
.project-list-body h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 8px; color: var(--madder); font-weight: 600; }
.project-list-body p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 14px; line-height: 1.6; }

/* --- People grid --- */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .people-grid { grid-template-columns: 1fr; } }
.person-card {
  background: var(--white-warm);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease);
}
.person-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.person-name { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); margin-bottom: 4px; font-weight: 600; }
.person-role { color: var(--madder); font-weight: 600; font-size: 0.84rem; margin-bottom: 4px; }
.person-meta { color: var(--ink-muted); font-size: 0.78rem; }

/* --- Donate --- */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } }
.bank-card {
  background: var(--lime);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.bank-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--madder), var(--gold), var(--madder));
}
.bank-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--hairline); }
.bank-row:last-child { border-bottom: none; }
.bank-label { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.bank-value { color: var(--ink-soft); font-family: monospace; font-size: 0.9rem; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .info-block { margin-bottom: 22px; }
.contact-info h4 { color: var(--madder); margin-bottom: 5px; }
.contact-info p { color: var(--ink-soft); }

/* --- Gallery --- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.gallery-filter {
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink);
  background: var(--white-warm);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.gallery-filter:hover, .gallery-filter.active {
  background: var(--madder); color: var(--lime); border-color: var(--madder);
}

/* --- Benefits --- */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-item {
  display: flex; gap: 12px;
  padding: 14px;
  background: var(--lime);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  transition: all 0.3s var(--ease);
}
.benefit-item:hover {
  background: var(--lime-wash);
  border-color: var(--gold);
}
.benefit-dot {
  flex-shrink: 0;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
}

.section-standard { padding: 70px 0; }

/* --- Page content section with subtle watermark --- */
.page-layout::before {
  content: '';
  position: absolute;
  bottom: 20px;
  right: -40px;
  width: 280px;
  height: 280px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Cpath d='M100 20L180 100L100 180L20 100Z' fill='none' stroke='%23c89832' stroke-width='0.8' stroke-opacity='0.04'/%3E%3Cpath d='M100 50L150 100L100 150L50 100Z' fill='none' stroke='%23c89832' stroke-width='0.6' stroke-opacity='0.03'/%3E%3Ccircle cx='100' cy='100' r='8' fill='none' stroke='%23c89832' stroke-width='0.5' stroke-opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  animation: float-slow 10s ease-in-out infinite;
}
.page-layout > * { position: relative; z-index: 1; }

/* --- Page hero entrance animations --- */
.page-hero h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-text-in 0.8s var(--ease) 0.2s forwards;
}
.page-hero .breadcrumb {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-text-in 0.6s var(--ease) 0.1s forwards;
}
@keyframes hero-text-in {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Page card reveal enhancement --- */
.page-card.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.page-card.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- Project list card stagger --- */
.project-list-card.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.project-list-card.reveal.visible { opacity: 1; transform: translateY(0); }
.project-list-card.reveal.visible:nth-child(1) { transition-delay: 0.05s; }
.project-list-card.reveal.visible:nth-child(2) { transition-delay: 0.15s; }
.project-list-card.reveal.visible:nth-child(3) { transition-delay: 0.25s; }
.project-list-card.reveal.visible:nth-child(4) { transition-delay: 0.35s; }
.project-list-card.reveal.visible:nth-child(5) { transition-delay: 0.45s; }

/* --- Person card stagger --- */
.person-card.reveal {
  opacity: 0;
  transform: translateY(25px) scale(0.95);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.person-card.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.person-card.reveal.visible:nth-child(1) { transition-delay: 0.05s; }
.person-card.reveal.visible:nth-child(2) { transition-delay: 0.10s; }
.person-card.reveal.visible:nth-child(3) { transition-delay: 0.15s; }
.person-card.reveal.visible:nth-child(4) { transition-delay: 0.20s; }
.person-card.reveal.visible:nth-child(5) { transition-delay: 0.25s; }
.person-card.reveal.visible:nth-child(6) { transition-delay: 0.30s; }
.person-card.reveal.visible:nth-child(7) { transition-delay: 0.35s; }
.person-card.reveal.visible:nth-child(8) { transition-delay: 0.40s; }
.person-card.reveal.visible:nth-child(9) { transition-delay: 0.45s; }
.person-card.reveal.visible:nth-child(10) { transition-delay: 0.50s; }
.person-card.reveal.visible:nth-child(11) { transition-delay: 0.55s; }
.person-card.reveal.visible:nth-child(12) { transition-delay: 0.60s; }

/* --- Award item stagger --- */
.award-item.reveal {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.award-item.reveal.visible { opacity: 1; transform: translateX(0); }
.award-item.reveal.visible:nth-child(1) { transition-delay: 0.05s; }
.award-item.reveal.visible:nth-child(2) { transition-delay: 0.15s; }
.award-item.reveal.visible:nth-child(3) { transition-delay: 0.25s; }
.award-item.reveal.visible:nth-child(4) { transition-delay: 0.35s; }
.award-item.reveal.visible:nth-child(5) { transition-delay: 0.45s; }

/* --- Objective item stagger --- */
.objective-item.reveal {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.objective-item.reveal.visible { opacity: 1; transform: translateX(0); }
.objective-item.reveal.visible:nth-child(1) { transition-delay: 0.03s; }
.objective-item.reveal.visible:nth-child(2) { transition-delay: 0.06s; }
.objective-item.reveal.visible:nth-child(3) { transition-delay: 0.09s; }
.objective-item.reveal.visible:nth-child(4) { transition-delay: 0.12s; }
.objective-item.reveal.visible:nth-child(5) { transition-delay: 0.15s; }
.objective-item.reveal.visible:nth-child(6) { transition-delay: 0.18s; }
.objective-item.reveal.visible:nth-child(7) { transition-delay: 0.21s; }
.objective-item.reveal.visible:nth-child(8) { transition-delay: 0.24s; }
.objective-item.reveal.visible:nth-child(9) { transition-delay: 0.27s; }
.objective-item.reveal.visible:nth-child(10) { transition-delay: 0.30s; }
.objective-item.reveal.visible:nth-child(11) { transition-delay: 0.33s; }
.objective-item.reveal.visible:nth-child(12) { transition-delay: 0.36s; }

/* --- Image display in prose --- */
.prose img {
  border-radius: var(--r-md);
  margin: 20px 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
}

/* --- Document/image viewer for achievements --- */
.doc-viewer {
  margin: 20px 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--lime);
}
.doc-viewer img {
  width: 100%;
  display: block;
}
.doc-viewer-caption {
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--hairline);
  background: var(--white-warm);
}

/* --- Table styling --- */
.prose table, .data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.prose table th, .data-table th {
  background: var(--madder);
  color: var(--lime);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.prose table td, .data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-soft);
}
.prose table tr:nth-child(even), .data-table tr:nth-child(even) {
  background: var(--lime-wash);
}

/* --- Callout box --- no border-left, crafted treatment */
.callout {
  background: var(--lime-wash);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin: 28px 0;
  position: relative;
}
.callout strong { color: var(--madder); display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.05rem; }

/* --- CTA section — solid branded band with large SVG illustration --- */
.page-cta {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--madder-dark);
}

/* Jali lattice overlay */
.page-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' fill='none' stroke='%23c89832' stroke-width='0.6' stroke-opacity='0.05'/%3E%3Cpath d='M40 20L60 40L40 60L20 40Z' fill='none' stroke='%23c89832' stroke-width='0.4' stroke-opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Merlon band at the top of the CTA */
.page-cta::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cpath d='M0 0v8h4V4h4v4h4V4h4v4h4V0z' fill='%23c89832' fill-opacity='0.25'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  z-index: 3;
  pointer-events: none;
  transform: rotate(180deg);
}

.page-cta > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-cta-content {
  max-width: 540px;
  padding: 64px 0;
}
@media (max-width: 768px) { .page-cta-content { padding: 48px 0; } }

/* Floating trust badge */
.page-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 240, 225, 0.12);
  border: 1px solid rgba(200, 152, 50, 0.3);
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.page-cta-badge svg {
  width: 13px; height: 13px;
  color: var(--gold-light);
}

.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: var(--lime);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page-cta h2 em { color: var(--gold-light); font-style: italic; font-weight: 500; }
.page-cta p {
  color: rgba(245, 240, 225, 0.85);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.75;
  font-size: 1.05rem;
}

/* CTA actions — primary button is larger */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.cta-actions .btn {
  padding: 15px 30px;
  font-size: 0.95rem;
}
.cta-actions .btn.btn-gold {
  padding: 16px 34px;
  font-size: 1rem;
  gap: 10px;
}
.cta-actions .btn.btn-gold svg {
  width: 16px; height: 16px;
  transition: transform 0.2s var(--ease);
}
.cta-actions .btn.btn-gold:hover svg { transform: translateX(4px); }
@media (max-width: 600px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { max-width: 100%; }
}

/* Large SVG illustration — positioned on the right */
.page-cta-illustration {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  filter: drop-shadow(0 0 16px rgba(200, 152, 50, 0.15));
}
.page-cta-illustration svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 1100px) {
  .page-cta-illustration { right: -100px; width: 340px; height: 340px; opacity: 0.16; }
}
@media (max-width: 900px) { .page-cta-illustration { display: none; } }

/* Trust bar — inline text with dots */
.page-cta-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(245, 240, 225, 0.55);
}
.page-cta-trust svg {
  width: 12px; height: 12px;
  color: var(--gold-light);
}
.page-cta-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* --- Worship place cards (2-column grid) --- */
.temple-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) {
  .temple-list { grid-template-columns: 1fr; gap: 16px; }
}
.temple-card {
  display: flex;
  flex-direction: column;
  background: var(--white-warm);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s var(--ease);
  position: relative;
}
.temple-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--madder), var(--gold));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 2;
}
.temple-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.temple-card:hover::before { opacity: 1; }
.temple-figure {
  position: relative;
  height: 200px;
  background: var(--madder-dark);
  overflow: hidden;
  flex-shrink: 0;
}
.temple-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.temple-card:hover .temple-figure img { transform: scale(1.06); }
.temple-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(94, 29, 18, 0.4) 100%);
  pointer-events: none;
}
.temple-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.temple-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--madder);
  margin-bottom: 8px;
  line-height: 1.25;
}
.temple-body h3::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-top: 6px;
}
.temple-body p {
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 12px;
  flex-grow: 1;
}
.temple-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.temple-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  background: var(--lime-wash);
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.temple-tag svg { width: 11px; height: 11px; color: var(--gold); flex-shrink: 0; }
.temple-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--madder);
  color: var(--lime);
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  align-self: flex-start;
}
.temple-map-link:hover {
  background: var(--madder-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 44, 26, 0.3);
}
.temple-map-link svg { width: 13px; height: 13px; }

/* Temple card reveal */
.temple-card.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.temple-card.reveal.visible { opacity: 1; transform: translateY(0); }
.temple-card.reveal.visible:nth-child(1) { transition-delay: 0.05s; }
.temple-card.reveal.visible:nth-child(2) { transition-delay: 0.12s; }
.temple-card.reveal.visible:nth-child(3) { transition-delay: 0.19s; }
.temple-card.reveal.visible:nth-child(4) { transition-delay: 0.26s; }
.temple-card.reveal.visible:nth-child(5) { transition-delay: 0.33s; }

/* ==========================================================================
   BLOG — Index grid + article layout
   ========================================================================== */

/* --- Blog index grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 64px 0;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white-warm);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold);
}
.blog-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--madder-dark);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(94, 29, 18, 0.88);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}
.blog-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card-meta svg { width: 12px; height: 12px; opacity: 0.6; }
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color 0.3s var(--ease);
}
.blog-card:hover .blog-card-title { color: var(--madder); }
.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
  flex: 1;
}
.blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--madder);
  transition: gap 0.3s var(--ease);
}
.blog-card:hover .blog-card-read { gap: 10px; }
.blog-card-read svg { width: 14px; height: 14px; }

/* Staggered reveal for blog cards */
.blog-card.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.blog-card.reveal.visible { opacity: 1; transform: translateY(0); }
.blog-card.reveal.visible:nth-child(1) { transition-delay: 0.05s; }
.blog-card.reveal.visible:nth-child(2) { transition-delay: 0.12s; }
.blog-card.reveal.visible:nth-child(3) { transition-delay: 0.19s; }
.blog-card.reveal.visible:nth-child(4) { transition-delay: 0.26s; }
.blog-card.reveal.visible:nth-child(5) { transition-delay: 0.33s; }
.blog-card.reveal.visible:nth-child(6) { transition-delay: 0.40s; }
.blog-card.reveal.visible:nth-child(7) { transition-delay: 0.47s; }

/* --- Blog article layout --- */
.blog-article {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 72px 28px 80px;
}
.blog-article-header {
  text-align: center;
  margin-bottom: 48px;
}
.blog-article-category {
  display: inline-block;
  padding: 6px 16px;
  background: var(--madder);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  margin-bottom: 24px;
}
.blog-article-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}
.blog-article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.84rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.blog-article-meta span { display: flex; align-items: center; gap: 6px; }
.blog-article-meta svg { width: 14px; height: 14px; opacity: 0.5; }
.blog-article-meta .meta-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--hairline); }

.blog-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.blog-article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.3;
}
.blog-article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 36px 0 12px;
}
.blog-article-body p { margin-bottom: 20px; }
.blog-article-body ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0 28px;
}
.blog-article-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.7;
}
.blog-article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
.blog-article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--lime);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.blog-article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--madder);
}
.blog-article-body img {
  width: 100%;
  border-radius: var(--r-lg);
  margin: 32px 0;
  box-shadow: var(--shadow-soft);
}
.blog-article-body figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: -20px;
  margin-bottom: 28px;
}
.blog-article-body a:not(.btn) {
  color: var(--madder);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.blog-article-body a:not(.btn):hover { color: var(--madder-dark); }

/* Pull stat — inline data callout */
.blog-pullstat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  padding: 32px;
  background: var(--madder-dark);
  border-radius: var(--r-lg);
}
@media (max-width: 560px) { .blog-pullstat { grid-template-columns: 1fr; gap: 16px; } }
.blog-pullstat-item { text-align: center; }
.blog-pullstat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.blog-pullstat-label {
  font-size: 0.78rem;
  color: rgba(245, 240, 225, 0.7);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Blog article footer — author + share */
.blog-article-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.blog-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--madder);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.blog-author-info { line-height: 1.4; }
.blog-author-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.blog-author-role { font-size: 0.8rem; color: var(--ink-muted); }

/* Related posts */
.blog-related {
  background: var(--lime-wash);
  padding: 80px 0;
}
.blog-related-header {
  text-align: center;
  margin-bottom: 48px;
}
.blog-related-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}
.blog-related .blog-grid { margin: 0; }

/* ==========================================================================
   BLOG — Index layout with sidebar
   ========================================================================== */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  margin: 64px 0;
  align-items: start;
}
@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Blog sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 960px) {
  .blog-sidebar { position: static; }
}

.blog-sidebar-section h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Search box in sidebar */
.blog-search {
  position: relative;
}
.blog-search input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white-warm);
  transition: all 0.3s var(--ease);
}
.blog-search input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 152, 50, 0.12);
}
.blog-search input::placeholder { color: var(--ink-muted); }
.blog-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-muted);
  pointer-events: none;
}

/* Category filter list */
.blog-categories {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: none;
  background: none;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: left;
  font-family: var(--font-body);
}
.blog-cat-btn:hover {
  background: var(--lime);
  color: var(--madder);
}
.blog-cat-btn.active {
  background: var(--madder);
  color: var(--lime);
}
.blog-cat-btn.active:hover {
  background: var(--madder-dark);
}
.blog-cat-count {
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.6;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(0,0,0,0.06);
}
.blog-cat-btn.active .blog-cat-count {
  background: rgba(255,255,255,0.2);
  opacity: 1;
}

/* Blog grid in layout context */
.blog-layout .blog-grid {
  margin: 0;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) {
  .blog-layout .blog-grid { grid-template-columns: 1fr; }
}

/* No results state */
.blog-no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-muted);
}
.blog-no-results.show { display: block; }
.blog-no-results svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  opacity: 0.3;
}
.blog-no-results h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ==========================================================================
   BLOG — Article layout with TOC sidebar
   ========================================================================== */
.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 28px 80px;
  align-items: start;
}
@media (max-width: 1024px) {
  .blog-article-layout {
    grid-template-columns: 1fr;
    max-width: var(--container-narrow);
  }
}

/* Override .blog-article when inside layout */
.blog-article-layout .blog-article {
  max-width: none;
  padding: 0;
}

/* TOC sidebar */
.blog-toc {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 1024px) {
  .blog-toc { position: static; }
}

.blog-toc-section h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  padding: 0;
}
.blog-toc-list a {
  display: block;
  padding: 7px 12px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--ink-muted);
  border-left: 2px solid transparent;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}
.blog-toc-list a:hover {
  color: var(--madder);
  border-left-color: var(--gold);
  background: var(--lime);
}
.blog-toc-list a.active {
  color: var(--madder);
  border-left-color: var(--madder);
  font-weight: 600;
}

/* Mini contact form in sidebar */
.blog-contact-form {
  background: var(--madder-dark);
  border-radius: var(--r-lg);
  padding: 24px;
  color: var(--lime);
}
.blog-contact-form h4 {
  color: var(--gold-light);
  border-bottom-color: rgba(200, 152, 50, 0.3);
}
.blog-contact-form p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(245, 240, 225, 0.75);
  margin-bottom: 16px;
}
.blog-contact-form input,
.blog-contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(245, 240, 225, 0.15);
  border-radius: var(--r-sm);
  background: rgba(245, 240, 225, 0.06);
  color: var(--lime);
  font-size: 0.84rem;
  margin-bottom: 10px;
  transition: all 0.3s var(--ease);
}
.blog-contact-form input::placeholder,
.blog-contact-form textarea::placeholder {
  color: rgba(245, 240, 225, 0.4);
}
.blog-contact-form input:focus,
.blog-contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245, 240, 225, 0.1);
}
.blog-contact-form textarea {
  resize: vertical;
  min-height: 70px;
}
.blog-contact-form button {
  width: 100%;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--madder-dark);
  border: none;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.blog-contact-form button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Search trigger + overlay styles are in style.css (loaded on all pages) */
