/* =====================================================================
   NWBC Patterns
   =====================================================================
   Larger compositions: hero blocks, pillar grids, covenant cards, etc.
   These are page-section-level patterns that combine components from
   components.css.

   Built out during Phase 2 of the project, alongside the page mockups
   themselves.
   ===================================================================== */


/* =====================================================================
   Placeholder block — used wherever a photograph will eventually go
   =====================================================================
   Visual stand-in for production photography. Tinted with the design
   palette so it reads as part of the system rather than as a gap.
   Replace with real <img> tags once shoots are scheduled.
   ===================================================================== */

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg,
      rgba(27, 45, 74, 0.04) 0%,
      rgba(184, 149, 68, 0.06) 50%,
      rgba(27, 45, 74, 0.08) 100%);
  background-color: var(--color-cream);
  color: var(--color-warm-gray);
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  text-align: center;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

/* Subtle diagonal hatching overlay so it reads as "intentionally not real" */
.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg,
    transparent 49.5%,
    rgba(184, 149, 68, 0.08) 49.5%,
    rgba(184, 149, 68, 0.08) 50.5%,
    transparent 50.5%);
  background-size: 16px 16px;
  pointer-events: none;
}

.placeholder__label {
  position: relative;
  background: rgba(250, 250, 247, 0.85);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  max-width: 80%;
  line-height: var(--lh-snug);
}

.placeholder--16-9 { aspect-ratio: 16 / 9; min-height: 0; }
.placeholder--4-5  { aspect-ratio: 4 / 5;  min-height: 0; }
.placeholder--1-1  { aspect-ratio: 1 / 1;  min-height: 0; }
.placeholder--3-1  { aspect-ratio: 3 / 1;  min-height: 0; }


/* =====================================================================
   Hero block
   =====================================================================
   Full-bleed photograph + navy gradient overlay + welcome content.
   Sits below the nav, above all other content on the homepage.

   PLACEHOLDER PHOTO: the background image below is a free-licensed
   real NWBC congregation photography per D-003.
   ===================================================================== */

.hero {
  position: relative;
  background-color: var(--color-navy);
  background-image:
    url('../images/hero-worship.jpg');
  background-size: cover;
  background-position: center 65%;
  color: var(--color-cream);
  padding: var(--space-9) var(--space-7);
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
}

/* Horizontal gradient overlay — heavy navy on the left where the
   text sits, transitioning to FULLY transparent by ~55% so the
   right half of the hero is pure photograph at native color. No
   bottom-darkening layer (it muddied the photo's vibrancy). */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(19, 30, 51, 0.92) 0%,
      rgba(19, 30, 51, 0.85) 35%,
      rgba(19, 30, 51, 0)    55%,
      rgba(19, 30, 51, 0)    100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  /* On narrow screens the text spans most of the width, so use a
     vertical gradient instead — same approach as the event-detail
     hero — heavy at the bottom where the content sits. */
  .hero::before {
    background:
      linear-gradient(180deg,
        rgba(19, 30, 51, 0.25) 0%,
        rgba(19, 30, 51, 0.55) 55%,
        rgba(19, 30, 51, 0.92) 100%);
  }
}


/* Rotating background photos (homepage). The slides sit beneath the
   overlay; the text never moves. Each slide crossfades over ~1.5s.
   Navy shows until the first slide paints. */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero__slide.is-active { opacity: 1; }

/* The slides replace the single background photo, so don't also
   download it. */
.hero--slides { background-image: none; }

.hero--slides::before { z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-light);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  color: var(--color-cream);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-3);
  max-width: 640px;
}

/* Italic gold phrase inside the hero title — same typographic
   moment as page-hero, connect-cta, etc. */
.hero__phrase {
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-light);
}

/* Small mono citation beneath the hero title — used when the title
   is a Scripture quote. Same visual language as .scripture-ref. */
.hero__citation {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-light);
  font-weight: 600;
  margin: 0 0 var(--space-5);
}

.hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: rgba(245, 239, 227, 0.85);
  margin-bottom: var(--space-5);
  max-width: 540px;
}

.hero__meta {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.hero__meta-item { display: flex; flex-direction: column; gap: 2px; }

.hero__meta-label {
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-light);
  font-weight: 600;
}

.hero__meta-value {
  font-size: var(--fs-body);
  color: var(--color-cream);
  font-weight: 500;
}

.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero { padding: var(--space-7) var(--space-4); min-height: 440px; }
  .hero__meta { gap: var(--space-4); }
}


/* =====================================================================
   Section wrapper — generic page section
   ===================================================================== */

.section {
  padding: var(--space-8) 0;
}

.section--cream      { background: var(--color-cream); }
.section--soft-white { background: var(--color-soft-white); }
.section--navy       { background: var(--color-navy); color: var(--color-cream); }

.section--navy h1, .section--navy h2,
.section--navy h3, .section--navy h4 { color: var(--color-cream); }


/* =====================================================================
   Map embed — visit page
   ===================================================================== */

.map-embed {
  width: 100%;
  height: 650px;
  display: block;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .map-embed { height: 360px; }
}


/* =====================================================================
   Plan Your Visit panel
   =====================================================================
   Three-column block answering the three questions a first-time
   visitor most needs: when, where, what to expect. Sits directly
   under the hero on the homepage.
   ===================================================================== */

.plan-visit {
  background: var(--color-cream);
}

.plan-visit__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.plan-visit__title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-3);
}

.plan-visit__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  margin: 0;
}

.plan-visit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
}

.plan-visit__item {
  padding: var(--space-7) var(--space-5);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(184, 149, 68, 0.4);
}
.plan-visit__item:last-child { border-right: none; }

.plan-visit__item .eyebrow { margin-bottom: var(--space-2); }

/* Italic gold phrase inside the plan-visit title — same typographic
   moment as page-hero__phrase, essay__phrase, etc. */
.plan-visit__phrase {
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-dark);
}

/* The display-serif moment in each cell — service times, address,
   "Come as you are." Treated like a small headline. */
.plan-visit__feature {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}

/* Italic gold ampersand inside the feature heading */
.plan-visit__feature .amp {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold-dark);
  margin: 0 4px;
}

/* Italic display-serif supporting line — sits beneath the feature
   heading and softens the column's voice */
.plan-visit__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-3);
}

/* Body text — the practical detail that follows */
.plan-visit__item > p:not(.plan-visit__lede):not(.eyebrow):not(.scripture-ref) {
  font-size: var(--fs-body);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0;
}

.plan-visit__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-7);
}

