/* ==========================================================================
   Haven Field Community Church — Core stylesheet
   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. Buttons & links
   5. Header & navigation
   6. Hero
   7. Components
   8. Sections
   9. Footer
   10. Utilities
   11. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Palette — warm ivory, deep ink, brass accent */
  --ink: #17150f;
  --ink-80: #302c24;
  --ink-60: #55503f;
  --muted: #6f6857;
  --gold: #96712f;
  --gold-bright: #a8813c;
  --gold-soft: #d9c69b;
  --cream: #fbf9f4;
  --cream-deep: #f3eee4;
  --paper: #ffffff;
  --line: rgba(23, 21, 15, 0.12);
  --line-soft: rgba(23, 21, 15, 0.07);
  --on-dark: #f6f2e9;
  --on-dark-muted: rgba(246, 242, 233, 0.72);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1140px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(23, 21, 15, 0.06), 0 4px 12px rgba(23, 21, 15, 0.04);
  --shadow-md: 0 2px 6px rgba(23, 21, 15, 0.06), 0 14px 34px rgba(23, 21, 15, 0.08);
}

/* 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) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-80);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
}
h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  line-height: 1.14;
}
h3 {
  font-size: clamp(1.22rem, 1.9vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.008em;
}
h4 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--ink);
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.25em;
}
li {
  margin-bottom: 0.5em;
}
li:last-child {
  margin-bottom: 0;
}

blockquote {
  margin: 0;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

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

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

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: 1320px;
}

section {
  padding-block: var(--section-y);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--on-dark);
  padding: 0.9rem 1.4rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  color: var(--on-dark);
}

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
  --btn-border: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.75em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover {
  --btn-bg: var(--gold);
  --btn-border: var(--gold);
  --btn-fg: #fff;
  color: #fff;
  transform: translateY(-1px);
}
.btn--gold {
  --btn-bg: var(--gold);
  --btn-border: var(--gold);
  --btn-fg: #fff;
}
.btn--gold:hover {
  --btn-bg: var(--gold-bright);
  --btn-border: var(--gold-bright);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: rgba(23, 21, 15, 0.28);
}
.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-border: var(--ink);
  --btn-fg: var(--on-dark);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.5);
}
.btn--ghost-light:hover {
  --btn-bg: #fff;
  --btn-border: #fff;
  --btn-fg: var(--ink);
}
.btn--sm {
  padding: 0.7em 1.2em;
  font-size: 0.74rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
}
.text-link::after {
  content: "";
  width: 1.6em;
  height: 1px;
  background: currentColor;
  transition: width 0.25s var(--ease);
}
.text-link:hover::after {
  width: 2.4em;
}

/* 5. Header & navigation --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-stuck {
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(23, 21, 15, 0.06);
  background: rgba(251, 249, 244, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
}

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

.brand {
  --brand-mark: 52px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}

/* Logo: the owner's emblem with its white ground removed to true alpha, so it
   sits on the cream header with no white box and no blend-mode hack.
   The cutout (1024x897) keeps transparent padding around the mark — the ink
   occupies only x 89-866, y 42-849 — so it is framed to that ink box here.
   Without this the emblem renders ~10% small and sits left of centre, because
   the right padding is wider than the left. These are crop-to-content values,
   NOT text masking: the file contains no lettering at all. The ratios scale
   with --brand-mark, so framing is identical at every breakpoint. */
.brand__mark {
  position: relative;
  display: block;
  width: calc(var(--brand-mark) * 0.9629); /* ink width 778 / ink height 808 */
  height: var(--brand-mark);
  overflow: hidden;
  flex: 0 0 auto;
}
.brand__mark img {
  position: absolute;
  top: calc(var(--brand-mark) * -0.052);      /* 42 / 808 */
  left: calc(var(--brand-mark) * -0.1101);    /* 89 / 808 */
  display: block;
  height: calc(var(--brand-mark) * 1.1102);   /* canvas 897 / ink 808 */
  width: auto;
  max-width: none;
}

