/* ==========================================================================
   ETERNAL THRONE CITY MINISTRY INC INT'L
   styles.css
   --------------------------------------------------------------------------
   Contents
   01. Design tokens
   02. Base & typography
   03. Buttons & shared UI
   04. Header & navigation
   05. Hero
   06. Slogan band
   07. About
   08. Vision & mission
   09. Pastors
   10. Services & schedule
   11. Pillars
   12. Gallery + lightbox
   13. Giving
   14. Newsletter
   15. Contact + map + message form
   16. Footer + floating actions
   17. Motion, reveal & accessibility
   18. Responsive refinements
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Colours */
  --navy-900: #06102a;
  --navy-800: #0b1b3a;
  --navy-700: #122a5c;
  --navy-600: #1b3a76;
  --navy-500: #2a4f96;

  --gold-600: #a8871c;
  --gold-500: #c9a227;
  --gold-400: #ddb84a;
  --gold-300: #ecd9a0;
  --gold-200: #f2e2b6;

  --cream:  #faf6ec;
  --cream-2:#f3ecdb;
  --paper:  #ffffff;

  --ink:      #131722;
  --ink-soft: #333c4f;
  --muted:    #5d6779;
  --line:     rgba(11, 27, 58, .12);
  --line-2:   rgba(11, 27, 58, .08);
  --danger:   #c0392b;
  --success:  #1f7a4d;

  --shadow-sm: 0 1px 2px rgba(6, 16, 42, .06), 0 2px 8px rgba(6, 16, 42, .05);
  --shadow-md: 0 4px 12px rgba(6, 16, 42, .07), 0 12px 32px rgba(6, 16, 42, .07);
  --shadow-lg: 0 10px 24px rgba(6, 16, 42, .10), 0 28px 64px rgba(6, 16, 42, .12);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .45s;

  --header-h: 78px;
}


/* ==========================================================================
   02. BASE & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

/* The HTML "hidden" attribute must always win over component display rules,
   otherwise hidden elements (lightbox, buttons) would still be visible. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .16vw, 1.0625rem);
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4.1vw, 4.6rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration-color: rgba(201, 162, 39, .55); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

img { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

code {
  font-family: ui-monospace, SFMono-Regular, 'Cascadia Code', Consolas, monospace;
  font-size: .88em;
  background: rgba(11, 27, 58, .07);
  padding: .12em .45em;
  border-radius: 5px;
}

::selection { background: var(--gold-400); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section-cream { background: var(--cream); }

.section-dark {
  background:
    radial-gradient(120% 90% at 15% 0%, #1b3a76 0%, transparent 60%),
    radial-gradient(100% 80% at 90% 100%, #122a5c 0%, transparent 55%),
    var(--navy-800);
  color: #cfd8ea;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: #c3cee3; }

.gold {
  background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--navy-800); color: #fff;
  padding: .75rem 1.25rem; border-radius: 0 0 10px 10px;
  text-decoration: none; font-weight: 600;
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }


/* ==========================================================================
   03. BUTTONS & SHARED UI
   ========================================================================== */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background-color .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
  box-shadow: 0 2px 10px rgba(6, 16, 42, .10);
}

.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(6, 16, 42, .20); }
.btn:active { transform: translateY(0); }

.btn-gold {
  --btn-bg: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  --btn-fg: var(--navy-900);
  --btn-bd: transparent;
}
.btn-gold:hover { --btn-bg: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 55%, var(--gold-500) 100%); }