@media (max-width: 768px) {
  .plan-visit__grid {
    grid-template-columns: 1fr;
  }
  .plan-visit__item {
    border-right: none;
    border-bottom: 1px solid rgba(184, 149, 68, 0.4);
    padding: var(--space-6) 0;
  }
  .plan-visit__item:last-child { border-bottom: none; }
}


/* =====================================================================
   Four Pillars block
   =====================================================================
   The Constitution Preamble's four responsibilities (Teaching,
   Fellowship, Outreach, Worship & Prayer) presented as a four-column
   block on navy. Each cell anchored by a large italic gold Roman
   numeral; italic supporting line is verbatim Constitution text.
   ===================================================================== */

.pillars {
  background: var(--color-navy);
  color: var(--color-cream);
  position: relative;
}

.pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 14px,
      rgba(184, 149, 68, 0.05) 14px 15px);
  pointer-events: none;
}

.pillars > .container,
.pillars > .container--wide,
.pillars > * {
  position: relative;
}

.pillars__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.pillars__title {
  font-size: var(--fs-h1);
  color: var(--color-cream);
  margin-bottom: var(--space-3);
}

.pillars__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: rgba(245, 239, 227, 0.7);
  margin: 0;
}

/* Verbatim Eph 4:12-13 quote above the four pillars — grounds the
   four labels in the Scripture they're drawn from. */
.pillars__verse {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: rgba(245, 239, 227, 0.88);
  line-height: var(--lh-relaxed);
  margin: var(--space-5) auto 0;
  max-width: 60ch;
  padding: 0;
  border: none;
}
.pillars__verse cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-top: var(--space-3);
  font-weight: 600;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(184, 149, 68, 0.45);
  border-bottom: 1px solid rgba(184, 149, 68, 0.45);
}

.pillars__item {
  padding: var(--space-7) var(--space-5);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(184, 149, 68, 0.25);
}
.pillars__item:last-child { border-right: none; }

/* Big italic gold Roman numeral — the cell's typographic anchor */
.pillars__numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-display);
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.pillars__label {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--color-cream);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  line-height: var(--lh-tight);
}

/* Italic supporting line — verbatim Constitution fragment */
.pillars__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body);
  color: rgba(245, 239, 227, 0.7);
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-3);
}

.pillars__body {
  font-size: var(--fs-body-sm);
  color: rgba(245, 239, 227, 0.85);
  line-height: var(--lh-relaxed);
  margin: 0;
}

.pillars__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-7);
}

@media (max-width: 1024px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars__item:nth-child(2) { border-right: none; }
  .pillars__item:nth-child(1),
  .pillars__item:nth-child(2) {
    border-bottom: 1px solid rgba(184, 149, 68, 0.25);
  }
}

@media (max-width: 600px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .pillars__item {
    border-right: none;
    border-bottom: 1px solid rgba(184, 149, 68, 0.25);
    padding: var(--space-6) var(--space-4);
  }
  .pillars__item:last-child { border-bottom: none; }
  .pillars__item:nth-child(2) {
    border-bottom: 1px solid rgba(184, 149, 68, 0.25);
  }
}


/* =====================================================================
   Events strip — homepage upcoming events
   =====================================================================
   Three event cards on soft-white. Section header sits left, the
   "view all" link sits right — asymmetric placement reads more
   deliberate than a centered heading.
   ===================================================================== */

.events-strip {
  background: var(--color-soft-white);
}

.events-strip__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

.events-strip__intro {
  flex: 1;
  min-width: 0;
}

.events-strip__title {
  font-size: var(--fs-h1);
  margin: 0 0 var(--space-2);
  line-height: var(--lh-tight);
}

.events-strip__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  margin: 0;
  max-width: 480px;
}

.events-strip__see-all {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-bottom: 6px;
  flex: none;
}
.events-strip__see-all::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.events-strip__see-all:hover {
  color: var(--color-gold-dark);
}
.events-strip__see-all:hover::after {
  margin-left: 4px;
}

@media (max-width: 600px) {
  .events-strip__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}


/* =====================================================================
   Sermons feature — current series + recent list
   =====================================================================
   Two-column composition. Left: rich feature (media + display-serif
   series name + Scripture reference in mono + description + CTA).
   Right: a quiet typographic list of recent sermons — no thumbnails,
   purely type. The asymmetry mirrors how a sermon series actually
   feels: one big arc, individual messages within it.
   ===================================================================== */

.sermons-feature {
  background: var(--color-cream);
  position: relative;
  overflow: hidden; /* keep wheat tucked at the section edges */
}

.sermons-feature__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

.sermons-feature__intro { flex: 1; min-width: 0; }

.sermons-feature__title {
  font-size: var(--fs-h1);
  margin: 0 0 var(--space-2);
  line-height: var(--lh-tight);
}

.sermons-feature__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  margin: 0;
  max-width: 520px;
}

.sermons-feature__see-all {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-bottom: 6px;
  flex: none;
}
.sermons-feature__see-all::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.sermons-feature__see-all:hover {
  color: var(--color-gold-dark);
}
.sermons-feature__see-all:hover::after { margin-left: 4px; }

@media (max-width: 600px) {
  .sermons-feature__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

/* ----- Two-column body ---------------------------------------------- */

.sermons-feature__body {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 0;
  align-items: start;
}

.sermons-feature__main {
  padding-right: var(--space-7);
  border-right: 1px solid rgba(184, 149, 68, 0.4);
}

.sermons-feature__recent {
  padding-left: var(--space-7);
}

/* Per-series motion-kit decor (D-011). The Noun Project wheat SVG
   is a multi-stalk bouquet. One large bouquet sits at the bottom-
   left of the section under the content (rotated), one sits at the
   right side over the content (semi-transparent so text reads
   through). The right one is scroll-rotated by JS in enhance.js;
   the left stays static. */
.sermons-feature__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sermons-feature__decor--bg { z-index: 0; }
.sermons-feature__decor--fg { z-index: 5; }

/* Push the section's content above the bg decor */
.sermons-feature > .container { position: relative; z-index: 1; }

.wheat-bouquet {
  position: absolute;
  display: block;
  transform-origin: 50% 100%;
}

.wheat-bouquet img {
  display: block;
  width: 100%;
  height: auto;
}

/* Left bouquet — bottom-left of section, angled, partially out of
   frame. Behind all content. */
.wheat-bouquet--left {
  bottom: -160px;
  left: -140px;
  width: 620px;
  transform: rotate(-14deg);
  opacity: 0.55;
}

/* Right bouquet — full section height, mostly off-frame to the right
   so it reads as wheat reaching in from outside the section. In front
   of recent-sermons text at low opacity (text reads through). JS
   rotates this on scroll; CSS sets the base transform. */
.wheat-bouquet--right {
  top: -60px;
  right: -380px;
  width: 760px;
  transform: scaleX(-1) rotate(0deg);
  opacity: 0.55;
  transition: transform 80ms linear;
}

@media (max-width: 768px) {
  .sermons-feature__decor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wheat-bouquet--right {
    transition: none;
  }
}

@media (max-width: 768px) {
  .sermons-feature__body { grid-template-columns: 1fr; }
  .sermons-feature__main {
    padding-right: 0;
    border-right: none;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(184, 149, 68, 0.4);
    margin-bottom: var(--space-6);
  }
  .sermons-feature__recent { padding-left: 0; }
}

/* ----- Left: rich feature ------------------------------------------- */

.sermons-feature__media {
  display: block;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.sermons-feature__media .placeholder { border-radius: 0; }

/* Subtle play-button overlay on the feature media */
.sermons-feature__media::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 30, 51, 0.85);
  color: var(--color-cream);
  border-radius: 50%;
  font-size: 20px;
  padding-left: 4px;
  transition: background var(--ease-standard), transform var(--ease-standard);
  pointer-events: none;
}

