/* ============================================================
   Granger Brethren Church — distinctive identity stylesheet
   Less editorial template, more old-Texas-Czech-chapel.
   Path B (PHP includes) target.
   ============================================================ */

:root {
  /* Bone & ink, with heritage red + brass + a deep oxblood + a quiet sage */
  --bg:          #F3EDDE;
  --bg-soft:     #ECE3CC;
  --bg-card:    #FBF7EB;
  --bg-paper:   #F8F1DC;
  --bg-deep:    #1A1815;
  --bg-deep-2:  #221F1A;

  --ink:        #1A1815;
  --ink-soft:   #443C33;
  --ink-faded:  #6E6357;

  --rule:       #D6CCAE;
  --rule-soft:  #E5DCB9;

  --red:        #8E2A22;
  --red-deep:   #6E1F1A;
  --red-doors:  #B33A2E;        /* the red-doors red, used sparingly */

  --brass:      #B5894A;
  --brass-deep: #8E6B36;
  --brass-soft: #D9B47A;

  --gray:       #7A6F62;

  /* Distinguishing accent — a quiet evergreen (Bohemian/forest) */
  --sage:       #4A5A3E;

  /* Typography */
  --display: 'EB Garamond', 'Garamond', 'Apple Garamond', Georgia, serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hand:    'EB Garamond', Georgia, serif; /* used italic for marginalia */

  /* Layout */
  --container: 1360px;
  --container-narrow: 1080px;
  --container-prose: 720px;
  --container-pillars: 1080px;
  --gutter: 2rem;

  /* Shadows used sparingly */
  --shadow-soft: 0 1px 2px rgba(26, 24, 21, 0.04), 0 8px 30px -20px rgba(26, 24, 21, 0.18);
  --shadow-photo: 0 1px 2px rgba(26, 24, 21, 0.08), 0 20px 50px -25px rgba(26, 24, 21, 0.32);
  --shadow-frame: 0 0 0 1px rgba(26, 24, 21, 0.08), 0 30px 60px -30px rgba(26, 24, 21, 0.45);

  /* Easing */
  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Paper texture — very subtle warm noise */
  background-image:
    radial-gradient(circle at 18% 12%, rgba(181, 137, 74, 0.045) 0%, transparent 45%),
    radial-gradient(circle at 80% 88%, rgba(142, 42, 34, 0.035) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(74, 90, 62, 0.025) 0%, transparent 60%);
  background-attachment: fixed;
}

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

a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.18s var(--ease);
}
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink); color: var(--bg);
  padding: 0.75rem 1.25rem; text-decoration: none;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

.wrap         { max-width: var(--container);        margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow  { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-prose   { max-width: var(--container-prose);  margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================================
   Reusable accents
   ============================================================ */
.eyebrow {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 0.9rem;
}
.eyebrow-czech {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--brass);
  font-size: 1.05rem;
  margin-right: 0.5rem;
}

.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 0 auto; max-width: 360px; color: var(--brass);
}
.ornament::before, .ornament::after {
  content: ''; flex: 1; border-top: 1px solid var(--brass); opacity: 0.45;
}
.ornament svg { width: 22px; height: 22px; }

.dropcap::first-letter {
  font-family: var(--display);
  font-size: 4.2rem; font-weight: 500;
  float: left;
  line-height: 0.88;
  margin: 0.45rem 0.5rem -0.15rem 0;
  color: var(--red);
}

/* Bilingual heading pair */
.bilingual {
  display: block;
  margin-bottom: 0.75rem;
}
.bilingual .cz {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.92em;
  color: var(--brass);
  letter-spacing: 0.005em;
  margin-bottom: 0.1em;
  opacity: 0.95;
}
.bilingual .en {
  display: block;
}

/* "Stamp" — small flat label */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--rule);
  color: var(--brass-deep);
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  background: var(--bg-card);
}
.stamp svg { width: 12px; height: 12px; opacity: 0.7; }

