/* ============================================================
   ST. MARY'S FORANE CHURCH, THANKEY — MAIN STYLESHEET
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --burgundy:      #6B1A1A;
  --burgundy-dark: #4A1010;
  --burgundy-light:#8B2A2A;
  --gold:          #C9A84C;
  --gold-light:    #E2C87A;
  --gold-dark:     #A08030;
  --cream:         #FAF3E0;
  --cream-dark:    #F0E6C8;
  --charcoal:      #1C1C1C;
  --charcoal-mid:  #2E2E2E;
  --charcoal-light:#4A4A4A;
  --white:         #FFFFFF;
  --text-body:     #2A2A2A;
  --text-muted:    #666666;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-labels:   'Barlow Condensed', system-ui, sans-serif;
  --font-accent:   'Cormorant Garamond', Georgia, serif;

  --nav-height:    80px;
  --section-pad:   96px;
  --radius:        4px;
  --transition:    0.35s ease;
  --shadow:        0 4px 32px rgba(0,0,0,0.18);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography Scale ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.35rem); }
h5 { font-size: 1rem; }
h6 { font-size: 0.95rem; }
p  { margin-bottom: 1.2em; font-size: 0.975rem; line-height: 1.75; }
p:last-child { margin-bottom: 0; }

.lead {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--charcoal-light);
  line-height: 1.8;
}

/* ── UI Font elements ── */
input, textarea, select, button { font-family: var(--font-body); }

/* ── Utility Classes ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1440px; }

.section { padding: var(--section-pad) 0; }
.section--dark {
  background: var(--charcoal);
  color: var(--cream);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section--burgundy {
  background: var(--burgundy);
  color: var(--cream);
}
.section--burgundy h2, .section--burgundy h3 { color: var(--cream); }
.section--cream { background: var(--cream); }
.section--cream-dark { background: var(--cream-dark); }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-burgundy { color: var(--burgundy); }

/* ── Gold Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 24px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}
.divider .divider-icon {
  color: var(--gold);
  font-size: 0.6rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.section-label {
  font-family: var(--font-labels);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

/* ── Buttons ── */
.btn {
  font-family: var(--font-labels);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}
/* ── Watch Live hero button ── */
.btn-watch-live {
  background: rgba(10, 2, 2, 0.55);
  color: #fff;
  border: 1.5px solid rgba(204, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 18px rgba(204, 0, 0, 0.18), inset 0 0 24px rgba(204, 0, 0, 0.06);
  letter-spacing: 0.13em;
  position: relative;
  overflow: hidden;
}
.btn-watch-live::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(204,0,0,0.12) 0%, transparent 55%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.btn-watch-live:hover {
  background: rgba(204, 0, 0, 0.22);
  border-color: rgba(204, 0, 0, 0.9);
  box-shadow: 0 0 32px rgba(204, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  color: #fff;
}
.btn-watch-live:hover::before { opacity: 0; }

/* pulsing red dot inside the button */
.btn-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff3b30;
  border-radius: 50%;
  margin-right: 9px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255, 59, 48, 0.9);
  animation: btnDotPulse 1.5s ease-in-out infinite;
}
@keyframes btnDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(255,59,48,0.9); }
  50%       { opacity: 0.6; box-shadow: 0 0 2px rgba(255,59,48,0.4); }
}

.btn-burgundy {
  background: var(--burgundy);
  color: var(--cream);
  border: 2px solid var(--burgundy);
}
.btn-burgundy:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
}

/* ── Image Placeholders ── */
.img-placeholder {
  width: 100%;
  background: var(--charcoal-mid);
  border: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(201,168,76,0.04) 8px,
    rgba(201,168,76,0.04) 16px
  );
}
.img-placeholder span { position: relative; z-index: 1; }
.img-placeholder .ph-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: 0.5;
}
.img-placeholder--hero    { padding-top: 42%; }
.img-placeholder--wide    { padding-top: 40%; }
.img-placeholder--banner  { padding-top: 35%; }
.img-placeholder--card    { padding-top: 66%; }
.img-placeholder--square  { padding-top: 100%; }
.img-placeholder--portrait { padding-top: 130%; }

/* Proper aspect ratio placeholders */
.ph-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.ph-wrap .img-placeholder {
  position: absolute;
  inset: 0;
  padding-top: 0;
}