.sermons-feature__media:hover::after {
  background: var(--color-gold-dark);
  transform: translate(-50%, -50%) scale(1.05);
}

.sermons-feature__passage {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--color-gold-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
}

.sermons-feature__name {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}

.sermons-feature__desc {
  font-size: var(--fs-body);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-5);
  max-width: 520px;
}

/* ----- Right: quiet recent list ------------------------------------- */

.sermons-feature__recent-heading {
  font-family: var(--font-display);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.sermons-feature__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-divider);
}

.sermons-feature__list li {
  margin: 0;
  border-bottom: 1px solid var(--color-divider);
}

.sermons-feature__list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4);
  align-items: baseline;
  padding: var(--space-4) 0;
  text-decoration: none;
  color: var(--color-navy);
  transition: color var(--ease-standard);
}
/* No numerals (Sermons page) — the title takes the first column. */
.sermons-feature__list--plain a { grid-template-columns: 1fr auto; }
.sermons-feature__list a:hover { color: var(--color-gold-dark); }
.sermons-feature__list a:hover .sermons-feature__list-title {
  color: var(--color-gold-dark);
}

.sermons-feature__list-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-h3);
  font-weight: 400;
  color: var(--color-gold-dark);  /* gold-dark, not gold — 2.47:1 → 5.32:1 against cream */
  line-height: 1;
  align-self: center;
  letter-spacing: -0.02em;
}

.sermons-feature__list-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
  transition: color var(--ease-standard);
}

.sermons-feature__list-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--color-warm-gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sermons-feature__list-duration {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--color-warm-gray);
  white-space: nowrap;
  align-self: center;
}


/* =====================================================================
   About snippet — homepage who-we-are block
   =====================================================================
   Two-column: long-form text leads on the left (~62%), small
   portrait-crop image accents on the right (~38%). The display
   heading begins the canonical Article 2.1 self-description; the
   italic lede beneath continues that same sentence — heading +
   lede read as one unbroken constitutional statement.
   ===================================================================== */

.about-snippet {
  background: var(--color-soft-white);
}

.about-snippet__grid {
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 0;
  align-items: center;
}

.about-snippet__text {
  padding-right: var(--space-7);
  border-right: 1px solid rgba(184, 149, 68, 0.4);
  /* Stretch to the row so the divider spans the full height even when
     the photo is taller than the text; keep the text centered. */
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about-snippet__media {
  padding-left: var(--space-7);
  align-self: stretch;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .about-snippet__grid { grid-template-columns: 1fr; }
  .about-snippet__text {
    padding-right: 0;
    border-right: none;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(184, 149, 68, 0.4);
    margin-bottom: var(--space-6);
  }
  .about-snippet__media { padding-left: 0; }
}

.about-snippet__media .placeholder {
  border-radius: var(--radius-md);
  width: 100%;
}

.about-snippet__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  background: var(--color-cream);
}

.about-snippet__photo--wide { aspect-ratio: 3 / 2; }

.about-snippet__title {
  font-size: var(--fs-h1);
  margin: 0 0 var(--space-4);
  line-height: var(--lh-tight);
  max-width: 22ch;
}

.about-snippet__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-3);
  max-width: 50ch;
}

.about-snippet__lede:has(+ .about-snippet__cta) { margin-bottom: var(--space-5); }

.about-snippet__citation {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
  margin: 0 0 var(--space-5);
  font-weight: 600;
}

.about-snippet__body {
  font-size: var(--fs-body);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-3);
  max-width: 56ch;
}
.about-snippet__body:last-of-type { margin-bottom: var(--space-5); }

.about-snippet__cta {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.about-snippet__cta::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.about-snippet__cta:hover { color: var(--color-gold-dark); }
.about-snippet__cta:hover::after { margin-left: 4px; }

/* Navy variant — used on I'm New for the kids section so it stands
   apart from the light What to Expect grid above it. */
.about-snippet--navy { background: var(--color-navy); color: var(--color-cream); }
.about-snippet--navy .eyebrow { color: var(--color-gold-light); }
.about-snippet--navy .about-snippet__title { color: var(--color-cream); }
.about-snippet--navy .about-snippet__lede { color: var(--color-cream-dark); }
.about-snippet--navy .about-snippet__body { color: var(--color-cream); }
.about-snippet--navy .about-snippet__cta { color: var(--color-gold-light); }
.about-snippet--navy .about-snippet__cta:hover { color: var(--color-cream); }
.about-snippet--navy .about-snippet__text { border-color: rgba(212, 181, 104, 0.5); }


/* =====================================================================
   Connect CTA — homepage closing statement on navy
   =====================================================================
   The page's parting note. After hero → plan visit → pillars → events →
   sermons → about, the reader has the full picture; this section is
   the invitation to act on it. Centered composition (a deliberate
   break from the asymmetric two-column blocks above) so it reads as
   the page's resolution, not another content row. One italic-gold
   phrase inside the heading earns the typographic moment; the rest
   of the cell stays restrained.
   ===================================================================== */

.connect-cta {
  background: var(--color-navy);
  color: var(--color-cream);
  position: relative;
}

.connect-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 14px,
      rgba(184, 149, 68, 0.04) 14px 15px);
  pointer-events: none;
}

.connect-cta > .container,
.connect-cta > .container--reading,
.connect-cta > * { position: relative; }

.connect-cta__inner {
  text-align: center;
}

.connect-cta__eyebrow {
  color: var(--color-gold-light);
  margin-bottom: var(--space-4);
}

