/* ==========================================================================
   Victory House Chapel – Assemblies of God
   Design system: "Editorial" – a magazine on warm paper. Large serif headlines,
   thin ink rules, numbered sections, captioned photos, square corners.
   ========================================================================== */

/* ---------- 0. Fonts (self-hosted, latin subset, SIL Open Font Licence) ---------- */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(../assets/fonts/cormorant.woff2) format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/cormorant-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../assets/fonts/source-sans.woff2) format("woff2");
}

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #121a2c;        /* near-black navy: headlines, rules, buttons */
  --navy: #0f1f3d;
  --gold: #a8842f;
  --gold-ink: #85661c;   /* gold dark enough for small text */

  --bg: #ffffff;         /* main page: white */
  --bg-alt: #f7f4ee;     /* alternate sections: soft cream */
  --surface: #f7f4ee;
  --heading: var(--ink);
  --text: #2a2f3a;
  --text-muted: #5c6270;
  --rule: var(--ink);    /* strong rules */
  --border: #d9d1c0;     /* light rules */

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* The dark band (scripture, connect card): the same tokens, flipped */
.section--navy {
  --heading: #ffffff;
  --text: #d6dae3;
  --text-muted: #aeb6c6;
  --rule: rgba(255, 255, 255, .7);
  --border: rgba(255, 255, 255, .18);
  --gold-ink: #d6b971;
  --surface: transparent;
  background: var(--ink);
  color: var(--text);
}
/* Forms and giving details always on white with dark text */
.form-card, .give-box {
  --heading: var(--ink);
  --text: #2a2f3a;
  --text-muted: #5c6270;
  --rule: var(--ink);
  --border: #d9d1c0;
  --gold-ink: #85661c;
  color: var(--text);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 500; line-height: 1.02;
  letter-spacing: -.02em; margin: 0 0 .45em; color: var(--heading); text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 2.1vw, 1.85rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
h4 { font-size: 1.3rem; }
p, li { text-wrap: pretty; }
em.accent, .accent { font-style: italic; color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: #eadcb6; color: var(--ink); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 18px; font-weight: 700; }
.skip-link:focus { top: 16px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 760px; }
.container--narrow > h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.8em; }
.container--narrow > h2:first-child { margin-top: 0; }
main { counter-reset: chapter; }
.section { padding: var(--section) 0; }
.section--cream { background: var(--bg-alt); --surface: #ffffff; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.grid { display: grid; gap: clamp(24px, 3vw, 36px); }
.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: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split > * { min-width: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }

/* Section label: a running chapter number, like a magazine ("02 — Ministries") */
.eyebrow {
  display: inline-flex; align-items: baseline; gap: 10px;
  font: 700 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--heading); margin-bottom: 1.2rem;
}
.section .eyebrow::before {
  counter-increment: chapter; content: counter(chapter, decimal-leading-zero) "  \2014";
  font: italic 500 1.6rem/1 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--gold-ink); white-space: pre; font-variant-numeric: lining-nums;
}
.section .card .eyebrow::before, .section .cta-band .eyebrow::before, .section .form-card .eyebrow::before, .section .give-box .eyebrow::before { content: none; counter-increment: none; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.32rem); color: var(--text-muted); line-height: 1.6; }
/* Section heads: a strong rule on top, left aligned, like a magazine department page */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: left; }
.section-head .lead, .section-head > p { max-width: 640px; }


