/* JR Tyndale — Home-Hero-Imagemap (Exact landing.jpg hero; Mock-Right rest)
   NAVY header + gold JR + white/light nav
   Compact Rise card · balanced tree (2:1, NOT oversized 5:4)
   Navy hero type · navy pillar icons/titles
   Rise hub .row kept · About about-shell kept (not crushed)
   Palette: navy #1b2a4a · gold #c4a35a · cream #f7f1e4
   Cache: ?v=heroimap1
   LEFT cream header / gold pillars / oversized tree = WRONG — do not ship.
*/
/* JR Tyndale — measured from user mock 2aff (cream / navy / gold). No sun ornaments. */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Playfair+Display:wght@500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --navy: #1b2a4a;
  --gold: #c4a35a;
  --gold-logo: #e4c478;
  --gold-name: #f0e4c4;
  --cream: #f7f1e4;
  --paper: #ffffff;
  --ink: #2a3348;
  --muted: #5a6170;
  --line: #e5d9c4;
  --shadow: 0 10px 32px rgba(27, 42, 74, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-y: scroll; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* —— Header: landing copy.jpg RIGHT truth — NAVY bar, gold JR, white/light nav.
   Logo OFF-CENTER LEFT, nav OFF-CENTER RIGHT. Soft-inset padding.
   LEFT cream header is WRONG. —— */
.site-header {
  background: var(--navy);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
header.site-header > .bar,
.site-header > .bar,
.bar {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 32px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}
/* Logo image on navy header (gold JR + light name on transparent) */
.wordmark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  margin-right: auto;
  margin-left: 0;
}
.wordmark img {
  display: block;
  height: 40px;
  width: auto;
  max-width: none;
}
/* Text wordmark fallback if a page still uses spans */
.wordmark .jr {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 2.15rem;
  letter-spacing: 0.02em;
  color: var(--gold-logo);
  line-height: 1;
}
.wordmark .name {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-name);
  position: relative;
  top: -2px;
  margin-left: 12px;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 22px;
}
.site-header nav a {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 400;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover { color: #fff; }
.site-header nav a.active,
.site-header nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
  color: #ffffff;
}

/* —— Home hero: Exact landing.jpg imagemap (baked headline+CTAs; live navy header above) —— */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: 0;
  display: block;
  text-align: center;
  line-height: 0;
  background-color: var(--cream);
  background-image: none;
}
/* Exact graphic clip: hide baked navy nav (56px @1168) + below-hero Rise/pillars.
   Visible band ≈ y 56–276 (220px) of natural 1168×714 landing.jpg. */
.hero-map-clip {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  aspect-ratio: 1168 / 220;
  background: var(--cream);
}
.hero.hero-map img#heroLanding,
.hero-map-clip img {
  display: block !important;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  /* % margin is of containing-block width — pull baked nav above clip */
  margin-top: calc(-56 / 1168 * 100%);
  line-height: 0;
  pointer-events: auto;
}
/* Ban leftover Exact full-page / ghost imgs — NOT the live hero imagemap */
img[src*="home-hero"],
img[src*="hero-exact"],
img.hero-bg {
  display: none !important;
}
/* Legacy overlay hooks unused on Home (no HTML headline/buttons) */
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  padding: 28px 16px 24px;
}
.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 500;
  /* Larger headline ~2.4–2.6rem desktop (mock 2aff) */
  font-size: clamp(1.7rem, 3.15vw, 2.55rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px auto 14px;
  width: min(220px, 55%);
  color: var(--gold);
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
}
.ornament .diamond {
  font-size: 0.65rem;
  line-height: 1;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 5px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: #fff; }

/* —— Featured Rise & Shine card: COMPACT + BALANCED tree (RIGHT mock) —— */
.home-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: -40px auto 0;
  padding: 0 0 48px;
  position: relative;
  z-index: 2;
}
.featured {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: center;
  background: var(--paper);
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 14px 40px rgba(27, 42, 74, 0.10);
  border: 1px solid rgba(196, 163, 90, 0.18);
}
.kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.kicker-row .rule {
  flex: 1;
  height: 1px;
  background: var(--gold);
  max-width: 160px;
}
.featured .date {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
}
.featured h2 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.3vw, 2.5rem);
  line-height: 1.08;
  color: var(--navy);
}
.featured .ornament {
  margin: 4px 0 12px;
  width: min(180px, 85%);
  justify-content: flex-start;
  margin-left: 0;
}
.featured .ornament::before,
.featured .ornament::after {
  flex: 1;
  max-width: 72px;
}
.vref {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.featured .excerpt {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.55;
}
.read-link {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}
.read-link:hover { color: var(--gold); }
.featured-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  min-height: 0;
  background: #d9c7a0;
}
.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* —— Four ministry pillars (preferred home, match mock / With-Nav) —— */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.pillar {
  position: relative;
  display: block;
  background: #fbf6ec;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px 28px;
  min-height: 130px;
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.05);
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pillar:hover {
  border-color: rgba(196, 163, 90, 0.45);
  box-shadow: 0 8px 22px rgba(27, 42, 74, 0.08);
}
.pillar .ico {
  font-size: 1.35rem;
  margin-bottom: 10px;
  line-height: 1;
  color: var(--navy);
  display: flex;
  align-items: center;
  min-height: 28px;
}
.pillar .ico .pillar-ico {
  display: block;
  width: 28px;
  height: 28px;
}
.pillar h3 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.15;
}
.pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.pillar .arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