/* Marginalia — small notes in the margin (left of body text) */
.marginalia {
  font-family: var(--display);
  font-style: italic;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: rgba(243, 237, 222, 0.92);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.55rem; padding-bottom: 0.55rem;
}
.brand {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: inherit;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: auto; height: 82px; color: var(--ink); flex-shrink: 0; object-fit: contain; margin: -8px 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display); font-weight: 500;
  font-size: 1.6rem; letter-spacing: 0.005em;
}
.brand-tagline {
  font-family: var(--body); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gray); margin-top: 0.55rem;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2.2rem; }
.site-nav a {
  font-family: var(--body); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.02em; text-decoration: none; color: var(--ink);
  padding: 0.25rem 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a.current {
  color: var(--red); border-bottom-color: var(--red);
}
.site-nav .nav-cta {
  background: var(--ink); color: var(--bg);
  padding: 0.55rem 1.1rem; border-radius: 2px; border-bottom: none;
}
.site-nav .nav-cta:hover { background: var(--red); color: var(--bg); border-bottom: none; }

/* Hamburger toggle — hidden until mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.65rem;
  margin: -0.65rem;
  cursor: pointer;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  border-radius: 2px;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.nav-toggle .icon-open { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 880px) {
  .brand-tagline { display: none; }
  .brand-name { font-size: 1.35rem; }
  .brand-mark { width: auto; height: 76px; margin: -6px 0; }

  .nav-toggle { display: flex; }

  .site-header .wrap { position: relative; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 0.25rem var(--gutter) 1.25rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease), visibility 0.22s;
    box-shadow: 0 16px 40px -20px rgba(26, 24, 21, 0.22);
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav li { border-bottom: 1px solid var(--rule-soft); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 0.85rem; }
  .site-nav a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: 0;
    font-size: 1rem;
    font-weight: 500;
  }
  .site-nav a:hover, .site-nav a.current {
    border-bottom-color: transparent;
    background: transparent;
  }
  .site-nav .nav-cta {
    display: block;
    text-align: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
  }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--body); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.04em; text-decoration: none; border-radius: 2px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--red); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-brass { background: var(--brass); color: var(--bg-deep); }
.btn-brass:hover { background: var(--ink); color: var(--bg); }
.btn svg { width: 14px; height: 14px; }

/* ============================================================
   HOMEPAGE HERO — asymmetric, image-led
   Photo bleeds to the right edge; text sits offset on the left
   with the bilingual welcome stacked over a heavy serif.
   ============================================================ */
.hero-asymmetric {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero-asymmetric-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: stretch;
  min-height: 78vh;
}
.hero-asymmetric-text {
  padding: 6rem 2.5rem 5rem max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; flex-direction: column; justify-content: center;
  z-index: 2;
  position: relative;
}
.hero-asymmetric-text > * { max-width: 30rem; }
.hero-asymmetric-text .hero-eyebrow {
  font-family: var(--body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass-deep);
  margin: 0 0 1.5rem;
}
.hero-asymmetric-text .hero-czech {
  display: block;
  font-family: var(--display); font-style: italic;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 500; line-height: 0.95;
  color: var(--red);
  letter-spacing: -0.01em;
  margin: 0;
}
.hero-asymmetric-text .hero-english {
  display: block;
  font-family: var(--display); font-style: normal; font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.3;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  margin-top: 0.65rem;
}
.hero-asymmetric-text .hero-lede {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.55; color: var(--ink-soft);
  margin: 2rem 0 1.75rem; max-width: 28ch;
}
.hero-asymmetric-text .hero-when {
  display: flex; align-items: baseline; gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}
.hero-asymmetric-text .hero-when .label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gray);
}
.hero-asymmetric-text .hero-when .time {
  font-family: var(--display); font-size: 1.45rem;
  color: var(--ink); font-weight: 500;
}
.hero-asymmetric-text .hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.hero-asymmetric-image {
  position: relative;
  overflow: hidden;
}
.hero-asymmetric-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  transition: transform 12s linear;
  filter: saturate(0.92) contrast(1.03);
}
.hero-asymmetric-image:hover img { transform: scale(1.05); }