/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-line: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 15px 28px; border-radius: 0;
  border: 1px solid var(--btn-line); background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { --btn-bg: var(--navy); --btn-line: var(--navy); color: var(--btn-fg); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--outline, .btn--navy, .btn--ghost { --btn-bg: transparent; --btn-fg: var(--heading); --btn-line: var(--heading); }
.btn--outline:hover, .btn--navy:hover, .btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-line: var(--ink); }
.section--navy .btn:not(.btn--outline):not(.btn--navy):not(.btn--ghost) { --btn-bg: #fff; --btn-line: #fff; --btn-fg: var(--ink); }
.section--navy .btn:not(.btn--outline):not(.btn--navy):not(.btn--ghost):hover { --btn-bg: #e9e3d6; --btn-line: #e9e3d6; }
.section--navy .btn--outline:hover, .section--navy .btn--ghost:hover, .section--navy .btn--navy:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-line: #fff; }
.form-card .btn:not(.btn--outline):not(.btn--navy):not(.btn--ghost) { --btn-bg: var(--ink); --btn-line: var(--ink); --btn-fg: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--heading);
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--gold-ink); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 5. Announcement bar ---------- */
.announce { background: var(--ink); color: #cfd4de; font-size: .82rem; letter-spacing: .02em; text-align: center; padding: 9px var(--gutter); }
.announce a { color: #fff; text-decoration-color: #d6b971; }

/* ---------- 6. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); transition: box-shadow .3s, background .3s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(18, 26, 44, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; transition: min-height .3s var(--ease); }
.is-scrolled .nav { min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--border); transition: transform .3s var(--ease); }
.is-scrolled .brand__mark { transform: scale(.88); }
.brand__mark img { width: 48px; height: 48px; }
.footer-logo { width: 96px; height: auto; background: #fff; border-radius: 50%; padding: 6px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: -.01em; }
.brand__sub { font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); margin-top: 5px; }

.nav__menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__menu > li { position: relative; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  color: var(--ink); text-decoration: none; font: 700 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  background: none; border: 0; cursor: pointer;
}
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav__link:hover, .nav__menu > li:focus-within > .nav__link { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.has-dropdown .nav__link::after { right: 28px; }
.nav__link .chev { width: 9px; height: 9px; transition: transform .25s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 240px; list-style: none; margin: 0; padding: 10px 0;
  background: var(--surface); box-shadow: 0 24px 50px -24px rgba(18, 26, 44, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .chev, .has-dropdown.is-open .chev { transform: rotate(180deg); }
.dropdown a { display: block; padding: 10px 18px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.dropdown a:hover { background: var(--bg-alt); }
.nav__cta { margin-left: 12px; min-height: 44px; padding: 12px 22px; }
.nav__toggle { display: none; width: 48px; height: 48px; background: transparent; border: 0; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .3s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Home: the magazine cover ---------- */
.hero { padding: clamp(32px, 5vw, 64px) 0 0; }
.masthead {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 8px 0 0; font: 700 .7rem/1.3 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted);
}
.masthead > :first-child { color: var(--gold-ink); }
.masthead .breadcrumb { margin: 0; }
.hero h1 { font-size: clamp(3.4rem, 8.6vw, 8.6rem); line-height: .92; letter-spacing: -.035em; margin: clamp(24px, 3.5vw, 40px) 0 clamp(24px, 3vw, 36px); max-width: none; }
.hero h1 .accent { display: inline; }
.hero__deck { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.hero__lead { font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.35; color: var(--ink); max-width: 30ch; margin: 0 0 28px; }
.hero__facts { margin: 0; display: grid; gap: 0; }
.hero__facts { gap: 18px; padding-top: 10px; }
.hero__facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; }
.hero__facts dt { font: 700 .7rem/1.6 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
.hero__facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.hero__facts a { text-decoration: underline; text-decoration-color: var(--gold); }
.hero__figure { position: relative; margin: clamp(18px, 2.5vw, 28px) calc(50% - 50vw) 0; }
.hero__figure > img { display: block; width: 100%; height: min(82vh, 760px); min-height: 340px; object-fit: cover; box-shadow: 0 26px 50px -22px rgba(18, 26, 44, .45); }
.hero__figure figcaption { max-width: var(--container); margin: 14px auto 0; padding: 0 var(--gutter); font-size: .88rem; color: var(--text-muted); }
.hero__figure figcaption span { font: italic 600 1rem/1 var(--font-display); color: var(--ink); margin-right: 8px; }
figcaption { font-size: .88rem; color: var(--text-muted); }

/* Next gathering: a white panel pinned to the photo like a sidebar box */
.next-card {
  position: absolute; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); bottom: 72px; width: 330px; text-align: left;
  background: var(--bg); padding: 22px 24px 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.next-card__label { display: inline-flex; align-items: center; gap: 8px; font: 700 .68rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.next-card__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3f9d63; }
.next-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; margin: 10px 0 0; color: var(--ink); line-height: 1.1; }
.next-card__when { color: var(--text-muted); font-size: .92rem; margin: 4px 0 14px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg-alt); }
.countdown div { padding: 10px 2px 8px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.countdown small { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }

/* ---------- Inner-page banner ---------- */
.page-hero { padding: clamp(32px, 5vw, 56px) 0 0; }
.page-hero__text { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: clamp(28px, 6vw, 96px); align-items: end; padding: clamp(40px, 5vw, 64px) 0 0; }
.page-hero__text .eyebrow { grid-column: 1 / -1; }
.page-hero h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); line-height: .95; letter-spacing: -.03em; margin: 0; }
.page-hero .lead { margin: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.35; color: var(--ink); }
.page-hero__photo { margin: clamp(18px, 2.5vw, 28px) calc(50% - 50vw) 0; }
.page-hero__photo img { display: block; width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; box-shadow: 0 26px 50px -22px rgba(18, 26, 44, .45); }
.page-hero--message { padding: clamp(80px, 12vw, 150px) 0; }
.page-hero--message .page-hero__text { display: block; padding: 0; max-width: 820px; }
.page-hero--message .lead { margin-top: 20px; }
.breadcrumb { font-size: .72rem; color: var(--text-muted); }
.breadcrumb a { color: var(--ink); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ---------- 8. Service times: a contents-style row ---------- */
.times-strip { padding: clamp(48px, 6vw, 80px) 0 0; }
.times-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.time-item { display: flex; gap: 16px; align-items: flex-start; }
.time-item__icon { color: var(--gold); padding-top: 4px; }
.time-item__icon svg { width: 22px; height: 22px; }
.time-item h2 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; margin: 0 0 4px; }
.time-item p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--text-muted); }
.time-item strong { color: var(--ink); font-weight: 700; }