.connect-cta__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  color: var(--color-cream);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
}

/* Italic gold phrase inside the heading — the typographic moment */
.connect-cta__phrase {
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold);
}

.connect-cta__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: rgba(245, 239, 227, 0.8);
  line-height: var(--lh-relaxed);
  margin: 0 auto var(--space-5);
  max-width: 50ch;
}

.connect-cta__body {
  font-size: var(--fs-body);
  color: rgba(245, 239, 227, 0.85);
  line-height: var(--lh-relaxed);
  margin: var(--space-5) auto var(--space-6);
  max-width: 52ch;
}

.connect-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

/* With no lede or body between them, give the button room under the heading. */
.connect-cta__title + .connect-cta__actions {
  margin-top: var(--space-6);
}

.connect-cta__alt {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: rgba(245, 239, 227, 0.85);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--ease-standard);
}
.connect-cta__alt::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.connect-cta__alt:hover {
  color: var(--color-gold-light);
}
.connect-cta__alt:hover::after {
  margin-left: 4px;
}

@media (max-width: 600px) {
  .connect-cta__actions {
    flex-direction: column;
    gap: var(--space-3);
  }
}


/* =====================================================================
   Page hero — generic page header for non-homepage pages
   =====================================================================
   A lighter, cream-background hero pattern shared across all Phase 2
   pages other than the homepage. Centered, narrow column, layered
   type stack: eyebrow → display heading with one italic-gold phrase
   → italic display-serif lede. Restrained — the page itself does the
   announcing; this just frames the visitor's arrival.
   ===================================================================== */

.page-hero {
  background: var(--color-cream);
  text-align: center;
  padding-top: var(--space-9);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-divider);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
}

/* Italic gold phrase inside the heading — the typographic moment */
.page-hero__phrase {
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-dark);
}

.page-hero__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  line-height: var(--lh-relaxed);
  margin: 0 auto var(--space-3);
  max-width: 52ch;
}

/* Optional citation line — when the lede pulls verbatim canonical text */
.page-hero__citation {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
  margin: 0;
  font-weight: 600;
}

@media (max-width: 600px) {
  .page-hero {
    padding-top: var(--space-7);
    padding-bottom: var(--space-6);
  }
}

/* Photo variant — a full-bleed photograph behind the heading, under an
   even navy overlay so the centered text reads anywhere on the image.
   The photo is set inline from the CMS (background-image + position). */
.page-hero--photo {
  position: relative;
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center;
  border-bottom: none;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(19, 30, 51, 0.55) 0%,
      rgba(19, 30, 51, 0.70) 100%);
  pointer-events: none;
}

.page-hero--photo > .container { position: relative; z-index: 1; }

.page-hero--photo .eyebrow { color: var(--color-gold-light); }

.page-hero--photo .page-hero__title {
  color: var(--color-cream);
  text-shadow: 0 1px 12px rgba(19, 30, 51, 0.45);
}

.page-hero--photo .page-hero__phrase { color: var(--color-gold-light); }

.page-hero--photo .page-hero__lede { color: var(--color-cream); }

@media (max-width: 600px) {
  .page-hero--photo { min-height: 360px; }
}


/* =====================================================================
   What to expect — visitor Q&A list (im-new.html)
   =====================================================================
   The honest practical questions a first-time visitor has before
   walking in the door. Two-column dense list with italic display-
   serif questions in gold and body-sans answers. Borders on all
   sides + interior lines so it reads as a coherent block, not a
   loose paragraph stack.
   ===================================================================== */

.expect {
  background: var(--color-soft-white);
}

.expect__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.expect__title {
  font-size: var(--fs-h1);
  margin: 0 0 var(--space-3);
}

.expect__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  margin: 0;
}

.expect__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
}

.expect__item {
  padding: var(--space-6) var(--space-5);
  border-right: 1px solid rgba(184, 149, 68, 0.3);
  border-bottom: 1px solid rgba(184, 149, 68, 0.3);
}
.expect__item:nth-child(2n) { border-right: none; }
.expect__item:nth-last-child(-n+2):nth-child(2n+1),
.expect__item:nth-last-child(-n+1) { border-bottom: none; }

.expect__q {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--color-gold-dark);
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-2);
}

.expect__a {
  font-size: var(--fs-body);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0;
}

@media (max-width: 768px) {
  .expect__list { grid-template-columns: 1fr; }
  .expect__item {
    border-right: none;
    border-bottom: 1px solid rgba(184, 149, 68, 0.3);
  }
  .expect__item:last-child { border-bottom: none; }
}


/* =====================================================================
   Sunday rhythm — three-movement walkthrough (im-new.html)
   =====================================================================
   Same numeral-anchored typographic system as the homepage Pillars
   (italic gold Roman numeral as the cell anchor) but rotated from a
   four-column grid into a vertical full-width stack of three rows.
   Navy background with low-opacity gold hatching for continuity with
   Hero/Pillars. Variant of the same visual language.
   ===================================================================== */

.rhythm {
  background: var(--color-navy);
  color: var(--color-cream);
  position: relative;
}

.rhythm::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 14px,
      rgba(184, 149, 68, 0.05) 14px 15px);
  pointer-events: none;
}

.rhythm > .container,
.rhythm > .container--wide,
.rhythm > * { position: relative; }

.rhythm__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.rhythm__title {
  font-size: var(--fs-h1);
  color: var(--color-cream);
  margin: 0 0 var(--space-3);
}

.rhythm__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: rgba(245, 239, 227, 0.7);
  margin: 0;
}

.rhythm__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 880px;
  border-top: 1px solid rgba(184, 149, 68, 0.45);
}

.rhythm__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-6);
  align-items: baseline;
  padding: var(--space-6) var(--space-3);
  border-bottom: 1px solid rgba(184, 149, 68, 0.45);
}

/* Italic gold Roman numeral — the cell's typographic anchor */
.rhythm__numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-display);
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
}

.rhythm__label {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--color-cream);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}

/* Italic supporting line — sits beneath the label */
.rhythm__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: rgba(245, 239, 227, 0.7);
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-3);
}

.rhythm__detail {
  font-size: var(--fs-body);
  color: rgba(245, 239, 227, 0.85);
  line-height: var(--lh-relaxed);
  margin: 0;
  max-width: 60ch;
}

@media (max-width: 600px) {
  .rhythm__item {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-5) 0;
  }
  .rhythm__numeral {
    text-align: left;
  }
}


/* =====================================================================
   Beliefs summary — quiet doctrinal statement on soft-white
   =====================================================================
   Centered, narrow-column page section pulling Article 2.1 verbatim
   as the constitutional self-description, with a quiet link to the
   full What We Believe page. Same layered-type pattern as page-hero
   and connect-cta; the citation in mono signals "this is canonical
   text, not paraphrase."
   ===================================================================== */

