/* ==========================================================================
   Ichthus Evangelische Gemeente — Etten-Leur
   Statische site. Geen frameworks, geen externe fonts of trackers.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  --navy-900: #0b2433;
  --navy-800: #0f2d3f;
  --navy-700: #16455f;
  --teal-600: #1b7f8c;
  --teal-500: #2a97a4;
  --gold-500: #d99a2b;
  --gold-400: #e9b558;

  --sand-50: #faf8f4;
  --sand-100: #f3efe7;
  --sand-200: #e7e0d3;

  --ink: #17222a;
  --ink-muted: #526470;
  --surface: #ffffff;
  --surface-2: var(--sand-50);
  --surface-3: var(--sand-100);
  --border: #e2ddd3;
  --border-strong: #cdc5b7;

  --accent: var(--teal-600);
  --accent-ink: #ffffff;

  --shadow-sm: 0 1px 2px rgba(11, 36, 51, .06), 0 2px 8px rgba(11, 36, 51, .05);
  --shadow-md: 0 4px 12px rgba(11, 36, 51, .08), 0 12px 32px rgba(11, 36, 51, .07);
  --shadow-lg: 0 8px 24px rgba(11, 36, 51, .10), 0 24px 56px rgba(11, 36, 51, .10);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --wrap: 1140px;
  --wrap-narrow: 760px;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Palladio,
                  "Book Antiqua", Georgia, "Times New Roman", serif;

  --header-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sand-50: #101c24;
    --sand-100: #15242e;
    --sand-200: #1d3038;

    --ink: #e8edf0;
    --ink-muted: #a3b4bf;
    --surface: #0d1920;
    --surface-2: #101c24;
    --surface-3: #15242e;
    --border: #22343f;
    --border-strong: #32484f;

    --accent: #4fb3bf;
    --accent-ink: #06222a;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .45);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

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

/* Werkt ook voor elementen met een eigen display-waarde (knoppen, flex-items). */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.4rem); }
h4 { font-size: 1.075rem; }

p, ul, ol { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
:where(p, li) { text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--navy-700); }
@media (prefers-color-scheme: dark) { a:hover { color: var(--gold-400); } }

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

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

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

/* ---------- Layout helpers ---------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
/* Aankondiging staat direct onder de infobar: compacte ruimte eromheen */
.section--announce { padding-block: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); }
.section--welkom { padding-top: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); }
.section--sand { background: var(--surface-2); }
.section--sand-2 { background: var(--surface-3); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900) 70%);
  color: #eaf1f4;
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: var(--gold-400); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: .6rem;
}
.section--navy .eyebrow { color: var(--gold-400); }