.btn-navy { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn-navy:hover { --btn-bg: var(--navy-700); }

.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: rgba(11, 27, 58, .28);
  box-shadow: none;
}
.btn-outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800); }

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, .07); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { --btn-bg: #fff; --btn-fg: var(--navy-800); --btn-bd: #fff; }

.btn-lg { padding: 1.02rem 2rem; font-size: .94rem; }

.section-dark .btn-outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .40); }
.section-dark .btn-outline:hover { --btn-bg: #fff; --btn-fg: var(--navy-800); }

/* Kicker label */
.kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 1rem;
}
.kicker::before {
  content: ''; width: 30px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.kicker-light { color: var(--gold-400); }

/* Section header */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head .kicker { justify-content: center; }
.section-intro { font-size: 1.06em; color: var(--muted); }
.section-dark .section-intro { color: #b9c5dc; }

/* Icon bubble */
.ico {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  border-radius: 10px;
  background: rgba(201, 162, 39, .13);
  color: var(--gold-600);
  margin-right: .6rem;
  vertical-align: middle;
}
.ico svg { width: 19px; height: 19px; }

/* Tick list */
.tick-list { margin: 1.6rem 0 2rem; }
.tick-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .7rem;
  color: var(--ink-soft);
}
.tick-list li::before {
  content: '';
  position: absolute; left: 0; top: .62em;
  width: 15px; height: 8px;
  border-left: 2.5px solid var(--gold-500);
  border-bottom: 2.5px solid var(--gold-500);
  transform: rotate(-45deg);
}
.tick-list-sm li { font-size: .95em; margin-bottom: .5rem; }

.link-arrow {
  display: inline-block;
  margin-top: .5rem;
  font-weight: 600; font-size: .92rem;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(201, 162, 39, .45);
  padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: var(--gold-500); }


/* ==========================================================================
   04. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 30px rgba(6, 16, 42, .08);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: .8rem;
  text-decoration: none; color: inherit;
  flex: none;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 13px;
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, .45), 0 3px 10px rgba(6, 16, 42, .18);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

/* When a real logo file exists it is layered over the crown emblem.
   To reposition the crop, change object-position below.
   ------------------------------------------------------------------
   .brand-mark img  ->  "50% 50%" centre   |   "50% 0%" top   |   "50% 100%" bottom
*/
.brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.brand-mark.has-logo > svg { display: none; }
.brand-light .brand-mark { background: #fff; box-shadow: 0 0 0 1px rgba(201, 162, 39, .55); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.24rem; font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  transition: color .35s var(--ease);
}
.brand-sub {
  font-size: .66rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-400);
}
.is-stuck .brand-name { color: var(--navy-800); }
.is-stuck .brand-sub  { color: var(--gold-600); }

.main-nav {
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem);
}
.main-nav > ul { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.75rem); }
.main-nav > ul a {
  position: relative;
  display: inline-block;
  padding: .4rem 0;
  font-size: .855rem; font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, .86);
  transition: color .28s var(--ease);
}
.main-nav > ul a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold-500);
  transform: scaleX(0); transform-origin: right;
  transition: transform .32s var(--ease);
}
.main-nav > ul a:hover { color: #fff; }
.main-nav > ul a:hover::after,
.main-nav > ul a.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-nav > ul a.is-active { color: var(--gold-400); }

.is-stuck .main-nav > ul a { color: var(--ink-soft); }
.is-stuck .main-nav > ul a:hover,
.is-stuck .main-nav > ul a.is-active { color: var(--navy-800); }

.nav-cta { padding: .68rem 1.25rem; font-size: .78rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, .10);
  border: 1.5px solid rgba(255, 255, 255, .32);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2px;
  margin-left: -10px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
.is-stuck .nav-toggle { background: rgba(11, 27, 58, .05); border-color: var(--line); }
.is-stuck .nav-toggle span { background: var(--navy-800); }

.nav-scrim {
  position: fixed; inset: 0;
  background: rgba(6, 16, 42, .5);
  backdrop-filter: blur(2px);
  z-index: 90;
  animation: fadeIn .3s var(--ease);
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }


/* ==========================================================================
   05. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: min(100svh, 900px);
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(90% 75% at 50% 0%, #1c3f84 0%, transparent 62%),
    linear-gradient(180deg, #0b1b3a 0%, #071530 55%, #050e22 100%);
  color: #fff;
  text-align: center;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .40;
  animation: float 17s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; top: -140px; left: -110px; background: #2a5ab5; }
.orb-2 { width: 400px; height: 400px; bottom: -120px; right: -80px; background: var(--gold-500); opacity: .22; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; top: 42%; left: 56%; background: #4b2f8f; opacity: .30; animation-delay: -9s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(38px, -30px, 0) scale(1.09); }
  66%      { transform: translate3d(-26px, 22px, 0) scale(.94); }
}

/* Soft light rays from top */
.rays {
  position: absolute; inset: -20% -10% auto -10%;
  height: 90%;
  background:
    conic-gradient(from 200deg at 50% 0%,
      transparent 0deg, rgba(201, 162, 39, .16) 12deg, transparent 26deg,
      transparent 44deg, rgba(255, 255, 255, .07) 58deg, transparent 74deg,
      transparent 104deg, rgba(201, 162, 39, .13) 122deg, transparent 140deg,
      transparent 200deg);
  mask-image: radial-gradient(70% 80% at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000 0%, transparent 72%);
  animation: sway 22s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: rotate(-4deg) } to { transform: rotate(4deg) } }