.beliefs-summary {
  background: var(--color-soft-white);
}

.beliefs-summary__inner {
  text-align: center;
}

.beliefs-summary__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
}

.beliefs-summary__phrase {
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-dark);
}

.beliefs-summary__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  line-height: var(--lh-relaxed);
  margin: 0 auto var(--space-3);
  max-width: 52ch;
}

.beliefs-summary__citation {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
  margin: 0 0 var(--space-5);
  font-weight: 600;
}

.beliefs-summary__body {
  font-size: var(--fs-body);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0 auto var(--space-5);
  max-width: 56ch;
}

.beliefs-summary__cta {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.beliefs-summary__cta::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.beliefs-summary__cta:hover { color: var(--color-gold-dark); }
.beliefs-summary__cta:hover::after { margin-left: 4px; }


/* =====================================================================
   Articles of Faith — five doctrinal blocks (what-we-believe.html)
   =====================================================================
   Numbered full-width rows, one per article. Each block carries the
   verbatim constitutional definition (italic display-serif, treated
   like a canonical quote), an accessible expansion (body sans), and
   the Scripture references rendered as quiet mono metadata. Same
   numeral-anchored typographic system as the homepage Pillars and
   the I'm New Sunday rhythm — italic gold numeral as the cell
   anchor, content stack to the right.

   Don't paraphrase the canonical definitions. The accessible
   expansions are drafts pending elder review.
   ===================================================================== */

.articles {
  background: var(--color-cream);
}

.articles__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 960px;
  border-top: 1px solid var(--color-gold);
}

.articles__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-6);
  padding: var(--space-7) var(--space-3);
  border-bottom: 1px solid var(--color-gold);
}

/* Italic gold numeral — the cell's typographic anchor */
.articles__numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-display);
  font-weight: 400;
  color: var(--color-gold-dark);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  align-self: start;
  margin-top: -6px;
}

.articles__label {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}

/* Verbatim constitutional definition — italic display-serif, treated
   as a canonical quote rather than a brand lede */
.articles__canon {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-4);
  max-width: 60ch;
}

/* Accessible expansion — plain body sans, draft pending elder review */
.articles__body {
  font-size: var(--fs-body);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-4);
  max-width: 60ch;
}

/* Scripture references — quiet mono metadata, gold-dark */
.articles__refs {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--color-gold-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

/* Inline link to the full Doctrinal Statement — sits below the
   articles list, quiet, centered */
.articles__deeper {
  text-align: center;
  margin-top: var(--space-7);
}

.articles__deeper-link {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.articles__deeper-link::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.articles__deeper-link:hover { color: var(--color-gold-dark); }
.articles__deeper-link:hover::after { margin-left: 4px; }

/* Doctrinal Statement page (/doctrinal-statement/) — reuses the
   articles list; these set the part headings and space multi-paragraph
   sections, where each paragraph group carries its own references. */
.doctrine__intro {
  max-width: 960px;
  margin: var(--space-8) auto var(--space-6);
  text-align: center;
}
.doctrine__intro:first-child { margin-top: 0; }
.doctrine__intro .essay__title { margin-left: auto; margin-right: auto; max-width: none; }
.doctrine__intro .essay__body { margin-left: auto; margin-right: auto; }
.articles__refs.doctrine__refs { margin-bottom: var(--space-5); line-height: var(--lh-relaxed); max-width: 60ch; }
.articles__refs.doctrine__refs:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .articles__item {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-6) 0;
  }
  .articles__numeral {
    text-align: left;
    margin-top: 0;
  }
}


/* =====================================================================
   Essay — narrative text section (membership.html, future about.html)
   =====================================================================
   Short pastoral / explanatory prose. Display-serif heading with one
   italic-gold phrase, body sans paragraphs at slightly larger size
   for comfortable reading at narrow column widths. No image, no
   ornament — restraint reads as seriousness in this context.
   ===================================================================== */

.essay__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-5);
  max-width: 18ch;
}

.essay__phrase {
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-dark);
}

.essay__body {
  font-size: var(--fs-body-lg);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-4);
  max-width: 60ch;
}
.essay__body:last-of-type { margin-bottom: 0; }

.essay h3 {
  font-size: var(--fs-h3);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  max-width: 60ch;
}


/* =====================================================================
   Membership Covenant — 4-card grid on navy (membership.html)
   =====================================================================
   The page's centerpiece. Article 3.3 verbatim — four numbered
   commitments, three sub-commitments per commitment, each paired
   with a Scripture reference rendered in mono as quiet metadata.
   Cream cards on the navy section ground for contrast and gravitas
   (the Covenant is a public commitment; the navy ground signals
   the seriousness). Two-column on desktop, stacked on mobile.

   Don't paraphrase the commitment text — verbatim from the
   Constitution. Reorder is also forbidden (Unity → Responsibility
   → Ministry → Testimony is the constitutional order).
   ===================================================================== */

.covenant {
  background: var(--color-navy);
  color: var(--color-cream);
  position: relative;
}

.covenant::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 14px,
      rgba(184, 149, 68, 0.05) 14px 15px);
  pointer-events: none;
}

.covenant > .container,
.covenant > .container--wide,
.covenant > * { position: relative; }

.covenant__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.covenant__title {
  font-size: var(--fs-h1);
  color: var(--color-cream);
  margin: 0 0 var(--space-3);
}

.covenant__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: rgba(245, 239, 227, 0.7);
  margin: 0;
}

.covenant__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  max-width: 1080px;
  margin: 0 auto;
}

.covenant__card {
  background: var(--color-cream);
  padding: var(--space-7) var(--space-6);
  border-top: 2px solid var(--color-gold);
  display: flex;
  flex-direction: column;
}

/* Italic gold numeral — the card's typographic anchor */
.covenant__numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-h1);
  font-weight: 400;
  color: var(--color-gold-dark);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.covenant__heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.005em;
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(184, 149, 68, 0.4);
  max-width: 14ch;
}

.covenant__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.covenant__list > li {
  margin-bottom: var(--space-5);
}
.covenant__list > li:last-child {
  margin-bottom: 0;
}

/* Each verbatim sub-commitment phrase */
.covenant__phrase {
  font-size: var(--fs-body);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-1);
}

/* Scripture reference — quiet mono metadata */
.covenant__ref {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--color-gold-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .covenant__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}