/* ── NAVIGATION ── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
#main-nav.scrolled {
  background: rgba(27,10,10,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}
#main-nav.nav-solid {
  background: var(--burgundy-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
}
.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}
.nav-brand-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0;
}
.nav-brand-sub {
  font-family: var(--font-labels);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-family: var(--font-labels);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: 3px;
  transition: color var(--transition), background var(--transition);
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links .btn {
  padding: 8px 20px;
  font-size: 0.88rem;
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.nav-links .btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27,10,10,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-labels);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 24px;
  transition: color var(--transition);
  text-align: center;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-cross {
  font-family: var(--font-labels);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-align: center;
  margin-top: 12px;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20,5,5,0.90) 0%,
    rgba(20,5,5,0.55) 50%,
    rgba(20,5,5,0.25) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-welcome {
  display: block;
  font-family: var(--font-labels);
  font-size: 0.82rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-content h1 {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 20px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.01em;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-content p:not(.hero-subtitle) {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-labels);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Ken Burns ── */
@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}
@keyframes kenBurnsAlt {
  0%   { transform: scale(1.08) translate(1%, 0); }
  100% { transform: scale(1.0) translate(-1%, -1%); }
}
.hero-slide.active img {
  animation: kenBurns 8s ease-in-out forwards;
}
.hero-slide:nth-child(2n).active img {
  animation: kenBurnsAlt 8s ease-in-out forwards;
}

/* ── Hero text stagger ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-welcome {
  animation: heroFadeUp 0.9s ease both;
  animation-delay: 0.3s;
}
.hero-content h1 {
  animation: heroFadeUp 0.9s ease both;
  animation-delay: 0.55s;
}
.hero-subtitle {
  animation: heroFadeUp 0.9s ease both;
  animation-delay: 0.75s;
}
.hero-btns {
  animation: heroFadeUp 0.9s ease both;
  animation-delay: 0.95s;
}

/* Sub-page hero banner */
.page-hero {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-height);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,5,5,0.88) 0%, rgba(20,5,5,0.35) 60%, rgba(20,5,5,0.2) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.page-hero-content .section-label { color: var(--gold); margin-bottom: 8px; }
.page-hero-content h1 {
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.page-hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin-top: 12px;
  margin-bottom: 0;
}

/* ── MASS TIMES STRIP ── */
.mass-strip {
  background: var(--burgundy-dark);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 20px 0;
}
.mass-strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.mass-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.mass-item-day {
  font-family: var(--font-labels);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.mass-item-time {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.mass-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ── SECTION HEADER ── */
.section-header {
  margin-bottom: 56px;
}
.section-header.center { text-align: center; }
.section-header.center .divider { justify-content: center; }

/* ── TWO-COLUMN FEATURE SECTION ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }
.feature-text p { color: var(--charcoal-light); }
.feature-text .section-label { color: var(--gold-dark); }
.feature-text h2 { color: var(--charcoal); margin-bottom: 20px; }

/* ── CARD GRIDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.card-img {
  position: relative;
  overflow: hidden;
}
.card-img img, .card-img .img-placeholder {
  width: 100%;
}
.card-body {
  padding: 24px;
}
.card-label {
  font-family: var(--font-labels);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
  display: block;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p  { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 16px; }
.card-link {
  font-family: var(--font-labels);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 12px; color: var(--burgundy-dark); }

/* ── PULL QUOTES ── */
.pull-quote {
  font-family: var(--font-accent);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  text-align: center;
  line-height: 1.5;
  padding: 48px 0;
  border-top: 1px solid rgba(201,168,76,0.3);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  position: relative;
}
.pull-quote::before {
  content: '\201C';
  font-size: 6rem;
  color: rgba(201,168,76,0.2);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  font-style: normal;
}
.pull-quote-dark {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.pull-quote-dark::before { color: rgba(255,255,255,0.08); }
.pull-quote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 48px;
  max-width: 780px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 3px var(--gold);
}
.timeline-year {
  font-family: var(--font-labels);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.timeline-body {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  line-height: 1.75;
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.3);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--font-labels);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── EVENT SCHEDULE TABLE ── */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.schedule-table th {
  background: var(--burgundy);
  color: var(--gold);
  font-family: var(--font-labels);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 14px 20px;
  text-align: left;
}
.schedule-table td {
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
  color: rgba(255,255,255,0.85);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: rgba(255,255,255,0.04); }
.schedule-table .time-cell {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.schedule-section-header td {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
  padding: 16px 20px;
}

/* ── EVENT CARDS (Holy Week) ── */
.hw-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.hw-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.hw-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.hw-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hw-card-body {
  padding: 28px;
}
.hw-day-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-labels);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.hw-card h3 { color: var(--white); margin-bottom: 12px; }
.hw-card p  { color: rgba(255,255,255,0.7); font-size: 0.93rem; }

/* ── GALLERY GRID ── */
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-labels);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 8px 22px;
  border-radius: 30px;
  border: 1px solid rgba(201,168,76,0.4);
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  cursor: pointer;
  background: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}