/* ---------- 9. Photos ---------- */
.media { position: relative; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.media--wide img { aspect-ratio: 16 / 11; }
.media-stack { position: relative; padding: 0 0 48px 48px; }
.media-stack .media--small { position: absolute; left: 0; bottom: 0; width: 42%; border: 8px solid var(--bg); }
.media-stack .media--small img { aspect-ratio: 1; }
.media-badge {
  position: absolute; right: -20px; top: 40px; background: var(--bg); color: var(--ink);
  padding: 16px 20px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .4); font: 700 .7rem/1.5 var(--font-body); letter-spacing: .16em; text-transform: uppercase; max-width: 200px;
}
.media-badge span { display: block; font: italic 500 2rem/1 var(--font-display); letter-spacing: 0; text-transform: none; margin-bottom: 4px; }

/* ---------- 10. Cards: no boxes, just a rule on top ---------- */
.card, .gathering, .event, .sermon, .pastor-card { position: relative; background: transparent; }
.card { padding: 0; }
.card__icon { margin-bottom: 14px; color: var(--gold); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-muted); }
.card p:last-child { margin-bottom: 0; }
aside.card { background: var(--surface); padding: 28px; }

/* Ministry features: photo, kicker, headline, standfirst */
.img-card { display: block; text-decoration: none; color: inherit; }
.grid-4 > .img-card:nth-child(even) { margin-top: clamp(32px, 5vw, 72px); }
.img-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; filter: saturate(.92); transition: filter .4s; }
.img-card:hover img { filter: saturate(1.05); }
.img-card__body { padding: 18px 0 0; }
.img-card__tag { font: 700 .68rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.img-card h3 { margin: 8px 0 8px; }
.img-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.img-card p { color: var(--text-muted); font-size: .97rem; margin: 0; }

/* ---------- 11. Quotes ---------- */
.quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; color: var(--heading); font-weight: 500; margin: 0 0 1.4rem; }
.quote::before { content: none; }
.signature { display: flex; align-items: center; gap: 16px; }
.signature strong { display: block; color: var(--heading); font-size: 1.05rem; }
.signature span { font-size: .92rem; color: var(--text-muted); }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--bg-alt); color: var(--ink); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(2.2); transform-origin: var(--focus, 50% 20%); }

