/* ==========================================================================
   The Cosmopolitan Church — stylesheet
   Design tokens taken from the approved design system (26 Aug 2026):
   Kalnia for hero + page title, Kanit for everything else.
   Mobile-first; the desktop layout begins at 900px.
   ========================================================================== */

/* --- Fonts (self-hosted, Latin, woff2) ----------------------------------- */
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/kanit-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/kanit-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/kanit-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Kalnia';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/kalnia-latin-600-normal.woff2') format('woff2');
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Brand */
  --ink: #14152E;
  --indigo: #212582;
  --indigo-deep: #1A1D6B;
  --indigo-panel: #1E2044;
  --purple: #761DFF;
  --purple-link: #701CF2;
  --purple-strong: #521AB0;
  --magenta: #D80E81;
  --pink: #F00F8F;
  --pink-light: #FF63B8;

  /* Neutrals */
  --muted: #4E5364;
  --muted-2: #565B6B;
  --muted-3: #9195A6;
  --line: #E4E4EF;
  --line-2: #EDEDF4;
  --bg: #F7F7FB;
  --bg-2: #FBFBFE;
  --white: #FFFFFF;

  /* On dark */
  --on-indigo: #C9C6F0;
  --on-indigo-dim: #9FA0C4;

  /* Utility accents */
  --green: #1D9E5C;
  --green-bg: #E8F8EE;
  --pink-bg: #FFF0F7;
  --lilac-bg: #EFEBFF;
  --yt-red: #FF0033;

  /* Type */
  --font-serif: 'Kalnia', Georgia, 'Times New Roman', serif;
  --font-sans: 'Kanit', 'Segoe UI', system-ui, sans-serif;

  /* Radii */
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 10px;
  --pill: 999px;

  /* Layout */
  --measure: 720px;      /* prose line length ceiling (~70 chars) */
  --pad: 20px;           /* phone side padding */
  --maxw: 1200px;        /* content max width */
  --header-h: 64px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--purple-link); text-decoration: none; }
a:hover { color: var(--purple-strong); text-decoration: underline; }

h1, h2, h3, h4, p { margin: 0; }

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

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

/* --- Layout helpers ------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: 32px; }
.section--tight { padding-block: 24px; }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap, 16px); }

.measure { max-width: var(--measure); text-wrap: pretty; }

/* --- Typography roles ---------------------------------------------------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.eyebrow--pink { color: var(--pink-light); }

.rule {
  width: 52px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -0.015em;
}
.page-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.24;
  letter-spacing: -0.01em;
}
h2.section-title, .section-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.secondary { font-size: 15px; line-height: 1.6; color: var(--muted); }
.big-num {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}
.prose p + p { margin-top: 1em; }
.prose p { text-wrap: pretty; }
.prose em { font-style: italic; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--pill);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-strong); color: #fff; }
.btn--outline { background: #fff; color: var(--indigo); border-color: var(--indigo); }
.btn--outline:hover { background: var(--indigo); color: #fff; }
.btn--outline-light { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-light:hover { background: rgba(255,255,255,0.18); color: #fff; }
.btn--block { display: flex; width: 100%; }

/* --- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 12px;
}
.site-header__logo img { width: 168px; height: auto; }

/* Light header chrome, every page. The hamburger reads dark against the
   white bar. The mobile dropdown panel stays dark (see .js .nav__panel),
   so its light links are only overridden in the no-JS stacked fallback. */
.site-header .nav__toggle { color: var(--ink); }
.no-js .site-header .nav__panel a { color: var(--ink); }

/* Mobile nav — progressive enhancement.
   No JS: links are visible (stacked). With JS: collapses to a toggle button. */