.gallery-grid {
  columns: 3 280px;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item { overflow: hidden; }
.gallery-item img,
.gallery-item .img-placeholder {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.03); }

/* Feature grid image hover */
.feature-grid .fade-left img,
.feature-grid .fade-right img {
  transition: transform 0.6s ease;
}
.feature-grid .fade-left:hover img,
.feature-grid .fade-right:hover img {
  transform: scale(1.03);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107,26,26,0);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(107,26,26,0.55); }
.gallery-caption {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,76,0.3);
}
.lightbox-caption {
  font-family: var(--font-accent);
  font-style: italic;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
  background: none;
  border: none;
  font-family: sans-serif;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  background: none;
  border: none;
  font-family: sans-serif;
  padding: 16px;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }

/* ── DONATION ── */
.giving-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.giving-card {
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.giving-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.giving-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.giving-card h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 10px; }
.giving-card p  { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 24px; }

/* ── FORMS ── */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-labels);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  width: 100%;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: rgba(255,255,255,0.09);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--charcoal); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Light form (cream bg) */
.form-light .form-group input,
.form-light .form-group textarea,
.form-light .form-group select {
  background: var(--white);
  border-color: rgba(107,26,26,0.25);
  color: var(--charcoal);
}
.form-light .form-group input::placeholder,
.form-light .form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-light .form-group input:focus,
.form-light .form-group textarea:focus {
  border-color: var(--burgundy);
  background: var(--white);
}
.form-light .form-group label { color: var(--burgundy); }

/* ── LOCATION CARD ── */
.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-info {
  background: var(--burgundy-dark);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-info h3 { color: var(--gold); margin-bottom: 20px; }
.location-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.location-detail-icon {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.location-detail-text {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}
.location-map {
  position: relative;
  min-height: 360px;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── FOOTER ── */
#footer {
  background: var(--charcoal);
  border-top: 3px solid var(--gold);
  padding: 72px 0 40px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand .tagline {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--gold);
  font-size: 0.98rem;
  margin-bottom: 20px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 0; }
.footer-col h4 {
  font-family: var(--font-labels);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-mass p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--gold); }
.footer-cross {
  text-align: center;
  padding: 28px 0 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}

/* ── NOTICE CARDS ── */
.notice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.notice-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.notice-card:hover { transform: translateY(-4px); }
.notice-date {
  font-family: var(--font-labels);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.notice-card h4 { color: var(--charcoal); margin-bottom: 10px; }
.notice-card p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ── MINISTRY CARDS ── */
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ministry-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.ministry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.ministry-card-header {
  background: var(--burgundy);
  padding: 32px 20px 24px;
}
.ministry-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
  display: block;
  color: var(--gold);
}
.ministry-card-header h3 {
  color: var(--white);
  font-size: 1.25rem;
}
.ministry-card-body {
  padding: 24px;
}
.ministry-card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.fade-in.visible { opacity: 1; }
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.55s; }

/* Show all animated content immediately when JS is off or user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in, .fade-left, .fade-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Scroll Snap (homepage only) ── */
body.page-home {
  scroll-snap-type: y proximity;
  overflow-y: scroll;
}
body.page-home .hero,
body.page-home .quick-actions-strip,
body.page-home .section {
  scroll-snap-align: start;
}

/* ── Enhanced Image Hover ── */
.card-img { overflow: hidden; }
.card-img img {
  transition: transform 0.6s ease;
}
.card:hover .card-img img { transform: scale(1.05); }

.hw-card-img img {
  transition: transform 0.6s ease;
}
.hw-card:hover .hw-card-img img { transform: scale(1.05); }

/* ── Focus Rings ── */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
}
.form-light .form-group input:focus,
.form-light .form-group textarea:focus,
.form-light .form-group select:focus {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(107,26,26,0.12);
}

/* ── Table Alternating Rows ── */
.schedule-table tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}
.schedule-table tbody tr:hover td {
  background: rgba(201,168,76,0.07);
}

/* ================================================================
   RESPONSIVE — MOBILE-FIRST
   ================================================================ */

/* ── 1440px+ — Large screens ── */
@media (min-width: 1440px) {
  .container { max-width: 1280px; }
  :root { --section-pad: 112px; }
}