/* Wordmark — stacked: the church name over "Community Church". */
.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand__name {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.brand__sub {
  margin-top: 0.26rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-80);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--gold);
}
.nav__link[aria-current="page"] {
  font-weight: 600;
}
.nav__caret {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
  transition: transform 0.2s var(--ease);
}
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret {
  transform: rotate(225deg) translateY(-2px);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 232px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
    visibility 0.18s;
}
.nav__item:hover > .nav__menu,
.nav__item:focus-within > .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__menu li {
  margin: 0;
}
.nav__menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--ink-80);
  text-decoration: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav__menu a:hover,
.nav__menu a[aria-current="page"] {
  background: var(--cream-deep);
  color: var(--ink);
}

.nav__cta {
  margin-left: 0.6rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease),
    top 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) {
  top: 15px;
}
.nav-toggle span:nth-child(2) {
  top: 21px;
}
.nav-toggle span:nth-child(3) {
  top: 27px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Service bar under header */
.service-bar {
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.service-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  padding-block: 0.62rem;
  text-align: center;
}
.service-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--on-dark-muted);
}
.service-bar__item strong {
  color: var(--on-dark);
  font-weight: 600;
}
.service-bar__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-soft);
  flex: 0 0 auto;
}
.service-bar a {
  color: var(--gold-soft);
  text-decoration: none;
}
.service-bar a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 78vh, 760px);
  padding-block: clamp(4rem, 10vw, 8rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to right,
      rgba(14, 13, 10, 0.88) 0%,
      rgba(14, 13, 10, 0.66) 45%,
      rgba(14, 13, 10, 0.34) 100%
    ),
    linear-gradient(to top, rgba(14, 13, 10, 0.6) 0%, rgba(14, 13, 10, 0) 55%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}
.hero__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34em;
  margin-bottom: 2.2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Compact page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.page-hero--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.page-hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(14, 13, 10, 0.9) 0%,
    rgba(14, 13, 10, 0.62) 55%,
    rgba(14, 13, 10, 0.4) 100%
  );
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.page-hero .eyebrow {
  color: var(--gold-soft);
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 0.35em;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  max-width: 46em;
  margin-bottom: 0;
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

/* 7. Components ------------------------------------------------------------ */
/* Cards */
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-deep);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.04);
}
.card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.card__body h3 {
  margin-bottom: 0;
  font-size: 1.3rem;
}
.card__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.62;
}
.card__body .text-link {
  margin-top: auto;
  padding-top: 0.9rem;
  align-self: flex-start;
}
a.card {
  color: inherit;
  text-decoration: none;
}
a.card:hover {
  color: inherit;
}

/* "What to expect" list */
.expect-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}
.expect-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin: 0;
}
.expect-list__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--gold);
  flex: 0 0 auto;
}
.expect-list__icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.expect-list h4 {
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.expect-list p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Fact / detail panel */
.detail-panel {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.detail-list li {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}
.detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.detail-list dt,
.detail-list .detail-list__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-list .detail-list__value {
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.5;
}
.detail-list a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.detail-list a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Prose block */
.prose {
  max-width: 68ch;
}
.prose h2 {
  margin-top: 2.2em;
}
.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.9em;
  margin-bottom: 0.5em;
}
.prose p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-60);
}
.prose > p:first-of-type {
  font-size: 1.14rem;
  color: var(--ink-80);
}
.prose ul {
  color: var(--ink-60);
  font-size: 1.02rem;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose em {
  font-style: italic;
}

/* Scripture citation */
.cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Pull quote / scripture band */
.scripture {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}
.scripture blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.scripture cite {
  display: block;
  margin-top: 1.3rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Value cards (founding values) */
.value-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.value {
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  border-top: 2px solid var(--gold-soft);
}
.value h3 {
  font-size: 1.22rem;
  margin-bottom: 0.55rem;
}
.value p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.8rem;
}
.value .cite {
  font-size: 0.78rem;
  margin-top: 0;
}

/* Leader profile */
.leader {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.leader + .leader {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line-soft);
}
.leader__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
}
.leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.leader__role {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.leader h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  margin-bottom: 0.9rem;
}
.leader p {
  font-size: 1rem;
  color: var(--ink-60);
  line-height: 1.72;
}
.leader__link {
  margin-top: 1rem;
}