/* Photograph behind the hero, kept dark enough for white text */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 42, .82) 0%, rgba(6, 16, 42, .68) 45%, rgba(5, 14, 34, .92) 100%),
    linear-gradient(100deg, rgba(11, 27, 58, .70) 0%, rgba(11, 27, 58, .30) 55%, rgba(201, 162, 39, .16) 100%);
}
.hero:has(.hero-photo:not([hidden])) .orb { opacity: .26; }
.hero:has(.hero-photo:not([hidden])) .rays { opacity: .55; }

/* Fine gold dot texture */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201, 162, 39, .22) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .35;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
/* Second column appears only once the banner has actually loaded, so a
   missing picture never leaves an empty gap beside the text. */
.hero-inner:has(.hero-standee img:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.hero-copy { min-width: 0; }

/* Tall banner (960x1280) framed beside the hero text. The border, shadow
   and caption all hang off the img itself, so an empty figure is
   completely invisible. */
.hero-standee { position: relative; margin: 0; }
.hero-standee img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(201, 162, 39, .34);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .55);
}
.hero-standee figcaption { display: none; }
.hero-standee:has(img:not([hidden])) figcaption {
  display: block;
  margin-top: .85rem;
  padding: .7rem 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(.9rem, .86rem + .2vw, 1.02rem);
  color: var(--gold-300);
  text-align: center;
  letter-spacing: .02em;
  background: rgba(6, 16, 42, .55);
  border: 1px solid rgba(201, 162, 39, .2);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: .5rem 1.15rem;
  font-size: .735rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(201, 162, 39, .12);
  border: 1px solid rgba(201, 162, 39, .34);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.hero-title {
  color: #fff;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .28);
}
.hero-title .gold { display: inline-block; }

.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2.05rem);
  font-weight: 600;
  font-style: italic;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.hero-slogan::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 92px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.hero-lead {
  max-width: 640px;
  margin: 0 auto 2.4rem;
  font-size: clamp(1rem, .96rem + .28vw, 1.14rem);
  color: #ccd7ea;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: .9rem;
  justify-content: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}
.hero-facts > div {
  padding: 1.15rem 1.35rem;
  background: rgba(11, 27, 58, .55);
  backdrop-filter: blur(6px);
}
.hero-facts dt {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: .3rem;
}
.hero-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.06rem; font-weight: 600;
  color: #fff;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  z-index: 3;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold-400);
  border-radius: 2px;
  animation: cueDrop 1.9s var(--ease) infinite;
}
@keyframes cueDrop {
  0%   { transform: translateY(0);   opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}


/* ==========================================================================
   06. SLOGAN BAND
   ========================================================================== */
.band {
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400) 50%, var(--gold-600));
  padding: .95rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.band-track {
  display: inline-flex; align-items: center; gap: 2.2rem;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.band-track span {
  font-family: var(--font-display);
  font-size: clamp(1rem, .9rem + .5vw, 1.32rem);
  font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-900);
}
.band-track i { color: rgba(6, 16, 42, .45); font-size: .7rem; font-style: normal; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }


/* ==========================================================================
   07. ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.about-copy h2 { margin-bottom: 1.3rem; }

.about-media { position: relative; }

.about-figure { margin: 0; }
.about-figure-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid; place-items: center;
  text-align: center;
  gap: .35rem;
  background:
    linear-gradient(150deg, rgba(201, 162, 39, .16), rgba(27, 58, 118, .18)),
    repeating-linear-gradient(45deg, rgba(11, 27, 58, .045) 0 12px, transparent 12px 24px),
    var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.about-figure-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-figure-inner .ph-icon,
.about-figure-inner p,
.about-figure-inner small { position: relative; z-index: 1; }
.about-figure-inner:has(img:not([hidden])) .ph-icon,
.about-figure-inner:has(img:not([hidden])) p,
.about-figure-inner:has(img:not([hidden])) small { display: none; }

.ph-icon { display: block; color: var(--gold-600); opacity: .75; }
.ph-icon svg { width: 54px; height: 54px; }
.about-figure-inner p, .pastor-placeholder p { font-weight: 600; color: var(--navy-700); margin: .5rem 0 0; }
.about-figure-inner small, .pastor-placeholder small {
  font-size: .74rem; letter-spacing: .08em; color: var(--muted);
}

.about-figure figcaption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-600);
}

.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1.4rem;
}
.stat {
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem .6rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem; line-height: 1;
  color: var(--gold-400);
}
.stat span {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: #b9c5dc;
}


/* ==========================================================================
   08. VISION & MISSION
   ========================================================================== */
/* The church emblem, shown under the Vision & Mission heading.
   logo.jpg is only 367x375 px, so it is displayed close to its natural
   size on a white mat rather than stretched across the whole section.
   To use a larger emblem, raise the clamp() values below.            */
.vision-emblem { display: grid; place-items: center; }
.vision-emblem img {
  width: clamp(132px, 15vw, 176px);
  height: auto;
  padding: 11px;
  background: #fff;
  border: 1px solid rgba(201, 162, 39, .55);
  border-radius: 20px;
  box-shadow:
    0 20px 46px rgba(0, 0, 0, .48),
    0 0 0 8px rgba(201, 162, 39, .09);
}
.vision-emblem:has(img:not([hidden])) { margin: 1.5rem auto 1.9rem; }

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.vision-card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.vision-card::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.vision-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, .45);
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
}
.vision-card:hover::before { transform: scaleX(1); }

.vision-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.2rem;
  border-radius: 15px;
  color: var(--gold-400);
  background: rgba(201, 162, 39, .14);
  border: 1px solid rgba(201, 162, 39, .28);
}
.vision-icon svg { width: 26px; height: 26px; }

.value-list { margin-top: .4rem; }
.value-list li {
  position: relative;
  padding: .42rem 0 .42rem 1.7rem;
  color: #cfd8ea;
  font-size: .96em;
  border-bottom: 1px dashed rgba(255, 255, 255, .13);
}
.value-list li:last-child { border-bottom: 0; }
.value-list li::before {
  content: '◆';
  position: absolute; left: 0; top: .5em;
  font-size: .58em;
  color: var(--gold-400);
}

.creed {
  margin: 0;
  padding: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(201, 162, 39, .16), rgba(201, 162, 39, .05));
  border: 1px solid rgba(201, 162, 39, .3);
}
.creed p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
  line-height: 1.25;
}
.creed cite {
  font-style: normal;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-400);
}


/* ==========================================================================
   09. PASTORS
   ========================================================================== */