/* ── 1024px — Tablet ── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .feature-grid { gap: 40px; }
  .rituals-row  { grid-template-columns: 140px 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-bar    { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:nth-child(2) { border-right: none; }
  .stats-bar .stat-item:nth-child(3) { border-top: 1px solid rgba(201,168,76,0.3); }
  .cards-grid    { grid-template-columns: 1fr 1fr; }
  .notice-cards  { grid-template-columns: 1fr 1fr; }
  .ministry-grid { grid-template-columns: 1fr 1fr; }
  .hw-cards      { grid-template-columns: 1fr 1fr; }
  .live-embed-grid { grid-template-columns: 1fr; }
  .social-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 768px — Mobile ── */
@media (max-width: 768px) {
  :root { --section-pad: 56px; --nav-height: 64px; }

  /* Nav */
  .hamburger { display: flex; }
  .nav-links  { display: none; }
  .nav-brand-title { font-size: 0.95rem; }

  /* Hero — fix viewport height & image cropping */
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    padding-bottom: 72px;
    align-items: flex-end;
  }
  .hero .container { padding-bottom: 0; }
  .hero-slide img {
    object-position: center 20%;
  }
  .hero-content {
    max-width: 100%;
    padding-top: 0;
  }
  .hero-content h1 { font-size: clamp(1.75rem, 7vw, 2.6rem); }
  .hero-subtitle    { font-size: 1.05rem; margin-bottom: 24px; }
  .hero-content p:not(.hero-subtitle) { display: none; }
  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-btns .btn { flex: 1; min-width: 140px; padding: 13px 20px; }
  .hero-dots { bottom: 28px; }
  .hero-scroll { display: none; }

  /* Lighter overlay on mobile so image shows clearly above the text */
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(20,5,5,0.92) 0%,
      rgba(20,5,5,0.60) 38%,
      rgba(20,5,5,0.15) 70%,
      rgba(20,5,5,0.05) 100%
    );
  }

  /* Page heroes */
  .page-hero { height: 320px; }
  .page-hero-content { padding: 28px 20px; }
  .page-hero-content h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Feature grids */
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid.reverse { direction: ltr; }
  .feature-grid > div:first-child img { max-height: 320px; object-fit: cover; width: 100%; }

  /* Sections */
  .section-header { margin-bottom: 36px; }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }

  /* Cards */
  .cards-grid    { grid-template-columns: 1fr; gap: 20px; }
  .notice-cards  { grid-template-columns: 1fr; gap: 16px; }
  .ministry-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hw-cards      { grid-template-columns: 1fr; gap: 20px; }
  .hw-card-img   { height: 200px; }

  /* Clergy */
  .clergy-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .clergy-photo-wrap { width: 100px; height: 100px; }
  .clergy-card--bishop .clergy-photo-wrap { width: 130px; height: 130px; }
  .clergy-name { font-size: 0.88rem; }

  /* Stats */
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 24px 16px; }
  .stat-number { font-size: 2.2rem; }

  /* Mass strip */
  .mass-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mass-strip-inner { gap: 16px; justify-content: flex-start; padding: 0 16px; min-width: max-content; }

  /* Forms — 16px minimum to prevent iOS Safari zoom */
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }

  /* Giving */
  .giving-options { grid-template-columns: 1fr; gap: 16px; }
  .giving-card { padding: 28px 20px; }

  /* Location */
  .location-card { grid-template-columns: 1fr; }
  .location-info { padding: 32px 24px; }
  .location-map  { min-height: 260px; }

  /* Gallery */
  .gallery-filters { gap: 8px; }
  .filter-btn { font-size: 0.72rem; padding: 7px 16px; }
  .gallery-grid { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }

  /* Lightbox nav arrows */
  .lightbox-prev, .lightbox-next { font-size: 1.8rem; padding: 12px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-social { gap: 20px; }

  /* Pull quote */
  .pull-quote { font-size: clamp(1.2rem, 4vw, 1.6rem); padding: 36px 0; }

  /* Schedule table */
  .schedule-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .schedule-table { min-width: 540px; font-size: 0.85rem; }
  .schedule-table th, .schedule-table td { padding: 10px 12px; }

  /* Live stream */
  .live-embed-grid { grid-template-columns: 1fr; gap: 24px; }
  .live-platform-btns { flex-direction: row; flex-wrap: wrap; }
  .live-platform-btn  { flex: 1; min-width: 160px; padding: 14px 16px; gap: 12px; }
  .live-platform-label { display: none; }
  .live-btn-name { font-size: 0.95rem; }

  /* Social cards */
  .social-cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .social-card { padding: 24px 20px; }

  /* Quick actions — 3 col at 768px */
  .quick-actions-inner { flex-wrap: wrap; }
  .qa-item { flex: 0 0 33.333%; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .qa-item:nth-child(3) { border-right: none; }
  .qa-item:nth-child(4) { border-bottom: none; }
  .qa-item:nth-child(5) { border-right: none; border-bottom: none; }
  .qa-label { font-size: 0.65rem; }

  /* Rituals */
  .rituals-row { grid-template-columns: 1fr; }
  .rituals-row--head { display: none; }
  .rituals-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 10px 16px; }
  .rituals-cell:last-child { border-bottom: none; }

  /* img-strip */
  .img-strip img { max-height: 280px; }
}