/* Group / ministry listing */
.group {
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold-soft);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.group h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.group__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.group p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.62;
}

/* Partner cards */
.partner {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.partner h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
}
.partner p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}
.partner__meta {
  font-size: 0.8rem;
  color: var(--ink-60);
  margin-top: 0.2rem;
}
.partner__meta strong {
  color: var(--gold);
  font-weight: 600;
}
.partner .text-link {
  align-self: flex-start;
  margin-top: 0.3rem;
}

/* Sermon list */
.sermon-month {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.4rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-soft);
}
.sermon-month:first-of-type {
  margin-top: 0;
}
.sermon {
  display: grid;
  gap: 0.3rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.sermon__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.sermon__meta {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.8rem;
}
.sermon__desc {
  font-size: 0.93rem;
  color: var(--ink-60);
  line-height: 1.6;
  margin: 0.25rem 0 0;
}
.sermon__actions {
  margin-top: 0.45rem;
}

/* Step list */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.1rem;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: var(--cream);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}
.steps h4 {
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.steps p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

/* CTA band */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 82% 18%,
    rgba(168, 129, 60, 0.28),
    transparent 58%
  );
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.8rem;
  align-items: center;
  grid-template-columns: 1.4fr auto;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: 0.4em;
}
.cta-band p {
  color: var(--on-dark-muted);
  margin-bottom: 0;
  font-size: 1.02rem;
  max-width: 48em;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Gallery strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.gallery-strip figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  background: var(--cream-deep);
}
.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-strip figure:hover img {
  transform: scale(1.05);
}

/* Media + text split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split--tall .split__media {
  aspect-ratio: 4 / 5;
}

/* Section header */
.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.25rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin-bottom: 0.5em;
  text-wrap: balance;
}
.section-head p {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Grids */
.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.85rem);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Creed block */
.creed {
  max-width: 34em;
  margin-inline: auto;
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.creed p {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.85;
  color: rgba(246, 242, 233, 0.9);
  letter-spacing: 0.003em;
}
.creed p:last-child {
  margin-bottom: 0;
}
.creed strong {
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Feature callout */
.callout {
  display: grid;
  gap: 0.6rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
}
.callout h3 {
  margin-bottom: 0;
}
.callout p {
  margin-bottom: 0;
  font-size: 0.96rem;
  color: var(--ink-60);
}

/* Info banner */
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.94rem;
  color: var(--ink-60);
}
.notice strong {
  color: var(--ink);
}
.notice svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  margin-top: 0.2rem;
}

/* Sermon reach small card */
.reach-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.6rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.reach-card img {
  border-radius: var(--radius);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  width: 100%;
}
.reach-card h3 {
  margin-bottom: 0.5rem;
}
.reach-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

/* 8. Section variants ------------------------------------------------------ */
.section--paper {
  background: var(--paper);
}
.section--cream {
  background: var(--cream);
}
.section--deep {
  background: var(--cream-deep);
}
.section--ink {
  background: var(--ink);
  color: var(--on-dark);
}
.section--ink h2,
.section--ink h3,
.section--ink h4 {
  color: #fff;
}
.section--ink .section-head p,
.section--ink p {
  color: var(--on-dark-muted);
}
.section--ink .eyebrow {
  color: var(--gold-soft);
}
.section--ink .value {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: var(--gold);
}
.section--ink .value p,
.section--ink .value .cite {
  color: var(--on-dark-muted);
}
.section--ink .prose p,
.section--ink .prose ul,
.section--ink .prose li {
  color: var(--on-dark-muted);
}
.section--ink .prose > p:first-of-type {
  color: var(--on-dark);
}

/* Cards keep their own light surface inside dark sections, so reset text
   colours that the generic .section--ink p rule would otherwise inherit. */
