/* Hosanna International Ministry: site styles
   Colors are sampled from the official logo. --bg matches the logo file's
   background exactly so the logo sits on the page with no visible box. */

/* Fonts are served from this site (no Google requests). */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/playfair-display-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/playfair-display-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/playfair-display-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #1b1b19;
  --bg-raised: #232320;
  --bg-card: #2a2926;
  --line: #3b3934;
  --text: #ffffff;
  --text-soft: #d9d4c8;
  --text-muted: #a8a294;

  --gold: #d6bb5f;
  --gold-light: #f2e59f;
  --gold-deep: #b8973f;
  --gold-gradient: linear-gradient(135deg, #b8973f 0%, #e4ce7b 45%, #f2e59f 60%, #c9aa4c 100%);

  --cream: #f7f3ea;
  --cream-text: #26241f;
  --gold-on-cream: #7a5f1c;

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

  --radius: 14px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-light); }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.preview-banner {
  background: #3a3220;
  color: var(--gold-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 6px var(--gutter);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-gold { background: var(--gold); color: #1b1b19; }
.btn-gold:hover { background: var(--gold-light); color: #1b1b19; }
.btn-outline { border-color: rgba(255, 255, 255, 0.7); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Solid, not translucent: a backdrop-filter here would trap the fixed
     mobile menu inside the header, and the logo needs an exact match. */
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}
/* The full logo is shown here at a size where the cross emblem stays clear;
   the name beside it carries the words, since the logo's own lettering
   is too small to read at header size. */
.brand-logo img { width: 68px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.brand-sub {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 1rem var(--font-body);
  cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.2s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-h, 84px);
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--gutter) 40px;
    background: var(--bg);
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-give { min-height: 56px; font-size: 1.1rem; }
}

/* Small phones: the logo's detail does not hold up at icon size, so the
   header switches to a text-only name. The full logo appears in the hero. */
@media (max-width: 479px) {
  .brand-logo { display: none; }
  .header-inner { min-height: 72px; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: 0.68rem; letter-spacing: 0.12em; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 80px);
  overflow: hidden;
}
/* Soft warm light from the upper corner, kept clear of the logo so the
   logo's flat background always matches the page behind it. */
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(214, 187, 95, 0.10), transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-copy { order: 1; }
.hero-logo { order: 2; justify-self: center; width: min(460px, 100%); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); max-width: 34ch; }

.service-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(40px, 6vw, 64px) 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Column layout so times line up even when a label wraps to two lines. */
.service-strip > div { display: flex; flex-direction: column; padding: 22px 24px; }
.service-strip > div + div { border-left: 1px solid var(--line); }
.service-strip dt {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-strip dd {
  margin: auto 0 0;
  padding-top: 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

@media (max-width: 859px) {
  .hero::before { display: none; } /* the logo sits in the glow's path when stacked */
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { order: 0; width: min(340px, 78vw); }
  .lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .service-strip { grid-template-columns: 1fr 1fr; text-align: center; }
  .service-strip > div:nth-child(odd) { border-left: 0; }
  .service-strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .service-strip { grid-template-columns: 1fr; }
  .service-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding: var(--section-y) 0; }
.section-raised { background: var(--bg-raised); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head-row h2 { margin-bottom: 0; }
.section-intro { font-size: 1.2rem; }
.text-link { font-weight: 700; text-decoration: none; }

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 859px) { .split { grid-template-columns: 1fr; } }

.photo-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed var(--gold-deep);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(214, 187, 95, 0.08), transparent 60%),
    var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
}
.photo-portrait { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; }

.pastor-photo {
  position: relative;
  margin: 0;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}
/* Offset gold frame behind the photo, echoing the logo's gold ring. */
.pastor-photo::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-deep);
  border-radius: var(--radius);
}
.pastor-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%; /* keep faces in view; trims a little floor */
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.signature {
  margin-top: 1.5em;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.signature span {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.congregation-photo { margin: 0 0 40px; }
.congregation-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.congregation-photo figcaption {
  margin-top: 14px;
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
}
.card p { margin: 0; }
.card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Scripture band (light) */
.scripture {
  background: var(--cream);
  color: var(--cream-text);
  padding: clamp(64px, 9vw, 104px) 0;
  text-align: center;
}
.scripture .rule {
  display: block;
  width: 72px;
  height: 3px;
  margin: 0 auto 32px;
  background: var(--gold-gradient);
  border-radius: 2px;
}
.scripture blockquote { margin: 0 auto; max-width: 820px; }
.scripture blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--cream-text);
}
.scripture footer {
  color: var(--gold-on-cream);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.scripture footer span { font-weight: 400; margin-left: 6px; }

/* International missions */
.photo-landscape { aspect-ratio: 4 / 3; width: 100%; }
.missions-intro { grid-template-columns: 1.1fr 0.9fr; }
.missions-intro.no-photo { grid-template-columns: 1fr; }
.missions-intro.no-photo > div { max-width: 720px; }
.mission-photo { margin: 0; }
.mission-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.impact-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.impact-stat strong {
  flex: none;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
}
.impact-stat span { color: var(--text); font-size: 1.05rem; line-height: 1.4; max-width: 26ch; }
.mission-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--line);
}
.mission-works li { display: flex; gap: 16px; align-items: flex-start; }
.mission-works svg {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
}
.mission-works h3 { font-size: 1.15rem; margin-bottom: 4px; }
.mission-works p { margin: 0; font-size: 1rem; }
@media (max-width: 859px) {
  .missions-intro { grid-template-columns: 1fr; }
}