/* ── 600px — Small mobile ── */
@media (max-width: 600px) {
  :root { --section-pad: 48px; --nav-height: 60px; }

  /* Hero */
  .hero-content h1 { font-size: clamp(1.6rem, 8vw, 2rem); }
  .hero-welcome { font-size: 0.72rem; letter-spacing: 0.2em; }
  .hero-subtitle { font-size: 1rem; }

  /* Nav */
  .nav-brand-title { font-size: 0.9rem; }
  .nav-brand-sub   { display: none; }

  /* Ministry 2→1 col */
  .ministry-grid { grid-template-columns: 1fr; }
  .ministry-card-header { padding: 24px 16px 20px; }

  /* Footer single column */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  #footer { padding: 48px 0 32px; }

  /* Gallery single col */
  .gallery-grid { columns: 1; }

  /* Section header */
  .section-header { margin-bottom: 28px; }

  /* Stat number */
  .stats-bar { grid-template-columns: 1fr 1fr; }

  /* Page hero */
  .page-hero { height: 260px; }
  .page-hero-content { padding: 24px 16px; }
  .page-hero-content h1 { font-size: 1.5rem; }
}

/* ── 480px — Extra small ── */
@media (max-width: 480px) {
  :root { --section-pad: 40px; }

  .container { padding: 0 16px; }

  /* Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.2rem; }
  p  { font-size: 0.93rem; }

  /* Hero */
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; text-align: center; }

  /* Clergy */
  .clergy-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .clergy-photo-wrap { width: 88px; height: 88px; }
  .clergy-card--bishop .clergy-photo-wrap { width: 110px; height: 110px; }
  .clergy-name { font-size: 0.8rem; }
  .clergy-title { font-size: 0.58rem; }

  /* Stats single col */
  .stats-bar { grid-template-columns: 1fr; }
  .stats-bar .stat-item { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.3); }
  .stats-bar .stat-item:last-child { border-bottom: none; }

  /* Notice cards */
  .notice-cards { grid-template-columns: 1fr; }
  .notice-card { padding: 20px; }

  /* Quick actions 2 per row */
  .qa-item { flex: 0 0 50%; }
  .qa-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.07); }
  .qa-item:nth-child(2n) { border-right: none; }
  .qa-item:last-child:nth-child(odd) { flex: 0 0 100%; border-right: none; }

  /* Pull quote */
  .pull-quote { font-size: 1.1rem; padding: 28px 0; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; }
  .hw-cards   { grid-template-columns: 1fr; }
  .hw-card-img { height: 180px; }

  /* Location */
  .location-info { padding: 24px 16px; }

  /* Giving */
  .amount-group { flex-wrap: wrap; gap: 8px; }
  .amount-btn   { flex: 1; min-width: 70px; }

  /* Form */
  .form-group { margin-bottom: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-social { gap: 16px; padding: 20px 0 16px; }

  /* Schedule table */
  .schedule-table { min-width: 460px; font-size: 0.8rem; }

  /* Section label */
  .section-label { font-size: 0.7rem; letter-spacing: 0.2em; }

  /* Quick actions — 2 col at 480px */
  .qa-item { flex: 0 0 50%; }
  .qa-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.07); }
  .qa-item:nth-child(2) { border-right: none; }
  .qa-item:nth-child(4) { border-right: none; border-bottom: none; }
  .qa-item:nth-child(5) { border-right: 1px solid rgba(255,255,255,0.07); border-bottom: none; }

  /* Live stream — stack buttons vertically */
  .live-platform-btns { flex-direction: column; gap: 10px; }
  .live-platform-btn  { flex: unset; min-width: unset; width: 100%; padding: 13px 16px; }
  .live-btn-label { font-size: 0.65rem; }
  .live-btn-name  { font-size: 0.88rem; }
}

