/* ============================================================
   Hisdayspring Evangelical Ministries International
   Main stylesheet — pure CSS3, mobile-first, no frameworks
   Palette: deep navy (reverence) + dawn gold (hope) + warm paper
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand colors */
  --navy-950: #081426;
  --navy-900: #0B1F3A;
  --navy-800: #12294B;
  --navy-700: #1A3560;
  --navy-600: #234879;
  --blue-500: #2E5FA3;
  --blue-100: #E8EEF7;
  --blue-050: #F2F6FB;

  --gold-600: #A8861B;
  --gold-500: #C9A227;
  --gold-400: #E0B63C;
  --gold-200: #F0DFA6;
  --gold-100: #F8F0D8;

  --ink-900: #1B2430;
  --ink-700: #33404F;
  --ink-600: #4A5568;
  --ink-500: #64748B;
  --ink-300: #C3CAD4;

  --paper: #FFFFFF;
  --cream: #FAF8F2;
  --sand: #F1ECE0;
  --line: #E6E1D4;
  --line-soft: #EEEAE0;

  --ok-600: #1E7A46;
  --ok-100: #E4F4EA;
  --warn-100: #FBF3DC;
  --danger-600: #B23A3A;
  --danger-100: #FBEAEA;

  /* Typography */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.35rem, 2.4vw, 1.625rem);
  --fs-2xl: clamp(1.7rem, 3.6vw, 2.375rem);
  --fs-3xl: clamp(2.1rem, 5vw, 3.25rem);
  --fs-hero: clamp(2.35rem, 6.5vw, 4.15rem);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.25rem, 8vw, 6rem);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.08), 0 1px 2px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 6px 18px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.16);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
audio { width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 0.6em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

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

a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }

ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.45em; }

strong { color: var(--navy-900); }

blockquote {
  margin: 0 0 1em;
  padding: 0.35em 0 0.35em 1.1em;
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  color: var(--navy-800);
}

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--sand);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}

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

/* Accessibility helpers */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 300;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; color: #fff; text-decoration: none; }

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

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy-900); color: #DCE5F1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.75rem); }

.section-head { max-width: 720px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.9em;
}
.section-head .kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.section-head .lede { color: var(--ink-600); font-size: var(--fs-lg); }
.section--navy .section-head .kicker { color: var(--gold-400); }
.section--navy .section-head .lede { color: #B9C7DB; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split--55 { grid-template-columns: 1.15fr 1fr; }
  .split--40 { grid-template-columns: 1fr 1.2fr; }
}

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  padding: 0.82em 1.5em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
  min-height: 44px;
}
/* Inline button icons: fixed size so they never scale with the button */
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--sm svg { width: 0.95em; height: 0.95em; }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-950); }

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

