/* ==========================================================================
   First Congregational Church of Rockaway Beach — main stylesheet
   Direction: "Rooted & Renewed" + "Faith in Action" hybrid (client brief)
   ========================================================================== */

:root {
  /* Concept 1 — rooted */
  --navy: #1F2A44;
  --navy-900: #131b2e;
  --navy-700: #2a3758;
  --cream: #F5F1EA;
  --cream-200: #ece5d8;
  --wine: #7A2E2E;
  --gold: #C9A24D;
  --gold-600: #a8842f;
  /* Concept 2 — active */
  --ocean: #2C6DA4;
  --teal: #3FA9A5;
  --teal-700: #1d6f6c;
  --teal-800: #165856;
  --coral: #F26A4B;
  --coral-700: #c4472a;
  --coral-800: #a83a20;

  --ink: #1d2433;
  --ink-soft: #4a5368;
  --line: #e3dccf;
  --white: #fff;

  --ff-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-ui: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(19, 27, 46, .08);
  --shadow: 0 12px 32px -12px rgba(19, 27, 46, .25);
  --shadow-lg: 0 30px 60px -20px rgba(19, 27, 46, .35);
  --container: 1280px; /* usable content width on laptop/desktop */
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-700); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
.screen-reader-text, .sr-only {
  position: absolute !important; 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: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-family: var(--ff-ui); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #d9deea; }
.section--navy h2, .section--navy h3 { color: #fff; }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; }
.section-head--left { margin-left: 0; text-align: left; }
.section--navy .section-head p { color: #c3cadb; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-ui); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.accent { font-style: italic; color: var(--wine); }
.section--navy .accent, .on-dark .accent { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal-700); --fg: #fff; --bd: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font-family: var(--ff-ui); font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1.2;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(0,0,0,.45); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--primary { --bg: var(--coral-700); }
.btn--primary:hover { --bg: var(--coral-800); }
.btn--teal { --bg: var(--teal-700); }
.btn--teal:hover { --bg: var(--teal-800); }
.btn--navy { --bg: var(--navy); }
.btn--navy:hover { --bg: var(--navy-900); }
.btn--gold { --bg: var(--gold); --fg: var(--navy-900); }
.btn--gold:hover { --bg: #d8b363; }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); }
.btn--ghost:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--outline:hover { --bg: var(--navy); --fg: #fff; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-ui); font-weight: 700; font-size: .92rem;
  color: var(--teal-700); text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--coral-700); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--navy-900); color: #cfd6e6; font-family: var(--ff-ui); font-size: .8rem; font-weight: 500; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__info, .topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar a { color: #cfd6e6; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold); }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar__links .divider { width: 1px; height: 14px; background: rgba(255,255,255,.2); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(19,27,46,.4); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); transition: min-height .3s; }
.site-header.is-scrolled .container { min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__mark {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-700) 100%); color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(201,162,77,.35);
}
.brand__mark .icon { width: 26px; height: 26px; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.12rem; }
.brand__sub { font-family: var(--ff-display); font-style: italic; font-size: .95rem; color: var(--wine); }
/* Image logo (contains the church name). Height-driven so any trimmed wide logo keeps its proportions. */
.brand--logo { line-height: 0; }
.brand__logo { display: block; height: 72px; width: auto; max-width: min(320px, 64vw); object-fit: contain; object-position: left center; transition: height .3s; }
.site-header.is-scrolled .brand__logo { height: 60px; }
.brand--compact .brand__logo { height: 52px; max-width: 230px; }
.brand--footer .brand__logo { height: 96px; max-width: 100%; }
.brand--card { background: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.brand--card .brand__logo { height: 72px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; display: flex; align-items: center; white-space: nowrap; }
.menu a, .menu .submenu-toggle {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 10px;
  font-family: var(--ff-ui); font-size: .9rem; font-weight: 600; color: var(--navy); text-decoration: none;
  background: none; border: 0; cursor: pointer; transition: color .2s, background-color .2s;
}
.menu > li > a:hover, .menu > li:hover > a, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--teal-700); }
.menu > li > a { position: relative; }
.menu > li > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.menu > li > a:hover::after, .menu > .current-menu-item > a::after, .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.menu .has-sub > a { padding-right: 4px; }
.menu .submenu-toggle { padding: 10px 8px 10px 0; }
.menu .submenu-toggle .icon { width: 16px; height: 16px; transition: transform .25s; }
.menu .has-sub:hover > .submenu-toggle .icon, .menu .has-sub.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.sub-menu {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: flex; width: 100%; padding: 10px 14px; font-weight: 500; border-radius: 8px; }
.sub-menu a:hover { background: var(--cream); color: var(--teal-700); }
.header-cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(19,27,46,.55); z-index: 140; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 88vw); z-index: 150; background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
  box-shadow: var(--shadow-lg);
}
body.nav-open { overflow: hidden; }
body.nav-open .drawer { transform: none; visibility: visible; }
body.nav-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head .brand__mark { width: 42px; height: 42px; }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.drawer__close .icon { width: 22px; height: 22px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 20px 24px; overscroll-behavior: contain; }
.mobile-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu > li { border-bottom: 1px solid var(--line); }
.mobile-menu .row { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu a { display: block; flex: 1; padding: 15px 4px; font-family: var(--ff-ui); font-weight: 600; font-size: 1.02rem; color: var(--navy); text-decoration: none; }
.mobile-menu a:hover, .mobile-menu .current-menu-item > a, .mobile-menu .current-menu-item > .row > a { color: var(--teal-700); }
.mobile-menu .submenu-toggle { width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--cream); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.mobile-menu .submenu-toggle .icon { width: 18px; height: 18px; transition: transform .25s; }
.mobile-menu .is-open > .row .submenu-toggle .icon { transform: rotate(180deg); }
.mobile-menu .sub-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.mobile-menu .is-open > .sub-wrap { grid-template-rows: 1fr; }
.mobile-menu .sub-menu {
  position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; border-radius: 0;
  padding: 0 0 0 14px; margin: 0; background: none; overflow: hidden; min-height: 0;
}
.mobile-menu .sub-menu::before { display: none; }
.mobile-menu .is-open > .sub-wrap > .sub-menu { padding-bottom: 12px; }
.mobile-menu .sub-menu a { padding: 10px 12px; font-weight: 500; font-size: .95rem; border-left: 2px solid var(--line); border-radius: 0; }
.mobile-menu .sub-menu a:hover { border-color: var(--gold); background: none; }
.drawer__cta { display: grid; gap: 12px; margin-top: 24px; }
.drawer__info { margin-top: 28px; padding: 18px; background: var(--cream); border-radius: var(--radius); font-size: .95rem; display: grid; gap: 10px; }
.drawer__info > a, .drawer__info > span { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); text-decoration: none; }
.drawer__info .icon { color: var(--teal-700); margin-top: 3px; width: 18px; height: 18px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy);
  min-height: min(92vh, 860px); display: flex; align-items: center; padding: 120px 0 190px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(19,27,46,.88) 0%, rgba(31,42,68,.72) 38%, rgba(31,42,68,.38) 68%, rgba(31,42,68,.2) 100%),
    linear-gradient(0deg, rgba(19,27,46,.45) 0%, transparent 40%);
}
.hero__content { max-width: 720px; transition: opacity .5s ease, transform .5s ease; }
.hero h1, .hero p, .page-hero h1, .page-hero p, .band h2, .band p { text-shadow: 0 2px 18px rgba(10,16,30,.35); }
/* Wait for the web fonts before showing hero text (class set by an inline script in <head>) */
.fonts-loading .hero__content, .fonts-loading .page-hero .container { opacity: 0; transform: translateY(8px); }
.page-hero .container { transition: opacity .5s ease, transform .5s ease; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero p { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #e2e7f1; max-width: 620px; margin-bottom: 34px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; color: #fff; line-height: 0; }
.hero__wave svg { width: 100%; height: clamp(50px, 7vw, 110px); }

/* service strip that overlaps the hero */
.service-strip { position: relative; z-index: 5; margin-top: -120px; }
.service-strip__card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 0;
  padding: 10px; border: 1px solid var(--line);
}
.service-strip__item { display: flex; gap: 14px; align-items: center; padding: 16px 22px; border-right: 1px solid var(--line); }
.service-strip__item:nth-child(3) { border-right: 0; }
.service-strip__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--cream); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.service-strip__icon .icon { width: 24px; height: 24px; }
.service-strip__label { font-family: var(--ff-ui); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.service-strip__value { font-family: var(--ff-display); font-weight: 700; font-size: 1.12rem; color: var(--navy); line-height: 1.3; }
.service-strip__value a { color: inherit; text-decoration: none; }
.service-strip .btn { margin: 8px 12px 8px 8px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); padding: clamp(90px, 12vw, 150px) 0 clamp(110px, 13vw, 170px); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(19,27,46,.86) 0%, rgba(31,42,68,.66) 45%, rgba(31,42,68,.3) 100%); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 820px; }
.page-hero h1 .accent { color: var(--gold); }
.page-hero p { color: #dfe5f0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 640px; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--ff-ui); font-size: .82rem; font-weight: 600; margin-bottom: 18px; color: #c9d1e2; }
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.breadcrumbs .icon { width: 14px; height: 14px; }

/* ==========================================================================
   Components
   ========================================================================== */

/* Scripture */
.scripture {
  position: relative; margin: 28px 0; padding: 26px 28px 24px 30px; border-radius: var(--radius);
  background: var(--cream); border-left: 4px solid var(--gold);
}
.scripture p { font-family: var(--ff-display); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--navy); line-height: 1.5; margin: 0 0 10px; }
.scripture cite { font-family: var(--ff-ui); font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); }
.scripture cite span { color: var(--gold-600); }
.scripture--center { text-align: center; border-left: 0; background: none; padding: 0; max-width: 860px; margin: 0 auto; }
.scripture--center p { font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
.scripture--center .icon { width: 42px; height: 42px; color: var(--gold); margin: 0 auto 18px; }
.section--navy .scripture--center p { color: #fff; }
.section--navy .scripture--center cite { color: var(--gold); }

/* Image collage (welcome) */
.collage { position: relative; padding: 0 0 60px 40px; }
.collage__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; }
.collage__main img, .collage__inset img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.collage__inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.collage__badge {
  position: absolute; right: -10px; top: 26px; background: var(--navy); color: #fff; padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 240px;
}
.collage__badge .icon { width: 30px; height: 30px; color: var(--gold); }
.collage__badge strong { display: block; font-family: var(--ff-display); font-size: 1.05rem; line-height: 1.2; }
.collage__badge small { font-size: .82rem; color: #c3cadb; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 26px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--cream); font-family: var(--ff-ui); font-size: .82rem; font-weight: 600; color: var(--navy); }
.chips .icon { width: 16px; height: 16px; color: var(--teal-700); }

/* Photo cards (Life at FCCRB) */
.photo-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s;
}
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.photo-card__img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-card:hover .photo-card__img img { transform: scale(1.06); }
.photo-card__icon {
  position: absolute; left: 22px; top: -28px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-700); color: #fff; box-shadow: 0 10px 20px -8px rgba(29,111,108,.7); z-index: 2;
}
.photo-card:nth-child(2) .photo-card__icon { background: var(--coral-700); box-shadow: 0 10px 20px -8px rgba(196,71,42,.7); }
.photo-card:nth-child(3) .photo-card__icon { background: var(--navy); box-shadow: 0 10px 20px -8px rgba(31,42,68,.7); }
.photo-card__icon .icon { width: 26px; height: 26px; }
.photo-card__body { position: relative; padding: 42px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.photo-card__body p { color: var(--ink-soft); flex: 1; }

/* Feature (icon) cards */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(63,169,165,.14); color: var(--teal-700); }
.feature__icon .icon { width: 28px; height: 28px; }
.feature--coral .feature__icon { background: rgba(242,106,75,.14); color: var(--coral-700); }
.feature--gold .feature__icon { background: rgba(201,162,77,.18); color: var(--gold-600); }
.feature--navy .feature__icon { background: rgba(31,42,68,.1); color: var(--navy); }
.feature p { color: var(--ink-soft); margin-bottom: 0; }
.feature .link-arrow { margin-top: 16px; }
.section--navy .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--navy .feature p { color: #c3cadb; }
.section--navy .feature__icon { background: rgba(201,162,77,.16); color: var(--gold); }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-700); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist .tick .icon { width: 14px; height: 14px; }
.section--navy .checklist .tick { background: var(--gold); color: var(--navy-900); }