/* ── 375px — Standard iPhone ── */
@media (max-width: 375px) {
  :root { --section-pad: 36px; --nav-height: 58px; }

  .nav-brand-title { font-size: 0.85rem; }

  .hero-content h1 { font-size: 1.5rem; }
  .hero-welcome { letter-spacing: 0.15em; }
  .hero-dots { bottom: 20px; }

  .clergy-grid { grid-template-columns: repeat(2, 1fr); }

  h2 { font-size: 1.35rem; }
  .btn { padding: 12px 20px; font-size: 0.82rem; }

  .page-hero { height: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── 320px — Small phones ── */
@media (max-width: 320px) {
  :root { --section-pad: 32px; --nav-height: 56px; }
  .container { padding: 0 12px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.25rem; }
  .btn { padding: 11px 16px; font-size: 0.78rem; letter-spacing: 0.14em; }
  .hero-content h1 { font-size: 1.35rem; }
  .clergy-grid { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
}

/* ============================================================
   PAGE-SPECIFIC COMPONENT GRIDS
   (Defined as classes so responsive CSS can override inline styles)
   ============================================================ */

/* Ministries — Sacred Spaces photo pair */
.sacred-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

/* Ministries — Sacred Spaces caption row */
.sacred-caption-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-top: 48px;
  align-items: center;
}

/* Ministries — Sacraments 3-col grid */
.sacraments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Gallery — YouTube / video section */
.gallery-youtube-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Homepage — Church picture strip (3 photos) */
.home-picture-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* About page — Feast image strip (3 photos) */
.feast-img-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.feast-img-strip div { transition: transform 0.4s ease; overflow: hidden; border-radius: 4px; }
.feast-img-strip div:hover img { transform: scale(1.03); }
.feast-img-strip img { transition: transform 0.6s ease; }

/* General 2-column layout (form+info, content+content) */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) {
  .sacred-photos-grid { grid-template-columns: 1fr; }
  .sacred-photos-grid img { height: 260px !important; }
  .sacred-caption-row { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .sacraments-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery-youtube-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-picture-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .home-picture-strip img { height: 200px !important; }
  .feast-img-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 32px; }
  .feast-img-strip img { height: 220px !important; }
  .two-col-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .sacraments-grid { grid-template-columns: 1fr; gap: 14px; }
  .sacraments-grid > div { padding: 24px 16px !important; }
  .home-picture-strip { grid-template-columns: 1fr; }
  .feast-img-strip { grid-template-columns: 1fr; }
  .feast-img-strip img { height: 200px !important; }
}

/* ============================================================
   SOCIAL MEDIA & LIVE STREAM
   ============================================================ */

/* ── Footer Social Icons ── */
.footer-social {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 28px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}
.social-link:hover { color: var(--gold); transform: translateY(-3px); }
.social-icon { width: 28px; height: 28px; display: block; }
.social-icon svg { width: 100%; height: 100%; }
.social-name {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.social-live-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #cc0000;
  color: #fff;
  padding: 2px 7px;
  border-radius: 2px;
}

/* ── Live Pulsing Badge ── */
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}
@keyframes pulse {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.55; transform: scale(0.82); }
  100% { opacity: 1; transform: scale(1); }
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #cc0000;
  color: #fff;
  font-family: var(--font-labels);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 1.8s ease-in-out infinite;
}
.btn .live-dot {
  display: inline-block;
  background: #ff3b30;
  vertical-align: middle;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}