/* Building project */
.building-inner { grid-template-columns: 1fr 1fr; }
.building-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.labeled-photo { position: relative; margin: 0; }
.labeled-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.labeled-photo.photo-main { grid-column: 1 / -1; }
.labeled-photo.photo-main img { aspect-ratio: 4 / 3; }
/* Framing choices from the CMS ("Focus" on each photo). */
.labeled-photo.focus-top img { object-position: 50% 15%; }
.labeled-photo.focus-bottom img { object-position: 50% 75%; }

.fund-progress { margin: 8px 0 4px; }
.fund-numbers { margin-bottom: 8px; }
.fund-numbers strong { color: var(--gold); font-family: var(--font-display); font-size: 1.5rem; }
.fund-bar {
  appearance: none;
  display: block;
  width: 100%;
  height: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  overflow: hidden;
}
.fund-bar::-webkit-progress-bar { background: var(--bg-card); border-radius: 999px; }
.fund-bar::-webkit-progress-value { background: var(--gold-gradient); border-radius: 999px; }
.fund-bar::-moz-progress-bar { background: var(--gold-gradient); border-radius: 999px; }
.labeled-photo figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--gold);
  color: #1b1b19;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}
@media (max-width: 859px) {
  .building-inner { grid-template-columns: 1fr; }
  .building-photos { order: 1; } /* text first on phones */
}

/* Ministries */
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.ministry {
  display: block;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-soft);
  transition: border-color 0.2s, background-color 0.2s;
}
.ministry h3 { margin-bottom: 4px; }
.ministry p { margin: 0; }
.ministry:hover { border-color: var(--gold); background: var(--bg-card); color: var(--text-soft); }
@media (max-width: 599px) {
  .ministry-grid { gap: 10px; }
  .ministry { padding: 16px 20px; }
  .ministry h3 { font-size: 1.15rem; }
  .ministry p { font-size: 0.98rem; }
}