.section--ink .card h3,
.section--ink .card h4 {
  color: var(--ink);
}
.section--ink .card__body p,
.section--ink .card p {
  color: var(--muted);
}
.section--ink .card .text-link {
  color: var(--gold);
}
.section--ink .card .text-link:hover {
  color: var(--ink);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.hr {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 0;
}

/* 9. Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.93rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  color: var(--gold-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.75rem;
}
.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--on-dark-muted);
  max-width: 26em;
  margin-bottom: 1rem;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-list li {
  margin: 0;
}
.footer-list a {
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-list a:hover {
  color: #fff;
}
.footer-list--plain {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.25rem;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--on-dark-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.footer-social a:hover {
  color: var(--ink);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}
.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(246, 242, 233, 0.55);
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--gold-soft);
}

/* 10. Utilities ------------------------------------------------------------ */
.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;
}
.center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* 11. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
  .cta-band__inner {
    grid-template-columns: 1fr;
  }
  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 940px) {
  :root {
    --header-h: 68px;
  }

  /* Header lockup, tablet — shrink the mark and wordmark in step. */
  .brand {
    --brand-mark: 46px;
    gap: 0.62rem;
  }
  .brand__name {
    font-size: 0.95rem;
  }
  .brand__sub {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  /* Mobile navigation */
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: block;
    margin: 0;
    padding: 1.25rem var(--gutter) 3rem;
    background: var(--cream);
    overflow-y: auto;
    border-top: 1px solid var(--line-soft);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s var(--ease), opacity 0.28s var(--ease),
      visibility 0.32s;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__item {
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1.05rem 0;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }
  .nav__caret {
    display: none;
  }
  .nav__item--has-children > .nav__link::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.5;
    transition: transform 0.25s var(--ease);
    margin-left: 0.5rem;
  }
  .nav__item--has-children.is-open > .nav__link::after {
    transform: rotate(225deg);
  }

  .nav__menu {
    position: static;
    min-width: 0;
    padding: 0 0 0.85rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__item.is-open > .nav__menu {
    display: block;
  }
  .nav__item:hover > .nav__menu {
    display: none;
  }
  .nav__item.is-open:hover > .nav__menu {
    display: block;
  }
  .nav__menu a {
    padding: 0.62rem 0 0.62rem 0.9rem;
    font-size: 0.95rem;
    border-left: 1px solid var(--line);
  }
  .nav__menu a:hover {
    background: transparent;
    color: var(--gold);
  }

  .nav__cta {
    margin: 1.5rem 0 0;
    display: flex;
  }
  .nav__cta .btn {
    width: 100%;
  }

  .split,
  .leader {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .leader__photo {
    max-width: 220px;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
  }
  .leader__photo img {
    object-position: center top;
  }
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .reach-card {
    grid-template-columns: 1fr;
  }
  .reach-card img {
    max-width: 150px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }
  /* Small phones — keep the full lockup, but tighten it so it clears the
     hamburger without wrapping or overflowing. */
  .brand {
    --brand-mark: 44px;
    gap: 0.55rem;
  }
  .brand__name {
    font-size: 0.88rem;
  }
  .brand__sub {
    margin-top: 0.22rem;
    font-size: 0.6rem;
    letter-spacing: 0.11em;
  }
  .hero {
    min-height: 0;
    padding-block: 3.5rem 3rem;
  }
  .hero__media::after {
    background: linear-gradient(
        to bottom,
        rgba(14, 13, 10, 0.86) 0%,
        rgba(14, 13, 10, 0.72) 45%,
        rgba(14, 13, 10, 0.82) 100%
      );
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--auto {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cta-band__actions .btn {
    flex: 1 1 100%;
  }
  .service-bar__inner {
    font-size: 0.73rem;
    gap: 0.35rem 0.9rem;
  }
  .detail-panel {
    padding: 1.35rem;
  }
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .expect-list li {
    gap: 0.85rem;
  }
  .expect-list__icon {
    width: 36px;
    height: 36px;
  }
}