.lead { font-size: 1.15em; color: var(--ink-muted); }
.section--navy .lead { color: #c9dae1; }

.grid { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

.split {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right > :first-child { order: -1; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold-500); color: #1a1205;
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --btn-bg: var(--accent);
  --btn-ink: var(--accent-ink);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .78rem 1.45rem;
  background: var(--btn-bg); color: var(--btn-ink);
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 650; font-size: .97rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--btn-ink); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: var(--gold-500); --btn-ink: #221704; }
.btn--ghost {
  --btn-bg: transparent; --btn-ink: var(--ink);
  border-color: var(--border-strong); box-shadow: none;
}
.btn--ghost:hover { background: var(--surface-3); }
.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, .1); --btn-ink: #fff;
  border-color: rgba(255, 255, 255, .34); backdrop-filter: blur(4px);
}
.btn--on-dark:hover { --btn-bg: rgba(255, 255, 255, .2); }
.btn--sm { padding: .5rem 1rem; font-size: .88rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; text-decoration: none;
}
.arrow-link::after { content: "→"; transition: transform .15s ease; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Header / navigation ------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.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; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__logo { display: block; height: 48px; width: auto; flex: none; }
.footer-brand .brand__logo { height: 62px; }
@media (max-width: 479px) {
  .brand__logo { height: 40px; }
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  padding: .5rem .9rem; cursor: pointer; font-size: .9rem; font-weight: 600;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; flex: none; }
.nav-toggle__bars span,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 5px; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav__list, .nav__sublist { list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .55rem .8rem; border-radius: 999px;
  color: #dceaf0; text-decoration: none; font-weight: 550; font-size: .97rem;
  transition: background-color .15s ease, color .15s ease;
}
button.nav__link {
  background: none; border: 0; cursor: pointer;
  font-family: inherit; text-align: left;
}
.nav__link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav__link[aria-current="page"] { color: var(--gold-400); }
.nav__item--has-sub > .nav__link { display: inline-flex; align-items: center; gap: .35rem; width: 100%; }
.nav__caret { width: .6em; height: .6em; flex: none; transition: transform .18s ease; }
.nav__item--has-sub[data-open="true"] .nav__caret { transform: rotate(180deg); }

/* Mobile-first drawer */
@media (max-width: 899px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto;
    width: min(360px, 88vw);
    background: var(--navy-800);
    padding: 1.25rem 1.25rem 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .35);
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav__link { padding: .7rem .75rem; font-size: 1.02rem; }
  .nav__item + .nav__item { border-top: 1px solid rgba(255, 255, 255, .08); }
  .nav__sublist { padding-left: .75rem; display: none; }
  .nav__item--has-sub[data-open="true"] .nav__sublist { display: block; }
  .nav__sublist .nav__link { font-size: .94rem; color: #b6cfd9; }
  .nav__cta { margin-top: 1.1rem; }
}

/* Zonder JavaScript kan het uitschuifmenu niet open: toon het dan gewoon uitgeklapt.
   Browsers die (scripting) niet kennen, houden altijd nog de volledige
   sitenavigatie in de footer. */
@media (max-width: 899px) and (scripting: none) {
  .site-header__inner { flex-wrap: wrap; }
  .nav-toggle { display: none; }
  .nav {
    position: static; width: 100%; transform: none;
    background: transparent; box-shadow: none; overflow: visible;
    padding: 0 0 1rem;
  }
  .nav__sublist { display: block; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 1.25rem; }
  .nav__list { display: flex; align-items: center; gap: .15rem; }
  .nav__item--has-sub { position: relative; }
  .nav__sublist {
    position: absolute; top: calc(100% + .45rem); left: 0;
    min-width: 250px; padding: .5rem;
    background: var(--navy-800);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
  }
  .nav__item--has-sub:hover .nav__sublist,
  .nav__item--has-sub:focus-within .nav__sublist,
  .nav__item--has-sub[data-open="true"] .nav__sublist {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .nav__sublist .nav__link { border-radius: var(--radius-sm); white-space: nowrap; }
}

.nav-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7, 20, 28, .5);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
body[data-nav-open="true"] .nav-backdrop { opacity: 1; visibility: visible; }
body[data-nav-open="true"] { overflow: hidden; }
@media (min-width: 900px) {
  .nav-backdrop { display: none; }
  body[data-nav-open="true"] { overflow: auto; }
}

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(9, 28, 39, .92) 0%, rgba(9, 28, 39, .78) 45%, rgba(9, 28, 39, .45) 100%),
    linear-gradient(to top, rgba(9, 28, 39, .85), rgba(9, 28, 39, .15));
}
.hero__inner {
  padding-block: clamp(3.5rem, 2rem + 8vw, 7.5rem);
  max-width: 41rem;
}
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: #d3e3ea; margin-bottom: 1.9rem; }
.hero .btn-row { margin-bottom: 0; }

/* Compact page hero for subpages */
.page-hero {
  position: relative; isolation: isolate; color: #fff;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(9, 28, 39, .93), rgba(9, 28, 39, .72));
}
.page-hero__inner { padding-block: clamp(2.5rem, 1.75rem + 4vw, 4.5rem); max-width: 48rem; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #cfe0e7; font-size: 1.1em; margin: 0; }

.breadcrumb { font-size: .86rem; color: #a9c5d0; margin-bottom: .9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .45rem; opacity: .55; }
.breadcrumb a { color: #cfe3ea; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Info bar ----------------------------------------------------- */
.infobar { background: var(--gold-500); color: #21170a; }
.infobar__inner {
  display: flex; flex-wrap: wrap; gap: .5rem 2.25rem;
  padding-block: .9rem; font-weight: 600; font-size: .95rem;
}
.infobar__item { display: inline-flex; align-items: center; gap: .55rem; }
.infobar__item svg { width: 1.15em; height: 1.15em; flex: none; }
.infobar a { color: inherit; }

/* ---------- Cards -------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__media { aspect-ratio: 16 / 10; background: var(--surface-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__body > :last-child { margin-top: auto; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-muted); }

.icon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.icon-card__icon {
  width: 46px; height: 46px; margin-bottom: 1rem;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.icon-card__icon svg { width: 24px; height: 24px; }
.icon-card h3 { margin-bottom: .35rem; }
.icon-card p { color: var(--ink-muted); margin: 0; }

/* The four A's of the mission */
.pillar {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.pillar__letter {
  font-family: var(--font-display);
  font-size: 3rem; line-height: 1;
  color: color-mix(in srgb, var(--gold-500) 55%, transparent);
  margin-bottom: .35rem;
}
.pillar h3 { margin-bottom: .4rem; }
.pillar p { margin: 0; color: var(--ink-muted); font-size: .97rem; }

/* ---------- Aankondiging (jubileum-promo) -------------------------------- */
.announce {
  position: relative;
  display: grid;
  gap: 1.25rem 1.9rem;
  align-items: center;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.1rem) clamp(1.3rem, 1rem + 1.6vw, 2.25rem);
  padding-left: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--gold-500) 18%, transparent), transparent 60%),
    color-mix(in srgb, var(--gold-500) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold-500) 40%, transparent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.announce::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(to bottom, var(--gold-400), var(--gold-500));
}
@media (min-width: 900px) {
  .announce { grid-template-columns: auto 1fr auto; }
}

.announce__seal {
  display: grid; place-content: center; justify-items: center;
  width: 92px; height: 92px; flex: none;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-400), var(--gold-500));
  color: #241803;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold-500) 22%, transparent);
  line-height: 1;
}
.announce__seal-num { font-family: var(--font-display); font-size: 2.35rem; font-weight: 600; }
.announce__seal-word {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; margin-top: .2rem;
}

