/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --rgm-primary: #1E5B45;
  --rgm-primary-dark: #0F2E22;
  --rgm-primary-light: #8FB79C;
  --rgm-accent: #3E8368;
  --rgm-cream: #F6F1E4;
  --rgm-background: #FBF9F3;
  --rgm-dark: #12211C;
  --rgm-text: #1C2621;
  --rgm-muted: #5B6B62;
  --rgm-border: #DDD6C3;
  --rgm-font-display: 'Fraunces', Georgia, serif;
  --rgm-font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rgm-max-width: 1180px;
  --rgm-gutter: clamp(1.5rem, 5vw, 4rem);
  --rgm-radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body { margin: 0; font-family: var(--rgm-font-body); background: var(--rgm-background); color: var(--rgm-text); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
#main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rgm-primary); text-decoration: none; }
a:hover { color: var(--rgm-accent); }
h1, h2, h3, h4 { font-family: var(--rgm-font-display); color: var(--rgm-dark); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.2em; }
.container { max-width: var(--rgm-max-width); margin: 0 auto; padding: 0 var(--rgm-gutter); }
section { position: relative; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--rgm-primary); color: #fff; padding: 0.8em 1.4em; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--rgm-accent); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; gap: 0.6em; font-family: var(--rgm-font-body); font-size: 0.95rem; font-weight: 600; padding: 0.95em 1.9em; border-radius: var(--rgm-radius); border: 1px solid transparent; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn-primary { background: var(--rgm-cream); color: var(--rgm-primary-dark); }
.btn-primary:hover { background: #fff; }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-solid { background: var(--rgm-primary); color: #fff; }
.btn-solid:hover { background: var(--rgm-primary-dark); color: #fff; }

/* =========================================================
   SCROLL PROGRESS + BACK TO TOP
   ========================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--rgm-primary); transform: scaleX(0); transform-origin: left; z-index: 60; will-change: transform; }
.back-to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 46px; height: 46px; border-radius: 50%; background: var(--rgm-primary); color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease; z-index: 45; box-shadow: 0 10px 24px rgba(18,33,28,0.22); }
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--rgm-primary-dark); }
.back-to-top svg { width: 18px; height: 18px; }

/* =========================================================
   HEADER — hamburger always, logo lockup, Watch Program button
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--rgm-border); transition: box-shadow 0.3s ease; }
.site-header::before { content: ''; position: absolute; inset: 0; background: rgba(251, 249, 243, 0.94); backdrop-filter: saturate(160%) blur(10px); z-index: -1; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(18,33,28,0.08); }
.site-header__inner { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem var(--rgm-gutter); max-width: var(--rgm-max-width); margin: 0 auto; }

.menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; flex-shrink: 0; background: none; border: none; cursor: pointer; padding: 0.5rem; position: relative; z-index: 56; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--rgm-dark); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-branding { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; flex: 1; min-width: 0; }
.site-branding img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.site-branding__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; flex: 1; }
.site-branding__name { font-family: var(--rgm-font-display); font-weight: 800; letter-spacing: -0.005em; font-size: clamp(0.85rem, 3.6vw, 1.28rem); color: var(--rgm-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-branding__tagline { font-size: 0.72rem; letter-spacing: 0.04em; color: var(--rgm-muted); font-style: italic; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 640px) {
  .watch-program-btn span.wp-label { display: none; }
  .watch-program-btn { padding: 0.65em; }
  .site-header__inner { gap: 0.5rem; padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 400px) {
  .site-branding img { width: 34px; height: 34px; }
  .site-branding__tagline { font-size: 0.62rem; }
  .site-branding__name { font-size: 0.82rem; }
}

.watch-program-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  flex-shrink: 0;
  padding: 0.6em 1.1em;
  border-radius: 100px;
  background: linear-gradient(120deg, var(--rgm-primary) 0%, var(--rgm-accent) 55%, var(--rgm-primary-dark) 130%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(30,91,69,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.watch-program-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(30,91,69,0.36); }
.watch-program-btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* =========================================================
   NAVIGATION — hamburger drawer at ALL screen sizes
   ========================================================= */
.nav-overlay { position: fixed; inset: 0; background: rgba(15,34,28,0.4); opacity: 0; pointer-events: none; transition: opacity 0.28s ease; z-index: 54; }
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.primary-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  background: var(--rgm-background);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 5.5rem 1.6rem 2rem;
  box-shadow: -12px 0 40px rgba(0,0,0,0.16);
  overflow-y: auto;
  z-index: 55;
}
.primary-nav.is-open { transform: translateX(0); }
body.menu-is-open { overflow: hidden; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; flex-direction: column; gap: 0.3rem; }
.primary-nav a { display: block; color: var(--rgm-text); font-size: 1.02rem; font-weight: 500; padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--rgm-border); }
.primary-nav > ul > li:last-child > a { border-bottom: none; }
.primary-nav a:hover { color: var(--rgm-primary); }

.has-submenu { border-bottom: 1px solid var(--rgm-border); }
.submenu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--rgm-text);
  padding: 0.7rem 0.4rem;
  cursor: pointer;
  text-align: left;
}
.submenu-toggle:hover { color: var(--rgm-primary); }
.submenu-caret { flex-shrink: 0; display: inline-block; transition: transform 0.2s ease; color: var(--rgm-muted); }
.submenu-toggle[aria-expanded="true"] .submenu-caret { transform: rotate(180deg); }
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding-left: 0.9rem;
}
.submenu.is-open { max-height: 400px; }
.submenu li a { font-size: 0.92rem; padding: 0.55rem 0.4rem; border-bottom: none; color: var(--rgm-muted); }
.submenu li a:hover { color: var(--rgm-primary); }
.submenu li:last-child a { padding-bottom: 0.9rem; }