/* =====================================================================
   Tail links — quiet article footer links (membership.html)
   =====================================================================
   Sober, low-prominence links to Articles 7 (Discipline) and 8
   (Binding Arbitration). Per the constitution-extracts canon notes:
   don't bury these — prospective members deserve to see what they're
   signing up for. Quiet, but visible.
   ===================================================================== */

.tail-links__intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-6);
}

.tail-links__heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.005em;
}

.tail-links__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body);
  color: var(--color-warm-gray);
  margin: 0;
  line-height: var(--lh-relaxed);
}

.tail-links__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
}

.tail-links__item {
  border-bottom: 1px solid rgba(184, 149, 68, 0.3);
}
.tail-links__item:last-child {
  border-bottom: none;
}

.tail-links__item a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5) var(--space-4);
  text-decoration: none;
  color: var(--color-navy);
  transition: background var(--ease-standard);
}

.tail-links__item a:hover {
  background: rgba(184, 149, 68, 0.06);
}

.tail-links__article {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.tail-links__name {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--color-navy);
  display: block;
  margin-bottom: 2px;
  line-height: var(--lh-tight);
}

.tail-links__desc {
  font-size: var(--fs-body-sm);
  color: var(--color-warm-gray);
  display: block;
  line-height: var(--lh-snug);
}

.tail-links__arrow {
  font-family: var(--font-display);
  color: var(--color-gold-dark);
  font-size: var(--fs-h4);
  transition: margin-left var(--ease-standard);
}
.tail-links__item a:hover .tail-links__arrow {
  margin-left: 4px;
}

@media (max-width: 600px) {
  .tail-links__item a {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .tail-links__arrow { display: none; }
}


/* =====================================================================
   Events list page (events.html)
   =====================================================================
   The page itself reuses .card-grid + .card.card--event for the items
   and .tag-list + .tag--filter for the category filters; only the
   filter row's spacing needs a thin pattern here.
   ===================================================================== */

.events-list {
  background: var(--color-soft-white);
}

.events-list__filters {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
  flex-wrap: wrap;
}

.events-list__filters-label {
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin: 0;
  flex: none;
}


/* =====================================================================
   Empty state — reusable no-results block
   =====================================================================
   Drops in wherever a list might return zero items: filtered events,
   sermon search with no matches, calendar months with no gatherings.
   Quiet, dashed gold border so it reads as "intentional silence" not
   "broken UI."
   ===================================================================== */

.empty-state {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  background: var(--color-cream);
  border: 1px dashed rgba(184, 149, 68, 0.45);
  border-radius: var(--radius-md);
  max-width: 520px;
  margin: 0 auto;
}

.empty-state__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-2);
}

.empty-state__text {
  font-size: var(--fs-body);
  color: var(--color-warm-gray);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-4);
}

.empty-state__action {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.empty-state__action::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.empty-state__action:hover { color: var(--color-gold-dark); }
.empty-state__action:hover::after { margin-left: 4px; }


/* =====================================================================
   Event hero — single-event header (event-detail.html)
   =====================================================================
   Full-bleed event header: photo placeholder ground with a darkening
   gradient for legibility, content stack at the bottom-left (eyebrow
   category, display heading, date/time meta). Sits below a small
   breadcrumb strip rather than carrying its own back-link, keeping
   the hero itself uncluttered.
   ===================================================================== */

.event-hero {
  position: relative;
  background: var(--color-navy);
  color: var(--color-cream);
  padding: var(--space-9) var(--space-7);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}

/* Photo-placeholder ground — diagonal gradient + darkening overlay */
.event-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(19, 30, 51, 0.35) 0%,
      rgba(19, 30, 51, 0.92) 100%),
    linear-gradient(135deg,
      rgba(27, 45, 74, 0.85) 0%,
      rgba(184, 149, 68, 0.4) 100%);
  pointer-events: none;
}

/* Subtle hatching on top of the gradient — same weave as Hero/Pillars */
.event-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 14px,
      rgba(184, 149, 68, 0.05) 14px 15px);
  pointer-events: none;
}

.event-hero__placeholder-tag {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(245, 239, 227, 0.85);
  color: var(--color-warm-gray);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.event-hero__inner {
  position: relative;
  max-width: 760px;
  z-index: 1;
}

.event-hero__eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-light);
  font-weight: 600;
  margin: 0 0 var(--space-3);
}

.event-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  color: var(--color-cream);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-5);
}

.event-hero__meta {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.event-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-hero__meta-label {
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-light);
  font-weight: 600;
}

.event-hero__meta-value {
  font-size: var(--fs-body);
  color: var(--color-cream);
  font-weight: 500;
}

@media (max-width: 768px) {
  .event-hero {
    padding: var(--space-7) var(--space-4);
    min-height: 380px;
  }
  .event-hero__meta { gap: var(--space-4); }
}


/* =====================================================================
   Event detail — main + aside two-column body (event-detail.html)
   =====================================================================
   Asymmetric grid. Left column carries the full description: an
   italic display-serif lede, then h3-anchored sub-sections (What
   to expect / Who it's for / What to bring) with body sans
   paragraphs. Right column is a sticky aside panel — date, time,
   location, fee, capacity, plus the primary register CTA.
   ===================================================================== */

.event-detail {
  background: var(--color-cream);
}

.event-detail__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-8);
  align-items: start;
}

.event-detail__main {
  min-width: 0;
}

.event-detail__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-6);
  max-width: 56ch;
}

.event-detail__main h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: -0.005em;
  margin: var(--space-7) 0 var(--space-3);
}
.event-detail__main h3:first-of-type {
  margin-top: 0;
}

.event-detail__main p {
  font-size: var(--fs-body);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-3);
  max-width: 60ch;
}

.event-detail__main ul {
  margin: 0 0 var(--space-3) var(--space-5);
  padding: 0;
}

.event-detail__main li {
  font-size: var(--fs-body);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2);
  max-width: 58ch;
}

/* "Just show up" message — used when the event has no registration.
   Replace the .registration section with a single block carrying this
   class. Quiet gold-bordered note signals "no friction here." */
.event-detail__no-signup {
  background: var(--color-soft-white);
  border-left: 3px solid var(--color-gold);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: var(--space-6) 0;
  max-width: 56ch;
}

@media (max-width: 900px) {
  .event-detail__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}


/* =====================================================================
   Event aside — sticky details panel
   =====================================================================
   Right-column structured panel: label / value rows for the practical
   details, a primary register button, and an optional capacity hint.
   Sticks below the nav on desktop scroll so the register CTA is
   always within reach while reading the description.
   ===================================================================== */

.event-aside {
  background: var(--color-soft-white);
  padding: var(--space-6) var(--space-5);
  border-top: 2px solid var(--color-gold);
  position: sticky;
  top: var(--space-6);
  align-self: start;
}