.announce__kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 .45rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-700);
}
.announce__kicker svg { width: 1.15em; height: 1.15em; flex: none; }
@media (prefers-color-scheme: dark) { .announce__kicker { color: var(--gold-400); } }

.announce__title { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.8rem); margin: 0 0 .5rem; }
.announce__text { margin: 0; color: var(--ink-muted); font-size: .99rem; }

.announce__note {
  display: flex; align-items: flex-start; gap: .55rem;
  margin: .9rem 0 0;
  padding: .6rem .85rem;
  background: var(--sand-100);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: .93rem; font-weight: 600;
}
.announce__note svg { width: 1.15em; height: 1.15em; flex: none; margin-top: .12em; color: var(--gold-500); }
@media (prefers-color-scheme: dark) { .announce__note svg { color: var(--gold-400); } }

.announce__count {
  display: inline-block; margin: .85rem 0 0;
  padding: .3rem .85rem;
  background: var(--navy-900); color: #fff;
  border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .05em;
}

.announce__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (min-width: 900px) {
  .announce__actions { flex-direction: column; align-items: stretch; }
  .announce__actions .btn { justify-content: center; white-space: nowrap; }
}
.announce .btn--ghost { background: var(--surface); }

/* ---------- Media / figures ---------------------------------------------- */
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface-3);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1; }

figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--ink-muted); margin-top: .6rem; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Creed list */
.creed { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.creed li {
  position: relative;
  padding: .85rem 1.1rem .85rem 2.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .98rem;
}
.creed li::before {
  content: ""; position: absolute; left: 1.05rem; top: 1.32rem;
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--gold-500); transform: rotate(45deg);
}

/* ---------- Person / partner rows ---------------------------------------- */
.person { text-align: center; }
.person__photo {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-3); box-shadow: var(--shadow-sm); margin-bottom: 1rem;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__role {
  font-size: .76rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: var(--teal-600); margin-bottom: .2rem;
}
.person__name { font-family: var(--font-display); font-size: 1.22rem; margin: 0; }

.partner {
  display: grid; gap: 1.5rem; align-items: start;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 680px) { .partner { grid-template-columns: 180px 1fr; } }
.partner__media {
  border-radius: var(--radius); overflow: hidden; background: var(--surface-3);
  display: grid; place-items: center; padding: .5rem;
}
.partner__media img { max-height: 190px; width: auto; }
.partner h3 { margin-bottom: .35rem; }
.partner p { margin-bottom: .6rem; }

/* ---------- Agenda / timeline -------------------------------------------- */
.agenda-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.agenda-item {
  display: grid; gap: 1.1rem; align-items: start;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 620px) { .agenda-item { grid-template-columns: 7rem 1fr; } }