/* Inset stamp over the hero photo */
.hero-stamp {
  position: absolute;
  bottom: 2rem; left: 2rem;
  z-index: 3;
  background: rgba(243, 237, 222, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.8rem 1.1rem;
  border-left: 3px solid var(--red);
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  max-width: 18rem;
  line-height: 1.4;
  box-shadow: var(--shadow-soft);
}
.hero-stamp strong {
  display: block;
  font-style: normal;
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .hero-asymmetric-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-asymmetric-image { aspect-ratio: 4 / 3; height: auto; order: -1; }
  .hero-asymmetric-text { padding: 2.5rem var(--gutter) 3rem; }
  .hero-stamp { bottom: 0.75rem; left: 0.75rem; right: 0.75rem; max-width: none; padding: 0.7rem 0.9rem; font-size: 0.88rem; }
  .hero-stamp strong { font-size: 0.6rem; }
}

/* ============================================================
   PAGE HERO (non-home) — centered, slimmer, with image strip
   ============================================================ */
.page-hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}
@media (max-width: 700px) {
  .page-hero { padding: 2.5rem 0 2rem; }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 3rem); }
}
.page-hero .eyebrow { display: inline-block; }
.page-hero h1 {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.005em; line-height: 1.05;
  margin: 0 0 1rem; font-size: clamp(2.4rem, 5vw, 3.8rem);
}
.page-hero h1 .cz {
  display: block;
  font-style: italic; color: var(--red);
  font-size: 0.95em; line-height: 1.1;
  margin-bottom: 0.1em;
}
.page-hero .subtitle {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft); max-width: 38rem;
  margin: 1rem auto 0;
}
.page-hero .ornament { margin: 2.5rem auto 0; }
.page-hero-image {
  margin-top: 3.5rem;
  width: 100%; aspect-ratio: 16 / 7;
  overflow: hidden;
  position: relative;
}
.page-hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

/* ============================================================
   Motto band — dark with chalice glyph centered
   ============================================================ */
.motto-band {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 3.2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.motto-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(181, 137, 74, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 82% 50%, rgba(142, 42, 34, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.motto-band p {
  position: relative; margin: 0;
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.005em; line-height: 1.5;
}
.motto-band .source {
  display: block;
  font-family: var(--body); font-style: normal;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); margin-top: 1rem;
}
.motto-band .glyph {
  margin: 0 auto 1.5rem;
  width: 28px; height: 28px;
  color: var(--brass);
  opacity: 0.7;
}

/* ============================================================
   Pastor welcome — overlapping photo + quote card
   ============================================================ */
.pastor-section {
  padding: 6rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pastor-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.pastor-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: var(--shadow-frame);
  border: 6px solid var(--bg-paper);
  background: var(--bg-paper);
}
.pastor-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: saturate(0.92);
}
.pastor-text { padding: 0 1rem; }
.pastor-text .eyebrow { margin-bottom: 1rem; }
.pastor-text blockquote {
  margin: 0 0 2rem;
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.5; color: var(--ink);
  position: relative; padding-left: 1.5rem;
  border-left: 2px solid var(--brass);
}
.pastor-text .attribution {
  font-family: var(--body);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-deep);
}
.pastor-text .attribution-name {
  display: block;
  font-family: var(--display); font-style: italic;
  font-size: 1.2rem; font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: none; color: var(--ink);
  margin-top: 0.5rem;
}

@media (max-width: 820px) {
  .pastor-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   Schedule (clean, less generic-card feeling)
   ============================================================ */
.schedule-section { padding: 5.5rem 0; }
.schedule-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 920px; margin: 2.5rem auto 0;
  border-top: 1px solid var(--rule);
}
.schedule-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: baseline;
  padding: 1.6rem 1rem 1.6rem 1.25rem;
  margin: 0 -1rem 0 -1.25rem;
  border-bottom: 1px solid var(--rule);
  gap: 1.5rem;
  position: relative;
  transition: background 0.2s var(--ease);
}
.schedule-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brass);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.schedule-item:hover {
  background: rgba(181, 137, 74, 0.05);
}
.schedule-item:hover::before { opacity: 1; }
.schedule-item .day {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.schedule-item .name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.schedule-item .name .note {
  display: block;
  font-family: var(--body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--ink-soft);
  margin-top: 0.25rem;
  font-weight: 400;
}
.schedule-item .time {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--red);
}