.event-aside__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
}

.event-aside__item {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(184, 149, 68, 0.25);
}
.event-aside__item:first-child { padding-top: 0; }
.event-aside__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-aside__label {
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.event-aside__value {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  color: var(--color-navy);
  font-weight: 500;
  line-height: var(--lh-snug);
}

.event-aside__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.event-aside__cta .btn {
  width: 100%;
}

.event-aside__capacity {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--color-warm-gray);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 900px) {
  .event-aside {
    position: static;
    margin-top: 0;
  }
}


/* =====================================================================
   Related events — closing card row on event-detail.html
   =====================================================================
   Same .card-grid + .card.card--event used everywhere; only adds the
   section header pattern.
   ===================================================================== */

.related-events {
  background: var(--color-cream);
}

.related-events__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

.related-events__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--color-navy);
  margin: 0;
  line-height: var(--lh-tight);
}

.related-events__see-all {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.related-events__see-all::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.related-events__see-all:hover {
  color: var(--color-gold-dark);
}
.related-events__see-all:hover::after {
  margin-left: 4px;
}

@media (max-width: 600px) {
  .related-events__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}


/* =====================================================================
   Series archive — past sermon series grid (sermons.html)
   =====================================================================
   Art-forward grid honoring D-011: each series gets a bespoke
   painting, treated here as a portrait-orientation cover. Cards
   have minimal chrome — the artwork carries the visual weight.
   Series name in display serif, passage in mono, sermon count
   and date range as quiet metadata.
   ===================================================================== */

.series-archive {
  background: var(--color-cream);
}

.series-archive__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

.series-archive__intro { flex: 1; min-width: 0; }

.series-archive__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 var(--space-2);
  line-height: var(--lh-tight);
}

.series-archive__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  margin: 0;
}

.series-archive__see-all {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex: none;
}
.series-archive__see-all::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.series-archive__see-all:hover { color: var(--color-gold-dark); }
.series-archive__see-all:hover::after { margin-left: 4px; }

.series-archive__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.series-archive__card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease-standard);
}
.series-archive__card:hover {
  transform: translateY(-2px);
}

.series-archive__cover {
  aspect-ratio: 4 / 5;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.series-archive__cover .placeholder {
  border-radius: 0;
  height: 100%;
  width: 100%;
  min-height: 0;
}

.series-archive__passage {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--color-gold-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
  font-weight: 600;
}

.series-archive__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.005em;
  margin: 0 0 var(--space-2);
  transition: color var(--ease-standard);
}
.series-archive__card:hover .series-archive__name {
  color: var(--color-gold-dark);
}

.series-archive__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--color-warm-gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 1024px) {
  .series-archive__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .series-archive__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .series-archive__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}


/* =====================================================================
   Connect success — confirmation state (connect.html, event-detail.html)
   =====================================================================
   Shown after a successful Connect Card or registration submission.
   Centered card with a small gold-diamond ornament, display-serif
   "Got it." heading, body copy framing what happens next, and a
   pair of follow-up actions (return home / send another).
   ===================================================================== */

.connect-success {
  text-align: center;
  background: var(--color-cream);
  border: 1px solid var(--color-gold);
  padding: var(--space-9) var(--space-7);
  border-radius: var(--radius-md);
  max-width: 600px;
  margin: 0 auto;
}

.connect-success__ornament {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto var(--space-5);
  background: var(--color-gold);
  transform: rotate(45deg);
}

.connect-success__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
}

.connect-success__body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-charcoal);
  line-height: var(--lh-relaxed);
  margin: 0 auto var(--space-6);
  max-width: 44ch;
}

.connect-success__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.connect-success__alt {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.connect-success__alt:hover { color: var(--color-gold-dark); }

/* Wrapper used on connect.html to label the success-state preview
   so reviewers know it's a state mock, not the live page state. */
.state-preview {
  border-top: 1px dashed rgba(184, 149, 68, 0.5);
  padding-top: var(--space-7);
  margin-top: var(--space-8);
}

.state-preview__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-warm-gray);
  margin: 0 0 var(--space-5);
  font-weight: 600;
}


/* =====================================================================
   Scroll-reveal of section headings + key blocks (Phase 4 polish)
   =====================================================================
   Section H2s, articles, and card grids rise + fade as they enter
   the viewport. Driven by IntersectionObserver in enhance.js — the
   .is-visible class is toggled per element. Bidirectional: elements
   animate out as they leave the viewport, in again on re-entry.
   Honors prefers-reduced-motion (collapses to no animation).

   Stagger cascade — JS sets a --reveal-i CSS variable on each
   element inside .card-grid / .covenant__grid / .series-archive__grid /
   .articles__list, so children inherit a 90ms-per-index delay.
   ===================================================================== */