/* —— Footer —— */
.site-footer {
  width: 100%;
  /* Soft top→bottom fade into navy (avoids hard cream→navy eyesore) */
  background: linear-gradient(
    to bottom,
    rgba(247, 241, 228, 0) 0%,
    rgba(27, 42, 74, 0.22) 22%,
    rgba(27, 42, 74, 0.72) 55%,
    #1b2a4a 82%,
    #152238 100%
  );
  color: #d7d2c6;
  padding: 40px 16px 26px;
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .featured-photo { order: -1; max-height: 220px; aspect-ratio: 2 / 1; min-height: 0; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 20px;
    min-height: 0;
  }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 8px 16px; }
  .hero.hero-map { min-height: 0; }
  .hero:not(.hero-map) { min-height: 280px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
}

/* —— Hub / listing pages (Teachings, Rise & Shine archive)
   Centered column — match Begin/Connect .page math (NOT left-stuck).
   White paper card centered on cream: width min(760px, 100%-36px), margin auto.
   Soft-inset header (bar padding 0 32px) lives in header lock above. —— */
main.hub-page,
.hub-page {
  display: block;
  box-sizing: border-box;
  width: min(760px, calc(100% - 36px));
  max-width: 760px;
  margin: 36px auto 64px;
  margin-left: auto;
  margin-right: auto;
  padding: 44px clamp(22px, 4vw, 48px) 48px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 163, 90, 0.16);
}
.hub-page .kicker-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}
.hub-page .kicker-row .rule { max-width: 72px; flex: 1; }
/* Symmetric gold rules flanking kicker (Begin/Connect balance) */
.hub-page .kicker-row::before,
.hub-page .kicker-row::after {
  content: "";
  flex: 1;
  max-width: 72px;
  height: 1px;
  background: var(--gold);
}
.hub-page .kicker-row .rule { display: none; } /* prefer ::before/::after pair */
.hub-page .intro {
  text-align: center;
  color: var(--muted);
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.55;
}
.hub-page h1 {
  margin: 0 0 14px;
  text-align: center;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.25rem);
  line-height: 1.08;
  color: var(--navy);
}
.hub-page > .ornament {
  margin: 0 auto 28px;
}
.hub-lede {
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 auto 8px;
  max-width: 36em;
}
.hub-page .year {
  margin: 28px 0 12px;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  color: var(--navy);
  letter-spacing: 0.02em;
  text-align: center;
}
.hub-page .year:first-of-type { margin-top: 8px; }
.month-box {
  margin: 10px 0 22px;
  border: 1px solid var(--line);
  background: #fbf6ec;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.04);
}
.month-box > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  user-select: none;
}
.month-box > summary::-webkit-details-marker { display: none; }
.month-box > summary::marker { content: ""; }
.month-box > summary::after {
  content: "▾";
  float: right;
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0.85;
}
.month-box:not([open]) > summary::after { content: "▸"; }
.row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  transition: background 0.15s ease;
}
.row:hover { background: #f3ebd8; }
.row .d {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.row .t {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}
.row:hover .t { color: var(--gold); }
.hub-page .copy {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* —— Mock-True: force navy type + pillar icons (landing.jpg) —— */
.hero h1,
.featured .date,
.featured h2,
.featured .excerpt,
.read-link,
.pillar h3,
.pillar p,
.pillar .ico,
.btn-ghost {
  color: var(--navy);
}
.btn-ghost { border-color: var(--navy); }


/* —— Stabilize: dual gold RISE & SHINE lines both sides (featured card) —— */
.featured .kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.featured .kicker-row::before,
.featured .kicker-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  max-width: 120px;
}
.featured .kicker-row .rule { display: none; }

/* —— About page (The Call / bio / mission / pillars) —— */
.about-shell {
  /* Wider shell so SoF + pillars don’t feel skinny vs full soft-inset header */
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 56px;
}
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f3ebd6;
  border-radius: 14px;
  border: 1px solid rgba(196, 163, 90, 0.22);
}
.about-hero-copy {
  position: relative;
  z-index: 1;
  padding: 48px 24px 40px;
  max-width: 740px;
}
.about-hero .kicker {
  color: var(--gold);
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.about-hero h1 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.05;
  margin: 10px 0 0;
}
.about-hero .sub {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  color: var(--navy);
  margin: 10px 0 14px;
}
.about-hero .lede {
  color: var(--ink);
  max-width: 46ch;
  margin: 0 auto;
  font-size: 1.02rem;
}
.about-bio {
  background: var(--paper);
  border: 1px solid rgba(196, 163, 90, 0.18);
  border-radius: 14px;
  padding: 32px clamp(24px, 3.5vw, 40px) 28px;
  margin-top: 18px;
  box-shadow: var(--shadow);
  display: block;
}
.about-bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.about-bio .kicker {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
}
.about-bio h2 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  margin: 8px 0 10px;
  color: var(--navy);
  font-weight: 600;
}
.about-bio .ornament {
  margin: 6px 0 16px;
  width: min(180px, 70%);
  justify-content: flex-start;
  margin-left: 0;
}
.about-bio p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.02rem;
}
.about-bio p:last-child { margin-bottom: 0; }
/* Portrait hero — beach jacket, face-centered 800×1000.
   Soft cream-edge fade (mask + inset vignette) — no hard crop line. */