.pastor-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, var(--cream) 0%, #fff 55%),
    var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.pastor-card::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, .18), transparent 70%);
  pointer-events: none;
}

.pastor-placeholder {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  display: grid; place-items: center; align-content: center;
  gap: .3rem;
  text-align: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(11, 27, 58, .05) 0 11px, transparent 11px 22px),
    linear-gradient(160deg, #f7f1e3, #efe6d2);
  border: 1px solid var(--line);
}
.pastor-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pastor-placeholder:has(img:not([hidden])) .ph-icon,
.pastor-placeholder:has(img:not([hidden])) p,
.pastor-placeholder:has(img:not([hidden])) small { display: none; }

/* Once a real photograph is present the frame hugs the photo instead of
   forcing a 3:4 crop. That keeps a wide banner whole, and equally handles
   a portrait photograph if you swap the file later.                     */
.pastor-placeholder:has(> img:not([hidden])) {
  aspect-ratio: auto;
  background: var(--navy-800);
  border-color: rgba(201, 162, 39, .32);
}
.pastor-placeholder:has(> img:not([hidden])) > img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pastor-copy { position: relative; }
.pastor-role {
  display: inline-block;
  margin-bottom: .8rem;
  padding: .38rem 1rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600);
  background: rgba(201, 162, 39, .13);
  border-radius: var(--radius-pill);
}
.pastor-name {
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
  margin-bottom: .25rem;
}
.pastor-title {
  display: block;
  font-family: var(--font-body);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: 1.5rem;
}
.pastor-quote {
  margin: 1.75rem 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--gold-500);
  background: rgba(201, 162, 39, .07);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pastor-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.16rem;
  color: var(--navy-700);
  margin: 0;
}
.pastor-actions { display: flex; flex-wrap: wrap; gap: .8rem; }


/* ==========================================================================
   10. SERVICES & SCHEDULE
   ========================================================================== */
.schedule-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.schedule-list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.6rem;
  border-bottom: 1px solid var(--line-2);
  transition: background-color .3s var(--ease);
}
.schedule-item:last-child { border-bottom: 0; }
.schedule-item:hover { background: var(--cream); }

.s-day {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-600);
}
.s-name {
  font-family: var(--font-display);
  font-size: 1.24rem; font-weight: 600;
  color: var(--navy-800);
}
.s-time {
  font-size: .93rem; font-weight: 600;
  color: var(--navy-600);
  text-align: right;
  white-space: nowrap;
}

.visit-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: #cfd8ea;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.visit-card::after {
  content: '';
  position: absolute; left: -40px; bottom: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, .3), transparent 70%);
}
.visit-card > * { position: relative; z-index: 1; }
.visit-photo {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 190px;
  object-fit: cover;
  opacity: .38;
  z-index: 0;
}
.visit-card::after { z-index: 0; }
.visit-card h3 { color: #fff; }
.visit-card .tick-list { margin: 1.2rem 0 1.6rem; }
.visit-card .tick-list li { color: #cfd8ea; font-size: .93em; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.service-note {
  margin: 2rem auto 0;
  max-width: 700px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.14rem;
  color: var(--navy-700);
}


/* ==========================================================================
   11. PILLARS
   ========================================================================== */
/* Wide photograph introducing the pillars section */
.pillar-band {
  position: relative;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 21 / 8;
  min-height: 190px;
  display: grid;
  align-items: end;
}
.pillar-band img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.pillar-band figcaption {
  position: relative;
  z-index: 1;
  padding: clamp(1.1rem, 2.5vw, 1.9rem) clamp(1.2rem, 3vw, 2.2rem);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .95rem + .7vw, 1.5rem);
  font-style: italic;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
  background: linear-gradient(to top, rgba(6, 16, 42, .80), transparent);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
}

.pillar {
  position: relative;
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
}
.pillar::before {
  content: '';
  position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, .16), transparent 70%);
  transition: transform .5s var(--ease);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, .5);
}
.pillar:hover::before { transform: scale(1.5); }