.btn--outline-light { border-color: rgba(255,255,255,0.75); color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn--outline-navy { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline-navy:hover { background: var(--navy-800); color: #fff; }

.btn--sm { padding: 0.5em 1.05em; font-size: var(--fs-sm); min-height: 38px; }
.btn--block { width: 100%; }

.btn .btn__icon { width: 1.1em; height: 1.1em; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: var(--blue-500);
}
.link-arrow::after { content: "→"; transition: transform 0.18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 5. Utility bar ---------- */
.utility-bar {
  background: var(--navy-950);
  color: #C9D4E4;
  font-size: var(--fs-sm);
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}
.utility-bar a { color: #C9D4E4; }
.utility-bar a:hover { color: var(--gold-400); }
.utility-bar__contact { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.utility-bar__contact .u-item { display: inline-flex; align-items: center; gap: 0.45em; white-space: nowrap; }
.utility-bar__contact svg { width: 14px; height: 14px; opacity: 0.8; flex: none; }
.utility-bar__right { display: flex; align-items: center; gap: 0.9rem; }
.utility-bar__social { display: inline-flex; align-items: center; gap: 0.35rem; }
.utility-bar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  transition: background 0.18s var(--ease);
}
.utility-bar__social a:hover { background: rgba(255,255,255,0.12); }
.utility-bar__social svg { width: 15px; height: 15px; }
.utility-bar__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  color: var(--gold-400) !important;
}
.utility-bar__live .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--danger-600);
  animation: pulse-dot 1.6s infinite;
}
@media (max-width: 767px) {
  .utility-bar { display: none; }
}

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }

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

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 44px; height: 44px; flex: none; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--navy-900);
  line-height: 1.1;
  display: block;
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.brand--light .brand__name { color: #fff; }
.brand--light .brand__tag { color: var(--gold-400); }

/* Desktop nav */
.main-nav { display: none; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.6em 0.85em;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  position: relative;
}
.main-nav a:hover { color: var(--navy-800); background: var(--blue-050); text-decoration: none; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0.85em; right: 0.85em; bottom: 2px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.is-open > a::after,
.main-nav > ul > li.is-active > a::after { transform: scaleX(1); }
.main-nav .caret {
  width: 0.7em; height: 0.7em;
  transition: transform 0.2s var(--ease);
}
.main-nav li.is-open > a .caret,
.main-nav li:hover > a .caret { transform: rotate(180deg); }

/* Dropdowns */
.has-sub { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 220;
}
.has-sub.is-open > .submenu,
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a {
  display: block;
  padding: 0.6em 0.9em;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--ink-700);
}
.submenu a:hover { background: var(--blue-050); color: var(--navy-800); }
.submenu .submenu__label {
  padding: 0.5em 0.9em 0.3em;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
}
.submenu--right { left: auto; right: 0; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-actions .btn { display: none; }
@media (min-width: 1240px) {
  .header-actions .btn { display: inline-flex; }
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle .bar {
  width: 20px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

/* ---------- 7. Mobile navigation panel ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 250;
  background: var(--navy-900);
  color: #E3EAF4;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0.3s;
  overscroll-behavior: contain;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  min-height: var(--header-h);
}
.mobile-nav__close {
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-nav__scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem var(--gutter) 2rem;
}
.mobile-nav__scroll > ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav__scroll ul ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav__scroll > ul > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav__scroll a, .accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.65rem 0.25rem;
  color: #E3EAF4;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}
.mobile-nav__scroll a:hover { color: var(--gold-400); text-decoration: none; }
.accordion__btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}
.accordion__btn .caret { width: 20px; height: 20px; flex: none; transition: transform 0.22s var(--ease); }
.accordion__btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.accordion__panel {
  display: none;
  padding: 0 0 0.6rem 1rem;
}
.accordion__panel.is-open { display: block; }
.accordion__panel a {
  min-height: 46px;
  font-size: 0.98rem;
  font-weight: 500;
  color: #C4D1E3;
  justify-content: flex-start;
}
.accordion__panel a::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-right: 0.75em;
  flex: none;
}
.mobile-nav__ctas {
  padding: 0.85rem var(--gutter) 1.15rem;
  display: grid;
  gap: 0.55rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: var(--navy-950);
}
/* Compact CTA buttons in the mobile panel */
.mobile-nav__ctas .btn {
  min-height: 44px;
  padding: 0.6em 1.2em;
  font-size: 0.95rem;
}
.mobile-nav__ctas .btn svg { width: 16px; height: 16px; }
.mobile-nav__meta {
  padding: 0 0 1.2rem;
  font-size: var(--fs-sm);
  color: #9FB0C7;
  display: grid;
  gap: 0.3rem;
}
.mobile-nav__meta a { color: #C4D1E3; }

body.nav-locked { overflow: hidden; }

/* ---------- 8. Hero (home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(46, 95, 163, 0.5), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(201, 162, 39, 0.28), transparent 55%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #EAF0F8;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 20%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__rays {
  position: absolute;
  right: -140px;
  top: -140px;
  width: 560px;
  height: 560px;
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
  max-width: 780px;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  border: 1px solid rgba(224, 182, 60, 0.4);
  background: rgba(224, 182, 60, 0.09);
  padding: 0.5em 1em;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
}
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }
.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  margin-bottom: 0.4em;
}
.hero h1 .accent { color: var(--gold-400); font-style: italic; }
.hero__lede {
  font-size: var(--fs-lg);
  color: #C3D0E2;
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.4rem; }
.hero__verse {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  max-width: 560px;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: var(--fs-sm);
  color: #A9BAD1;
}
.hero__verse svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 2px; }
.hero__verse em { font-family: var(--font-head); color: #D8E2F0; }

/* Service times strip under hero */
.service-strip {
  position: relative;
  z-index: 5;
  margin-top: -34px;
}
.service-strip__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 1.8rem);
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .service-strip__card { grid-template-columns: repeat(3, 1fr); align-items: center; }
}
.service-item { display: flex; gap: 0.8rem; align-items: flex-start; }
.service-item + .service-item { border-top: 1px dashed var(--line); padding-top: 1rem; }
@media (min-width: 900px) {
  .service-item + .service-item { border-top: 0; padding-top: 0; border-left: 1px dashed var(--line); padding-left: 1.25rem; }
}
.service-item__icon {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-item__icon svg { width: 20px; height: 20px; }
.service-item h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 0.15em;
}
.service-item p { font-weight: 600; color: var(--navy-900); margin: 0; font-size: 0.98rem; }
.service-item p small { display: block; font-weight: 500; color: var(--ink-600); font-size: 0.82rem; }

/* ---------- 9. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(46, 95, 163, 0.45), transparent 60%),
    linear-gradient(155deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  color: #EAF0F8;
  padding-block: clamp(2.6rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), transparent 70%);
}
.page-hero .breadcrumb {
  font-size: var(--fs-sm);
  color: #9FB0C7;
  margin-bottom: 0.9rem;
}
.page-hero .breadcrumb a { color: #C4D1E3; }
.page-hero .breadcrumb a:hover { color: var(--gold-400); }
.page-hero .breadcrumb span[aria-current] { color: var(--gold-400); }
.page-hero h1 { color: #fff; margin-bottom: 0.35em; }
.page-hero .lede { color: #C3D0E2; max-width: 680px; font-size: var(--fs-lg); }

/* ---------- 10. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; gap: 0.3rem; }
.card__title { font-size: 1.15rem; margin: 0 0 0.25em; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--blue-500); text-decoration: none; }
.card__text { color: var(--ink-600); font-size: 0.95rem; }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1em;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 0.4rem;
}
.card__meta .m-gold { color: var(--gold-600); }
.card__foot {
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Ministry area / quick-link card */
.area-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-200));
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-200); }
.area-card:hover::before { opacity: 1; }
.area-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-800), var(--blue-500));
  color: #F3D98B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}