/* Events */
.event-list { display: grid; gap: 14px; }
.event {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.event h3 { margin-bottom: 2px; }
.event p { margin: 0; color: var(--text-muted); }
.event .event-desc { margin-top: 6px; color: var(--text-soft); }
/* Events strip near the top of the home page: shorter section, cards side by side. */
.events-section { padding: clamp(40px, 6vw, 64px) 0; }
.events-section .section-head { margin-bottom: 24px; }
.event-list-row { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.event-date {
  flex: none;
  display: grid;
  place-items: center;
  width: 88px;
  height: 72px;
  border: 1px solid var(--gold-deep);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}
/* Several-day events: smaller numbers so "26–30" fits the same badge. */
.event-date-range { font-size: 1.3rem; }
.event-date span {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Giving */
.give { border-top: 1px solid var(--line); }
.give-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.give-actions { text-align: center; }
.verse { color: var(--gold); font-family: var(--font-display); font-style: italic; }
.small { margin-top: 12px; font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 859px) { .give-inner { grid-template-columns: 1fr; text-align: center; } }

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
  font-size: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.8fr;
  gap: 40px;
}
.footer-brand img { width: 220px; }
.footer-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.site-footer address { font-style: normal; margin-bottom: 1em; }
.strip-link { color: inherit; text-decoration: underline; text-decoration-color: var(--gold-deep); }
.strip-link:hover { color: var(--gold-light); }
.footer-links li + li { margin-top: 6px; }
.social-links { margin-top: 20px; display: grid; gap: 4px; }
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text-soft);
  font-weight: 600;
  text-decoration: none;
}
.social-links a:hover { color: var(--gold-light); }
.social-links svg {
  width: 36px;
  height: 36px;
  padding: 7px;
  fill: var(--gold);
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.footer-links a { color: var(--text-soft); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }
.footer-meta-links { display: flex; gap: 20px; }
.footer-meta-links a { color: var(--text-muted); }
.footer-meta-links a:hover { color: var(--gold-light); }
@media (max-width: 859px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand img { margin-inline: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ===== Inner pages ===== */

.site-nav ul a[aria-current="page"] { color: var(--gold-light); border-bottom-color: var(--gold); }

.page-header {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 120% at 0% 0%, rgba(214, 187, 95, 0.08), transparent 70%), var(--bg);
}
.page-header h1 { max-width: 18ch; }
.page-header .lead { max-width: 52ch; margin: 0; color: var(--text-soft); }

.narrow { max-width: 820px; }
.h3 { font-size: 1.4rem; }

.visit-grid,
.give-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.visit-card {
  padding: 28px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
}
.visit-card address { font-style: normal; margin-bottom: 20px; color: var(--text); font-size: 1.15rem; }
.visit-card + .visit-card { margin-top: 0; }

.time-list { margin: 0; }
.time-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.time-list > div:last-child { border-bottom: 0; }
.time-list dt { color: var(--text-soft); }
.time-list dd { margin: 0; color: var(--text); font-weight: 700; white-space: nowrap; }
.time-list-large dt, .time-list-large dd { font-size: 1.2rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.faq details + details { margin-top: 12px; }
.faq summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.2rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1.6rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p { margin: 0; padding: 0 24px 20px; }

.cta-band { border-top: 1px solid var(--line); }
.cta-inner { text-align: center; }
.cta-inner .btn-row { justify-content: center; }
.cta-inner p { margin-inline: auto; max-width: 52ch; }

/* Ministries page */
.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.jump-links a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.jump-links a:hover { border-color: var(--gold); color: var(--gold-light); }
.ministry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.ministry-detail {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  scroll-margin-top: 110px;
}
.ministry-detail h2 { font-size: 1.6rem; }
.ministry-lead { color: var(--text); font-size: 1.1rem; }
.ministry-facts { margin: 16px 0 0; }
.ministry-facts > div { display: flex; gap: 10px; }
.ministry-facts dt { color: var(--gold); font-weight: 700; }
.ministry-facts dd { margin: 0; }

/* Sermons */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 40%, rgba(214, 187, 95, 0.18), transparent 60%), var(--bg-raised);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.video-play-icon svg {
  width: 84px;
  height: 84px;
  padding: 18px;
  fill: var(--bg);
  background: var(--gold);
  border-radius: 50%;
  transition: transform 0.2s, background-color 0.2s;
}
.video-play:hover .video-play-icon svg { transform: scale(1.06); background: var(--gold-light); }
.video-play-label { font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.6rem); text-align: center; }
.video-play-note { color: var(--text-muted); font-size: 0.9rem; }
.sermon-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: center; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-info { display: grid; gap: 20px; }
@media (max-width: 859px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 599px) { .field-row { grid-template-columns: 1fr; } }
.field label { color: var(--text); font-weight: 600; }
.optional { color: var(--text-muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--bg-raised);
  color: var(--text);
  border: 1px solid #55514a;
  border-radius: 10px;
  font: inherit;
  font-size: 1.05rem;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.contact-form .btn { justify-self: start; }
.plain-list li + li { margin-top: 8px; }

/* Text pages */
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

.mission-statement {
  margin: 0 auto;
  max-width: 820px;
  color: var(--cream-text);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.45;
}
