/* ============================================================
   OLIVE BRANCH CHURCH — Stylesheet

   ============================================================ */

/* ── Skeleton Loading ──────────────────────────────────────── */
@keyframes sk-shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position:  800px 0; }
}
.sk-shimmer {
  background: linear-gradient(90deg, #d8e8f8 25%, #c0d4f0 50%, #d8e8f8 75%);
  background-size: 800px 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
  border-radius: 2px;
}

/* Skeleton screen container */
#skeleton-screen {
  position: fixed;
  inset: 0;
  background: #f4f8ff;
  z-index: 9999;
  overflow: hidden;
  transition: opacity .35s ease;
}
#skeleton-screen.sk-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Main content hidden while loading */
body.page-loading #main-content {
  opacity: 0;
}
#main-content {
  transition: opacity .4s ease .1s;
}
body:not(.page-loading) #main-content {
  opacity: 1;
}

/* Nav skeleton */
.sk-nav {
  height: 64px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.sk-logo   { width: 200px; height: 16px; background: #333; }
.sk-nav-links { display: flex; gap: 12px; }
.sk-navlink{ width: 60px; height: 12px; background: #333; }
.sk-shimmer.sk-logo,
.sk-shimmer.sk-navlink { animation-name: sk-shimmer-dark; }

@keyframes sk-shimmer-dark {
  0%   { background-position: -800px 0; background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%); background-size: 800px 100%; }
  100% { background-position:  800px 0; background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%); background-size: 800px 100%; }
}

/* Hero skeleton */
.sk-hero {
  background: #111;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
}
.sk-hero-inner {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sk-line { height: 14px; border-radius: 3px; }
.sk-line.sk-short  { width: 180px; }
.sk-line.sk-mid    { width: 320px; }
.sk-line.sk-full   { width: 100%; }
.sk-line.sk-h1     { height: 36px; width: 440px; }
.sk-line.sk-cross  { height: 44px; width: 44px; border-radius: 50%; }
.sk-btn-row { display: flex; gap: 16px; margin-top: 8px; }
.sk-btn { width: 120px; height: 38px; border-radius: 2px; }

/* Stats skeleton */
.sk-stats-bar {
  background: #000;
  padding: 32px;
  display: flex;
  justify-content: center;
  gap: 48px;
}
.sk-stat { width: 80px; height: 48px; background: #222; }
.sk-shimmer.sk-stat {
  background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
  background-size: 800px 100%;
}

/* Section skeleton */
.sk-section {
  padding: 64px 32px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.sk-section.sk-alt { background: #f8f8f8; }
.sk-section-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sk-section-inner.sk-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sk-col { display: flex; flex-direction: column; gap: 12px; }
.sk-img-block { width: 100%; height: 280px; border-radius: 2px; background: linear-gradient(90deg, #cdddf5 25%, #b8cff0 50%, #cdddf5 75%); background-size: 800px 100%; }

/* Beliefs grid */
.sk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 16px;
}
.sk-card { height: 140px; border-radius: 2px; }

/* Timeline skeleton */
.sk-tl { width: 100%; }
.sk-tl-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 2px solid #e0e0e0;
}
.sk-tl-year { width: 52px; height: 36px; }
.sk-tl-events { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.sk-tl-line { height: 12px; width: 100%; }
.sk-tl-line.sk-tl-short { width: 65%; }

/* ---------- Tokens ---------- */
:root {
  --parchment:      #f4f8ff;
  --parchment-dark: #e4eef9;
  --parchment-deep: #cdddf5;
  --ink:            #0c1a3a;
  --ink-mid:        #1a3460;
  --ink-light:      #3a5c8a;
  --burgundy:       #1a3c72;
  --burgundy-dark:  #0f2550;
  --gold:           #2e5898;
  --gold-light:     #4a78c0;
  --gold-pale:      #dceeff;
  --sepia:          #3d6090;
  --cream:          #eef5ff;
  --border:         #9bbce8;
  --border-dark:    #2e5898;

  --font-display:   'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-body:      'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-fell:      'EB Garamond', Georgia, 'Times New Roman', serif;

  --transition:     0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: #f4f8ff;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---------- Utilities ---------- */
.container  { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-eyebrow {
  font-family: var(--font-fell);

  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: .01em;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: .01em;
}
.section-sub {
  font-family: var(--font-fell);

  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.65;
}

/* Decorative rule under section titles */
.title-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 4px auto 0;
}
.title-rule span:not(.diamond) {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--border);
}
.diamond { color: var(--gold); font-size: .7rem; }

/* ── Ornamental section divider ─────────────────────────── */
.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 4px 0 0;
  color: var(--border);
  font-size: .75rem;
  letter-spacing: .2em;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 11px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 2px solid;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--gold-pale);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--gold);
  color: var(--gold-pale);
}
.btn-outline {
  background: transparent;
  border-color: var(--gold-pale);
  color: var(--gold-pale);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.full-width { display: block; width: 100%; text-align: center; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(8,18,48,0);
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8,18,48,.97);
  border-bottom-color: var(--gold);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--gold-pale);
  white-space: nowrap;
}
.logo-cross { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: rgba(255,255,255,.85);
  padding: 6px 14px;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}
.nav-cta {
  background: var(--burgundy) !important;
  border-color: var(--burgundy) !important;
  color: var(--gold-pale) !important;
}
.nav-cta:hover {
  background: var(--burgundy-dark) !important;
  border-color: var(--gold) !important;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--gold-pale);
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center top, #0d1f45 0%, #071230 60%, #040d22 100%);
}

/* Aged paper texture overlay */
.hero-texture {
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
}
/* Decorative border vignette */
.hero::before {
  content: '';
  position: absolute;
  top: 80px; left: 24px; right: 24px; bottom: 24px;
  border: 1px solid rgba(255,255,255,.25);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  top: 84px; left: 28px; right: 28px; bottom: 28px;
  border: 1px solid rgba(255,255,255,.1);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 28px 80px;
  max-width: 820px;
  width: 100%;
}
.hero-frame {
  border: 1px solid rgba(255,255,255,.3);
  padding: 60px 56px;
  position: relative;
  background: rgba(4,12,32,.55);
}
/* Corner ornaments on hero frame */
.hero-frame::before,
.hero-frame::after {
  content: '✦';
  position: absolute;
  color: var(--gold);
  font-size: .75rem;
  opacity: .6;
}
.hero-frame::before { top: 12px; left: 16px; }
.hero-frame::after  { bottom: 12px; right: 16px; }

.ornament-top, .ornament-bottom {
  font-size: .65rem;
  letter-spacing: .4em;
  color: var(--gold);
  opacity: .7;
  margin-bottom: 20px;
}
.ornament-bottom { margin-top: 20px; margin-bottom: 0; }

.hero-eyebrow {
  font-family: var(--font-fell);

  font-size: .95rem;
  color: rgba(255,255,255,.85);
  letter-spacing: .08em;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeIn 1s .3s forwards;
}
.hero-cross-deco {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeIn 1s .5s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: .01em;
  line-height: 1.15;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 1s .7s forwards;
}
.hero-nepali {
  font-size: .95rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
  margin-bottom: 16px;
  margin-top: -10px;
}
.quote-nepali {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  margin-top: 16px;
  line-height: 1.7;
}
.day-nepali {
  font-size: .8rem;
  opacity: .6;
  font-weight: 400;
}
.footer-nepali {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  margin-top: 8px;
}
.hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 20px;
  opacity: 0;
  animation: fadeIn 1s .9s forwards;
}
.hero-rule span:not(.diamond) {
  display: block;
  width: 100px;
  height: 1px;
  background: rgba(255,255,255,.4);
}
.hero-rule .diamond { color: var(--gold); font-size: .75rem; }
.hero-verse {
  font-family: var(--font-fell);

  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 1s 1.1s forwards;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner {
  background: var(--ink);
  border-top: 3px solid #4a78c0;
  border-bottom: 3px solid var(--gold);
  padding: 0;
}
.stats-banner-inner {
  padding: 44px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 48px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-rule {
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: .3em;
  margin-bottom: 6px;
  opacity: .6;
}
.stat-label {
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .01em;
  color: rgba(255,255,255,.55);
}
.stat-divider {
  color: var(--gold);
  font-size: .7rem;
  opacity: .4;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: #eef5ff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Vintage picture frame */
.vintage-frame {
  position: relative;
  padding: 12px;
  background: #1a3460;
  box-shadow:
    0 0 0 1px var(--border),
    0 0 0 4px var(--ink-mid),
    0 0 0 5px var(--border),
    6px 6px 24px rgba(0,0,0,.3);
}
.vintage-frame::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.3);
  z-index: 1;
  pointer-events: none;
}
.vintage-frame-inner {
  background: var(--parchment-dark);
  overflow: hidden;
  height: 360px;
}
.vintage-frame-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-badge {
  margin-top: 20px;
  text-align: center;
  border: 2px solid var(--border);
  border-top: 4px solid var(--gold);
  padding: 16px 24px;
  background: #0c1e48;
  color: var(--parchment);
}
.badge-label {
  display: block;
  font-family: var(--font-display);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}
.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.badge-sub {
  display: block;
  font-family: var(--font-fell);

  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

.about-text .section-eyebrow,
.about-text .section-title { text-align: left; }
.about-text .title-rule     { justify-content: flex-start; }

.drop-cap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: .75;
  color: var(--burgundy);
  margin: 4px 10px 0 0;
  padding: 4px 6px 0;
  border-top: 3px solid var(--border);
}

.about-text p {
  color: var(--ink-mid);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-text p strong { color: var(--ink); font-weight: 700; }

.about-pillars {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: var(--parchment);
}
.pillar-icon { color: var(--gold); font-size: .9rem; }

/* ============================================================
   BELIEFS
   ============================================================ */
.beliefs {
  background: #f4f8ff;
}
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.belief-card {
  border: 1px solid var(--border);
  border-top: 3px solid #4a78c0;
  padding: 32px 24px;
  background: var(--cream);
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition);
}
.belief-card:hover {
  box-shadow: 4px 4px 20px rgba(0,0,0,.1);
}
.belief-numeral {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .2em;
  margin-bottom: 10px;
}
.belief-card h3 {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}
.card-rule {
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: .2em;
  margin-bottom: 12px;
  opacity: .7;
}
.belief-card p {
  font-family: var(--font-fell);

  font-size: .95rem;
  color: var(--ink-light);
  line-height: 1.65;
}

/* ============================================================
   ACTIVITIES
   ============================================================ */
.activities { background: var(--cream); }

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
  border: 1px solid var(--border);
}
.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--ink-light);
  background: var(--cream);
  border-right: 1px solid var(--border);
  transition: all var(--transition);
}
.filter-btn:last-child { border-right: none; }
.filter-btn:hover { background: var(--parchment-dark); color: var(--ink); }
.filter-btn.active {
  background: #1a3460;
  color: var(--gold-pale);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.activity-card {
  background: var(--parchment);
  border: 1px solid var(--border);
  display: flex;
  transition: box-shadow var(--transition);
}
.activity-card:hover {
  box-shadow: 3px 3px 16px rgba(0,0,0,.08);
}
.activity-card.hidden { display: none; }

.act-date-badge {
  background: #1a3460;
  border-right: 2px solid var(--border);
  min-width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  flex-shrink: 0;
  text-align: center;
}
.act-month {
  font-family: var(--font-display);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.act-year {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--parchment);
  line-height: 1;
}

.act-body { padding: 20px 22px; flex: 1; }

.act-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid;
  padding: 2px 10px;
  margin-bottom: 10px;
}
.act-tag.community { border-color: #555; color: #111; background: #f0f0f0; }
.act-tag.youth     { border-color: #555; color: #111; background: #e8e8e8; }
.act-tag.outreach  { border-color: #555; color: #111; background: #f0f0f0; }
.act-tag.health    { border-color: #555; color: #111; background: #e8e8e8; }

.act-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.act-body p {
  font-size: .95rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 12px;

  font-family: var(--font-fell);
}
.tl-details-link {
  display: inline-block;
  margin-top: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: #1a3460;
  border-bottom: 1px solid #aaa;
  transition: border-color .2s;
}
.tl-details-link:hover { border-color: #000; }
.tl-essay-winners .tl-details-link,
.tl-essay-announce .tl-details-link { color: #000; }
.act-meta {
  font-family: var(--font-display);
  font-size: .85rem;

  letter-spacing: .01em;
  color: var(--sepia);
  opacity: .8;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.activities { background: #eef5ff; }

.timeline { display: flex; flex-direction: column; gap: 0; }

.tl-year-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 32px;
  border-top: 2px solid #9bbce8;
  padding: 32px 0;
}
.tl-year-block:last-child { border-bottom: 2px solid #9bbce8; }

.tl-year-label {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #0c1e48;
  line-height: 1;
  padding-top: 4px;
  position: sticky;
  top: 72px;
  align-self: start;
}

.tl-events { display: flex; flex-direction: column; gap: 0; }

.tl-event {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 20px;
  padding: 14px 0;
  border-bottom: 1px solid #ccddf5;
}
.tl-event:last-child { border-bottom: none; }

.tl-date {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  color: #555;
  padding-top: 4px;
  white-space: nowrap;
}

.tl-body h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #0c1e48;
  margin-bottom: 4px;
  line-height: 1.3;
}
.tl-body p {
  font-size: .95rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

/* Essay competition rows */
.tl-essay-announce { background: #eef5ff; padding: 14px 12px; margin: 4px -12px; }
.tl-essay-winners  { background: #e4eef9; padding: 14px 12px; margin: 4px -12px; }

.tl-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  border: 1px solid #000;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.tl-badge.announce { background: #1a3460; color: #dceeff; }
.tl-badge.winners  { background: #f4f8ff; color: #0c1e48; border-color: #9bbce8; }

.winners-list {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.winners-list li {
  font-size: .9rem;
  color: #222;
  padding: 4px 0;
  border-bottom: 1px solid #ccddf5;
}
.winners-list li:last-child { border-bottom: none; }

@media (max-width: 600px) {
  .tl-year-block { grid-template-columns: 52px 1fr; gap: 0 16px; }
  .tl-year-label { font-size: 1.4rem; }
  .tl-event { grid-template-columns: 52px 1fr; gap: 0 12px; }
  .tl-date { font-size: .72rem; }
}

/* ============================================================
   ACTIVITIES SUMMARY TABLE
   ============================================================ */
.act-summary-wrap {
  margin-top: 64px;
  border-top: 2px solid var(--border);
  padding-top: 48px;
}
.act-summary-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: .01em;
}
.act-table-scroll { overflow-x: auto; }
.act-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  font-family: var(--font-body);
}
.act-summary-table thead tr {
  background: #1a3460;
  color: #dceeff;
}
.act-summary-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.act-summary-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.act-summary-table tbody tr:nth-child(even) { background: var(--parchment-dark); }
.act-summary-table tbody tr:hover { background: #dceeff; }
.act-summary-table td {
  padding: 11px 16px;
  color: var(--ink-mid);
  vertical-align: middle;
}
.act-summary-table td:first-child { font-weight: 600; color: var(--ink); }

/* Category badges */
.cat-community { color: #1a4f1a; }
.cat-youth     { color: #1a2d6b; }
.cat-outreach  { color: #5c1a00; }
.cat-health    { color: #1a4040; }

/* Status */
.status-active    { color: #1a5c1a; font-weight: 700; }
.status-completed { color: #5c3a00; }

/* Special rows */
.row-essay td { background: #f0f4ff !important; }

.act-summary-note {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--ink-light);
  border-left: 3px solid var(--border);
  padding-left: 12px;
}

/* ============================================================
   BAPTISM GALLERY
   ============================================================ */
.gallery-section { background: #f4f8ff; }

.baptism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 6px;
}
.bap-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.bap-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.bap-item:hover img {
  transform: scale(1.04);
  opacity: .85;
}
.bap-large {
  grid-column: span 2;
}
.bap-large img { height: 320px; }
.bap-wide {
  grid-column: span 2;
}
.bap-wide img { height: 220px; }

.bap-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .1em;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 2px solid rgba(255,255,255,.5);
  margin: 10px;
}
.bap-item:hover .bap-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid #444;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  line-height: 1;
  opacity: .5;
  padding: 0 16px;
  transition: opacity .2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ============================================================
   QUOTE BANNER
   ============================================================ */
.quote-banner {
  background: #0c1e48;
  border-top: 3px double var(--border);
  border-bottom: 3px double var(--border);
  padding: 70px 0;
  text-align: center;
}
.quote-ornament {
  font-size: .65rem;
  letter-spacing: .5em;
  color: var(--gold);
  opacity: .7;
  margin-bottom: 24px;
}
.quote-ornament:last-child { margin-top: 24px; margin-bottom: 0; }
.quote-banner blockquote {
  font-family: var(--font-fell);

  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--parchment);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 20px;
  position: relative;
}
.open-quote  { font-size: 3rem; line-height: 0; vertical-align: -.5rem; color: var(--gold); margin-right: 4px; font-family: var(--font-display); }
.close-quote { font-size: 3rem; line-height: 0; vertical-align: -.5rem; color: var(--gold); margin-left: 4px;  font-family: var(--font-display); }
.quote-banner cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ============================================================
   SERVICE TIMES
   ============================================================ */
.services-section { background: #f4f8ff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.service-card {
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--parchment-dark); }
.service-day {
  background: #1a3460;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 18px 24px;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}
.service-times { padding: 24px; }
.service-time {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.service-time:last-child { border-bottom: none; padding-bottom: 0; }
.service-time strong {
  display: block;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--ink);
  margin-bottom: 3px;
}
.service-time span {
  font-family: var(--font-fell);

  font-size: .9rem;
  color: var(--ink-light);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: #eef5ff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-intro {
  font-family: var(--font-fell);

  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 0; }
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-label {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--gold);
}
.contact-item > span:last-child {
  font-family: var(--font-fell);

  font-size: 1rem;
  color: var(--ink-mid);
}

/* Form */
.contact-form-wrap {
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  background: var(--parchment);
}
.form-header {
  background: #1a3460;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  padding: 14px 24px;
  border-bottom: 2px solid var(--gold);
}
.contact-form { padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--border-dark);
  padding: 10px 14px;
  font-family: var(--font-fell);

  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  width: 100%;
  resize: vertical;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--parchment);
}
.form-success {
  display: none;
  text-align: center;
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--font-fell);

  font-size: 1rem;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  padding: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0c1e48;
  color: rgba(255,255,255,.7);
  border-top: 3px double var(--gold);
}
.footer-top-border {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 60px;
  opacity: .4;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 64px 28px 40px;
}
.footer-cross {
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.footer-church-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold-pale);
  margin-bottom: 12px;
}
.footer-tagline {
  font-family: var(--font-fell);

  font-size: .9rem;
  line-height: 1.8;
  color: rgba(255,255,255,.45);
}
.footer-links h4, .footer-social h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-family: var(--font-fell);

  font-size: .95rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }

.social-links { display: flex; gap: 10px; margin-bottom: 24px; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover { border-color: var(--gold); color: var(--gold-light); }

.footer-newsletter-label {
  font-family: var(--font-display);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
}
.footer-newsletter {
  display: flex;
  border: 1px solid rgba(255,255,255,.25);
}
.footer-newsletter input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: none;
  padding: 9px 12px;
  font-family: var(--font-fell);

  font-size: .9rem;
  color: var(--parchment);
  outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.3); }
.footer-newsletter button {
  background: var(--gold);
  color: var(--ink);
  padding: 9px 14px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background var(--transition);
  white-space: nowrap;
}
.footer-newsletter button:hover { background: var(--gold-light); }

.footer-ornament {
  text-align: center;
  color: var(--gold);
  font-size: .65rem;
  letter-spacing: .5em;
  opacity: .5;
  padding: 4px 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 18px 28px;
  text-align: center;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .01em;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid   { grid-template-columns: 1fr; gap: 48px; }
  .beliefs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .baptism-grid { grid-template-columns: repeat(2, 1fr); }
  .bap-large, .bap-wide { grid-column: span 1; }
  .bap-large img, .bap-wide img { height: 220px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .stats-grid     { flex-wrap: wrap; }
  .stat           { padding: 12px 28px; }
  .stat-divider   { display: none; }
  .activities-grid{ grid-template-columns: 1fr; }
  .beliefs-grid   { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; border: 1px solid var(--border); }
  .service-card   { border-right: none; border-bottom: 1px solid var(--border); }
  .service-card:last-child { border-bottom: none; }
  .contact-grid   { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner   { grid-template-columns: 1fr; gap: 32px; }
  .form-row       { grid-template-columns: 1fr; }
  .hero-frame     { padding: 40px 24px; }
  .filter-bar     { border: none; flex-direction: row; }
  .filter-btn     { border: 1px solid var(--border); margin: 2px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 0;
    transition: right var(--transition);
    border-left: 2px solid var(--gold);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.15);
    font-size: .75rem;
  }
  .nav-cta { margin-top: 16px; border: 1px solid var(--gold) !important; }
}

@media (max-width: 480px) {
  .hero-actions   { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .about-pillars  { gap: 8px; }
  .footer-social  { display: none; }
}