.area-card__icon svg { width: 24px; height: 24px; }
.area-card h3 { font-size: 1.12rem; margin: 0; }
.area-card p { color: var(--ink-600); font-size: 0.93rem; margin: 0; }
.area-card .link-arrow { font-size: 0.92rem; margin-top: auto; padding-top: 0.5rem; }

/* Centre card */
.centre-card { border-top: 4px solid var(--gold-500); }
.centre-card h3 { margin-bottom: 0.15em; }
.centre-card .centre-city {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.7rem;
  display: block;
}
.centre-info { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.6rem; font-size: 0.95rem; }
.centre-info li { display: flex; gap: 0.65rem; margin: 0; }
.centre-info svg { width: 17px; height: 17px; color: var(--blue-500); flex: none; margin-top: 3px; }
.centre-info .centre-lines { overflow-wrap: anywhere; }
.centre-times {
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
}
.centre-times strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); margin-bottom: 0.25em; }
.centre-times ul { list-style: none; margin: 0; padding: 0; }
.centre-times li { display: flex; justify-content: space-between; gap: 1em; border-bottom: 1px dashed var(--blue-100); padding: 0.22em 0; }
.centre-times li:last-child { border-bottom: 0; }
.centre-times .t-day { color: var(--ink-700); font-weight: 600; }
.centre-times .t-time { color: var(--navy-800); font-weight: 700; white-space: nowrap; }

/* Pastor card */
.pastor-card { text-align: left; }
.pastor-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(420px 260px at 80% 0%, rgba(46,95,163,0.55), transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  position: relative;
  overflow: hidden;
}
.pastor-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 60%, black 20%, transparent 80%);
}
.pastor-avatar .monogram {
  position: relative;
  z-index: 2;
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-950);
  background: linear-gradient(145deg, var(--gold-400), var(--gold-600));
  border: 3px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.pastor-avatar--sm { width: 64px; height: 64px; aspect-ratio: auto; max-height: none; border-radius: 50%; flex: none; }
.pastor-avatar--sm .monogram { width: 44px; height: 44px; font-size: 1rem; border-width: 2px; }
.pastor-card .card__body { text-align: left; }
.pastor-role {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-100);
  border-radius: var(--radius-pill);
  padding: 0.3em 0.9em;
  margin-bottom: 0.6rem;
}
.pastor-bio { font-size: 0.93rem; color: var(--ink-600); }
.pastor-bio p + p { margin-top: 0.7em; }