@media (max-width: 600px) {
  .schedule-item {
    grid-template-columns: 1fr; gap: 0.4rem;
    padding: 1.2rem 0; margin: 0; /* drop negative-margin extension on mobile */
  }
  .schedule-item::before { display: none; }
  .schedule-item .time { font-size: 1.3rem; }
}

/* ============================================================
   Section header (centered)
   ============================================================ */
.section-header {
  text-align: center; max-width: 44rem; margin: 0 auto 2.5rem;
}
.section-header h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  letter-spacing: -0.005em; line-height: 1.15;
  margin: 0.5rem 0 1rem;
}
.section-header h2 .cz {
  display: block;
  font-style: italic; color: var(--brass);
  font-size: 0.55em; letter-spacing: 0.005em;
  margin-bottom: 0.2em;
}
.section-header p {
  font-family: var(--display); font-style: italic;
  color: var(--ink-soft); font-size: 1.1rem; margin: 0;
}

/* ============================================================
   The Building strip — horizontal scroll of building photos
   ============================================================ */
.building-strip {
  padding: 5rem 0 6rem;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.building-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.building-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-photo);
  background: var(--bg-deep);
}
.building-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
  filter: saturate(0.92) contrast(1.02);
}
.building-card:hover img { transform: scale(1.04); filter: saturate(1.05) contrast(1.05); }
.building-card .label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(26, 24, 21, 0.85), transparent);
  color: var(--bg);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.3;
}
.building-card .label .czech {
  display: block;
  font-size: 0.85em;
  color: var(--brass-soft);
  margin-bottom: 0.2em;
}

@media (max-width: 900px) {
  .building-strip-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .building-strip-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Story teaser — two-up with overlapping image and historic frame
   ============================================================ */
.story-teaser {
  padding: 6rem 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.story-text h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0.5rem 0 1.5rem;
}
.story-text h2 .cz {
  display: block;
  font-style: italic; color: var(--brass);
  font-size: 0.55em; letter-spacing: 0.005em;
  margin-bottom: 0.2em;
}
.story-text p {
  font-size: 1rem; line-height: 1.75; color: var(--ink-soft);
  margin: 0 0 1.25rem; max-width: 36rem;
}
.story-text .more {
  font-family: var(--body); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--brass);
  margin-top: 1.5rem; display: inline-block;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.story-text .more:hover { color: var(--red); border-bottom-color: var(--red); }

/* Historic photo frame — paper border, drop shadow, slight rotation */
.historic-frame {
  position: relative;
  background: var(--bg-paper);
  padding: 1.25rem 1.25rem 3rem;
  box-shadow: var(--shadow-frame);
  transform: rotate(-1.2deg);
  transition: transform 0.4s var(--ease);
}
.historic-frame:hover { transform: rotate(0); }
.historic-frame img {
  width: 100%;
  display: block;
  filter: sepia(0.18) saturate(0.9);
}
.historic-frame .caption {
  position: absolute;
  bottom: 0.8rem; left: 1.25rem; right: 1.25rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  text-align: center;
}
.historic-frame .corner-tape {
  position: absolute;
  top: -0.5rem; right: 2rem;
  width: 80px; height: 22px;
  background: rgba(181, 137, 74, 0.35);
  transform: rotate(2deg);
}

@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .historic-frame { transform: rotate(0); }
}

/* ============================================================
   Heritage band (dark, denominational story)
   ============================================================ */