/* ── Live Stream Section ── */
.live-section {
  background: var(--charcoal);
  border-top: 3px solid #cc0000;
}
.live-embed-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: start;
}
.live-iframe-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(204,0,0,0.3);
}
.live-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.live-platform-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.live-platform-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}
.live-platform-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  transition: transform var(--transition), filter var(--transition);
  text-decoration: none;
}
.live-platform-btn:hover { transform: translateX(4px); filter: brightness(1.1); }
.live-platform-btn-yt { background: #cc0000; }
.live-platform-btn-fb { background: #1877F2; }
.live-platform-btn-ig { background: linear-gradient(45deg,#833ab4,#fd1d1d,#fcb045); }
.live-platform-btn svg { width: 24px; height: 24px; flex-shrink: 0; fill: #fff; }
.live-btn-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 2px;
}
.live-btn-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.live-note {
  margin-top: 18px;
  padding: 15px 20px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}
.live-note a { color: var(--gold); }
.live-note a:hover { text-decoration: underline; }

/* Watch Online card (Holy Week page) */
.watch-online-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(204,0,0,0.35);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 20px;
}
.watch-online-card h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.watch-online-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.watch-online-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-yt {
  background: #cc0000; color: #fff; border: 2px solid #cc0000;
  font-size: 0.84rem; padding: 8px 18px;
}
.btn-yt:hover { background: #aa0000; border-color: #aa0000; transform: translateY(-2px); color: #fff; }
.btn-fb {
  background: #1877F2; color: #fff; border: 2px solid #1877F2;
  font-size: 0.84rem; padding: 8px 18px;
}
.btn-fb:hover { background: #0d65d9; border-color: #0d65d9; transform: translateY(-2px); color: #fff; }

/* Social section (contact page) */
.social-cards-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.social-card {
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
  text-decoration: none;
  display: block;
}
.social-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.social-card-icon { width: 48px; height: 48px; margin: 0 auto 14px; }
.social-card-icon svg { width: 100%; height: 100%; }
.social-card-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.social-card-handle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.social-card-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #cc0000;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.social-card-live .live-dot { width: 6px; height: 6px; }

/* Live/social mobile handled in main responsive block above */

/* ── Hero Carousel ── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transform: scale(1.0);
  transition: transform 20s ease-out;
}
.hero-slide.active img {
  transform: scale(1.08);
}

/* ── Hero Text Stagger Animation ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-welcome    { animation: heroFadeUp 0.8s ease both; animation-delay: 0.2s; }
.hero-content h1 { animation: heroFadeUp 0.9s ease both; animation-delay: 0.45s; }
.hero-subtitle   { animation: heroFadeUp 0.8s ease both; animation-delay: 0.7s; }
.hero-btns       { animation: heroFadeUp 0.8s ease both; animation-delay: 0.9s; }
.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}
/* The existing .hero-bg and .hero-overlay remain for backward compat,
   but hero-slide wraps them instead */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,5,5,0.28) 0%,
    rgba(10,5,5,0.55) 55%,
    rgba(10,5,5,0.72) 100%
  );
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-scroll { z-index: 2; }

/* ── Quick Actions Strip ── */
.quick-actions-strip {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.quick-actions-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.qa-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 28px;
  color: var(--cream);
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition), color var(--transition);
  flex: 1;
  min-width: 0;
}
.qa-item:last-child { border-right: none; }
.qa-item:hover {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
}
.qa-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.qa-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
/* Quick actions mobile handled in main responsive block above */

/* ── Daily Rituals & Mass Timings Block ── */
.rituals-block {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.rituals-schedule {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  overflow: hidden;
}
.rituals-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.rituals-row:last-child { border-bottom: none; }
.rituals-row--head {
  background: rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.3);
}
.rituals-cell {
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.rituals-cell:last-child { border-right: none; }
.rituals-row--head .rituals-cell {
  font-family: var(--font-labels);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 20px;
}
.rituals-day { color: var(--cream); font-weight: 600; font-family: var(--font-labels); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.time-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.time-pill {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.rituals-services { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.rituals-services em { color: var(--gold-light); font-style: normal; font-weight: 600; }

/* Daily offerings strip */
.offerings-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 18px 24px;
  background: rgba(107,26,26,0.25);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-radius: 0 0 6px 6px;
  margin-top: -1px;
}
.offerings-label {
  font-family: var(--font-labels);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.offering-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
.offering-tag::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.55rem;
  opacity: 0.7;
}
.open-hours {
  margin-top: 14px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.open-hours strong { color: var(--gold); font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; }

/* Malayalam schedule image */
.malayalam-img-wrap {
  width: 100%;
  aspect-ratio: 2900 / 1307;
  overflow: hidden;
}
.malayalam-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0.3;
}
/* Rituals mobile handled in main responsive block above */

/* ── Clergy Section ── */
.clergy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 24px;
  align-items: start;
  margin-top: 48px;
}
/* Bishop takes full row, centered */
.clergy-bishop-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.clergy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition);
}
.clergy-card:hover { transform: translateY(-6px); }
.clergy-photo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  background: var(--cream-dark);
  flex-shrink: 0;
  margin-bottom: 16px;
}
.clergy-card--bishop .clergy-photo-wrap {
  width: 160px;
  height: 160px;
  border-width: 4px;
  box-shadow: 0 6px 32px rgba(107,26,26,0.2);
}
.clergy-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.clergy-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--cream-dark) 0%, #e8dcc4 100%);
  color: var(--charcoal-light);
  font-family: var(--font-body);
  font-size: 0.6rem;
  line-height: 1.4;
  padding: 12px;
  text-align: center;
}
.clergy-photo-placeholder .ph-cross {
  font-size: 1.4rem;
  color: var(--burgundy);
  opacity: 0.5;
}
.clergy-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 6px;
}
.clergy-card--bishop .clergy-name {
  font-size: 1.05rem;
  font-weight: 600;
}
.clergy-title {
  font-family: var(--font-labels);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.clergy-card--bishop .clergy-title {
  color: var(--gold-dark);
  font-size: 0.68rem;
}
/* Dark background variant */
.clergy-card--dark .clergy-name { color: var(--cream); }
.clergy-card--dark .clergy-title { color: var(--gold); }
.clergy-card--dark .clergy-photo-placeholder {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(201,168,76,0.2);
}
.clergy-card--dark .clergy-photo-placeholder .ph-cross { color: var(--gold); opacity: 0.5; }

@media (max-width: 900px) {
  .clergy-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
}
/* Smaller clergy breakpoints handled in main responsive block */

/* ── Full-bleed image strip ── */
.img-strip {
  padding: 0;
  line-height: 0;
}
.img-strip img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Scroll Snap (Homepage only) ── */
body.page-home {
  scroll-snap-type: y proximity;
}
body.page-home .hero,
body.page-home .mass-strip,
body.page-home section.section--cream:first-of-type {
  scroll-snap-align: start;
}

/* ── Nav Live Link (pulsing red dot) ── */
.nav-live-link {
  display: flex !important;
  align-items: center;
  gap: 6px;
}
.nav-live-dot {
  width: 7px;
  height: 7px;
  background: #cc0000;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: nav-live-pulse 1.8s ease-in-out infinite;
}
@keyframes nav-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(204,0,0,0.6); }
  50%       { opacity: 0.7; transform: scale(0.88); box-shadow: 0 0 0 4px rgba(204,0,0,0); }
}
.nav-live-link:hover { color: #ff4444 !important; }

/* ── Homepage Live Banner ── */
.live-banner {
  position: relative;
  background: #080101;
  overflow: hidden;
  padding: 88px 0;
  text-align: center;
  border-top: 3px solid #cc0000;
}
.live-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 0h10v25h25v10H35v25H25V35H0V25h25z' fill='%23ffffff' fill-opacity='0.022'/%3E%3C/svg%3E");
  pointer-events: none;
}
.live-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(107,26,26,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.live-banner .container { position: relative; z-index: 1; }
.live-banner h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--white);
  margin: 20px 0 16px;
  line-height: 1.08;
}
.live-banner > .container > p {
  color: rgba(255,255,255,0.68);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.live-banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-live-yt, .btn-live-fb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 4px;
  font-family: var(--font-labels);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter 0.25s ease, transform 0.25s ease;
}
.btn-live-yt { background: #cc0000; color: #fff; }
.btn-live-fb { background: #1877F2; color: #fff; }
.btn-live-yt:hover, .btn-live-fb:hover { filter: brightness(1.15); transform: translateY(-2px); }
.btn-live-yt svg, .btn-live-fb svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
@media (max-width: 768px) {
  .live-banner { padding: 64px 0; }
}
@media (max-width: 480px) {
  .live-banner { padding: 48px 0; }
  .live-banner-btns { flex-direction: column; align-items: center; }
  .btn-live-yt, .btn-live-fb { width: 100%; max-width: 300px; justify-content: center; }
}

/* ── Touch Targets ── */
.qa-item {
  min-height: 48px;
}
.amount-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Schedule table alternating rows ── */
.schedule-table tbody tr:nth-child(even):not(.schedule-section-header) {
  background: rgba(255,255,255,0.03);
}

/* ── Donation card hover ── */
.donation-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.donation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* ============================================================
   MOBILE POLISH — TARGETED FIXES
   ============================================================ */

/* Contact map overlay badge — shrink & full-width on mobile */
@media (max-width: 600px) {
  .contact-map-badge {
    bottom: 16px !important;
    left: 12px !important;
    right: 12px !important;
    padding: 12px 16px !important;
  }
  .contact-map-badge > div:first-child { font-size: 0.68rem !important; }
  .contact-map-badge > div:nth-child(2) { font-size: 0.82rem !important; }
  .contact-map-badge > div:nth-child(3) { display: none; }
}

/* Live note links — ensure they wrap on small screens */
@media (max-width: 480px) {
  .live-note { padding: 12px 14px; font-size: 0.82rem; }
}

/* Prevent any section from causing horizontal overflow */
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .container { max-width: 100%; }

  /* Donate page — bank detail tables / info blocks */
  .two-col-grid { gap: 28px; }

  /* Contact page directions */
  .directions-grid { grid-template-columns: 1fr !important; gap: 20px; }
}

/* Schedule table — reduce min-width on very small screens */
@media (max-width: 375px) {
  .schedule-table { min-width: 380px; font-size: 0.75rem; }
  .schedule-table th, .schedule-table td { padding: 8px 10px; }
}

/* Gallery filter buttons — scroll horizontally on tiny screens */
@media (max-width: 480px) {
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    justify-content: flex-start;
  }
  .filter-btn { flex-shrink: 0; }
}

/* Ensure hero CTA strip doesn't wrap awkwardly */
@media (max-width: 600px) {
  .live-section .section-header p {
    font-size: 0.9rem;
  }
}