/* Sermon card */
.sermon-thumb {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(300px 160px at 75% 15%, rgba(201,162,39,0.4), transparent 60%),
    linear-gradient(140deg, var(--navy-800), var(--navy-950));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sermon-thumb svg { width: 46px; height: 46px; color: rgba(243, 217, 139, 0.9); position: relative; z-index: 1; }
/* Real video thumbnail fills the card head */
.sermon-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sermon-thumb .play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 1;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(11,31,58,0.45);
  border: 1.5px solid rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(2px);
}
.sermon-thumb .play-badge svg { width: 20px; height: 20px; }

/* Event card */
.event-card { flex-direction: row; }
.event-date-chip {
  flex: none;
  width: 74px;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.4rem;
}
.event-date-chip .d-day { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-400); }
.event-date-chip .d-num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; line-height: 1.05; }
.event-date-chip .d-mon { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #AFC0D8; }
@media (max-width: 480px) {
  .event-date-chip { width: 64px; }
  .event-date-chip .d-num { font-size: 1.4rem; }
}

/* Bulletin card */
.bulletin-cover {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.bulletin-cover .cover-inner {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1rem;
  color: #DCE5F1;
}
.bulletin-cover .cover-month { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); }
.bulletin-cover .cover-year { font-family: var(--font-head); font-size: 1.9rem; color: #fff; }
.bulletin-cover svg { width: 30px; height: 30px; color: rgba(243,217,139,0.85); }

/* ---------- 11. Feature blocks ---------- */
.feature-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(500px 300px at 80% 0%, rgba(201,162,39,0.35), transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11,31,58,0.08);
  box-shadow: var(--shadow-md);
}
.feature-figure svg { width: 46%; max-width: 220px; height: auto; opacity: 0.95; }
.feature-figure__caption {
  position: absolute;
  left: 1.2rem; bottom: 1rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
}
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 560px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat {
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}
.stat b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy-900); line-height: 1.1; }
.stat span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-600); font-weight: 600; }