/* Sunday visit block */
.visit { position: relative; overflow: hidden; }
.visit::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,169,165,.25), transparent 70%); pointer-events: none;
}
.visit-list { display: grid; gap: 18px; margin: 30px 0 34px; }
.visit-item { display: flex; gap: 18px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.visit-item__icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(201,162,77,.16); color: var(--gold); display: grid; place-items: center; flex: none; }
.visit-item__icon .icon { width: 24px; height: 24px; }
.visit-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.visit-item p { margin: 0; color: #c3cadb; font-size: 1rem; }
.visit .note { font-family: var(--ff-display); font-style: italic; font-size: 1.2rem; color: #fff; margin-bottom: 24px; }
.map-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.map-card iframe { width: 100%; height: 360px; border: 0; }
.map-card__foot { padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; color: var(--ink); }
.map-card__foot strong { font-family: var(--ff-display); font-size: 1.1rem; color: var(--navy); display: block; }
.map-card__foot span { color: var(--ink-soft); font-size: .95rem; }

/* Image + text block */
.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; object-position: center top; box-shadow: var(--shadow-lg); }
.media-frame::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.split--rev .media-frame::before { inset: 24px 24px -18px -18px; }
.media-frame--tall img { aspect-ratio: 4/5; }

/* Stories (testimonials) */
.stories { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.stories__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.slider { position: relative; }
.slider__track { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s, transform .5s var(--ease), visibility .5s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide blockquote { margin: 0; }
.slide blockquote p { font-family: var(--ff-display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--navy); font-style: italic; }
.slide .icon-quote { width: 52px; height: 52px; color: var(--gold); margin-bottom: 14px; }
.slide footer { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.slide footer .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; flex: none; }
.slide footer strong { display: block; font-family: var(--ff-ui); color: var(--navy); }
.slide footer span { font-size: .92rem; color: var(--ink-soft); }
.slider__controls { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.slider__btn:hover { background: var(--navy); color: #fff; }
.slider__btn .icon { width: 20px; height: 20px; }
.slider__dots { display: flex; gap: 8px; margin-left: 8px; }
.slider__dot { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: #cdc3b0; cursor: pointer; transition: width .3s, background .3s; }
.slider__dot.is-active { width: 30px; background: var(--coral-700); }
.stories__photo { position: relative; }
.stories__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; transform: rotate(1.5deg); border: 8px solid #fff; }

/* Events */
.event-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .3s var(--ease), box-shadow .3s; }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.event-card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.event-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.event-date {
  position: absolute; left: 18px; top: 18px; width: 66px; padding: 8px 0 10px; text-align: center; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow); font-family: var(--ff-ui); line-height: 1;
}
.event-date b { display: block; font-family: var(--ff-display); font-size: 1.7rem; color: var(--navy); margin-top: 4px; }
.event-date span { font-size: .7rem; font-weight: 700; letter-spacing: .14em; color: var(--coral-700); text-transform: uppercase; }
.event-tag { position: absolute; right: 16px; top: 18px; padding: 6px 12px; border-radius: 99px; background: rgba(19,27,46,.75); color: #fff; font-family: var(--ff-ui); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.event-card__body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.event-card__body h3 { font-size: 1.3rem; }
.event-meta { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: .95rem; color: var(--ink-soft); }
.event-meta li { display: flex; gap: 8px; align-items: center; }
.event-meta .icon { width: 16px; height: 16px; color: var(--teal-700); }
.event-card__body p { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.event-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Share */
.share { display: flex; align-items: center; gap: 6px; }
.share__label { font-family: var(--ff-ui); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--navy); border: 0; cursor: pointer; transition: background .2s, color .2s; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; }
.share .icon { width: 16px; height: 16px; }
.share button.is-copied { background: var(--teal-700); color: #fff; }

/* Faith in action band */
/* Split layout: text on teal (left), photo in its own panel (right) so portrait photos aren't sliced into a thin strip */
.band { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #1a6765; min-height: 560px; display: flex; align-items: center; }
.band > .container { position: relative; z-index: 1; width: 100%; }
.band__media { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; z-index: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.band__media::after { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 140px; background: linear-gradient(90deg, #1a6765 0%, rgba(26,103,101,0) 100%); pointer-events: none; }
.band h2 { color: #fff; }
.band p { color: #e3f1f0; }
.band .eyebrow { color: #ffd98a; }
.band .eyebrow::before { background: #ffd98a; }
.band__content { max-width: min(600px, 50%); }
.band__list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.band__list li { display: flex; gap: 10px; align-items: center; font-family: var(--ff-ui); font-weight: 600; font-size: .95rem; }
.band__list .icon { width: 22px; height: 22px; color: #ffd98a; }

/* Get connected tiles */
.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.tile::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--cream); transition: transform .5s var(--ease); z-index: 0; }
.tile > * { position: relative; z-index: 1; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tile:hover::after { transform: scale(3.2); }
.tile__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 8px; }
.tile__icon .icon { width: 26px; height: 26px; }
.tile h3 { font-size: 1.3rem; margin: 0; }
.tile p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.tile .link-arrow { margin-top: auto; padding-top: 10px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; opacity: .3; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 120%, rgba(44,109,164,.6), transparent 60%), linear-gradient(180deg, rgba(19,27,46,.4), rgba(19,27,46,.85)); }
.cta-band h2 { color: #fff; font-weight: 600; }
.cta-band h2 em { color: var(--gold); font-weight: 800; }
.cta-band p { color: #cfd6e6; max-width: 640px; margin-inline: auto; font-size: 1.15rem; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); margin: 6px auto 22px; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: currentColor; opacity: .7; }
.ornament .icon { width: 18px; height: 18px; }

/* New here highlight box */
.highlight-box {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(120deg, var(--cream) 0%, #fff 100%); border: 1px solid var(--line); border-left: 6px solid var(--coral-700);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.highlight-box__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--coral-700); color: #fff; display: grid; place-items: center; }
.highlight-box__icon .icon { width: 34px; height: 34px; }
.highlight-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.highlight-box p { color: var(--ink-soft); margin: 0; }

/* Steps / timeline */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.step__num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; position: relative; z-index: 1; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: -22px; width: 2px; background: repeating-linear-gradient(var(--gold) 0 6px, transparent 6px 12px); }
.step h3 { margin: 12px 0 6px; font-size: 1.3rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* Accordion */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .3s; }
.acc-item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--ff-ui); font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.acc-btn .icon { width: 22px; height: 22px; flex: none; color: var(--teal-700); transition: transform .3s; }
.acc-item.is-open .acc-btn .icon { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* People */
.person { text-align: center; }
.person__img { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow); }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 2px; }
.person span { font-family: var(--ff-ui); font-weight: 600; font-size: .85rem; color: var(--coral-700); letter-spacing: .04em; }
.person p { color: var(--ink-soft); margin-top: 10px; }

/* Sermon cards */
.sermon { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); height: 100%; }
.sermon__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; display: block; }
.sermon__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.sermon__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,27,46,.4) 0%, rgba(19,27,46,0) 55%); }
.sermon__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--coral-700); display: grid; place-items: center; z-index: 1; transition: transform .3s var(--ease); }
.sermon__play .icon { width: 26px; height: 26px; margin-left: 3px; }
.sermon:hover .sermon__thumb img { transform: scale(1.05); }
.sermon:hover .sermon__play { transform: translate(-50%, -50%) scale(1.1); }
.sermon__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.sermon__meta { font-family: var(--ff-ui); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 8px; }
.sermon__body h3 { font-size: 1.25rem; }
.sermon__body p { color: var(--ink-soft); font-size: .98rem; flex: 1; }

/* Forms */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--ff-ui); font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: var(--coral-700); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #d9d1c2; background: #fdfcf9;
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); background: #fff; box-shadow: 0 0 0 4px rgba(63,169,165,.18); }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-family: var(--ff-body); font-weight: 400; font-size: .95rem; color: var(--ink-soft); }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--teal-700); flex: none; }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: .88rem; color: var(--ink-soft); margin: 14px 0 0; }
.form-msg { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.form-msg--ok { background: #e3f4f2; color: var(--teal-800); }
.form-msg--err { background: #fbe9e5; color: var(--coral-800); }

.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--cream); border-radius: 999px; margin-bottom: 24px; flex-wrap: wrap; }
.tab { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-family: var(--ff-ui); font-weight: 700; font-size: .9rem; color: var(--navy); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tab .icon { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab-panel[hidden] { display: none; }

/* Contact info */
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; }
.info-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.info-card__icon .icon { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.info-card p, .info-card a { margin: 0; color: var(--ink-soft); text-decoration: none; }
.info-card a:hover { color: var(--teal-700); }

/* Beliefs */
.belief { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); height: 100%; }
.belief h3 { font-size: 1.25rem; display: flex; gap: 10px; align-items: center; }
.belief h3 .icon { color: var(--wine); width: 22px; height: 22px; }
.belief p { color: var(--ink-soft); margin: 0; }
.belief small { display: block; margin-top: 12px; font-family: var(--ff-display); font-style: italic; color: var(--wine); font-size: .95rem; }

/* Timeline (history) */
.history { position: relative; display: grid; gap: 28px; padding-left: 34px; }
.history::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--teal)); }
.history__item { position: relative; }
.history__item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); }
.history__item b { font-family: var(--ff-ui); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-700); }
.history__item h3 { margin: 4px 0 6px; font-size: 1.25rem; }
.history__item p { margin: 0; color: var(--ink-soft); }

