/* ============================================================
   ST. JOHN THE BAPTIST ROMAN CATHOLIC CHURCH
   Main Stylesheet — Premium NPO Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── 1. Custom Properties ── */
:root {
  --primary:        #6B1D1D;
  --primary-dark:   #4F1515;
  --primary-light:  #8B2F2F;
  --gold:           #C2922A;
  --gold-light:     #D9AC52;
  --gold-dark:      #9E7620;
  --cream:          #F9F6F1;
  --cream-dark:     #F0EAE0;
  --dark:           #1A1208;
  --text:           #362B1A;
  --text-muted:     #6B5E4E;
  --text-lighter:   #9A8E80;
  --white:          #FFFFFF;
  --border:         #E6DDD0;
  --border-light:   #F0E8DC;
  --shadow-sm:      0 1px 4px rgba(0,0,0,0.06);
  --shadow:         0 4px 16px rgba(0,0,0,0.08);
  --shadow-md:      0 8px 28px rgba(0,0,0,0.11);
  --shadow-lg:      0 16px 48px rgba(0,0,0,0.14);
  --radius:         4px;
  --radius-md:      8px;
  --radius-lg:      12px;
  --transition:     0.28s ease;
  --transition-slow:0.48s ease;
  --font-heading:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;
  --max-width:      1200px;
  --header-height:  76px;
}

/* ── 2. Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }
table { border-collapse: collapse; width: 100%; }

/* ── 3. Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 500; }
h4 { font-size: 1.3rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1.15rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
em { font-style: italic; }

/* ── 4. Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 88px 0;
}
.section--cream {
  background: var(--cream);
}
.section--dark {
  background: var(--primary-dark);
  color: var(--white);
}
.section--border-top {
  border-top: 1px solid var(--border);
}

/* ── 5. Section Headers ── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-header .section-label { display: block; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 0;
}
.divider::before,
.divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.divider-cross {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}

/* ── 6. Header & Navigation ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.99);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-block img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text-main {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.logo-text-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.nav-list a {
  display: block;
  padding: 8px 9px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 9px;
  right: 9px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
}
.nav-list a:hover::after,
.nav-list a.active::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-list { padding: 16px 0 24px; }
.mobile-nav-list a {
  display: block;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  background: var(--cream);
  color: var(--primary);
}

/* Page offset for fixed header */
.page-top {
  padding-top: var(--header-height);
}

/* ── 7. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 0.86rem;
}

/* ── 8. Hero Sections ── */
.hero {
  position: relative;
  background: var(--primary-dark);
  color: var(--white);
  overflow: hidden;
}
.hero-home {
  min-height: 680px;
  display: flex;
  align-items: center;
}
.hero-inner {
  min-height: 360px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(74, 18, 18, 0.88) 0%,
    rgba(30, 10, 10, 0.72) 60%,
    rgba(15, 5, 5, 0.80) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 0;
}
.hero-content .section-label {
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-inner .hero-content {
  padding: 60px 0;
}
.hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.hero-breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.hero-breadcrumb a {
  color: var(--gold-light);
  transition: color var(--transition);
}
.hero-breadcrumb a:hover { color: var(--white); }
.hero-breadcrumb span { margin: 0 8px; }

/* ── 9. Homepage Sections ── */
.intro-section {
  padding: 96px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.intro-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.intro-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.intro-image-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 18px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.intro-image-badge span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 3px;
}
.intro-text .section-label { margin-bottom: 12px; }
.intro-text h2 { margin-bottom: 22px; }
.intro-text p { color: var(--text-muted); margin-bottom: 20px; }
.intro-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 36px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.value-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}
.value-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 2px;
}
.value-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Mission & Vision on Homepage */
.mv-section {
  background: var(--cream);
  padding: 96px 0;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mv-card {
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.mv-card--mission {
  background: var(--primary);
  color: var(--white);
}
.mv-card--vision {
  background: var(--primary-dark);
  color: var(--white);
}
.mv-card-icon {
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold-light);
  font-size: 1.4rem;
}
.mv-card .section-label {
  color: var(--gold-light);
  margin-bottom: 14px;
}
.mv-card h3 {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.mv-card p {
  color: rgba(255,255,255,0.84);
  font-size: 1.04rem;
  line-height: 1.85;
  margin-bottom: 28px;
}
.mv-card a {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}
.mv-card a:hover { gap: 14px; }
.mv-card-deco {
  position: absolute;
  bottom: -30px;
  right: -30px;
  font-size: 9rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Programs Preview */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.program-card-image {
  height: 200px;
  overflow: hidden;
}
.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.program-card:hover .program-card-image img {
  transform: scale(1.04);
}
.program-card-body {
  padding: 28px;
}
.program-card-body .section-label {
  margin-bottom: 8px;
}
.program-card-body h4 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.program-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.program-card-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 16px;
  transition: gap var(--transition);
}
.program-card-body a:hover { gap: 12px; }

/* Impact Stats */
.stats-section {
  background: var(--primary);
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Events Preview */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.event-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 28px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.event-item:last-child { border-bottom: none; }
.event-item:hover { background: var(--cream); }
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
}
.event-date-month {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.event-date-day {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.event-info h5 { margin-bottom: 4px; color: var(--dark); }
.event-info p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.event-time {
  font-size: 0.76rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* CTA Section */
.cta-section {
  background: var(--cream);
  padding: 88px 0;
  text-align: center;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 10. Inner Page Layouts ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
.content-main { min-width: 0; }
.content-sidebar { min-width: 0; }

.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}
.sidebar-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.sidebar-info-item:last-child { margin-bottom: 0; }
.sidebar-info-icon {
  width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}
.sidebar-info-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.sidebar-info-item strong { color: var(--dark); display: block; margin-bottom: 2px; }

/* Page Content Blocks */
.prose h2 { font-size: 2rem; margin-bottom: 18px; margin-top: 48px; color: var(--primary); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.4rem; margin-bottom: 14px; margin-top: 36px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); line-height: 1.85; margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 0; margin-bottom: 18px; }
.prose li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.prose li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 9px;
}
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1.6;
}
.prose blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-lighter);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* Image with caption */
.content-image {
  margin: 40px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.content-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.content-image figcaption {
  padding: 12px 20px;
  background: var(--cream);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* Feature Grid (Programs, Community) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 40px 0;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-card-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.3rem;
}
.feature-card h4 {
  margin-bottom: 10px;
  color: var(--dark);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Timeline (History) */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 44px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-item h4 { margin-bottom: 8px; font-size: 1.1rem; }
.timeline-item p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* Leadership Cards */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.leader-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.leader-card-image {
  height: 220px;
  background: var(--cream-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leader-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold-light);
  font-weight: 600;
}
.leader-card-body {
  padding: 24px 20px;
}
.leader-card-body h4 { margin-bottom: 4px; }
.leader-card-body .role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
  display: block;
}
.leader-card-body p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 28px;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover { background: var(--cream); }
.faq-question.active {
  background: var(--primary);
  color: var(--white);
}
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform var(--transition);
  opacity: 0.7;
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--transition);
  background: var(--cream);
}
.faq-answer.open { max-height: 400px; }
.faq-answer-inner {
  padding: 24px 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}