/* Scripture band */
.scripture-band {
  position: relative;
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(201,162,39,0.16), transparent 55%),
    var(--navy-900);
  color: #E5ECF6;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  overflow: hidden;
}
.scripture-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, black, transparent);
  mask-image: linear-gradient(180deg, black, transparent);
  pointer-events: none;
}
.scripture-band .container { position: relative; text-align: center; max-width: 800px; }
.scripture-band .sb-icon { width: 34px; height: 34px; color: var(--gold-400); margin: 0 auto 1rem; }
.scripture-band blockquote {
  border: 0;
  padding: 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-style: italic;
  color: #F2F6FC;
  margin-bottom: 0.9rem;
}
.scripture-band cite {
  font-style: normal;
  font-size: var(--fs-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 4.5vw, 3rem);
  color: #E5ECF6;
  display: grid;
  gap: 1.4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 30px solid rgba(201,162,39,0.16);
  pointer-events: none;
}
@media (min-width: 860px) {
  .cta-band { grid-template-columns: 1fr auto; }
}
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: #BCCBDE; margin: 0; }
.cta-band__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- 12. Giving ---------- */
.account-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.account-card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.1rem; margin-bottom: 0.9rem; }
.account-card h3 svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; }
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.65rem 0;
  border-top: 1px dashed var(--line);
}
.account-row__label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); display: block; }
.account-row__value { font-weight: 600; color: var(--navy-900); overflow-wrap: anywhere; }
.copy-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--blue-500);
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-pill);
  padding: 0.45em 0.95em;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.copy-btn:hover { background: var(--navy-800); color: #fff; }
.copy-btn.is-copied { background: var(--ok-600); border-color: var(--ok-600); color: #fff; }
.copy-btn svg { width: 13px; height: 13px; }

/* ---------- 13. Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 1.9rem);
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--2 .field--full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--navy-900);
}
.field label .req { color: var(--danger-600); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75em 0.95em;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  min-height: 46px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 95, 163, 0.15);
}
.field.is-invalid input, .field.is-invalid textarea {
  border-color: var(--danger-600);
  background: var(--danger-100);
}
.field-error {
  display: none;
  font-size: 0.83rem;
  color: var(--danger-600);
  font-weight: 600;
  margin-top: 0.35rem;
}
.field.is-invalid .field-error { display: block; }
.field-hint { font-size: 0.83rem; color: var(--ink-500); margin-top: 0.35rem; }

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.93rem;
  margin-bottom: 1.1rem;
  border: 1px solid transparent;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--ok-100); color: var(--ok-600); border-color: #CBE7D6; }
.form-status--warn { background: var(--warn-100); color: #7A5D12; border-color: #EAD9A8; }
.form-status--error { background: var(--danger-100); color: var(--danger-600); border-color: #F0CBCB; }
.form-status a { font-weight: 600; }

.form-privacy-note {
  font-size: 0.83rem;
  color: var(--ink-500);
  margin-top: 0.9rem;
}
.form-privacy-note a { font-weight: 600; }

/* Newsletter */
.newsletter {
  background:
    radial-gradient(600px 260px at 90% 10%, rgba(201,162,39,0.22), transparent 55%),
    var(--navy-900);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.5rem);
  color: #E5ECF6;
}
.newsletter h2 { color: #fff; font-size: 1.45rem; }
.newsletter p { color: #B9C7DB; font-size: 0.95rem; }
.newsletter__form { display: grid; gap: 0.7rem; max-width: 520px; }
@media (min-width: 560px) {
  .newsletter__form { grid-template-columns: 1fr auto; align-items: start; }
}

/* ---------- 14. Filter chips, search, states ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.5em 1.1em;
  cursor: pointer;
  transition: all 0.16s var(--ease);
  min-height: 40px;
}
.chip:hover { border-color: var(--blue-500); color: var(--blue-500); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.search-wrap { position: relative; flex: 1 1 240px; max-width: 360px; }
.search-wrap svg {
  position: absolute;
  left: 0.95em; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--ink-500);
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.6em 1em 0.6em 2.6em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink-900);
}
.search-wrap input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(46,95,163,0.14); }

.select-wrap select {
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-700);
  padding: 0.5em 2.2em 0.5em 1em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2333404F' stroke-width='2' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right 0.9em center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select-wrap select:focus { outline: none; border-color: var(--blue-500); }

.results-count { font-size: var(--fs-sm); color: var(--ink-500); margin-bottom: 1.2rem; }
.results-count b { color: var(--navy-900); }

.empty-state {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 6vw, 3.25rem) 1.5rem;
  text-align: center;
  color: var(--ink-600);
  background: var(--cream);
}
.empty-state svg { width: 44px; height: 44px; color: var(--gold-500); margin: 0 auto 1rem; }
.empty-state h3 { margin-bottom: 0.3em; }
.empty-state p { max-width: 460px; margin-inline: auto; }

.load-more-wrap { text-align: center; margin-top: 2rem; }

.no-results { display: none; }
.no-results.is-visible { display: block; }

/* ---------- 15. Media (video / audio) ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-950);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background:
    radial-gradient(500px 260px at 75% 10%, rgba(201,162,39,0.3), transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-family: var(--font-body);
  padding: 1rem;
}
/* Real YouTube thumbnail inside the click-to-play placeholder */
.video-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0.15), rgba(11,31,58,0.72));
}
.video-placeholder > span { position: relative; z-index: 1; }
.video-placeholder .vp-play {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.video-placeholder:hover .vp-play { transform: scale(1.08); background: rgba(201,162,39,0.55); }
.video-placeholder .vp-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-placeholder .vp-title { font-weight: 600; font-size: 0.95rem; max-width: 34ch; text-align: center; padding-inline: 1rem; }
.video-placeholder .vp-note { font-size: var(--fs-xs); color: #A9BAD1; }

/* Video placeholder nested in a sermon card keeps the card head shape */
.video-frame--card {
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16 / 9;
}

.audio-block {
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}
.audio-block .ab-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-600);
  margin-bottom: 0.5rem;
}
.audio-block .ab-label svg { width: 15px; height: 15px; color: var(--blue-500); }

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  background: var(--warn-100);
  border: 1px solid #EAD9A8;
  color: #7A5D12;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  padding: 0.5em 1.1em;
}
.live-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-600); }