/* Filter pills (events page) */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-family: var(--ff-ui); font-weight: 600; font-size: .88rem; color: var(--navy); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-cat].is-hidden { display: none; }

/* Gallery strip */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery figure:nth-child(1) { grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* Prose (WordPress page content) */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--gold); background: var(--cream); border-radius: var(--radius); font-family: var(--ff-display); font-style: italic; font-size: 1.2rem; color: var(--navy); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: #b9c2d6; position: relative; font-size: 1rem; }
.footer-verse { background: var(--navy); text-align: center; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-verse p { margin: 0; font-family: var(--ff-display); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.3rem); color: #fff; }
.footer-verse cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--ff-ui); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.footer-main { padding-block: 64px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { font-family: var(--ff-ui); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand__sub { color: var(--gold); }
.site-footer p { color: #b9c2d6; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #b9c2d6; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; transition: color .2s, transform .2s; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 4px; }
.footer-contact a { color: #b9c2d6; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.times { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.times li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,.12); }
.times strong { color: #fff; font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--coral-700); transform: translateY(-3px); color: #fff; }
.socials .icon { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.footer-bottom a { color: #b9c2d6; }

/* Back to top + mobile action bar */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--coral-700); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 22px; height: 22px; }
.mobile-bar { display: none; }

/* Keep faces in frame on every cropped photo */
.photo-card__img img, .stories__photo img, .person__img img, .gallery img { object-position: center top; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .menu a, .menu .submenu-toggle { padding-inline: 9px; font-size: .86rem; }
  .menu .has-sub > a { padding-right: 2px; }
  .menu .submenu-toggle { padding-left: 0; }
  .brand__name { font-size: 1.02rem; }
}

@media (max-width: 1060px) {
  .main-nav .menu, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .service-strip__card { grid-template-columns: repeat(3, 1fr); }
  .service-strip .btn { grid-column: 1 / -1; margin: 6px; }
  .service-strip__item:nth-child(3) { border-right: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand__logo, .site-header.is-scrolled .brand__logo { height: 56px; }
  /* Band: photo stacks on top, text below */
  .band { display: block; min-height: 0; padding-top: 0; }
  .band__media { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 520px; margin-bottom: clamp(36px, 7vw, 56px); }
  .band__media::after { top: auto; left: 0; right: 0; bottom: -1px; width: auto; height: 110px; background: linear-gradient(0deg, #1a6765 0%, rgba(26,103,101,0) 100%); }
  .band__content { max-width: 640px; }
  .split, .stories__grid { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid-3 > :last-child:nth-child(odd) .photo-card__img,
  .grid-3 > :last-child:nth-child(odd) .event-card__img,
  .grid-3 > :last-child:nth-child(odd) .sermon__thumb,
  .grid-3 > :last-child:nth-child(odd).person .person__img { aspect-ratio: 21/9; }
  .grid-3 > .person:last-child:nth-child(odd) { max-width: none; }
  .service-strip__value { font-size: 1rem; }
  .service-strip__item { padding: 14px 16px; gap: 12px; }
  .collage { max-width: 620px; }
  .stories__photo { max-width: 560px; }
  .highlight-box { grid-template-columns: auto 1fr; }
  .highlight-box .btn { grid-column: 1 / -1; justify-self: start; }
  .topbar__info .hide-md { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery figure:nth-child(4) { grid-column: auto; }
  .media-frame::before { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; padding-bottom: 68px; }
  .topbar .container { justify-content: center; min-height: 38px; }
  .topbar__links { display: none; }
  .topbar__info { gap: 14px; font-size: .74rem; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__name { font-size: .95rem; }
  .brand__sub { font-size: .85rem; }
  .hero { min-height: 0; padding: 80px 0 150px; text-align: left; }
  .hero::before { background: linear-gradient(180deg, rgba(19,27,46,.62) 0%, rgba(31,42,68,.7) 50%, rgba(19,27,46,.88) 100%); }
  .page-hero::before { background: linear-gradient(180deg, rgba(19,27,46,.62) 0%, rgba(31,42,68,.76) 100%); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .service-strip { margin-top: -90px; }
  .service-strip__card { grid-template-columns: 1fr; padding: 6px; }
  .service-strip__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .service-strip__item:nth-child(3) { border-bottom: 0; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .grid-3 > :last-child:nth-child(odd) .photo-card__img { aspect-ratio: 4/3; }
  .grid-3 > :last-child:nth-child(odd) .event-card__img { aspect-ratio: 16/10; }
  .grid-3 > :last-child:nth-child(odd) .sermon__thumb { aspect-ratio: 16/9; }
  .grid-3 > :last-child:nth-child(odd).person .person__img { aspect-ratio: 4/5; }
  .collage { padding: 0 0 40px 20px; }
  .collage__badge { right: 0; top: 14px; padding: 12px 14px; max-width: 200px; }
  .band__list { grid-template-columns: 1fr; }
  .highlight-box { grid-template-columns: 1fr; text-align: left; }
  .highlight-box__icon { width: 60px; height: 60px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .btn-row .btn { flex: 1 1 auto; }
  .page-hero .btn-row .btn { flex: 1 1 100%; }
  .event-card__foot { flex-wrap: wrap; }
  .step { grid-template-columns: 52px 1fr; gap: 16px; }
  .step__num { width: 52px; height: 52px; font-size: 1.25rem; }
  .step:not(:last-child)::before { left: 25px; top: 52px; }
  .map-card iframe { height: 280px; }
  .gallery { grid-auto-rows: 140px; gap: 10px; }
  .tabs { display: flex; border-radius: var(--radius); }
  .tab { flex: 1; justify-content: center; }
  .to-top { bottom: 84px; right: 14px; width: 46px; height: 46px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(19,27,46,.35);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 6px;
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 12px; text-decoration: none; font-family: var(--ff-ui); font-size: .72rem; font-weight: 700; color: var(--navy); }
  .mobile-bar a .icon { width: 20px; height: 20px; color: var(--teal-700); }
  .mobile-bar a.is-primary { background: var(--coral-700); color: #fff; flex-direction: row; gap: 8px; font-size: .85rem; }
  .mobile-bar a.is-primary .icon { color: #fff; }
}

@media (max-width: 400px) {
  .brand__text { max-width: 170px; }
  .brand__name { font-size: .9rem; }
  .topbar__info .hide-sm { display: none; }
  .slider__dots { margin-left: 0; }
}

/* ==========================================================================
   WordPress additions
   ========================================================================== */
.event-card__img { display: block; }
.event-card__body h3 a, .sermon__body h3 a { color: inherit; text-decoration: none; }
.event-card__body h3 a:hover, .sermon__body h3 a:hover { color: var(--teal-700); }
.cta-band h2 .accent { color: var(--gold); font-weight: 800; }
.highlight-box h2 .accent { color: var(--wine); }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-family: var(--ff-ui); font-weight: 600; color: var(--navy); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.prose > *:first-child { margin-top: 0; }
.prose a { color: var(--teal-700); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose figure { margin: 28px 0; }
.prose figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.prose .wp-block-button__link { display: inline-flex; padding: 12px 26px; border-radius: 999px; background: var(--coral-700); color: #fff; font-family: var(--ff-ui); font-weight: 700; text-decoration: none; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.aligncenter { margin-inline: auto; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; }
.form-msg .icon { width: 20px; height: 20px; }
@media (max-width: 400px) { .brand__logo, .site-header.is-scrolled .brand__logo { height: 50px; } .brand--footer .brand__logo { height: 84px; } }