.contact-form-section { min-width: 0; }
.contact-info-section { min-width: 0; }
.form-group { margin-bottom: 22px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 29, 29, 0.1);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Contact Info Cards */
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
}
.contact-card-text strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lighter);
  margin-bottom: 4px;
}
.contact-card-text a,
.contact-card-text p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  transition: color var(--transition);
}
.contact-card-text a:hover { color: var(--primary); }

/* Mass Schedule Table */
.mass-table { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.mass-table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
}
.mass-table td {
  padding: 13px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mass-table tr:last-child td { border-bottom: none; }
.mass-table tr:nth-child(even) td { background: var(--cream); }

/* News / Events Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.news-card-image {
  height: 192px;
  overflow: hidden;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-body { padding: 24px; }
.news-card-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.news-card-body h4 { margin-bottom: 10px; font-size: 1.1rem; }
.news-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── 11. Footer ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}
.footer-brand .logo-block {
  margin-bottom: 18px;
}
.footer-brand .logo-text-main { color: var(--gold-light); }
.footer-brand .logo-text-sub { color: rgba(255,255,255,0.5); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.7;
}
.footer-bottom-logo span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  text-align: right;
}

/* ── 12. Utilities ── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-primary { color: var(--primary); }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.fw-400 { font-weight: 400; }
.fw-600 { font-weight: 600; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-16 { gap: 16px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── 13. Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}
.fade-in-up.delay-1 { animation-delay: 0.1s; }
.fade-in-up.delay-2 { animation-delay: 0.2s; }
.fade-in-up.delay-3 { animation-delay: 0.3s; }
.fade-in-up.delay-4 { animation-delay: 0.4s; }

/* Intersection Observer controlled */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ── 14. Responsive ── */
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .site-nav { display: none; }
  .mobile-nav { display: block; }
  .logo-text-sub { display: none; }
  .logo-text-main { font-size: 0.9rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-image { order: -1; }
  .intro-image img { height: 380px; }
  .intro-image-badge { left: 16px; bottom: 16px; }
  .content-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card { padding: 48px 36px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  :root { --header-height: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }
  .hero-home { min-height: 520px; }
  .hero-inner { min-height: 260px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .intro-values { grid-template-columns: 1fr; }
  .mv-card { padding: 36px 24px; }
  .programs-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: 2.6rem; }
  .news-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-copyright { text-align: center; }
  .hero-content { padding: 48px 0; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .btn { display: none; }
  .page-top { padding-top: 0; }
  body { font-size: 12pt; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* Refined parish masthead and footer */
:root { --header-height: 146px; }
.site-header { background: #fffdf9; border-top: 3px solid var(--primary); }
.header-inner { height: 143px; flex-wrap: wrap; gap: 0; align-content: start; }
.site-header .logo-block { height: 89px; }
.site-header .logo-block img { width: 58px; height: 58px; }
.site-header .logo-text-main { font-size: 1.65rem; font-weight: 600; }
.site-header .logo-text-sub { display: block; margin-top: 6px; font-size: .66rem; letter-spacing: .18em; }
.header-welcome { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: .78rem; }
.header-welcome > span { color: var(--text-muted); }
.header-welcome > a { padding: 10px 18px; border: 1px solid var(--border); color: var(--primary); font-weight: 600; }
.header-welcome > a:hover { background: var(--cream-dark); }
.header-welcome a span { margin-left: 14px; }
.site-nav { width: 100%; height: 51px; border-top: 1px solid var(--border); }
.nav-list { width: 100%; justify-content: space-between; }
.nav-list a { padding: 14px 8px; font-size: .73rem; letter-spacing: .06em; }
.nav-list a::after { bottom: 5px; }
.mobile-nav { visibility: hidden; }
.mobile-nav.open { visibility: visible; }
.site-header a:focus-visible, .site-footer a:focus-visible, .nav-toggle:focus-visible, .mobile-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.site-footer { background: #261c19; padding-top: 0; border-top: 4px solid var(--gold); }
.footer-welcome { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px 0; border-bottom: 1px solid #51413a; }
.footer-eyebrow { display: block; font-size: .67rem; letter-spacing: .17em; text-transform: uppercase; color: #d9ac52; margin-bottom: 10px; }
.footer-welcome h2 { color: #fff7eb; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.footer-visit { border: 1px solid #a78b62; padding: 13px 20px; color: #fff7eb; font-size: .8rem; flex-shrink: 0; }
.footer-visit span { margin-left: 20px; }
.footer-visit:hover { background: #49362c; }
.footer-main { grid-template-columns: 1.25fr .7fr .9fr 1.15fr; gap: 36px; padding: 48px 0; }
.footer-main > * { min-width: 0; }
.footer-brand .logo-block { gap: 12px; }
.footer-brand .logo-block img { width: 48px; height: 56px; }
.footer-brand .logo-text-main { color: #fff7eb; font-size: 1.3rem; white-space: normal; }
.footer-brand .logo-text-sub { display: block; font-size: .57rem; color: #cbbfb2; white-space: normal; margin-top: 6px; }
.footer-brand p { color: #cbbfb2; font-size: .84rem; line-height: 1.9; max-width: 290px; }
.footer-col h3 { color: #e6bc76; font-family: var(--font-body); text-transform: uppercase; font-size: .7rem; font-weight: 600; letter-spacing: .14em; margin-bottom: 20px; }
.footer-col ul { gap: 6px; }
.footer-col ul a, .footer-contact > a { color: #d6ccc1; font-size: .8rem; display: inline-block; padding: 4px 0; }
.footer-contact address { font-size: .8rem; font-style: normal; color: #d6ccc1; margin-bottom: 12px; line-height: 1.9; }
.footer-contact > a { display: block; overflow-wrap: anywhere; }
.footer-contact > .footer-contact-link { color: #e6bc76; margin-top: 12px; }
.footer-col a:hover, .footer-website:hover { color: #f3cf8c; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-color: #51413a; padding: 22px 0; }
.footer-copyright { text-align: left; color: #bfb2a5; font-size: .7rem; margin: 0; }
.footer-website { color: #d9c8af; font-size: .75rem; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  :root { --header-height: 92px; }
  .header-inner { height: 89px; flex-wrap: nowrap; gap: 20px; align-items: center; }
  .site-nav { display: none; }
  .header-welcome { margin-left: auto; }
  .header-welcome > span { display: none; }
  .nav-toggle { flex-shrink: 0; width: 44px; height: 44px; padding: 8px; }
  .footer-main { grid-template-columns: 1.2fr 1fr; gap: 36px 48px; }
}
@media (max-width: 640px) {
  :root { --header-height: 82px; }
  .header-inner { height: 79px; gap: 10px; }
  .site-header .logo-block { height: auto; gap: 9px; min-width: 0; flex-shrink: 1; }
  .site-header .logo-block img { width: 42px; height: 48px; }
  .site-header .logo-text-main { font-size: 1.15rem; white-space: normal; }
  .site-header .logo-text-sub { font-size: .52rem; letter-spacing: .09em; white-space: normal; }
  .header-welcome { display: none; }
  .nav-toggle { margin-left: auto; }
  .footer-welcome { align-items: flex-start; flex-direction: column; padding: 32px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 36px 0; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { align-items: flex-start; text-align: left; gap: 12px; }
  .footer-copyright { text-align: left; }
}
@media print { .page-top { padding-top: 0; } }