.portrait-slot {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  border: none;
  box-shadow: 0 14px 36px rgba(27, 42, 74, 0.08);
  position: relative;
  isolation: isolate;
}
.portrait-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  /* Feather edges into cream — radial mask, not a hard rectangle */
  -webkit-mask-image: radial-gradient(ellipse 94% 92% at 50% 46%, #000 52%, rgba(0,0,0,0.55) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 94% 92% at 50% 46%, #000 52%, rgba(0,0,0,0.55) 78%, transparent 100%);
}
.portrait-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  /* Gentle cream vignette over the photo */
  background: radial-gradient(
    ellipse 88% 84% at 50% 44%,
    transparent 48%,
    rgba(247, 241, 228, 0.28) 78%,
    rgba(247, 241, 228, 0.78) 100%
  );
  box-shadow: inset 0 0 42px 14px rgba(247, 241, 228, 0.55);
}

/* Magazine two-up: Then ~1990 | Worship — equal cards under bio, never overlaps text */
.about-then-now {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 28px);
  margin-top: clamp(28px, 4vw, 36px);
  padding-top: clamp(22px, 3vw, 28px);
  border-top: 1px solid rgba(196, 163, 90, 0.28);
}
.then-now-heading {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0 0 4px;
}
.then-now-heading .tn-strip-kicker {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.then-now-card {
  margin: 0;
  display: flex;
  flex-direction: column; /* caption (first) above frame — never absolute/overlap */
  gap: 12px;
  background: transparent;
  min-width: 0; /* prevent grid blowout / overlap */
  position: relative; /* stacking context only — no absolute photo pile */
}
.then-now-card > figcaption {
  order: 0;
  flex: 0 0 auto;
}
.then-now-card > .then-now-frame {
  order: 1;
  flex: 0 0 auto;
  position: relative; /* frames stay in flow — NO absolute taco pile-up */
}
/* Recent worship + 1990 bonus — same soft cream-edge fade as beach MAIN */
.then-now-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  border: none;
  box-shadow: 0 10px 26px rgba(27, 42, 74, 0.07);
  position: relative;
  isolation: isolate;
}
.then-now-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 93% 93% at 50% 48%, #000 50%, rgba(0,0,0,0.5) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 93% 93% at 50% 48%, #000 50%, rgba(0,0,0,0.5) 76%, transparent 100%);
}
.then-now-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    ellipse 86% 86% at 50% 46%,
    transparent 46%,
    rgba(247, 241, 228, 0.32) 76%,
    rgba(247, 241, 228, 0.82) 100%
  );
  box-shadow: inset 0 0 36px 12px rgba(247, 241, 228, 0.58);
}
.then-now-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 4px 2px;
  margin: 0;
  line-height: 1.2;
}
.then-now-card .tn-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.then-now-card .tn-sep {
  color: rgba(196, 163, 90, 0.85);
  font-size: 1rem;
  line-height: 1;
}
.then-now-card .tn-meta {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.12rem;
  color: var(--navy);
  font-weight: 500;
}