/* Share row */
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.share-row .share-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); margin-right: 0.3em; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.45em 1em;
  background: #fff;
  cursor: pointer;
  transition: all 0.16s var(--ease);
  text-decoration: none;
}
.share-btn:hover { border-color: var(--navy-800); color: var(--navy-800); text-decoration: none; }
.share-btn svg { width: 14px; height: 14px; }

/* ---------- 16. Prose / content blocks ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul li, .prose ol li { margin-bottom: 0.5em; }

.pill-list { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.pill-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin: 0;
  font-size: 0.96rem;
}
.pill-list li svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; margin-top: 3px; }

.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 0.6em; }
.check-list svg { width: 18px; height: 18px; color: var(--ok-600); flex: none; margin-top: 4px; }

.step-list { counter-reset: step; list-style: none; padding: 0; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 3.2rem;
  margin-bottom: 1.1rem;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.notice {
  display: flex;
  gap: 0.8rem;
  background: var(--warn-100);
  border: 1px solid #EAD9A8;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  font-size: 0.93rem;
  color: #6B5310;
}
.notice svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: #A8861B; }
.notice--info { background: var(--blue-050); border-color: var(--blue-100); color: var(--navy-800); }
.notice--info svg { color: var(--blue-500); }

.placeholder-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A5D12;
  background: var(--gold-100);
  border: 1px dashed var(--gold-500);
  border-radius: 4px;
  padding: 0.2em 0.6em;
  vertical-align: middle;
}

/* ---------- 17. Hymn list ---------- */
.hymn-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.hymn-item + .hymn-item { margin-top: 0.7rem; }
.hymn-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  min-height: 52px;
}
.hymn-item__head:hover { background: var(--cream); }
.hymn-item__head h3 { font-size: 1.02rem; margin: 0; font-family: var(--font-body); font-weight: 600; color: var(--navy-900); }
.hymn-item__head .hymn-first { display: block; font-size: 0.83rem; color: var(--ink-500); font-weight: 400; margin-top: 0.15em; }
.hymn-item__head .caret { width: 20px; height: 20px; flex: none; transition: transform 0.2s var(--ease); color: var(--ink-500); }
.hymn-item__head[aria-expanded="true"] .caret { transform: rotate(180deg); }
.hymn-item__body { display: none; padding: 0.4rem 1.2rem 1.3rem; }
.hymn-item__body.is-open { display: block; }
.hymn-item__body .verse { white-space: pre-line; color: var(--ink-700); font-size: 0.96rem; line-height: 1.75; }
.hymn-item__body .refrain { font-style: italic; color: var(--navy-800); }

/* ---------- 18. Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
}
.data-table th {
  text-align: left;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  background: var(--cream);
  padding: 0.8em 1em;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 0.85em 1em;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: 0; }

/* ---------- 19. Contact / centre list ---------- */
.contact-line { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-line svg { width: 19px; height: 19px; color: var(--blue-500); flex: none; margin-top: 3px; }
.contact-line a { overflow-wrap: anywhere; }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: 0.92rem;
}
.map-link svg { width: 15px; height: 15px; }

/* ---------- 20. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #A9BAD1;
  font-size: 0.93rem;
  margin-top: 0;
}
.footer-top {
  display: grid;
  gap: 2.2rem;
  padding-block: clamp(2.75rem, 6vw, 4rem) 2.2rem;
}
@media (min-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-social { display: flex; gap: 0.55rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #C9D4E4;
  transition: all 0.18s var(--ease);
}
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55em; }
.footer-col a { color: #A9BAD1; }
.footer-col a:hover { color: var(--gold-400); }
.footer-col .f-centre { margin-bottom: 1rem; }
.footer-col .f-centre b { color: #E3EAF4; display: block; font-size: 0.92rem; }
.footer-col .f-centre span { display: block; font-size: 0.86rem; line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: #8FA3BF; }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- 21. Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 180;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--navy-900);
  color: var(--gold-400);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-500); color: var(--navy-950); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- 22. Misc ---------- */
.badge-year {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-600);
  background: var(--sand);
  border-radius: var(--radius-pill);
  padding: 0.3em 0.9em;
}
.divider-sun {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--gold-500);
  margin-block: 0.5rem;
}
.divider-sun::before, .divider-sun::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.divider-sun::after { background: linear-gradient(90deg, var(--gold-500), transparent); }
.divider-sun svg { width: 22px; height: 22px; flex: none; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