.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 700;
  line-height: 1;
  color: rgba(201, 162, 39, .38);
  margin-bottom: .35rem;
}
.pillar h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.pillar p { font-size: .96em; margin: 0; }


/* ==========================================================================
   12. GALLERY + LIGHTBOX
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 210px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .045) 0 11px, transparent 11px 22px),
    linear-gradient(150deg, #17326380, #0b1b3a);
  color: #c3cee3;
  display: grid; place-items: center;
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:hover {
  transform: scale(1.015);
  border-color: rgba(201, 162, 39, .55);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item.has-image .ph-text,
.gallery-item:has(img:not([hidden])) .ph-text { display: none; }

.ph-text {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  font-size: .92rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.ph-text small {
  font-size: .68rem; font-weight: 400;
  letter-spacing: .06em; text-transform: none;
  color: rgba(195, 206, 227, .65);
}

.gallery-item::after {
  content: attr(data-caption);
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.1rem .95rem;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  text-align: left;
  color: #fff;
  background: linear-gradient(to top, rgba(6, 16, 42, .92), transparent);
  transform: translateY(101%);
  transition: transform .38s var(--ease);
}
.gallery-item:hover::after { transform: translateY(0); }

.gallery-hint {
  margin: 1.75rem auto 0;
  max-width: 660px;
  text-align: center;
  font-size: .9rem;
  color: #9fadc6;
}

/* Stock photographs are supplied from the internet - keep them from
   breaking the layout if they are slow to arrive */
.pillar-band img,
.visit-photo,
.giving-photo,
.hero-photo {
  background-color: var(--navy-800);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .5rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 10, 24, .94);
  backdrop-filter: blur(8px);
  animation: fadeIn .3s var(--ease);
}
.lightbox-figure { margin: 0; text-align: center; }
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.lightbox-figure figcaption {
  font-family: var(--font-display);
  font-size: 1.15rem; font-style: italic;
  color: var(--gold-300);
}
.lightbox-close,
.lightbox-nav {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.8rem; line-height: 1;
  cursor: pointer;
  transition: background-color .28s var(--ease), transform .28s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--gold-500); color: var(--navy-900); transform: scale(1.06); }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: 2.1rem;
}
.lightbox-nav { flex: none; }


/* ==========================================================================
   13. GIVING
   ========================================================================== */
.giving { background: linear-gradient(180deg, var(--paper), #fbf9f4); }
.giving-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.giving-copy h2 { margin-bottom: 1.2rem; }

.scripture {
  margin-top: 1.6rem;
  padding: 1.3rem 1.6rem;
  border-left: 3px solid var(--gold-500);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy-700);
}
.scripture cite {
  display: block;
  margin-top: .5rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600);
}