.heritage {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.heritage::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(181, 137, 74, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 82% 70%, rgba(142, 42, 34, 0.10) 0%, transparent 45%);
  pointer-events: none;
}
.heritage > .wrap { position: relative; }
.heritage .ornament { color: var(--brass); margin-bottom: 2rem; }
.heritage .ornament::before, .heritage .ornament::after { border-top-color: var(--brass); opacity: 0.45; }
.heritage h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.005em; margin: 0 0 1.5rem; line-height: 1.2;
}
.heritage h2 .cz { font-style: italic; color: var(--brass); }
.heritage p {
  max-width: 44rem; margin: 0 auto 1.5rem;
  color: rgba(243, 237, 222, 0.82);
  font-size: 1.02rem; line-height: 1.75;
}
.heritage-meta {
  display: flex; justify-content: center; gap: 3.5rem;
  margin-top: 2.8rem; flex-wrap: wrap;
}
.heritage-meta > div { min-width: 8rem; }
.heritage-meta dt {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 0.4rem;
}
.heritage-meta dd {
  font-family: var(--display); font-size: 1.5rem;
  margin: 0; color: var(--bg);
}

/* ============================================================
   Visit + Give simplified
   ============================================================ */
.two-up {
  padding: 5.5rem 0;
}
.two-up-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem;
  max-width: 1180px; margin: 0 auto;
}
.two-up-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  padding: 2.75rem 2.25rem;
  border-radius: 2px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  min-width: 0;
}
.two-up-card .contact-block dd { overflow-wrap: anywhere; word-break: break-word; }
.two-up-card:hover { border-color: var(--brass); transform: translateY(-2px); }
.two-up-card h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 1.7rem; line-height: 1.2;
  margin: 0.5rem 0 1.25rem;
}
.two-up-card p {
  margin: 0 0 1.25rem; color: var(--ink-soft); line-height: 1.7;
}
.two-up-card .lede {
  font-family: var(--display); font-style: italic;
  font-size: 1.05rem; color: var(--ink);
}
.two-up-card .contact-block {
  margin: 1.25rem 0; padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.two-up-card .contact-block dl {
  display: grid; grid-template-columns: auto 1fr;
  gap: 0.4rem 1.25rem; margin: 0; font-size: 0.92rem;
}
.two-up-card .contact-block dt {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray); align-self: center;
}
.two-up-card .contact-block dd { margin: 0; color: var(--ink); }

@media (max-width: 820px) {
  .two-up-grid { grid-template-columns: minmax(0, 1fr); }
  .two-up-card { padding: 2rem 1.5rem; }
  .two-up-card .contact-block dl { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .two-up-card .contact-block dt { margin-top: 0.75rem; }
  .two-up-card .contact-block dt:first-of-type { margin-top: 0; }
}

/* ============================================================
   Prose pages (Our Story, Give body)
   ============================================================ */
.prose-section { padding: 5rem 0; }
.prose-section.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.prose-block { max-width: var(--container-prose); margin: 0 auto; padding: 0 var(--gutter); }
.prose-block h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.9rem, 2.8vw, 2.3rem);
  line-height: 1.2; margin: 0 0 1rem;
}
.prose-block h2 .cz {
  display: block; font-style: italic; color: var(--brass);
  font-size: 0.55em; letter-spacing: 0.005em; margin-bottom: 0.2em;
}
.prose-block h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 1.4rem; line-height: 1.3; margin: 2rem 0 0.75rem;
}
.prose-block p {
  font-size: 1.02rem; line-height: 1.8;
  color: var(--ink-soft); margin: 0 0 1.25rem;
}
.prose-block p strong { color: var(--ink); font-weight: 600; }
.prose-block blockquote {
  font-family: var(--display); font-style: italic;
  font-size: 1.2rem; line-height: 1.6;
  color: var(--ink); border-left: 2px solid var(--brass);
  padding: 0.25rem 0 0.25rem 1.5rem; margin: 2rem 0;
  max-width: 90%;
}
.prose-block .pullout {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brass);
  padding: 1.75rem 2rem;
  margin: 2.25rem 0;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(26, 24, 21, 0.04), 0 6px 16px -10px rgba(26, 24, 21, 0.08);
}
.prose-block .pullout p:last-child { margin-bottom: 0; }
.prose-block .pullout .label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-deep); margin-bottom: 0.75rem;
  display: block;
}