.nav { position: relative; }
.nav__toggle {
  display: none;                 /* shown only when JS is available (mobile) */
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #fff;
}
.js .nav__toggle { display: inline-flex; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.nav__panel {
  display: flex;
  flex-direction: column;
}
/* When JS is present, the panel collapses into a dropdown on mobile */
.js .nav__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 240px;
  background: var(--ink);
  border: 1px solid var(--indigo-panel);
  border-radius: var(--r-md);
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.js .nav__panel[hidden] { display: none; }
.nav__panel a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--on-indigo);
  font-size: 17px;
  font-weight: 500;
}
.nav__panel a:hover { background: var(--indigo-panel); color: #fff; text-decoration: none; }
.nav__panel a[aria-current="page"] { color: #fff; background: var(--indigo-panel); }
.nav__panel .nav__give { color: var(--pink-light); }

/* Desktop nav: inline links, no disclosure */
@media (min-width: 900px) {
  .nav__toggle, .js .nav__toggle { display: none; }
  .nav__panel,
  .js .nav__panel,
  .js .nav__panel[hidden] {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    min-width: 0;
    inset: auto;
  }
  .nav__panel a {
    padding: 8px 12px;
    color: var(--on-indigo);
    font-size: 16px;
  }
  .nav__panel a:hover { background: rgba(255,255,255,0.10); color: #fff; }
  .nav__panel a[aria-current="page"] { background: transparent; color: #fff; box-shadow: inset 0 -2px 0 var(--pink-light); border-radius: 0; }
  .nav__give {
    margin-left: 8px;
    background: var(--purple);
    color: #fff !important;
    border-radius: var(--pill);
    padding: 8px 18px !important;
  }
  .nav__give:hover { background: var(--purple-strong) !important; }

  /* Dark inline links on the light bar */
  .site-header .nav__panel a { color: var(--ink); }
  .site-header .nav__panel a:hover { background: rgba(20, 21, 46, 0.06); color: var(--indigo); }
  .site-header .nav__panel a[aria-current="page"] { color: var(--indigo); box-shadow: inset 0 -2px 0 var(--pink); }
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--bg);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-block: 32px 40px;
}
.site-footer__logo { width: 150px; opacity: 1; margin-bottom: 16px; }
.site-footer__grid { display: flex; flex-direction: column; gap: 24px; }
.site-footer a { color: var(--indigo); }
.site-footer a:hover { color: var(--purple-strong); }
.footer-address { font-size: 15px; line-height: 1.55; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { font-size: 15px; }
.social-row { display: flex; gap: 12px; padding-top: 4px; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--pill);
  background: var(--indigo-panel);
}
.social-row svg { width: 19px; height: 19px; }
.footer-legal {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted-3);
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
}

/* --- Interior page hero (indigo band) ------------------------------------ */
.pagehero {
  background: var(--indigo);
  color: #fff;
  padding-block: 36px 40px;
}
.pagehero .rule { background: linear-gradient(90deg, var(--pink-light), var(--pink)); }
.pagehero .eyebrow { color: var(--pink-light); }
.pagehero .page-title { color: #fff; }
.pagehero__lede { color: var(--on-indigo); font-size: 17px; line-height: 1.65; text-wrap: pretty; }

/* --- Cards / surfaces ---------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 18px;
}
.card--pad-lg { padding: 24px; }
.card--flush { padding: 0; overflow: hidden; }
.panel { background: var(--bg); border-radius: var(--r-lg); }
.panel--indigo { background: var(--indigo); color: #fff; }
.panel--ink { background: var(--ink); color: #fff; }
.panel--lilac { background: var(--lilac-bg); }

/* Service / schedule card */
.svc { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.svc__head {
  background: var(--indigo); color: #fff;
  padding: 15px 18px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.svc__head-title { font-size: 18px; font-weight: 600; }
.svc__head-note { font-size: 13px; font-weight: 500; color: var(--on-indigo); }
.svc__body { padding: 2px 18px; }
.svc__row {
  display: flex; align-items: baseline; gap: 16px; padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
}
.svc__row:last-child { border-bottom: 0; }
.svc__time { width: 96px; flex-shrink: 0; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.svc__desc { font-size: 16px; line-height: 1.5; color: var(--muted); }
.svc__foot {
  background: var(--bg); padding: 13px 18px;
  font-size: 15px; line-height: 1.5; color: var(--muted);
  border-top: 1px solid var(--line-2);
}

/* Simple label/value info row */
.inforow {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.inforow__label { font-size: 17px; font-weight: 600; }
.inforow__sub { font-size: 15px; line-height: 1.5; color: var(--muted); }
.inforow__value { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; flex-shrink: 0; }

/* Icon + text feature card */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.feature__icon svg { width: 20px; height: 20px; }
.ico-purple { background: var(--lilac-bg); color: var(--purple-strong); }
.ico-pink { background: var(--pink-bg); color: var(--magenta); }
.ico-green { background: var(--green-bg); color: var(--green); }
.feature__title { font-size: 17px; font-weight: 600; }
.feature__text { font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* Pill tag */
.tag {
  align-self: flex-start;
  display: inline-block;
  border-radius: var(--pill);
  padding: 4px 11px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.tag--pink { background: var(--pink-bg); color: var(--magenta); }
.tag--purple { background: var(--lilac-bg); color: var(--purple-strong); }

/* --- Grids --------------------------------------------------------------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* --- Desktop: section heading in a fixed left column --------------------- */
@media (min-width: 900px) {
  :root { --pad: 64px; }
  body { font-size: 18px; }
  .hero-title { font-size: 56px; line-height: 1.08; }
  .page-title { font-size: 36px; line-height: 1.15; }
  .section-title { font-size: 24px; }
  .lede { font-size: 18px; }
  .section { padding-block: 56px; }

  .split {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
  .split__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* --- Form ---------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea, .field select {
  font-family: var(--font-sans);
  font-size: 17px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--purple); outline: none;
  box-shadow: 0 0 0 3px rgba(118,29,255,0.15);
}
.form-note { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* --- Giving accounts ----------------------------------------------------- */
.account {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.account__purpose { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-strong); }
.account__bank { font-size: 15px; color: var(--muted); }
.account__num {
  font-size: 24px; font-weight: 600; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.copy-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--bg-2);
  border-radius: var(--pill); padding: 8px 16px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--indigo);
  cursor: pointer;
}
.copy-btn:hover { background: var(--lilac-bg); border-color: var(--purple); }
.copy-btn[data-copied="true"] { color: var(--green); border-color: var(--green); background: var(--green-bg); }

/* --- Sermons placeholder skeleton --------------------------------------- */
.sermon-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .sermon-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) { .sermon-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.sermon-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sermon-card__thumb { aspect-ratio: 16/9; background: var(--bg); position: relative; }
.sermon-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sermon-card__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.sermon-card__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.sermon-card__meta { font-size: 14px; color: var(--muted); }

/* --- Notice (amber) — used sparingly for genuine "coming soon" states ---- */
.notice {
  background: #FFF9EC; border: 1px dashed #B4451A; border-radius: var(--r-sm);
  padding: 14px 16px; font-size: 15px; line-height: 1.5; color: var(--muted);
}
.notice strong { color: #B4451A; }

/* --- Home hero ----------------------------------------------------------- */
.home-hero {
  position: relative;
  min-height: 580px;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.home-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55;
}
.home-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,21,46,0.86) 0%, rgba(20,21,46,0.30) 32%, rgba(20,21,46,0.95) 100%);
}
.home-hero__body {
  position: relative;
  margin-top: auto;
  padding: 0 var(--pad) 34px;
  display: flex; flex-direction: column; gap: 14px;
}
.home-hero__body .eyebrow { color: var(--pink-light); }
.home-hero__title { color: #fff; }
.home-hero__lede { color: var(--on-indigo); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.home-hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }

/* The compact schedule card shows in the hero on desktop only.
   On phones the schedule lives in its own section below the hero. */
.home-hero__card { display: none; }

@media (min-width: 900px) {
  .home-hero { min-height: 700px; }
  .home-hero__body {
    max-width: var(--maxw);
    margin-inline: auto;
    width: 100%;
    padding-bottom: 64px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 64px;
  }
  .home-hero__inner { max-width: 660px; }
  .home-hero__actions { flex-direction: row; }
  .home-hero__lede { font-size: 19px; max-width: 560px; }

  .home-hero__card {
    display: block;
    width: 372px;
    flex-shrink: 0;
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    overflow: hidden;
  }
  .home-schedule { display: none; }
}

/* Hero schedule card internals (desktop) */
.hero-card__head { padding: 20px 26px 16px; border-bottom: 1px solid var(--line-2); }
.hero-card__body { padding: 4px 26px; }
.hero-card__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line-2);
}
.hero-card__row:last-child { border-bottom: 0; }
.hero-card__row .label { font-size: 17px; font-weight: 600; }
.hero-card__row .sub { font-size: 14px; color: var(--muted-2); }
.hero-card__row .at { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-card__foot { background: var(--bg); padding: 14px 26px; font-size: 15px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line-2); }

/* Indigo band section (Home "what we are about") */
.band { background: var(--indigo); color: #fff; padding-block: 36px; }
.band .eyebrow { color: var(--pink-light); }
.band__lede { color: var(--on-indigo); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.pillar {
  background: var(--indigo-deep); border-radius: var(--r-md);
  padding: 15px 16px; display: flex; align-items: center; gap: 13px;
}
.pillar__bar { width: 4px; height: 32px; border-radius: var(--pill); flex-shrink: 0; }
.pillar__name { font-size: 18px; font-weight: 600; color: #fff; }
.pillar__sub { font-size: 15px; line-height: 1.45; color: var(--on-indigo-dim); }

/* Leader card */
.leader { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.leader__img { width: 100%; height: 300px; object-fit: cover; }
.leader__body { padding: 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.leader__role { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.leader__name { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

/* Event card */
.event-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
/* Posters are portrait with text top and bottom, so contain (never crop) on a
   dark frame rather than cover, which would cut the title off. */
.event-card__img { width: 100%; height: 340px; object-fit: contain; background: var(--ink); display: block; }
@media (min-width: 900px) { .event-card__img { height: 460px; } }
.event-card__body { padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.event-card__title { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.event-times { display: flex; flex-direction: column; gap: 8px; margin-top: 5px; padding-top: 13px; border-top: 1px solid var(--line-2); }
.event-times__row { display: flex; gap: 14px; font-size: 15px; color: var(--muted); }
.event-times__day { width: 90px; flex-shrink: 0; font-weight: 600; color: var(--ink); }
.event-times__at { font-variant-numeric: tabular-nums; }

/* Watch / give call-to-action cards on Home */
.cta-watch { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 26px 20px; display: flex; flex-direction: column; gap: 12px; }
.cta-watch__title { font-size: 21px; font-weight: 600; line-height: 1.3; color: #fff; }
.cta-watch__text { font-size: 16px; line-height: 1.6; color: var(--on-indigo-dim); }
.cta-watch__chip { align-self: flex-start; background: var(--indigo-panel); border-radius: var(--pill); padding: 7px 14px; font-size: 15px; font-weight: 500; color: var(--on-indigo); }
.cta-give { background: var(--lilac-bg); border-radius: var(--r-lg); padding: 26px 20px; display: flex; flex-direction: column; gap: 10px; }
.cta-give__title { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

/* --- Visit page ---------------------------------------------------------- */
.step-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--pill);
  background: var(--lilac-bg); color: var(--purple-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600;
}
.findmap { height: 200px; background: #E9EDF4; overflow: hidden; }
.visit-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 24px 22px; }
.visit-form-grid { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .findmap { height: 236px; }
  [data-find] { grid-template-columns: 420px minmax(0, 1fr); align-items: stretch; }
  [data-find] .card--flush { display: flex; flex-direction: column; }
  .visit-form-grid { grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: center; }
  .visit-form { padding: 34px 32px; }
}

/* --- Story page ---------------------------------------------------------- */
.story-intro { display: grid; gap: 24px; }
.story-intro__prose { display: flex; flex-direction: column; gap: 18px; }
.story-intro__prose p { font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.story-intro__prose p:first-child { font-size: 19px; color: var(--ink); }
.story-stats { display: flex; gap: 12px; }
.story-stats .stat { flex: 1; }
@media (min-width: 900px) {
  .story-intro { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
  .story-stats { flex-direction: column; }
}

.timeline { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 16px; }
.tl-rail { flex-shrink: 0; width: 14px; display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 14px; height: 14px; border-radius: var(--pill); margin-top: 5px; background: var(--muted-3); }
.tl-line { flex: 1; width: 2px; background: var(--line); }
.tl-body { padding-bottom: 28px; display: flex; flex-direction: column; gap: 5px; }
.tl-item:last-child .tl-line { display: none; }
.tl-item:last-child .tl-body { padding-bottom: 0; }
.tl-date { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--muted-2); }
.tl-title { font-size: 18px; font-weight: 600; line-height: 1.35; }
.tl-text { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.tl-badge {
  align-self: flex-start; background: #FFF9EC; border: 1px dashed #B4451A;
  border-radius: var(--pill); padding: 4px 11px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #B4451A;
}

.quote {
  background: var(--bg); border-left: 4px solid var(--purple);
  border-radius: 0 12px 12px 0; padding: 20px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.quote__text { font-size: 18px; line-height: 1.6; font-weight: 500; text-wrap: pretty; }
.quote__cite { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple-strong); }

.stat { background: var(--bg); border-radius: var(--r-lg); padding: 20px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-size: 30px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 15px; line-height: 1.45; color: var(--muted); }

.imgband { position: relative; overflow: hidden; height: 240px; }
.imgband img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgband__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,21,46,0) 40%, rgba(20,21,46,0.78) 100%); }
.imgband__cap { position: absolute; left: var(--pad); right: var(--pad); bottom: 18px; color: #fff; font-size: 15px; line-height: 1.5; }
@media (min-width: 900px) { .imgband { height: 420px; } .imgband__cap { font-size: 20px; font-weight: 500; bottom: 40px; } }

.cta-panel { background: var(--indigo); color: #fff; border-radius: var(--r-lg); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.cta-panel h2 { font-size: 19px; font-weight: 600; color: #fff; line-height: 1.3; }
.cta-panel p { color: var(--on-indigo); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
@media (min-width: 900px) {
  .cta-panel { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; padding: 44px 48px; }
  .cta-panel h2 { font-size: 24px; }
  .cta-panel .cta-panel__text { max-width: 660px; }
  .cta-panel .btn { flex-shrink: 0; }
}

/* --- Believe page -------------------------------------------------------- */
.ref-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ref-pill { background: var(--lilac-bg); border-radius: var(--pill); padding: 5px 11px; font-size: 13px; font-weight: 600; color: var(--purple-strong); }
.aim { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.aim:last-child { border-bottom: 0; }
.aim__dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: var(--pill); background: var(--purple); margin-top: 8px; }
.aim__text { font-size: 18px; line-height: 1.45; font-weight: 500; }
.belief-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: var(--pill);
  background: var(--lilac-bg); color: var(--purple-strong);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600;
}
.belief-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.belief-card__bar { height: 5px; }
.belief-card__body { padding: 20px 18px; display: flex; flex-direction: column; gap: 11px; }
.belief-card__name { font-size: 19px; line-height: 1.3; font-weight: 600; }

/* --- Leadership page ----------------------------------------------------- */
.leader-hero-img { width: 100%; height: 420px; object-fit: cover; object-position: 50% 16%; display: block; }
/* A 3:4 portrait can't fill a wide full-bleed band without cropping to the
   forehead, so on desktop contain it as a centred portrait instead. */
@media (min-width: 900px) {
  .leader-hero-img {
    width: auto; height: 560px; max-width: 100%;
    margin-inline: auto; border-radius: var(--r-lg);
    box-shadow: 0 18px 44px -26px rgba(20, 21, 46, 0.55);
  }
}
.factlist { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 18px; }
.factlist .fact { display: flex; flex-direction: column; gap: 4px; padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.factlist .fact:last-child { border-bottom: 0; }
.fact__label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.fact__val { font-size: 16px; line-height: 1.5; }
.word-box { background: var(--lilac-bg); border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.word-box__label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-strong); }
.word-box__quote { font-family: var(--font-serif); font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }

/* --- Ministries page ----------------------------------------------------- */
.dept { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.dept__img { width: 100%; height: 200px; object-fit: cover; display: block; }
.dept__noimg { height: 200px; background: linear-gradient(135deg, #F2EEFF, #EDE6FB); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--purple-strong); }
.dept__bar { height: 5px; }
.dept__body { padding: 20px 18px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.dept__name { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.dept__meta { display: flex; align-items: center; gap: 11px; padding-top: 13px; border-top: 1px solid var(--line-2); margin-top: auto; }
.dept__meta-label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.pending { font-size: 14px; color: var(--muted-2); font-style: italic; }
.join-step { display: flex; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line-2); }
.join-step:last-child { border-bottom: 0; }
.join-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: var(--pill); background: var(--lilac-bg); color: var(--purple-strong); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }

/* --- Sermons page -------------------------------------------------------- */
.channel-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.channel-card__title { font-size: 22px; line-height: 1.3; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.channel-card__text { font-size: 16px; line-height: 1.6; color: var(--on-indigo-dim); text-wrap: pretty; }
.empty-state { border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 32px 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background: var(--bg-2); }
.archive-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 18px; display: flex; gap: 14px; align-items: flex-start; }
.archive-card__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; }

/* --- Events page --------------------------------------------------------- */
.month-label { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin: 0; }
.month-group { display: flex; flex-direction: column; gap: 12px; }
.erow { display: flex; gap: 15px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.erow:last-child { border-bottom: 0; }
.edate { flex-shrink: 0; width: 52px; display: flex; flex-direction: column; align-items: center; padding-top: 2px; }
.edow { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.eday { font-size: 24px; line-height: 1.05; font-weight: 600; color: var(--indigo); font-variant-numeric: tabular-nums; }
.etitle { font-size: 17px; line-height: 1.35; font-weight: 600; }
.emeta { font-size: 15px; line-height: 1.5; color: var(--muted); }
.weekly { background: var(--indigo); color: #fff; border-radius: var(--r-lg); padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.weekly__divider { height: 1px; background: #3A3E9B; }
.weekly__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.weekly__row .lbl { font-size: 16px; color: #fff; }
.weekly__row .val { font-size: 16px; font-weight: 500; color: var(--on-indigo); font-variant-numeric: tabular-nums; }
.flyer-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flyer-wall img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; display: block; }
@media (min-width: 640px) { .flyer-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* --- Contact page -------------------------------------------------------- */
.contact-method { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; align-items: center; gap: 14px; }
.contact-method:hover { border-color: var(--purple); }
.contact-method__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; }
.contact-method__label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.contact-method__value { font-size: 19px; font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-method__value--email { font-size: 17px; font-weight: 500; color: var(--purple-strong); }
.follow-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.follow-row:last-child { border-bottom: 0; }
.follow-row__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.follow-row__name { font-size: 17px; font-weight: 600; }
.follow-row__handle { font-size: 15px; color: var(--muted); }