/* ---------- 12. Events: a listings page ---------- */
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 28px; align-items: center; padding: 26px 28px; background: var(--surface); }
.event + .event { margin-top: 10px; }
.event__date { text-align: left; }
.event__date b { display: block; font-family: var(--font-display); font-size: 3rem; line-height: .9; color: var(--ink); font-weight: 500; }
.event__date small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-top: 6px; }
.event h3 { margin: 0 0 4px; font-size: 1.6rem; }
.event p { margin: 0; color: var(--text-muted); font-size: .97rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--text-muted); margin-top: 6px; }
.event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event__meta svg { width: 15px; height: 15px; color: var(--gold); }
.tag { display: inline-block; padding: 0; color: var(--gold-ink); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* Home: next date of each gathering */
.gathering { padding: 20px 0 0; }
.gathering__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.gathering__icon { color: var(--gold); }
.gathering__icon svg { width: 26px; height: 26px; }
.gathering__date { margin: 0 0 12px; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-ink); line-height: 1; }
.gathering__date b { font-size: 4.2rem; font-style: normal; color: var(--ink); font-weight: 500; letter-spacing: -.03em; }
.gathering__date small { display: block; margin-top: 10px; font: normal 700 .7rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
.gathering h3 { font-size: 1.6rem; margin: 0 0 6px; }
.gathering p { color: var(--text-muted); font-size: .97rem; margin: 0; }
.gathering .gathering__time { margin-top: 14px; font-weight: 700; color: var(--ink); }

/* Home: pastor profiles */
.pastor-card { display: grid; grid-template-columns: 46% 1fr; gap: clamp(24px, 3vw, 36px); align-items: end; color: inherit; text-decoration: none; }
.pastor-card:hover { color: inherit; }
.pastor-card__photo { position: relative; min-height: 420px; background: var(--bg-alt); }
.pastor-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.pastor-card__body { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 8px; }
.pastor-card__body h3 { margin: 8px 0 12px; font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.pastor-card__body p { color: var(--text-muted); font-size: .98rem; }
.pastor-card .link-arrow { margin-top: 12px; align-self: flex-start; }

/* ---------- 13. Sermons ---------- */
.sermon { padding-top: 0; }
.sermon__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; margin-top: 18px; }
.sermon__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sermon__play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); }
.sermon__play svg { width: 20px; height: 20px; margin-left: 3px; }
.sermon__thumb .sermon__play { inset: auto auto 14px 14px; margin: 0; width: 46px; height: 46px; }
.sermon__body { padding: 16px 0 0; }
.sermon__body h3 { font-size: 1.55rem; margin: 8px 0 6px; }
.sermon__body p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #d6dae3; padding: 24px; }
.video-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.video-placeholder > div { position: relative; }

/* ---------- 14. Leaders: profile spreads ---------- */
.leader { display: grid; grid-template-columns: 400px 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.leader + .leader { margin-top: clamp(56px, 8vw, 96px); }
.leader:nth-child(even) { grid-template-columns: 1fr 400px; }
.leader:nth-child(even) .leader__photo { order: 2; }
.leader__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; }
.leader__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leader__photo .initials { font-family: var(--font-display); font-size: 6rem; color: var(--gold-ink); }
.leader__photo small { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--text-muted); }
.leader__role { font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.leader h2 { margin: 10px 0 20px; }

/* ---------- 15. Accordion ---------- */
.accordion { display: grid; }
.accordion details + details { border-top: 1px solid var(--border); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; color: var(--heading); }
.accordion summary:hover { color: var(--gold-ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: none; font: 300 1.8rem/1 var(--font-body); color: var(--heading); transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 22px; color: var(--text-muted); max-width: 68ch; }
.accordion .acc-body p:last-child { margin-bottom: 0; }

/* ---------- 16. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { position: relative; padding: 14px 0 14px 72px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 8px; font: italic 500 2.8rem/1 var(--font-display); color: var(--gold-ink); font-variant-numeric: lining-nums; }
.step h3 { font-size: 1.45rem; margin: 0 0 4px; }
.step p { color: var(--text-muted); margin: 0; }

/* ---------- 17. Feature panels: photo beside the words ---------- */
.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 72px);
  align-items: center; align-content: center; padding: 0;
}
.cta-band > * { grid-column: 2; }
.cta-band > img { grid-column: 1; grid-row: 1 / span 6; width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.cta-band > img + * { margin-top: 8px; }
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: var(--text-muted); max-width: 46ch; }
.grid .cta-band { grid-template-columns: 1fr; padding: 0; }
.grid .cta-band > * { grid-column: 1; }
.grid .cta-band > img { grid-row: auto; margin: 0 0 24px; height: 340px; min-height: 0; }
.grid .cta-band h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); }