.giving-card {
  padding: clamp(1.75rem, 3.2vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  color: #cfd8ea;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.giving-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.giving-card h3 { color: #fff; }
.giving-photo {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 168px;
  object-fit: cover;
  opacity: .34;
}
.giving-card > *:not(.giving-photo) { position: relative; z-index: 1; }

.detail-list { margin: 1.4rem 0 1.8rem; }
.detail-list > div {
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: .3rem;
}
.detail-list dd {
  margin: 0;
  color: #fff;
  font-weight: 500;
}
.giving-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.giving-note {
  margin-top: 1.2rem;
  font-size: .84rem;
  color: #9fadc6;
}


/* ==========================================================================
   14. NEWSLETTER
   ========================================================================== */
.newsletter-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.newsletter-inner h2 { margin-bottom: .7rem; }

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .7rem;
}
.newsletter-form input {
  padding: .95rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color .28s var(--ease), background-color .28s var(--ease);
}
.newsletter-form input::placeholder { color: #8d97a8; }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--paper);
}

.form-msg {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin: 0;
  font-size: .88rem;
  font-weight: 500;
}
.form-msg.is-ok { color: var(--success); }
.form-msg.is-error { color: var(--danger); }


/* ==========================================================================
   15. CONTACT + MAP + MESSAGE FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
}
.detail-block {
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.detail-block:hover {
  border-color: rgba(201, 162, 39, .45);
  box-shadow: var(--shadow-md);
}
.detail-block h3 {
  display: flex; align-items: center;
  font-size: 1.16rem;
  margin-bottom: .7rem;
}
.detail-block address { color: var(--ink-soft); }

.contact-list li { margin-bottom: .35rem; }
.contact-list li:last-child { margin-bottom: 0; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.social-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-list a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: #fff;
  background: var(--navy-700);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.social-list a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.social-list a svg { width: 19px; height: 19px; }
.social-list .is-placeholder {
  width: auto; height: auto;
  padding: 0;
  font-size: .86rem;
  color: var(--muted);
  background: none;
}

.map-wrap { position: relative; }
.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--cream);
  aspect-ratio: 4 / 3.2;
}
.map-frame iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
}
.map-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center;
  gap: .4rem; padding: 2rem;
  text-align: center;
  background:
    repeating-linear-gradient(0deg, rgba(11, 27, 58, .05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(11, 27, 58, .05) 0 1px, transparent 1px 34px),
    var(--cream);
}
.map-placeholder .ico { width: 52px; height: 52px; margin: 0 auto .3rem; }
.map-placeholder .ico svg { width: 26px; height: 26px; }
.map-placeholder h4 { margin: 0; font-size: 1.2rem; }
.map-placeholder p { max-width: 340px; font-size: .88rem; color: var(--muted); margin: 0; }
.map-wrap.has-map .map-placeholder { display: none; }

/* Message form */
.message-box {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.8rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--cream), #fff 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.message-box h3 { margin-bottom: .3rem; }
.message-box > p { color: var(--muted); margin-bottom: 1.6rem; }

.message-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-700);
}
.field input,
.field textarea {
  padding: .85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .15);
}
.field input.is-invalid,
.field textarea.is-invalid { border-color: var(--danger); }
.message-form .form-msg { margin: 0; }


/* ==========================================================================
   16. FOOTER + FLOATING ACTIONS
   ========================================================================== */