.about-panel {
  background: var(--paper);
  border: 1px solid rgba(196, 163, 90, 0.18);
  border-radius: 14px;
  padding: 32px clamp(28px, 4vw, 48px);
  margin-top: 18px;
  box-shadow: var(--shadow);
}
.about-panel .kicker {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
}
.about-panel h2 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  margin: 8px 0 12px;
  color: var(--navy);
  font-weight: 600;
}
.about-panel p {
  margin: 0 0 12px;
  color: var(--ink);
}
.about-panel p:last-of-type { margin-bottom: 0; }
.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.about-pillar {
  background: var(--paper);
  border: 1px solid rgba(196, 163, 90, 0.18);
  border-radius: 14px;
  padding: 22px 20px 18px;
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.05);
}
.about-pillar .ico {
  font-size: 1.35rem;
  margin-bottom: 8px;
  line-height: 1;
}
.about-pillar h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 6px;
  font-weight: 600;
}
.about-pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.about-verse {
  margin-top: 18px;
  background: var(--navy);
  color: #f3e6c4;
  border-radius: 14px;
  padding: 28px 30px;
}
.about-verse p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.4;
  margin: 0 0 10px;
}
.about-verse .vref {
  color: #e6c778;
  margin: 0;
}
.about-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.about-cta a {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1.5px solid var(--gold);
  color: var(--navy);
  background: transparent;
}
.about-cta a.gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.about-cta a:hover { filter: brightness(1.05); }
.about-shell > .copy {
  margin-top: 28px;
  text-align: center;
}
/* What We Believe + Statement of Faith */
.about-believe .believe-list,
.about-sof .sof-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.about-believe .believe-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid rgba(196, 163, 90, 0.22);
  color: var(--ink);
  line-height: 1.65;
}
.about-believe .believe-list li:first-child { border-top: none; padding-top: 4px; }
.about-believe .believe-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}
.about-sof .sof-intro {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.98rem;
}
.about-sof .sof-list {
  counter-reset: sof;
  margin-top: 8px;
}
.about-sof .sof-list li {
  counter-increment: sof;
  position: relative;
  padding: 16px 0 16px 52px;
  border-top: 1px solid rgba(196, 163, 90, 0.22);
  color: var(--ink);
  line-height: 1.65;
}
.about-sof .sof-list li:first-child { border-top: none; }
.about-sof .sof-list li::before {
  content: counter(sof);
  position: absolute;
  left: 0;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.about-sof .sof-list strong {
  display: block;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

/* About responsive: 2×2 pillars on mid so bottom doesn’t orphan under long SoF */
@media (max-width: 1100px) {
  .about-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-bio-grid { grid-template-columns: 1fr; }
  .portrait-slot { max-width: 380px; margin: 0 auto; }
  .about-then-now { max-width: 640px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .about-pillars { grid-template-columns: 1fr; }
  .about-shell { width: calc(100% - 32px); }
  .about-then-now {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 360px;
  }
}

/* —— Home proportion tweak (CSS-only; keep the current Hero-Imagemap look) ——
   Give the baked hero buttons breathing room, trim the Rise card slightly,
   keep the tree balanced, and give the pillar row a little more presence. */
.home-wrap {
  margin: 0 auto;
  padding-top: 14px;
}

.featured {
  padding-top: 22px;
  padding-bottom: 22px;
}

.featured-photo {
  aspect-ratio: 1.95 / 1;
}

.featured-photo img {
  object-position: center 50%;
}

.pillars {
  margin-top: 16px;
}

.pillar {
  padding: 18px 14px 30px;
  min-height: 142px;
}

.pillar .ico {
  margin-bottom: 11px;
  min-height: 30px;
}

.pillar .ico .pillar-ico {
  width: 30px;
  height: 30px;
}

.pillar h3 {
  font-size: 1.4rem;
  margin-bottom: 7px;
  transform: translateY(1px);
}

.pillar p {
  font-size: 0.94rem;
  transform: translateY(1px);
}

@media (max-width: 860px) {
  .featured {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .pillar {
    padding-top: 16px;
    padding-bottom: 28px;
    min-height: 0;
  }
}

/* —— Devotion article page —— */
.devo-page,
.teaching-article,
.sermon-page {
  width: min(720px, calc(100% - 40px));
  margin: 36px auto 64px;
  padding: 44px clamp(22px, 5vw, 56px) 48px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 163, 90, 0.16);
}
.devo-page .kicker-row,
.teaching-article .kicker-row,
.sermon-page .kicker-row {
  justify-content: center;
  margin-bottom: 10px;
}
.devo-page .kicker-row .rule,
.teaching-article .kicker-row .rule,
.sermon-page .kicker-row .rule { max-width: 72px; }
.devo-page .meta-date,
.teaching-article .meta-date,
.sermon-page .meta-date {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.devo-page h1,
.teaching-article h1,
.sermon-page h1 {
  margin: 0 0 14px;
  text-align: center;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.25rem);
  line-height: 1.08;
  color: var(--navy);
}
.devo-page > .ornament,
.teaching-article > .ornament,
.sermon-page > .ornament {
  margin: 0 auto 28px;
}
.devo-page .section-label,
.teaching-article .section-label,
.sermon-page .section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 14px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.devo-page .section-label .mark,
.teaching-article .section-label .mark,
.sermon-page .section-label .mark {
  color: var(--gold);
  font-size: 0.55rem;
  line-height: 1;
}
.devo-page .section-label::after,
.teaching-article .section-label::after,
.sermon-page .section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.devo-page .section-label:first-of-type,
.teaching-article .section-label:first-of-type,
.sermon-page .section-label:first-of-type { margin-top: 8px; }
.devo-page p,
.teaching-article p,
.sermon-page p { margin: 0 0 16px; }
.devo-page .verse-box,
.teaching-article .verse-box,
.sermon-page .verse-box {
  margin: 0 0 14px;
  padding: 14px 0 14px 18px;
  border-left: 2px solid var(--gold);
}
.devo-page .verse-box .vref,
.teaching-article .verse-box .vref,
.sermon-page .verse-box .vref { margin-bottom: 6px; }
.devo-page .verse,
.teaching-article .verse,
.sermon-page .verse {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--navy);
}
.devo-page .walk,
.teaching-article .walk,
.sermon-page .walk {
  display: grid;
  gap: 0;
  background: #f3ebd6;
  border-radius: 10px;
  padding: 8px 22px;
  border: 1px solid rgba(196, 163, 90, 0.22);
}
.devo-page .step,
.teaching-article .step,
.sermon-page .step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.devo-page .step:last-child,
.teaching-article .step:last-child,
.sermon-page .step:last-child { border-bottom: 0; }
.devo-page .num,
.teaching-article .num,
.sermon-page .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.devo-page .step strong,
.teaching-article .step strong,
.sermon-page .step strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.devo-page .step p,
.teaching-article .step p,
.sermon-page .step p { margin: 0; }
.devo-page .prayer,
.teaching-article .prayer,
.sermon-page .prayer {
  margin: 0;
  padding: 22px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--navy);
}
.devo-page .share-note,
.teaching-article .share-note,
.sermon-page .share-note { color: var(--muted); font-size: 0.95rem; }
.devo-page .copy,
.teaching-article .copy,
.sermon-page .copy {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.devo-page .sig,
.teaching-article .sig,
.sermon-page .sig {
  text-align: center;
  color: var(--gold);
  font-style: italic;
  margin-top: 10px;
}
.devo-page .end,
.teaching-article .end,
.sermon-page .end {
  text-align: center;
  color: var(--gold);
  margin-top: 18px;
  letter-spacing: 0.35em;
  font-size: 0.85rem;
}
.devo-page .back,
.teaching-article .back,
.sermon-page .back {
  display: block;
  width: fit-content;
  margin: 22px auto 0;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.devo-page .back:hover,
.teaching-article .back:hover,
.sermon-page .back:hover { color: var(--gold); }



/* —— Mobile-only fixes (Oct 12 2026). Desktop untouched: everything below is ≤700px. —— */
@media (max-width: 700px) {
  /* 1. Nav: single row, swipe sideways if needed, no visible scrollbar */
  .site-header nav {
    flex-wrap: nowrap;
    gap: 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { flex: 0 0 auto; font-size: 0.84rem; }

  /* 2. Home hero: hide baked image-map strip, show real HTML hero */
  .hero.hero-map .hero-map-clip { display: none; }
  .hero.hero-map .hero-mobile[hidden] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 300px;
    padding: 36px 20px 64px; /* bottom room for .home-wrap -40px overlap */
    line-height: 1.3;
    /* Left edge of landing.jpg (hills/sun, no baked text): 300px band scale = 300/220 */
    background:
      linear-gradient(rgba(247, 241, 228, 0.45), rgba(247, 241, 228, 0.25)),
      url("images/landing.jpg?v=heroimap1") 0 -76px / 1593px 974px no-repeat,
      var(--cream);
  }
  .hero-mobile h1 { font-size: 2rem; line-height: 1.22; }
  .hero-mobile .ornament { margin: 14px auto 18px; }
  .hero-mobile .cta-row { gap: 12px; }
  .hero-mobile .btn {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
}
@media (max-width: 360px) {
  .hero-mobile h1 { font-size: 1.75rem; }
  .hero-mobile .btn { padding: 0 16px; }
}

/* —— Phone nav fix (Nov 12 2026): ≤600px keep the header nav on ONE row with all 7 links
   visible, 320px and up, no sideways scroll (the old swipe row clipped "Give" on iPhones).
   - Nav nudged out into the header's 32px side padding: 8px from each screen edge
     (the logo does not move).
   - Links spread edge to edge (space-between) with a 4px minimum gap.
   - Font stays at the existing 0.84rem (13.44px) from about 344px up and eases down
     only on narrower phones (about 12.4px at 320px).
   Link padding and the gold active underline are unchanged. Desktop and 601px+ untouched. —— */
@media (max-width: 600px) {
  .site-header nav {
    flex-wrap: wrap;            /* safety only: wraps instead of clipping if text is enlarged */
    justify-content: space-between;
    gap: 0 4px;
    overflow-x: visible;
    -webkit-overflow-scrolling: auto;
    scroll-behavior: auto;
    box-sizing: border-box;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
  }
  .site-header nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: clamp(12px, calc((100vw - 48px) / 22), 0.84rem);
  }
}