/* Inline historic image in prose */
.prose-figure {
  margin: 2.5rem 0;
}
.prose-figure img { width: 100%; box-shadow: var(--shadow-photo); }
.prose-figure figcaption {
  font-family: var(--display); font-style: italic;
  font-size: 0.92rem; color: var(--gray);
  text-align: center; margin-top: 0.85rem;
}

/* Wide-bleed figure */
.figure-wide {
  margin: 3.5rem auto;
  max-width: var(--container-pillars);
  padding: 0 var(--gutter);
}
.figure-wide img { width: 100%; box-shadow: var(--shadow-photo); }
.figure-wide figcaption {
  font-family: var(--display); font-style: italic;
  font-size: 0.95rem; color: var(--gray);
  text-align: center; margin-top: 0.85rem;
}

/* ============================================================
   Three-pillar (doctrine, symbols) — wide, escapes prose container
   ============================================================ */
.pillars-wrap {
  max-width: var(--container-pillars);
  margin: 3rem auto;
  padding: 0 var(--gutter);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  text-align: left;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 1px 2px rgba(26, 24, 21, 0.02);
}
.pillar:hover {
  border-color: var(--brass);
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(26, 24, 21, 0.03), 0 14px 30px -16px rgba(26, 24, 21, 0.18);
}
.pillar .label {
  font-family: var(--display); font-style: italic;
  font-size: 0.9rem; color: var(--brass);
  margin-bottom: 0.75rem; display: block;
  letter-spacing: 0.01em;
}
.pillar h4 {
  font-family: var(--display); font-weight: 500;
  font-size: 1.6rem; margin: 0 0 1rem;
  color: var(--ink); letter-spacing: -0.005em;
}
.pillar p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; gap: 1rem; }
  .pillar { padding: 1.75rem 1.5rem; }
}

/* ============================================================
   Timeline — vertical rail with brass markers
   ============================================================ */
.timeline {
  max-width: var(--container-prose); margin: 0 auto;
  padding: 0.5rem var(--gutter) 1rem;
}
.timeline-entry {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.75rem;
  padding: 0;
  position: relative;
}
.timeline-year {
  font-family: var(--display); font-size: 1.4rem;
  font-weight: 500; color: var(--red); line-height: 1.1;
  text-align: right;
  padding: 1.4rem 0 1.4rem;
  letter-spacing: 0.005em;
}
.timeline-content {
  position: relative;
  padding: 1.4rem 0 1.4rem 1.75rem;
  border-left: 1px solid var(--rule);
}
.timeline-content::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 1.75rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--brass);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.timeline-entry:hover .timeline-content::before {
  transform: scale(1.4);
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}
.timeline-content h4 {
  font-family: var(--display); font-weight: 500;
  font-size: 1.18rem; margin: 0 0 0.4rem;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
}
.timeline-content p {
  margin: 0; color: var(--ink-soft);
  font-size: 0.97rem; line-height: 1.65;
}
@media (max-width: 700px) {
  .timeline-entry {
    grid-template-columns: 4rem 1fr;
    gap: 1rem;
  }
  .timeline-year { font-size: 1.1rem; padding: 1.1rem 0; }
  .timeline-content { padding: 1.1rem 0 1.1rem 1.25rem; }
  .timeline-content::before { top: 1.4rem; }
  .timeline-content h4 { font-size: 1.05rem; }
}

/* ============================================================
   Prayer form
   ============================================================ */
.form-block {
  background: var(--bg-card); border: 1px solid var(--rule);
  padding: 3rem 2.5rem; border-radius: 2px;
  max-width: 38rem; margin: 0 auto;
}
.form-block h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 1.7rem; margin: 0 0 0.5rem;
}
.form-block .form-intro { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.75rem; }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: 2px; font-family: var(--body);
  font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.18s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field textarea { resize: vertical; min-height: 8rem; }
.field-note { margin-top: 0.4rem; font-size: 0.78rem; color: var(--gray); font-style: italic; }
.privacy-note {
  margin-top: 1.5rem; font-size: 0.82rem;
  color: var(--gray); font-style: italic;
}

/* ============================================================
   ARCHIVE — reorganized, neat & tidy
   ============================================================ */