.site-footer {
  background:
    radial-gradient(90% 70% at 20% 0%, #17306380 0%, transparent 60%),
    var(--navy-900);
  color: #a9b6cf;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub  { color: var(--gold-400); }

.footer-slogan {
  margin: 1.2rem 0 .2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.24rem;
  color: var(--gold-300);
}
.footer-aka { font-size: .84rem; letter-spacing: .04em; color: #8e9cb6; }
.social-list-footer { margin-top: 1.4rem; }
.social-list-footer a { background: rgba(255, 255, 255, .1); }
.social-list-footer a:hover { background: var(--gold-500); }
.social-list-footer .is-placeholder { color: #8e9cb6; font-size: .84rem; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-col li { margin-bottom: .55rem; font-size: .93rem; }
.footer-col a { color: #a9b6cf; text-decoration: none; }
.footer-col a:hover { color: var(--gold-300); }
.footer-col address { color: #a9b6cf; font-size: .93rem; line-height: 1.8; }
.footer-times span { color: var(--gold-300); }
.footer-contact { margin-top: 1rem; }
.footer-contact a { font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.35rem;
}
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .84rem;
  color: #7f8da8;
}
.footer-bottom-inner p { margin: 0; }
.footer-credit a { color: var(--gold-300); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* Floating buttons */
.whatsapp-fab,
.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 95;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(6, 16, 42, .28);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.whatsapp-fab {
  bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + 66px);
  background: #25d366;
  color: #fff;
}
.whatsapp-fab svg { width: 27px; height: 27px; }
.whatsapp-fab:hover { transform: scale(1.09); background: #1eb356; color: #fff; }

.to-top {
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  background: var(--navy-800);
  color: var(--gold-400);
  opacity: 0; transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }


/* ==========================================================================
   17. MOTION, REVEAL & ACCESSIBILITY
   ========================================================================== */
.reveal {
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

/* Elements only start hidden when JavaScript is running, so the page is
   never blank if scripts are blocked or fail to load. */
html:not(.no-js) .reveal {
  opacity: 0;
  transform: translateY(26px);
}
html:not(.no-js) .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Cards that both fade in on scroll AND animate on hover need both
   transitions in one rule, otherwise .reveal's transition replaces them. */
.pillar.reveal,
.vision-card.reveal,
.gallery-item.reveal,
.detail-block.reveal,
.giving-card.reveal {
  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease),
    box-shadow .4s var(--ease),
    border-color .4s var(--ease),
    background-color .4s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html:not(.no-js) .reveal { opacity: 1; transform: none; }
  .band-track { animation: none; }
}

@media print {
  .site-header, .to-top, .whatsapp-fab, .lightbox, .nav-scrim, .scroll-cue { display: none !important; }
  body { color: #000; }
  .section-dark { background: #fff !important; color: #000 !important; }
  .section-dark h2, .section-dark h3, .section-dark h4 { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}


/* ==========================================================================
   18. RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .pastor-card,
  .giving-grid,
  .contact-grid,
  .newsletter-inner,
  .schedule-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin-inline: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }

  /* Mobile drawer */
  .nav-toggle { display: block; z-index: 101; }

  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100svh;
    width: min(360px, 86vw);
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1.5rem) 1.75rem 2.5rem;
    background: var(--navy-900);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .38);
    transform: translateX(105%);
    transition: transform .42s var(--ease);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: none; }

  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul a {
    display: block;
    padding: 1rem 0;
    font-size: 1.02rem;
    color: #e8edf7;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .main-nav > ul a::after { display: none; }
  .main-nav > ul a:hover,
  .main-nav > ul a.is-active { color: var(--gold-400); }

  .nav-cta { margin-top: 1.75rem; text-align: center; }

  .is-stuck .main-nav > ul a { color: #e8edf7; }
  .is-stuck .main-nav > ul a:hover,
  .is-stuck .main-nav > ul a.is-active { color: var(--gold-400); }

  .brand-name { font-size: 1.1rem; }
  .brand-mark { width: 40px; height: 40px; }

  /* Hero drops to a single column and the banner sits below the text.
     Both selectors are listed so this wins over the :has() rule above. */
  .hero-inner,
  .hero-inner:has(.hero-standee img:not([hidden])) {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .hero-standee { justify-self: center; width: min(300px, 82%); margin-top: 2.5rem; }
}

@media (max-width: 700px) {
  .hero { min-height: auto; }
  .pillar-band { aspect-ratio: 16 / 9; }
  .visit-photo { height: 150px; }
  .giving-photo { height: 140px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .schedule-item {
    grid-template-columns: 1fr;
    gap: .25rem;
    text-align: left;
    padding: 1.1rem 1.25rem;
  }
  .s-time { text-align: left; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .gallery-item:nth-child(1) { grid-column: span 1; }
  .newsletter-form { grid-template-columns: 1fr; }
  .message-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { justify-content: flex-start; text-align: left; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox-nav { position: absolute; bottom: 1.2rem; }
  .lightbox-prev { left: calc(50% - 62px); }
  .lightbox-next { right: calc(50% - 62px); }
  .lightbox-figure { padding-bottom: 4rem; }
  .hero-standee { width: min(240px, 74%); margin-top: 2rem; }
}

@media (max-width: 460px) {
  .hero-facts > div { padding: .95rem 1.1rem; }
  .stat-row { gap: .55rem; }
  .stat strong { font-size: 1.6rem; }
  .btn { width: 100%; }
  .giving-actions .btn,
  .visit-actions .btn,
  .pastor-actions .btn { width: 100%; }
}