.reveal-up {
  --reveal-i: 0;
  --reveal-stagger: 90ms;
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 800ms cubic-bezier(0.2, 0, 0, 1),
              transform 800ms cubic-bezier(0.2, 0, 0, 1);
  transition-delay: calc(var(--reveal-i) * var(--reveal-stagger));
  will-change: opacity, transform;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-up.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =====================================================================
   Print stylesheet
   =====================================================================
   Targets sermon notes, event details, beliefs, membership covenant.
   Strips chrome, decorative layers, and interactive elements. Black
   ink on white. URLs shown for external links.
   ===================================================================== */

@media print {

  /* ----- Page setup -------------------------------------------------- */

  @page {
    margin: 1in 0.875in;
    size: letter;
  }

  /* ----- Reset colors and backgrounds -------------------------------- */

  *,
  *::before,
  *::after {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* ----- Hide: chrome, interactive, and decorative elements ---------- */

  .skip-link,
  .site-nav,
  .site-footer,
  .hero__media,
  .hero__overlay,
  .sermons-feature__decor,
  .wheat-bouquet,
  .ornamental-divider,
  .plan-visit,
  .pillars,
  .events-strip,
  .about-snippet,
  .connect-cta,
  .tail-links,
  .related-events,
  .series-archive,
  .connect-form,
  .event-register,
  .card-grid,
  .map-embed,
  .btn,
  .breadcrumb,
  .tag,
  form {
    display: none !important;
  }

  /* ----- Body and type ----------------------------------------------- */

  body {
    font-size: 11pt;
    line-height: 1.6;
    font-family: Georgia, serif;
  }

  h1 { font-size: 22pt; margin-bottom: 0.25in; }
  h2 { font-size: 16pt; margin-top: 0.3in; margin-bottom: 0.1in; }
  h3 { font-size: 13pt; margin-top: 0.2in; }

  p, li { orphans: 3; widows: 3; }

  /* ----- Page-break control ------------------------------------------ */

  h1, h2, h3 { page-break-after: avoid; }

  .articles__item,
  .covenant__card,
  .card--sermon,
  .card--event {
    page-break-inside: avoid;
  }

  /* ----- Show URLs for links ----------------------------------------- */

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
  }

  /* Suppress URL display for internal anchors and nav links */
  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: "";
  }

  /* ----- Hero: show as a simple text header -------------------------- */

  .hero {
    background: white !important;
    padding: 0 0 0.25in !important;
    min-height: 0 !important;
  }

  .hero__content {
    color: black !important;
    text-align: left;
  }

  .hero__eyebrow { color: #555 !important; }

  /* ----- Sermon and event content ------------------------------------ */

  .sermon-detail__meta,
  .event-detail__meta {
    font-size: 10pt;
    color: #444 !important;
    margin-bottom: 0.2in;
    border-bottom: 0.5pt solid #ccc;
    padding-bottom: 0.1in;
  }

  /* ----- Scripture references ---------------------------------------- */

  .scripture-ref {
    font-size: 9.5pt;
    color: #555 !important;
    border-left: 2pt solid #999 !important;
    padding-left: 0.15in;
    margin: 0.15in 0;
  }

  /* ----- What We Believe articles ------------------------------------ */

  .articles__item {
    border-top: 0.5pt solid #ccc;
    padding-top: 0.15in;
    margin-top: 0.15in;
  }

  /* ----- Membership covenant ----------------------------------------- */

  .covenant__grid {
    display: block !important;
  }

  .covenant__card {
    border: 0.5pt solid #ccc;
    padding: 0.15in;
    margin-bottom: 0.15in;
  }

  /* ----- Visit / contact info ---------------------------------------- */

  .visit-info {
    margin-bottom: 0.2in;
  }
}


/* =====================================================================
   Programs — weeknight ministries on cream (kids.html: AWANA, LIGHT)
   Two side-by-side cards, each with a name, an italic lede, a short
   description and a label/value list for times, groups and cost.
   ===================================================================== */

.programs { background: var(--color-cream); }

.programs__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.programs__title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-3);
}

.programs__phrase {
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold-dark);
}

.programs__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  margin: 0;
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.programs__item {
  background: var(--color-soft-white);
  border-top: 3px solid var(--color-gold);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}

.programs__item .eyebrow { margin-bottom: var(--space-2); }

/* Optional banner across the top of a program card, edge to edge. */
.programs__image {
  display: block;
  width: calc(100% + 2 * var(--space-6));
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-5);
}

.programs__name {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--color-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}

.programs__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-warm-gray);
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-4);
}

.programs__body {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--color-charcoal);
  margin: 0 0 var(--space-5);
}

.programs__details {
  margin: 0 0 var(--space-5);
  border-top: 1px solid var(--color-divider);
}

.programs__detail {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}

.programs__detail dt {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  padding-top: 4px;
}

.programs__detail dd {
  margin: 0;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-charcoal);
}

.programs__action { margin: 0 0 var(--space-4); }

.programs__contact {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-warm-gray);
  margin: auto 0 0;
}

.programs__contact a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.programs__contact a:hover { color: var(--color-navy); }

@media (max-width: 860px) {
  .programs__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .programs__title { font-size: var(--fs-h2); }
}

@media (max-width: 480px) {
  .programs__item { padding: var(--space-5); }
  .programs__image {
    width: calc(100% + 2 * var(--space-5));
    margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-4);
  }
  .programs__detail { grid-template-columns: 1fr; gap: var(--space-1); }
}


/* Navy variant of the numbered list (kids.html "A typical Sunday"),
   so the page alternates light and dark below the photo hero. */
.articles--navy { background: var(--color-navy); color: var(--color-cream); }
.articles--navy .eyebrow { color: var(--color-gold-light); }
.articles--navy .expect__title { color: var(--color-cream); }
.articles--navy .expect__sub { color: var(--color-cream-dark); }
.articles--navy .articles__list,
.articles--navy .articles__item { border-color: rgba(212, 181, 104, 0.45); }
.articles--navy .articles__numeral { color: var(--color-gold-light); }
.articles--navy .articles__label { color: var(--color-cream); }
.articles--navy .articles__body { color: var(--color-cream); }

/* =====================================================================
   Watch — Sunday livestream (/watch/)
   =====================================================================
   A 16:9 navy frame holds the stream player. Until a stream is set
   (or between Sundays, depending on the platform) the frame shows a
   quiet waiting state: gold diamond, service time, one line of body.
   Under the frame, the service time on the left and the outbound
   links on the right.
   ===================================================================== */

.watch-stream__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-navy-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(19, 30, 51, 0.55);
}

.watch-stream__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-stream__waiting {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5);
  color: var(--color-cream);
}

.watch-stream__ornament {
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: var(--space-5);
  background: var(--color-gold);
  transform: rotate(45deg);
}

.watch-stream__waiting-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--color-cream);
  margin: 0 0 var(--space-3);
}

.watch-stream__waiting-body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: rgba(245, 239, 227, 0.75);
  margin: 0;
  max-width: 40ch;
}

.watch-stream__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.watch-stream__when {
  font-family: var(--font-display);
  font-size: var(--fs-body-lg);
  color: var(--color-navy);
  margin: 0;
}
.watch-stream__when .eyebrow {
  margin: 0 var(--space-3) 0 0;
}

.watch-stream__links {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.watch-stream__link {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--ease-standard);
}
.watch-stream__link::after {
  content: ' →';
  display: inline-block;
  transition: margin-left var(--ease-standard);
}
.watch-stream__link:hover { color: var(--color-gold-dark); }
.watch-stream__link:hover::after { margin-left: 4px; }

@media (max-width: 600px) {
  .watch-stream__frame { border-radius: var(--radius-sm); }
  .watch-stream__waiting-title { font-size: var(--fs-h3); }
  .watch-stream__waiting-body { font-size: var(--fs-body); }
  .watch-stream__ornament { margin-bottom: var(--space-4); }
}


/* =====================================================================
   Missionaries (/missionaries/) — staff-style photo cards, square photos,
   four across on wide screens.
   ===================================================================== */
.card--missionary .card__media { aspect-ratio: 1 / 1; }
.card--missionary .card__media img { width: 100%; height: 100%; object-fit: cover; }
.missionaries__place {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  letter-spacing: 0;
  color: var(--color-warm-gray);
}
@media (max-width: 1100px) {
  .missionaries__grid.card-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .missionaries__grid.card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .missionaries__grid.card-grid--4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