.archive-intro { padding: 4rem 0 2rem; }
.archive-intro .wrap-prose { text-align: center; }

.archive-collections {
  padding: 2rem 0 5rem;
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.collection {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.collection:hover { border-color: var(--brass); transform: translateY(-2px); color: var(--ink); }
.collection-icon {
  width: 64px; height: 64px;
  color: var(--brass);
  background: var(--bg-paper);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  padding: 12px;
}
.collection h3 {
  font-family: var(--display);
  font-size: 1.35rem; font-weight: 500;
  margin: 0 0 0.4rem;
}
.collection .cz {
  display: block;
  font-family: var(--display); font-style: italic;
  font-size: 0.85rem; color: var(--brass);
  margin-bottom: 0.5rem;
}
.collection .meta {
  font-family: var(--body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 0.6rem;
}
.collection p {
  font-size: 0.92rem; color: var(--ink-soft);
  line-height: 1.6; margin: 0 0 0.85rem;
}
.collection .count {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-deep);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--brass);
}

@media (max-width: 820px) {
  .collections-grid { grid-template-columns: 1fr; }
  .collection { grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.25rem; }
  .collection-icon { width: 48px; height: 48px; padding: 8px; }
}

/* ============================================================
   Archive sub-page records list
   ============================================================ */
.records-list {
  max-width: 980px;
  margin: 2rem auto 0;
  padding: 0 var(--gutter);
}
.records-list > .records-list-item:first-child {
  border-top: 1px solid var(--rule);
}
.records-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 1.6rem 1.25rem;
  margin: 0 -1.25rem;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  border-radius: 2px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.records-list-item:hover {
  background: var(--bg-card);
  transform: translateX(2px);
}
.records-list-item:hover .record-action {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.records-list-item .record-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  color: var(--ink);
  line-height: 1.3;
}
.records-list-item .record-title .cz {
  font-style: italic;
  color: var(--brass);
  font-size: 0.9em;
  margin-right: 0.4em;
}
.records-list-item .record-meta {
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.6rem;
}
.records-list-item .record-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 56ch;
}
.records-list-item .record-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.records-list-item .record-action:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.records-list-item .record-action svg {
  width: 14px; height: 14px;
}

@media (max-width: 700px) {
  .records-list-item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.6rem 0;
    margin: 0; /* drop negative-margin extension on mobile */
  }
  .records-list-item:hover { transform: none; background: transparent; }
  .records-list-item .record-action {
    justify-self: start;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }
  .records-list-item:hover .record-action {
    background: var(--bg-card); color: var(--ink); border-color: var(--rule);
  }
}

/* Sub-page back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  text-decoration: none;
}
/* In the page hero, the back-link should sit on its own row above
   the eyebrow + h1, not run inline with them. */
.page-hero .back-link {
  display: flex;
  width: fit-content;
  margin: 0 auto 1.75rem;
}
.back-link:hover { color: var(--ink); }
.back-link svg { width: 14px; height: 14px; }