/* ---------- 18. Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font: 700 .72rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--heading); margin-bottom: 8px; }
.field .hint { font-weight: 400; letter-spacing: 0; text-transform: none; font-size: .85rem; color: var(--text-muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 13px 15px; border-radius: 0; border: 1px solid #d2c9b6; background: #fdfcf8;
  font: 400 1rem/1.4 var(--font-body); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #8f8672; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--text-muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.honeypot { display: none !important; }
.check-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-group legend { font: 700 .72rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--heading); margin-bottom: 10px; padding: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.check-grid .check { color: var(--text); }
#connect { scroll-margin-top: 90px; }
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }
.form-card { position: relative; background: #fff; padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 70px -40px rgba(18, 26, 44, .45); }
.form-card h2, .form-card h3 { font-size: clamp(2rem, 3vw, 2.5rem) !important; }

/* ---------- 19. Contact details and map ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { flex: none; color: var(--gold); padding-top: 3px; }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list strong { display: block; font: 700 .72rem/1.6 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--heading); }
.info-list span, .info-list a { color: var(--text); }
.info-list a:hover { color: var(--gold-ink); }
.map { overflow: hidden; min-height: 380px; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.map__placeholder {
  min-height: 380px; height: 100%; padding: 32px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--bg-alt);
}
.map__pin { width: 50px; height: 50px; border-radius: 50%; margin-bottom: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.map__pin svg { width: 22px; height: 22px; }
.map__placeholder strong { color: var(--heading); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.map__placeholder p { color: var(--text-muted); font-size: .9rem; max-width: 34ch; margin: 6px 0 18px; }
.map__placeholder .btn-row { justify-content: center; }

/* Photo gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 10px; }
.gallery__item { position: relative; margin: 0; overflow: hidden; background: var(--bg-alt); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .8s var(--ease), filter .4s; }
.gallery__item.wide { grid-column: span 2; }
.gallery__item.tall { grid-row: span 2; }
.gallery__item:hover img { transform: scale(1.03); filter: none; }

/* Giving */
.give-box { background: #fff; padding: 24px 26px; }
.give-box dl { display: grid; grid-template-columns: auto 1fr; gap: 0 20px; margin: 0; }
.give-box dt, .give-box dd { padding: 6px 0; }
.give-box dt { font: 700 .72rem/1.9 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--heading); }
.give-box dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-alt); padding: 14px 18px; font-size: .93rem; color: var(--text); }

/* Scripture: a full-width pull quote */
.scripture { text-align: center; max-width: 960px; margin: 0 auto; }
.scripture blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.15; letter-spacing: -.015em; color: var(--heading); font-weight: 500; }
.scripture cite { display: inline-block; margin-top: 28px; font-style: normal; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .74rem; color: var(--gold-ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 500; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--text-muted); }

/* Ticked list */
.tick-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.tick-list li { position: relative; padding-left: 30px; }
.tick-list li::before { content: "\2014"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }

/* Ministry detail blocks */
.ministry { scroll-margin-top: 110px; }
.ministry + .ministry { margin-top: clamp(64px, 9vw, 112px); }
.ministry:nth-child(even) .split > :first-child { order: 2; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 1.2rem 0 1.6rem; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .92rem; font-weight: 600; color: var(--text); }
.pill svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- 20. Footer: the back page ---------- */
.site-footer { background: var(--ink); color: #c3c9d5; padding: clamp(56px, 7vw, 88px) 0 0; font-size: .97rem; }
.footer-verse {
  margin: 0 0 clamp(48px, 6vw, 80px);
  font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.02em; color: #fff;
}
.footer-verse span { font-style: normal; font-variant: small-caps; }
.footer-verse cite { display: block; margin-top: 16px; font: normal 700 .72rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: #d6b971; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .footer-heading { font: 700 .72rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: #d6b971; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #e6e9ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: #d6b971; }
.footer-about p { max-width: 36ch; margin-top: 18px; }
.site-footer .footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #e6e9ef; transition: background .2s, color .2s; }
.footer-social a:hover { background: #fff; color: var(--ink); }
.footer-social svg { width: 18px; height: 18px; }
.footer-times li { display: flex; flex-direction: column; line-height: 1.45; }
.footer-times b { color: #fff; font-weight: 700; }
.footer-bottom { margin-top: clamp(48px, 6vw, 72px); padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .22); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .85rem; color: #a3abbb; }
.footer-bottom a { color: #c3c9d5; }
.js .footer-bottom { padding-right: 72px; }
@media (max-width: 560px) { .js .footer-bottom { padding-right: 0; padding-bottom: 76px; } }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--bg); color: var(--ink); border-radius: 50%; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s, color .2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top svg { width: 20px; height: 20px; }
.nav-open .to-top { display: none; }

/* ---------- 21. Gentle reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; }
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__panel { position: fixed; inset: 0; top: var(--header-h, 82px); background: var(--bg); overflow-y: auto; padding: 16px var(--gutter) 40px; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden; }
  .nav-open .nav__panel { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__menu > li { }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font: 500 2rem/1.1 var(--font-display); letter-spacing: -.01em; text-transform: none; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { font-style: italic; color: var(--gold-ink); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; border: 0; padding: 0 0 12px; min-width: 0; display: none; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .has-dropdown.is-open .dropdown { display: block; transform: none; }
  .dropdown a { padding: 8px 0 8px 14px; font-size: 1.25rem; }
  .nav__cta { margin: 24px 0 0; width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1081px) { .nav__panel { display: flex; align-items: center; } }
@media (max-width: 860px) {
  .split, .split--wide-left, .leader, .leader:nth-child(even) { grid-template-columns: 1fr; }
  .leader:nth-child(even) .leader__photo { order: 0; }
  .leader__photo { max-width: 380px; }
  .ministry:nth-child(even) .split > :first-child { order: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .times-strip__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 6px; }
  .event { grid-template-columns: 70px 1fr; gap: 18px; padding: 20px; }
  .event > :last-child { grid-column: 2; }
  .event__date b { font-size: 2.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero__deck, .page-hero__text { grid-template-columns: 1fr; row-gap: 20px; }
  .media-stack { padding: 0; }
  .media-stack .media--small { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 0; }
  .cta-band > * { grid-column: 1; }
  .cta-band > img { grid-row: auto; margin: 0 0 22px; height: 280px; min-height: 0; }
  .next-card { position: relative; inset: auto; width: auto; margin: -48px var(--gutter) 0; }
  .grid-4 > .img-card:nth-child(even) { margin-top: 0; }
  .pastor-card { grid-template-columns: 1fr; gap: 18px; }
  .pastor-card__photo { min-height: 0; aspect-ratio: 4 / 3.6; }
}
@media (max-width: 560px) {
  body { font-size: 1.02rem; }
  .announce { font-size: .78rem; padding: 8px 16px; }
  .announce__more { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.28rem; }
  .brand__sub { font-size: .56rem; letter-spacing: .18em; }
  .brand__mark { width: 46px; height: 46px; }
  .brand__mark img { width: 40px; height: 40px; }
  .masthead { font-size: .62rem; letter-spacing: .16em; }
  .masthead span:nth-child(3) { display: none; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero__figure > img, .page-hero__photo img { height: 260px; min-height: 0; }
  .hero__facts > div { grid-template-columns: 76px 1fr; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .btn, .btn-row .btn { width: 100%; }
  .countdown b { font-size: 1.4rem; }
}

/* Editorial touches */
.media-stack + div .lead::first-letter, .container--narrow > p:first-of-type::first-letter {
  float: left; font: 500 4.6em/.8 var(--font-display); color: var(--gold-ink); padding: .08em .1em 0 0;
}
.section--cream + .section--cream { padding-top: 0; }


/* ==========================================================
   Option 4: Calm Navy
   Deep navy pages, cream headings, gold buttons, soft corners.
   ========================================================== */
:root {
  --ink: #f4f1ea;          /* "ink" is now the light cream used for headlines */
  --deep: #0d1a33;
  --deeper: #081124;
  --bg: #0d1a33;
  --bg-alt: #0a152b;
  --surface: #122343;
  --heading: #f4f1ea;
  --text: #c9d1e0;
  --text-muted: #97a3ba;
  --gold: #c9a24a;
  --gold-ink: #d4b26a;
  --rule: rgba(255, 255, 255, .5);
  --border: rgba(255, 255, 255, .12);
  --radius: 4px;
}
::selection { background: #c9a24a; color: #0d1a33; }
.skip-link, .skip-link:focus { background: var(--gold); color: var(--deep); }
.section--cream { --surface: #122343; }
.section--navy { background: var(--deeper); }

/* Buttons: gold with navy text; outline in cream */
.btn { --btn-bg: var(--gold); --btn-fg: var(--deep); --btn-line: var(--gold); border-radius: var(--radius); }
.btn:hover { --btn-bg: #d6b464; --btn-line: #d6b464; --btn-fg: var(--deep); }
.btn--outline, .btn--navy, .btn--ghost { --btn-bg: transparent; --btn-fg: #f4f1ea; --btn-line: rgba(255, 255, 255, .5); }
.btn--outline:hover, .btn--navy:hover, .btn--ghost:hover { --btn-bg: #f4f1ea; --btn-fg: var(--deep); --btn-line: #f4f1ea; }
.section--navy .btn:not(.btn--outline):not(.btn--navy):not(.btn--ghost),
.form-card .btn:not(.btn--outline):not(.btn--navy):not(.btn--ghost) { --btn-bg: var(--gold); --btn-line: var(--gold); --btn-fg: var(--deep); }
.section--navy .btn:not(.btn--outline):not(.btn--navy):not(.btn--ghost):hover { --btn-bg: #d6b464; --btn-line: #d6b464; }
.section--navy .btn--outline:hover, .section--navy .btn--ghost:hover, .section--navy .btn--navy:hover { --btn-bg: #f4f1ea; --btn-fg: var(--deep); --btn-line: #f4f1ea; }

/* Bars, header, footer */
.announce { background: var(--deeper); }
.site-header { background: rgba(13, 26, 51, .95); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(13, 26, 51, .84); } }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.brand__mark { box-shadow: none; }
.site-footer { background: var(--deeper); }
.footer-social a:hover { color: var(--deep); }
.to-top:hover { background: var(--gold); color: var(--deep); }

/* Panels and photos: soft corners */
.event, aside.card, .next-card, .notice, .map, .form-card, .give-box, .media, .img-card img,
.pastor-card__photo, .leader__photo, .sermon__thumb, .video-frame, .gallery__item, .cta-band > img { border-radius: var(--radius); }
.pastor-card__photo, .leader__photo, .sermon__thumb, .gallery__item, .media { overflow: hidden; }
.sermon__thumb, .video-frame { background: var(--deeper); }
.sermon__play { color: var(--deep); }
.map__pin { background: var(--gold); color: var(--deep); }
.page-hero__photo img { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }

/* Forms and giving details: dark cards with light text */
.form-card, .give-box {
  --heading: #f4f1ea; --text: #c9d1e0; --text-muted: #97a3ba; --rule: rgba(255, 255, 255, .5);
  --border: rgba(255, 255, 255, .12); --gold-ink: #d4b26a;
  background: var(--surface); box-shadow: none;
}
.section--cream .form-card, .section--cream .give-box { background: #122343; }
.field input, .field textarea, .field select { border-radius: var(--radius); border-color: rgba(255, 255, 255, .18); background: var(--deep); color: var(--text); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(255, 255, 255, .4); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.field select option { background: var(--deep); color: var(--text); }
.check input { accent-color: var(--gold); }

/* Home: heading and buttons over a darkened photo */
.hero--cover { position: relative; padding: 0; min-height: min(88vh, 800px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 17, 36, .45) 0%, rgba(8, 17, 36, .62) 45%, rgba(8, 17, 36, .9) 100%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 5vw, 64px); align-items: end; padding-top: clamp(110px, 14vw, 180px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero__kicker { display: inline-block; margin-bottom: 18px; font: 700 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.hero--cover h1 { font-size: clamp(3rem, 7vw, 6.2rem); line-height: .98; letter-spacing: -.03em; margin: 0 0 22px; max-width: 13ch; color: #fff; }
.hero--cover .hero__lead { color: #d8dde8; max-width: 34ch; }
.hero__where { margin: 24px 0 0; font-size: .95rem; color: #c9d1e0; }
.hero__where a { color: #fff; text-decoration-color: var(--gold); }
.hero--cover .next-card { position: static; width: auto; margin: 0; background: rgba(13, 26, 51, .86); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
@supports (backdrop-filter: blur(8px)) { .hero--cover .next-card { background: rgba(13, 26, 51, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } }

@media (max-width: 1080px) {
  .site-header { background: var(--bg); }
}
@media (max-width: 860px) {
  .hero--cover { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 96px; }
  .hero--cover .next-card { margin: 0; }
}
@media (max-width: 560px) {
  .hero--cover h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
}

/* ==========================================================
   Big type trial: large, bold, clean headings (Apple / Samsung style)
   Uses each device's own system font where it has a good one
   (San Francisco on Apple, Segoe UI on Windows), Source Sans otherwise.
   ========================================================== */
:root {
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "Source Sans 3", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", "Source Sans 3", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body { font-size: 1.125rem; line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
h1 { font-size: clamp(3.2rem, 8.6vw, 8rem); }
h2 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
/* The gold word: upright, with a soft gold gradient instead of italics */
em.accent, .accent {
  font-style: normal; color: var(--gold-ink);
  background: linear-gradient(100deg, #f0d48a 0%, #c9a24a 55%, #a8842f 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; }

/* Pill buttons and plain navigation text */
.btn { border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 600; padding: 15px 30px; }
.nav__link { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; }
.link-arrow { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 600; color: var(--gold-ink); }
.eyebrow, .hero__kicker { letter-spacing: .08em; font-size: .8rem; }
.section .eyebrow::before { font: 600 1.1rem/1 var(--font-display); }

/* Home: a huge headline */
.hero--cover h1 { font-size: clamp(3.2rem, 6.6vw, 6.4rem); line-height: .98; letter-spacing: -.045em; max-width: 12ch; }
.hero--cover .hero__lead { font-family: var(--font-body); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; font-weight: 400; }
.page-hero h1 { font-size: clamp(3.2rem, 8.4vw, 7.6rem); letter-spacing: -.045em; line-height: 1; }
.page-hero .lead { font-family: var(--font-body); font-size: clamp(1.2rem, 1.7vw, 1.45rem); }

/* Numbers and quotes in the new type */
.scripture blockquote, .quote, .footer-verse { font-style: normal; font-weight: 600; letter-spacing: -.03em; }
.footer-verse span { font-variant: normal; }
.gathering__date, .step::before { font-style: normal; font-weight: 700; }
.event__date b, .gathering__date b, .stat b, .countdown b { font-weight: 700; letter-spacing: -.04em; }
.time-item h2 { font-weight: 700; letter-spacing: -.02em; }
.brand__name { font-weight: 700; letter-spacing: -.02em; font-size: 1.35rem; }
.accordion summary { font-weight: 600; letter-spacing: -.02em; font-size: 1.35rem; }
.dropdown a { font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.media-stack + div .lead::first-letter, .container--narrow > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; padding: 0; }

@media (max-width: 1080px) {
  .nav__link { font: 700 1.9rem/1.1 var(--font-display); letter-spacing: -.03em; }
}
@media (max-width: 560px) {
  h1, .page-hero h1 { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .hero--cover h1 { font-size: clamp(3rem, 14vw, 4rem); }
  h2 { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .brand__name { font-size: 1.15rem; }
}