/* Desktop / wide tablets: full horizontal menu bar instead of the hamburger drawer */
@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .nav-overlay { display: none; }

  .primary-nav {
    position: static;
    width: auto;
    height: auto;
    background: var(--rgm-cream);
    transform: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    border-top: 1px solid var(--rgm-border);
    z-index: auto;
  }
  .primary-nav__row,
  .primary-nav > ul {
    max-width: var(--rgm-max-width);
    margin: 0 auto;
    padding: 0 var(--rgm-gutter);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
  }
  .primary-nav a {
    border-bottom: none;
    padding: 0.95rem 0.1rem;
    font-size: 0.95rem;
  }
  .primary-nav > ul > li:last-child > a { border-bottom: none; }

  .has-submenu { position: relative; border-bottom: none; }
  .submenu-toggle {
    padding: 0.95rem 0.1rem;
    font-size: 0.95rem;
  }
  .submenu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--rgm-border);
    border-radius: var(--rgm-radius);
    width: max-content;
    min-width: 200px;
    padding-left: 0;
    box-shadow: 0 16px 34px rgba(18,33,28,0.16);
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.2s ease, opacity 0.2s ease;
  }
  .submenu.is-open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
  }
  .submenu li a { padding: 0.7rem 1.1rem; }
  .submenu li:last-child a { padding-bottom: 0.7rem; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { background: linear-gradient(155deg, var(--rgm-primary-dark) 0%, #163d2e 55%, var(--rgm-primary) 130%); color: var(--rgm-cream); overflow: hidden; padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(3rem, 8vw, 5.5rem); position: relative; }
.hero__bg-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__bg-decor svg { position: absolute; will-change: transform; }
.hero__inner { max-width: var(--rgm-max-width); margin: 0 auto; padding: 0 var(--rgm-gutter); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero__eyebrow { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--rgm-primary-light); margin-bottom: 1rem; }
.hero h1 { color: #fff; }
.hero__lede { font-size: 1.1rem; color: rgba(246,241,228,0.86); max-width: 46ch; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__visual { position: relative; aspect-ratio: 4/5; }
.hero__visual .img-frame { width: 100%; height: 100%; border: 1px solid rgba(246,241,228,0.2); }
.hero__deco-ring { position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; z-index: 2; }
.hero__deco-dot { position: absolute; bottom: -22px; left: -22px; width: 70px; height: 70px; z-index: 2; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } .hero__visual { max-width: 320px; margin: 0 auto; order: -1; } }

.welcome-message { padding: clamp(3rem, 8vw, 5.5rem) 0; text-align: center; background: var(--rgm-background); }
.welcome-message__logo { width: clamp(64px, 9vw, 88px); height: clamp(64px, 9vw, 88px); border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; }
.welcome-message__heading { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 600; color: var(--rgm-primary-dark); line-height: 1.1; margin-bottom: 1.2rem; }
.welcome-message__lede { font-family: var(--rgm-font-display); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--rgm-dark); max-width: 56ch; margin: 0 auto 1.8rem; }
.welcome-message p { max-width: 62ch; margin: 0 auto 1.2em; color: var(--rgm-text); font-size: 1.05rem; }
.welcome-message__closing { font-family: var(--rgm-font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); font-style: italic; color: var(--rgm-primary); margin-top: 1.8rem !important; }

.scripture-strip { background: var(--rgm-cream); border-top: 1px solid var(--rgm-border); border-bottom: 1px solid var(--rgm-border); padding: clamp(2.2rem, 6vw, 3rem) 0; text-align: center; }
.scripture-strip blockquote { margin: 0 auto; max-width: 62ch; font-family: var(--rgm-font-display); font-size: clamp(1.2rem, 2.6vw, 1.8rem); font-style: italic; color: var(--rgm-primary-dark); }
.scripture-strip cite { display: block; margin-top: 0.9rem; font-family: var(--rgm-font-body); font-style: normal; font-size: 0.85rem; letter-spacing: 0.05em; color: var(--rgm-muted); }

/* =========================================================
   IMAGES / DECOR
   ========================================================= */
@keyframes rgmFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
@keyframes rgmFloatSlow { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(14px) rotate(-4deg); } }
@keyframes rgmSpinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.floating-deco { animation: rgmFloat 7s ease-in-out infinite; pointer-events: none; }
.floating-deco--slow { animation: rgmFloatSlow 9s ease-in-out infinite; }
.floating-deco--spin { animation: rgmSpinSlow 40s linear infinite; }

.img-frame { position: relative; overflow: hidden; border-radius: var(--rgm-radius); background: var(--rgm-primary-light); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.8,.2,1); }
.img-frame:hover img { transform: scale(1.06); }
.img-frame__tag { position: absolute; bottom: 0.9rem; left: 0.9rem; background: rgba(15,46,34,0.72); color: #fff; font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.4em 0.8em; border-radius: var(--rgm-radius); backdrop-filter: blur(4px); }

.dummy-img { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; padding: 1rem; text-align: center; background: linear-gradient(150deg, var(--rgm-primary-light) 0%, var(--rgm-primary) 70%, var(--rgm-primary-dark) 140%); color: #fff; }
.dummy-img svg { width: 40px; height: 40px; opacity: 0.85; }
.dummy-img span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; max-width: 22ch; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-img { opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-img.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-img { opacity: 1; transform: none; transition: none; } .floating-deco { animation: none !important; } }

/* =========================================================
   TEASERS (homepage vision/mission)
   ========================================================= */
.teaser { padding: clamp(3rem, 7vw, 5rem) 0; }
.teaser__img { aspect-ratio: 4/3; }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 780px) { .teaser-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.teaser__eyebrow { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--rgm-primary); margin-bottom: 0.6rem; display: block; }
.teaser h2 { margin-bottom: 0.8rem; }
.teaser p { color: var(--rgm-muted); font-size: 1.02rem; }

.pillar__link { display: inline-block; margin-top: 0.6rem; font-size: 0.9rem; font-weight: 600; color: var(--rgm-primary); }

/* =========================================================
   EXPLORE LINKS
   ========================================================= */
.explore { background: linear-gradient(160deg, var(--rgm-cream) 0%, #EFE9D6 100%); border-top: 1px solid var(--rgm-border); border-bottom: 1px solid var(--rgm-border); padding: clamp(3rem, 7vw, 5rem) 0; }
.explore__head { max-width: 60ch; margin-bottom: 2rem; }
.explore__head p { color: var(--rgm-muted); }
.explore-links { border-top: 1px solid var(--rgm-border); }
.explore-link { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 0.2rem; border-bottom: 1px solid var(--rgm-border); color: var(--rgm-dark); transition: padding-left 0.25s ease, color 0.25s ease; }
.explore-link:hover { color: var(--rgm-primary); padding-left: 0.6rem; }
.explore-link span.title { font-family: var(--rgm-font-display); font-size: 1.2rem; }
.explore-link span.arrow { font-size: 1.3rem; transition: transform 0.25s ease; }
.explore-link:hover span.arrow { transform: translateX(4px); }

/* =========================================================
   PAGE HERO / CONTENT
   ========================================================= */
.page-hero { background: linear-gradient(155deg, var(--rgm-primary-dark) 0%, #163d2e 60%, var(--rgm-primary) 140%); color: var(--rgm-cream); padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.2rem, 6vw, 3.2rem); min-height: 160px; }
.page-hero h1 { color: #fff; }
.page-hero__lede { color: rgba(246,241,228,0.82); max-width: 60ch; font-size: 1.05rem; }
.page-hero__eyebrow { font-size: 0.85rem; letter-spacing: 0.05em; color: var(--rgm-primary-light); margin-bottom: 0.9rem; display: block; }

.page-content { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); background: linear-gradient(180deg, var(--rgm-background) 0%, #F2ECDC 100%); position: relative; overflow: hidden; }
.entry-content { max-width: 70ch; }
.entry-content h2 { margin-top: 2.2em; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 2em; }
.entry-content h3:first-child { margin-top: 0; }
.entry-content p { color: var(--rgm-text); }
.entry-content strong { color: var(--rgm-dark); }
.entry-content blockquote { margin: 2rem 0; padding: 0.2rem 0 0.2rem 1.5rem; border-left: 3px solid var(--rgm-primary); font-family: var(--rgm-font-display); font-style: italic; font-size: 1.2rem; color: var(--rgm-primary-dark); }
.entry-content ul { padding-left: 1.3rem; }
.entry-content li { margin-bottom: 0.5rem; }
.commitment-card { background: linear-gradient(150deg, #fff 0%, var(--rgm-cream) 150%); border: 1px solid var(--rgm-border); border-radius: var(--rgm-radius); padding: 1.6rem 1.6rem 1.6rem 2rem; margin: 1.2rem 0 2rem; }
.commitment-card ul { margin: 0; }

.section-divider { border: none; border-top: 1px solid var(--rgm-border); margin: 3rem 0; }

.image-band .img-frame { aspect-ratio: 21/8; }
@media (max-width: 720px) { .image-band .img-frame { aspect-ratio: 4/3; } }

/* =========================================================
   LEADERSHIP — 4 / 2 / 1 responsive grid
   ========================================================= */
.leadership { padding: clamp(3.5rem, 8vw, 6rem) 0; background: linear-gradient(160deg, var(--rgm-cream) 0%, #EFE9D6 100%); }
.leadership__head { max-width: 60ch; margin: 0 auto 2.5rem; text-align: center; }
.leadership__head p { color: var(--rgm-muted); font-size: 1.05rem; }
.leadership-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: start; }

.leader-card { background: #fff; border: 1px solid var(--rgm-border); border-radius: var(--rgm-radius); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: block; text-decoration: none; color: inherit; }
.leader-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(18,33,28,0.12); color: inherit; }
.leader-card__name-bar { padding: 0.85rem 0.8rem; text-align: center; background: var(--rgm-cream); border-bottom: 1px solid var(--rgm-border); }
.leader-card__name { font-family: var(--rgm-font-display); font-size: 1rem; color: var(--rgm-dark); margin: 0; }
.leader-card__photo-wrap { position: relative; aspect-ratio: 4/5; background: linear-gradient(150deg, var(--rgm-primary) 0%, var(--rgm-primary-dark) 130%); }
.leader-card__photo-wrap img, .leader-card__photo-wrap .dummy-img { width: 100%; height: 100%; object-fit: cover; }
.leader-card__tag {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  text-align: center;
  background: rgba(15,46,34,0.88);
  color: var(--rgm-cream);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.4rem;
  z-index: 2;
}
/* "View testimony" sits just above the role strip so the two never overlap */
.leader-card__link-hint {
  position: absolute;
  bottom: 2.9rem;
  right: 0.6rem;
  background: rgba(15,46,34,0.75);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  padding: 0.3em 0.7em;
  border-radius: 100px;
  z-index: 3;
}

@media (max-width: 700px) {
  /* Phones: 2 x 2 grid so photos and names stay readable */
  .leadership-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .leader-card__name { font-size: 0.98rem; line-height: 1.2; }
  .leader-card__name-bar { padding: 0.7rem 0.5rem; min-height: 3.6em; display: flex; align-items: center; justify-content: center; }
  .leader-card__photo-wrap img, .leader-card__photo-wrap .dummy-img { object-position: center top; }
  .leader-card__tag { font-size: 0.66rem; padding: 0.45rem 0.3rem; }
}

/* =========================================================
   WEEKLY GATHERINGS + OUR SERVICES PAGES
   ========================================================= */
.event-card__icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.event-card__icon svg { width: 20px; height: 20px; }
.page-note { color: var(--rgm-muted); font-size: 0.95rem; margin-top: 1.6rem; max-width: 60ch; }

.icon-badge { width: 58px; height: 58px; border-radius: 50%; background: var(--rgm-primary-dark); color: var(--rgm-primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-badge svg { width: 28px; height: 28px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.service-card { background: #fff; border: 1px solid var(--rgm-border); border-radius: var(--rgm-radius); padding: 1.7rem 1rem 1.5rem; text-align: center; transition: box-shadow 0.25s ease; }
.service-card:hover { box-shadow: 0 14px 28px rgba(18,33,28,0.1); }
.service-card .icon-badge { margin: 0 auto 1rem; }
.service-card h3 { font-size: clamp(1rem, 2.4vw, 1.2rem); margin: 0; }

.prayer-focus { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.2rem; background: linear-gradient(150deg, #fff 0%, var(--rgm-cream) 150%); border: 1px solid var(--rgm-border); border-radius: var(--rgm-radius); padding: 1.6rem; }
.prayer-focus__body { flex: 1; min-width: 220px; }
.prayer-focus h3 { margin: 0 0 0.8rem; }
.prayer-focus ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.prayer-focus li { border: 1px solid var(--rgm-border); background: #fff; border-radius: 100px; padding: 0.35em 1em; font-size: 0.92rem; font-weight: 500; color: var(--rgm-dark); }

.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.cta-band .btn-outline { color: var(--rgm-primary-dark); }
.cta-band .btn-outline:hover { background: rgba(15,46,34,0.06); }

@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; } }

/* =========================================================
   MINISTRIES
   ========================================================= */
.ministries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.ministry-card { background: #fff; border: 1px solid var(--rgm-border); border-radius: var(--rgm-radius); padding: 1.5rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ministry-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(18,33,28,0.1); }
.ministry-card h3 { margin-bottom: 0.5rem; }
.ministry-card p { color: var(--rgm-muted); font-size: 0.95rem; margin-bottom: 0.8rem; }

/* =========================================================
   EVENTS
   ========================================================= */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; margin-top: 1rem; }
.event-card { background: #fff; border: 1px solid var(--rgm-border); border-radius: var(--rgm-radius); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.event-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(18,33,28,0.12); }
.event-card__day { display: flex; align-items: center; gap: 0.75rem; background: linear-gradient(135deg, var(--rgm-primary-dark) 0%, var(--rgm-primary) 130%); color: #fff; padding: 0.9rem 1.3rem; font-family: var(--rgm-font-display); font-size: 1.15rem; }
.event-card__body { padding: 1.3rem 1.3rem 1.5rem; }
.event-card__name { font-size: 1.05rem; color: var(--rgm-dark); margin-bottom: 1rem; font-weight: 700; }
.event-card__time { display: flex; align-items: baseline; gap: 0.5rem; font-size: 0.9rem; color: var(--rgm-muted); margin-bottom: 0.4rem; }
.event-card__time strong { color: var(--rgm-primary); font-size: 0.72rem; letter-spacing: 0.05em; min-width: 3.2em; }

/* =========================================================
   TESTIMONY TEASER + LEADERSHIP PREVIEW
   ========================================================= */
.testimony-teaser { background: linear-gradient(135deg, var(--rgm-primary) 0%, var(--rgm-accent) 60%, var(--rgm-primary-dark) 130%); color: #fff; padding: clamp(3.5rem, 9vw, 5.5rem) 0; }
.testimony-teaser__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
.testimony-teaser__label { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--rgm-primary-light); margin-bottom: 1rem; display: block; }
.testimony-teaser blockquote { font-family: var(--rgm-font-display); font-size: clamp(1.3rem, 3vw, 2rem); font-style: italic; margin: 0 0 1.2rem; color: #fff; }
.testimony-teaser p.attribution { color: rgba(255,255,255,0.75); margin-bottom: 1.6rem; }
@media (max-width: 900px) { .testimony-teaser__inner { grid-template-columns: 1fr; } }

.testimony-photo { aspect-ratio: 3/4; max-width: 300px; margin: 0 auto 2rem; border-radius: var(--rgm-radius); overflow: hidden; }
@media (min-width: 860px) { .testimony-photo { float: right; margin: 0 0 1.5rem 2.5rem; } }

/* =========================================================
   FAITH LIST
   ========================================================= */
.faith-list { padding: clamp(3rem, 8vw, 5rem) 0; background: linear-gradient(180deg, var(--rgm-background) 0%, #F2ECDC 100%); position: relative; overflow: hidden; }
.faith-item { display: grid; grid-template-columns: 60px 1fr; gap: 1.4rem; padding: 2rem 0; border-top: 1px solid var(--rgm-border); }
.faith-list .faith-item:last-child { border-bottom: 1px solid var(--rgm-border); }
.faith-item__num { font-family: var(--rgm-font-display); font-size: 1.5rem; color: var(--rgm-primary-light); }
.faith-item p { color: var(--rgm-text); margin-bottom: 0.6rem; }
.faith-item cite { font-style: normal; font-size: 0.85rem; color: var(--rgm-muted); }
@media (max-width: 640px) { .faith-item { grid-template-columns: 36px 1fr; } }

/* =========================================================
   CTA / CONTACT
   ========================================================= */
.cta-band { background: linear-gradient(160deg, var(--rgm-cream) 0%, #EFE9D6 100%); border-top: 1px solid var(--rgm-border); padding: clamp(3rem, 8vw, 5rem) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { max-width: 40ch; margin: 0 auto 0.6rem; }
.cta-band p { color: var(--rgm-muted); max-width: 52ch; margin: 0 auto 1.8rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: clamp(3rem, 7vw, 5rem) var(--rgm-gutter) clamp(4rem, 8vw, 6rem); }
.contact-detail { margin-bottom: 1.5rem; }
.contact-detail__label { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--rgm-primary); display: block; margin-bottom: 0.3rem; }
.contact-detail__value { color: var(--rgm-text); font-size: 1.02rem; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--rgm-dark); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 0.8em 1em; border: 1px solid var(--rgm-border); border-radius: var(--rgm-radius); font-family: var(--rgm-font-body); font-size: 1rem; background: #fff; margin-bottom: 1.2rem; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--rgm-primary); }
.contact-form-card { background: linear-gradient(165deg, #fff 0%, var(--rgm-cream) 140%); border: 1px solid var(--rgm-border); border-radius: var(--rgm-radius); padding: 2rem; }
.form-notice { padding: 1em 1.2em; border-radius: var(--rgm-radius); margin-bottom: 1.5rem; font-size: 0.95rem; }
.form-notice--success { background: #E6F0EA; color: var(--rgm-primary-dark); border: 1px solid var(--rgm-primary-light); }
.form-notice--error { background: #F6E7E4; color: #7A2E20; border: 1px solid #E3B7AC; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(165deg, rgba(15,23,18,0.94) 0%, rgba(10,23,18,0.97) 100%), url('../uploads/site-images/01-hero-congregation.jpg');
  background-size: cover;
  background-position: center 30%;
  color: rgba(246,241,228,0.78);
  padding: clamp(2.5rem, 7vw, 4rem) 0 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(143,183,156,0.25);
}
.site-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(246,241,228,0.14); }
.site-footer__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; text-decoration: none; }
.site-footer__brand:hover span { color: var(--rgm-primary-light); }
.site-footer__brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.site-footer__brand span { font-family: var(--rgm-font-display); color: #fff; font-size: 1.02rem; transition: color 0.2s ease; }
.site-footer__tagline { max-width: 34ch; font-size: 0.9rem; font-style: italic; }
.site-footer h4 { color: #fff; font-family: var(--rgm-font-body); font-size: 0.8rem; letter-spacing: 0.06em; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(246,241,228,0.78); }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.4rem; font-size: 0.8rem; color: rgba(246,241,228,0.55); }
.site-footer__contact { margin-bottom: 1rem !important; }
.site-footer__contact-label { color: var(--rgm-primary-light); font-size: 0.72rem; letter-spacing: 0.04em; margin-right: 0.3em; }
.site-footer__office-hours { font-size: 0.85rem; font-style: italic; color: rgba(246,241,228,0.65); }
.social-icons { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; transition: background 0.2s ease, transform 0.2s ease; }
.social-icons a:hover { background: var(--rgm-primary); transform: translateY(-2px); color: #fff; }
.social-icons svg { width: 16px; height: 16px; }
.social-icons--light a { background: var(--rgm-cream); color: var(--rgm-primary-dark); }
.social-icons--light a:hover { background: var(--rgm-primary); color: #fff; }
@media (max-width: 860px) { .site-footer__top { grid-template-columns: 1fr; } }