.agenda-item--highlight { border-left-color: var(--gold-500); background: color-mix(in srgb, var(--gold-500) 7%, var(--surface)); }
.agenda-date {
  display: flex; flex-direction: column; align-items: flex-start;
  font-weight: 700; line-height: 1.1;
}
.agenda-date__day { font-family: var(--font-display); font-size: 2rem; color: var(--navy-700); }
@media (prefers-color-scheme: dark) { .agenda-date__day { color: var(--gold-400); } }
.agenda-date__month { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.agenda-item h3 { margin-bottom: .25rem; }
.agenda-item p { margin: 0; color: var(--ink-muted); font-size: .97rem; }

.runsheet { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.runsheet li {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px dashed var(--border);
}
.runsheet li:last-child { border-bottom: 0; }
.runsheet time { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy-700); }
@media (prefers-color-scheme: dark) { .runsheet time { color: var(--gold-400); } }

/* ---------- Sermons ------------------------------------------------------ */
.sermon-tools {
  display: grid; gap: 1rem;
  padding: 1.25rem;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
@media (min-width: 720px) { .sermon-tools { grid-template-columns: 1fr 210px; align-items: end; } }
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .72rem .9rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px; border-color: var(--accent);
}
.field textarea { min-height: 150px; resize: vertical; }
.field__hint { font-size: .83rem; color: var(--ink-muted); }

.sermon-count { font-size: .92rem; color: var(--ink-muted); margin-bottom: 1rem; }
[data-loading] .sermon-tools { opacity: .6; }

.sermon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.sermon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.sermon__top { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: baseline; }
.sermon__title { font-family: var(--font-display); font-size: 1.18rem; margin: 0; flex: 1 1 18rem; }
.sermon__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .88rem; color: var(--ink-muted); margin-top: .25rem; }
.sermon__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.sermon__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.sermon__player { margin-top: .9rem; }
.sermon__player audio { width: 100%; }
.sermon[hidden] { display: none; }

.tag {
  display: inline-block; padding: .18rem .6rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  border-radius: 999px; font-size: .76rem; font-weight: 700;
  letter-spacing: .04em;
}

.state {
  padding: 2rem; text-align: center; color: var(--ink-muted);
  border: 1px dashed var(--border-strong); border-radius: var(--radius-lg);
}

/* ---------- Forms -------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-footnote { font-size: .87rem; color: var(--ink-muted); margin-top: 1rem; }
.gotcha { position: absolute; left: -9999px; }

/* ---------- Contact details ---------------------------------------------- */
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.detail-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; align-items: start; }
.detail-list svg { width: 22px; height: 22px; color: var(--accent); margin-top: .28rem; }
.detail-list strong { display: block; }
.detail-list a { text-decoration: none; }
.detail-list a:hover { text-decoration: underline; }

.map-frame {
  border: 0; width: 100%; aspect-ratio: 4 / 3; min-height: 320px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--surface-3);
}

.callout {
  display: grid; gap: 1rem;
  padding: 1.5rem 1.6rem;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--radius-lg);
}
.callout h3 { margin: 0; }
.callout p { margin: 0; }

.stat-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat {
  padding: 1.35rem 1.4rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.stat__value { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--navy-700); }
@media (prefers-color-scheme: dark) { .stat__value { color: var(--gold-400); } }
.stat__label { font-size: .88rem; color: var(--ink-muted); margin-top: .35rem; }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.doc-list a {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1.1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; font-weight: 600;
  transition: border-color .15s ease, transform .15s ease;
}
.doc-list a:hover { border-color: var(--accent); transform: translateX(2px); }
.doc-list svg { width: 20px; height: 20px; flex: none; color: var(--accent); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #c4d7df;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 2rem;
  font-size: .95rem;
}
.site-footer h2, .site-footer h3 {
  color: #fff; font-family: var(--font-sans);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 1rem;
}
.site-footer a { color: #d9e8ee; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); text-decoration: underline; }
.footer-grid {
  display: grid; gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: #9bb8c4; }
.social-row { display: flex; gap: .6rem; margin-top: 1rem; }
.social-row a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px;
  transition: background-color .15s ease, border-color .15s ease;
}
.social-row a:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold-400); }
.social-row svg { width: 20px; height: 20px; }
.anbi-badge { background: #fff; padding: .5rem; border-radius: 10px; width: max-content; margin-top: 1rem; }
.anbi-badge img { width: 92px; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .87rem; color: #8faebb;
}

/* ---------- Misc --------------------------------------------------------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--navy-800); color: #fff;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%;
  cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

.error-page { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.error-page__code {
  font-family: var(--font-display); font-size: clamp(4rem, 3rem + 8vw, 8rem);
  line-height: 1; color: color-mix(in srgb, var(--accent) 35%, transparent);
}

@media print {
  .site-header, .site-footer, .to-top, .nav-backdrop, .infobar { display: none !important; }
  body { color: #000; background: #fff; }
}