/* Archive featured artifacts row */
.featured-artifacts {
  padding: 4rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.artifact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.artifact {
  background: var(--bg-paper);
  padding: 1rem 1rem 2rem;
  box-shadow: var(--shadow-photo);
  transform: rotate(-0.8deg);
  transition: transform 0.3s var(--ease);
  position: relative;
}
.artifact:nth-child(2) { transform: rotate(0.6deg); }
.artifact:nth-child(3) { transform: rotate(-0.4deg); }
.artifact:hover { transform: rotate(0) scale(1.02); }
.artifact img {
  width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.9);
}
.artifact .label {
  position: absolute; bottom: 0.5rem; left: 1rem; right: 1rem;
  text-align: center;
  font-family: var(--display); font-style: italic;
  font-size: 0.9rem; color: var(--ink-soft);
  letter-spacing: 0.01em;
}
@media (max-width: 820px) { .artifact-row { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-card);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .brand-mark { width: auto; height: 140px; margin: 0 0 0.75rem -10px; color: var(--ink); }
.footer-brand h4 {
  font-family: var(--display); font-size: 1.35rem; font-weight: 500;
  margin: 0 0 0.25rem; color: var(--ink); line-height: 1.2;
}
.footer-brand p {
  font-family: var(--display); font-style: italic;
  color: var(--gray); margin: 0; max-width: 24rem; line-height: 1.4;
}
.footer-czech {
  font-family: var(--display); font-style: italic;
  color: var(--brass); font-size: 1.05rem;
  margin-top: 0.5rem !important;
}
.footer-col h5 {
  font-family: var(--body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gray); margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-col a:hover { color: var(--red); border-bottom-color: var(--red); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: var(--gray);
}
.footer-bottom a { color: var(--gray); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .brand-mark { height: 96px; margin-bottom: 0.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand .brand-mark { height: 80px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Placeholder utilities
   ============================================================ */
.ph {
  background: rgba(181, 137, 74, 0.10);
  border-bottom: 1px dashed var(--brass);
  color: var(--brass-deep); font-style: italic;
  padding: 0 0.2em;
}
.placeholder-inline {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-deep);
  background: rgba(181, 137, 74, 0.12);
  border: 1px dashed var(--brass);
  border-radius: 2px;
}

/* ============================================================
   Lightbox — click images to zoom
   ============================================================ */
img.is-zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 15, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  cursor: zoom-out;
  transition: opacity 0.25s var(--ease);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-frame {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  cursor: default;
}
.lightbox-image {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  background: var(--bg-paper);
  padding: 0.75rem;
  border: 8px solid var(--bg-paper);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}
.lightbox.is-open .lightbox-image {
  transform: scale(1);
}
.lightbox-caption {
  font-family: var(--display);
  font-style: italic;
  color: var(--bg-paper);
  text-align: center;
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  opacity: 0.92;
}
.lightbox-caption:empty { display: none; }
.lightbox-close {
  position: absolute;
  top: -3rem;
  right: -0.5rem;
  background: none;
  border: 0;
  color: var(--bg-paper);
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
  font-family: var(--body);
}
.lightbox-close:hover, .lightbox-close:focus-visible {
  opacity: 1;
  outline: none;
}

@media (max-width: 600px) {
  .lightbox { padding: 2vh 2vw; }
  .lightbox-image { border-width: 4px; padding: 0.4rem; }
  .lightbox-close { top: -2.5rem; right: 0; }
}

body.lightbox-open {
  overflow: hidden;
}

/* ============================================================
   Scroll-reveal — subtle life
   Elements with [data-reveal] fade in on enter via IntersectionObserver
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-asymmetric-image img { transform: none; }
  .historic-frame { transform: none; }
  .artifact { transform: none; }
}

/* ============================================================
   Sermons — portrait video grid
   ============================================================ */
.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.sermon-card {
  display: flex;
  flex-direction: column;
}
.sermon-video {
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.sermon-card:hover .sermon-video {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.35);
}
.sermon-video video,
.sermon-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.sermon-placeholder {
  background: linear-gradient(180deg, #2a2d33 0%, #1a1c20 100%);
}
.sermon-placeholder .play-icon {
  width: 72px;
  height: 72px;
  display: block;
}
.sermon-placeholder .placeholder-text {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1.1rem;
}
.sermon-meta {
  padding: 1.25rem 0 0;
}
.sermon-meta .eyebrow {
  display: block;
  margin: 0 0 0.5rem;
}
.sermon-meta h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.sermon-meta .scripture {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--brass-deep);
  margin: 0 0 0.4rem;
}
.sermon-meta .pastor {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.sermon-more {
  text-align: center;
  margin-top: 3.5rem;
}
.sermon-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.sermon-more-link:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.sermon-more-link svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .sermon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    max-width: 640px;
  }
}
@media (max-width: 600px) {
  .sermon-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    max-width: 340px;
  }
  .sermon-placeholder .play-icon { width: 60px; height: 60px; }
}

/* Prayer form honeypot: off-screen, never shown to people */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--red);
  border-left: 3px solid var(--red);
  background: rgba(142, 42, 34, 0.06);
  color: var(--red-deep);
  font-size: 0.95rem;
}
