/* ==========================================================================
   Pineview Community Church — shared stylesheet
   Layout concept: open, full-width bands with content on a centered 1180px
   track; photos and logos sit directly on the page, with no boxed panels.
   Colors follow the "Pineview Family of Ministries" brand guide (Oct 2026).
   Each ministry page sets its own palette with a body class:
   .theme-church  .theme-kids  .theme-chaos  .theme-missions
   ========================================================================== */

:root {
  /* Parent church (brand guide p.3) */
  --burgundy: #781019;
  --evergreen: #28431D;
  --gold: #D5A03B;
  --cream: #F8F3E8;
  --sand: #EFE7D6;
  --ink: #1F2A1C;          /* body text: evergreen-tinted near black */
  --muted: #545E50;
  --line: #DCD3C0;
  --white: #FFFFFF;

  /* Kids (p.4) */
  --k-navy: #072B4A;
  --k-turq: #03BCCD;
  --k-teal: #0A8E9C;       /* deeper turquoise for headline text on cream */
  --k-yellow: #FFC629;
  --k-coral: #FF6574;
  --k-lime: #99D83B;
  --k-soft-yellow: #FFF3CC;
  --k-soft-sage: #EDF4E2;

  /* Godly C.H.A.O.S. (p.5) */
  --c-lime: #99D83B;
  --c-turq: #03BCCD;
  --c-ink: #001E20;
  --c-charcoal: #172426;
  --c-ice: #E6F9FA;

  /* Missions (p.6) */
  --m-navy: #072B4A;
  --m-blue: #087DA5;
  --m-teal: #0B4A5E;       /* deep teal band, between compass navy and globe blue */
  --m-pine: #28431D;
  --m-gold: #D5A03B;
  --m-burgundy: #781019;

  /* Type (brand guide p.7: readable serif or bold sans for headings,
     clean sans for body) */
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Montserrat", "Segoe UI", Arial, Helvetica, sans-serif;

  /* Per-page roles (overridden by theme classes) */
  --page-bg: var(--cream);
  --heading: var(--evergreen);
  --accent: var(--gold);
  --accent-text: #8A6420;  /* gold dark enough for small text on cream */
  --btn-bg: var(--evergreen);
  --btn-fg: var(--white);
  --btn-hover: #1C3214;
  --nav-active: var(--burgundy);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(40px, 6vw, 72px);
  --radius: 14px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0; max-width: 65ch; }
.stack > * + * { margin-top: 1rem; }
.lede { font-size: 1.1rem; }
.eyebrow {
  font: 700 0.78rem/1.3 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.center { text-align: center; }
.center p { margin-inline: auto; }
.rule { width: 56px; height: 3px; background: var(--accent); border: 0; margin: 0; border-radius: 2px; }
.center .rule { margin-inline: auto; }
:focus-visible { outline: 3px solid var(--k-turq); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.8em 1.5em;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 0.98rem/1.2 var(--sans);
  text-decoration: none; border-radius: 10px; border: 0; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--gold); color: var(--k-navy); }
.btn.gold:hover { background: #E2B455; }
.arrow::after { content: "→"; font-family: var(--sans); }
.text-link {
  font: 700 0.85rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-text); text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hdr { display: flex; align-items: center; gap: 24px; min-height: 84px; padding-block: 6px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 72px; width: auto; }
.brand-text { display: flex; flex-direction: column; font-family: var(--serif); color: var(--burgundy); line-height: 1.05; }
.brand-text .b1 { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-text .b2 { font-size: 0.95rem; color: var(--evergreen); font-style: italic; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  font: 600 0.9rem/1 var(--sans); color: var(--ink); text-decoration: none;
  padding-block: 10px; border-bottom: 3px solid transparent;
}
.site-nav ul a:hover { color: var(--nav-active); }
.site-nav ul a[aria-current="page"] { color: var(--nav-active); border-bottom-color: var(--nav-active); }
.site-nav .btn { padding: 0.7em 1.25em; font-size: 0.92rem; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 14px; font: 600 0.9rem/1 var(--sans); color: var(--ink); cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--nav-active); padding-left: 12px; }
  .site-nav .btn { margin-top: 16px; justify-content: center; }
}
@media (max-width: 480px) {
  .brand img { height: 60px; }
  .brand-text .b1 { font-size: 1.1rem; }
  .brand-text .b2 { font-size: 0.8rem; }
}

/* ---------- Photo slots (reserved for real church photos) ----------
   To add a photo, put an <img> inside the figure:
   <figure class="photo-slot" ...><img src="photos/your-photo.jpg" alt="Describe the photo"> ...</figure>
   The placeholder label hides automatically once an image is present. */
.photo-slot {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 3); max-width: 100%;
  border-radius: var(--slot-radius, var(--radius));
  background:
    repeating-linear-gradient(135deg, rgba(40, 67, 29, 0.05) 0 12px, transparent 12px 24px),
    var(--slot-bg, #E6DFCF);
  display: grid; place-items: center;
}
.photo-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot .ph-label {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px; text-align: center;
  font: 600 0.82rem/1.35 var(--sans); color: var(--slot-fg, #6B705F);
}
.photo-slot .ph-label svg { width: 30px; height: 30px; opacity: 0.75; }
.photo-slot:has(img) .ph-label { display: none; }

/* ---------- Icons ---------- */
.icon { width: 28px; height: 28px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Scripture ---------- */
.scripture blockquote { margin: 0; }
.scripture .verse {
  font: italic 400 clamp(1.35rem, 2.6vw, 1.9rem)/1.4 var(--serif);
  color: var(--heading); max-width: 40ch; margin-inline: auto;
}
.scripture .ref {
  margin-top: 14px; font: 700 0.78rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.scripture .rule { margin-block: 16px 0; }

/* ---------- Editor notes for content still to come ----------
   These mark information Pineview hasn't supplied yet. Delete each one
   once the real content is in place. */
.pending {
  display: inline-block; margin-top: 12px;
  border: 1.5px dashed #B9A57A; border-radius: 8px; padding: 8px 12px;
  font: 600 0.85rem/1.4 var(--sans); color: #7A6430; background: rgba(213, 160, 59, 0.08);
}

/* ---------- Two-column split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split .photo-first { order: -1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 36px 28px; font-size: 0.9rem; color: var(--muted); }
.foot { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot .brand img { height: 84px; }
.foot nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.foot nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.foot nav a:hover { color: var(--burgundy); }
.foot-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot-meta .tag { font-family: var(--serif); font-style: italic; color: var(--evergreen); }
@media (max-width: 720px) {
  .foot { grid-template-columns: 1fr; }
  .foot nav ul { justify-content: flex-start; }
}

/* ==========================================================================
   HOME (parent church)
   ========================================================================== */
.home-hero { position: relative; color: var(--white); }
.home-hero .photo-slot {
  position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0;
  --slot-bg: #3B4F33; --slot-fg: rgba(255, 255, 255, 0.75);
  place-items: end end;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(213, 160, 59, 0.35), transparent 55%),
    linear-gradient(180deg, #4C6B44 0%, #2C4424 70%, #22361C 100%);
}
.home-hero .photo-slot .ph-label { flex-direction: row; padding: 18px 24px; }
.home-hero::before {  /* left-side shade so text stays readable over any photo */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 26, 12, 0.72) 0%, rgba(16, 26, 12, 0.45) 45%, rgba(16, 26, 12, 0) 75%);
}
.home-hero .ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; z-index: 0; opacity: 0.55; }
.home-hero .photo-slot:has(img) ~ .ridge { display: none; }
.home-hero .wrap { position: relative; z-index: 2; padding-block: clamp(64px, 10vw, 120px); }
.home-hero h1 { color: var(--white); max-width: 18ch; }
.home-hero .tagline { font: 700 0.8rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #F2CF86; margin-bottom: 18px; }
.home-hero p.sub { margin-top: 18px; font-size: 1.12rem; max-width: 42ch; color: rgba(255, 255, 255, 0.92); }
.home-hero .btn { margin-top: 28px; background: var(--gold); color: var(--k-navy); }
.home-hero .btn:hover { background: #E2B455; }

.times-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 22px; }
.times li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 12px; }
.times li + li { border-left: 1px solid var(--line); }
.times .icon { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.7; }
.times .t-label { display: block; font: 600 0.9rem/1.2 var(--sans); color: var(--muted); }
.times .t-time { display: block; font: 700 1.15rem/1.3 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
ul.times { list-style: none; margin-block: 0; }
@media (max-width: 680px) {
  .times { grid-template-columns: 1fr; padding-block: 10px; }
  .times li { justify-content: flex-start; padding: 10px 0; }
  .times li + li { border-left: 0; border-top: 1px solid var(--line); }
}

.welcome .rule { margin-top: 24px; }

.verse-band { position: relative; background: linear-gradient(180deg, #F3EEE2 0%, #E9E3D3 100%); overflow: hidden; }
.verse-band .wrap { position: relative; z-index: 1; padding-block: clamp(44px, 6vw, 64px) clamp(70px, 9vw, 96px); }
.verse-band .ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; }

.ministries h2 { margin-bottom: clamp(24px, 4vw, 40px); }
.min-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.min-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.min-col .logo-link { display: block; height: 200px; width: 100%; padding: 8px; border-radius: 12px; transition: transform 0.2s; }
.min-col .logo-link:hover { transform: translateY(-3px) rotate(-1deg); }
.min-col .logo-link img { width: 100%; height: 184px; object-fit: contain; }
.min-col h3 { margin-top: 6px; }
.min-col p { color: var(--muted); max-width: 32ch; }
@media (max-width: 760px) { .min-grid { grid-template-columns: 1fr; gap: 44px; } .min-col .logo-link { height: 180px; } .min-col .logo-link img { height: 164px; } }

.coming { background: var(--sand); }
.coming .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.coming .lead { padding-right: clamp(0px, 3vw, 40px); border-right: 1px solid var(--line); }
.coming .lead .text-link { display: inline-block; margin-top: 18px; }
@media (max-width: 820px) { .coming .grid { grid-template-columns: 1fr; } .coming .lead { border-right: 0; padding-right: 0; } }

.event-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.event-row .photo-slot { --ratio: 3 / 2; --slot-radius: 10px; }
.event-row h3 { font-size: 1.5rem; }
.event-row .when { margin-top: 8px; font: 700 1.05rem/1.3 var(--sans); color: var(--ink); }
.event-row .where { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.event-row .desc { margin-top: 8px; color: var(--muted); }
.event-row.has-flyer { grid-template-columns: 170px 1fr; }
.event-flyer { all: unset; cursor: zoom-in; display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(31, 42, 28, 0.18); transition: transform 0.2s; }
.event-flyer:hover { transform: translateY(-2px) rotate(-1deg); }
.event-flyer:focus-visible { outline: 3px solid var(--k-turq); outline-offset: 3px; }
.event-flyer img { width: 100%; height: auto; }
@media (max-width: 560px) { .event-row, .event-row.has-flyer { grid-template-columns: 1fr; } .event-flyer { max-width: 240px; } }
.empty-note { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.15rem; }

.cta-band { position: relative; background: var(--evergreen); color: var(--white); overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 76px); }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, 0.88); }
.cta-band .btn { margin-top: 24px; }
.cta-band .ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 75%; opacity: 0.35; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.page-intro { padding-block: clamp(44px, 6vw, 72px) clamp(24px, 3vw, 36px); }
.page-intro h1 { margin-top: 10px; }
.page-intro p.lede { margin-top: 16px; color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); }
.pillar { border-top: 3px solid var(--accent); padding-top: 18px; }
.pillar h3 { color: var(--burgundy); }
.pillar p { margin-top: 10px; color: var(--muted); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pastor .photo-slot { --ratio: 4 / 5; max-width: 320px; width: 100%; justify-self: end; }
@media (max-width: 820px) { .pastor .photo-slot { justify-self: start; max-width: 260px; } }
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 40px); margin-top: 32px; }
.leader { display: flex; flex-direction: column; gap: 6px; }
.leader .photo-slot { --ratio: 1; --slot-radius: 50%; width: 132px; margin-bottom: 10px; }
.leader .photo-slot .ph-label { font-size: 0.7rem; }
.leader .role { font: 700 0.75rem/1.3 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-text); }
.leader .name { font: 700 1.3rem/1.2 var(--serif); color: var(--heading); }
.leader a { font-weight: 600; color: var(--evergreen); }
@media (max-width: 760px) { .leaders { grid-template-columns: 1fr; } .leader { flex-direction: row; align-items: center; gap: 16px; } .leader .photo-slot { width: 88px; margin: 0; flex-shrink: 0; } .leader .photo-slot .ph-label span { display: none; } }

/* ==========================================================================
   PINEVIEW KIDS
   ========================================================================== */
.theme-kids {
  --page-bg: #FFFCF4; --heading: var(--k-navy); --accent: var(--k-yellow); --accent-text: var(--k-teal);
  --btn-bg: var(--k-yellow); --btn-fg: var(--k-navy); --btn-hover: #FFB800; --nav-active: var(--k-teal);
}
.theme-kids h1, .theme-kids h2, .theme-kids h3 { font-weight: 700; }
.theme-kids .hl { color: var(--k-teal); }
.kids-hero { padding-block: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 56px); }
.kids-hero .split { grid-template-columns: 1fr 1.15fr; }
.kids-hero .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.kids-hero .hero-copy img { width: min(380px, 100%); }
.kids-hero h1 { font-size: clamp(2.5rem, 5.4vw, 3.8rem); }
.kids-hero .lede { color: var(--k-navy); }
.kids-hero .eyebrow { color: var(--k-navy); }
.kids-hero .photo-slot { --ratio: 1 / 1; --slot-radius: 48px 48px 48px 140px; --slot-bg: #E9EFF2; }
@media (max-width: 820px) { .kids-hero .split { grid-template-columns: 1fr; } .kids-hero .photo-slot { --ratio: 4 / 3; --slot-radius: 36px 36px 36px 90px; } }

.kids-welcome .photo-slot { --ratio: 16 / 10; --slot-radius: 36px; }
.kids-welcome h2 { margin-top: 6px; }
.kids-welcome p { margin-top: 14px; }

.age-groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-top: 28px; }
.age-card { display: grid; grid-template-columns: 0.9fr 1fr; align-items: center; border-radius: 44px; overflow: hidden; }
.age-card .photo-slot { --ratio: 1 / 1; --slot-radius: 44px; height: 100%; --slot-bg: #EADFC6; }
.age-card .txt { padding: 24px clamp(18px, 3vw, 32px); }
.age-card.nursery { background: var(--k-soft-yellow); }
.age-card.church { background: var(--k-soft-sage); }
.age-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.age-card .ages { margin-top: 8px; font: 700 0.8rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-teal); }
.age-card p { margin-top: 8px; font-size: 0.95rem; }
@media (max-width: 900px) { .age-groups { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .age-card { grid-template-columns: 1fr; } .age-card .photo-slot { --ratio: 16 / 9; } }

.kids-wed { background: var(--k-soft-sage); }
.kids-wed .photo-slot { --ratio: 16 / 10; --slot-radius: 36px; --slot-bg: #DCE6CF; }
.kids-wed .sched { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.kids-wed .sched li { font: 700 0.92rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--k-navy); font-variant-numeric: tabular-nums; }
.kids-wed .sched .dot { color: var(--k-coral); padding-inline: 6px; }
.kids-wed p.grade { margin-top: 14px; font-weight: 700; color: var(--k-teal); }
.kids-wed p.desc { margin-top: 6px; }
.theme-kids .scripture .rule { background: var(--k-yellow); }
.theme-kids .scripture .ref { color: var(--k-navy); }

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { text-align: center; padding: 4px clamp(14px, 3vw, 32px); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.steps li + li { border-left: 1px solid var(--line); }
.steps .num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 700 1.35rem/1 var(--serif); color: var(--k-navy); }
.steps li:nth-child(1) .num { background: var(--k-soft-yellow); }
.steps li:nth-child(2) .num { background: #D6F3F5; }
.steps li:nth-child(3) .num { background: #FFE0E3; color: #B32A3A; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 18px; } .steps li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } }

.coordinator { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; text-align: center; }
.coordinator .role { font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-teal); }
.coordinator .name { font: 700 1.25rem/1.2 var(--serif); color: var(--heading); }

.kids-cta { margin-inline: auto; max-width: calc(var(--wrap) - 2 * var(--gutter)); background: var(--k-navy); border-radius: 32px; color: var(--white); position: relative; overflow: hidden; }
.kids-cta-outer { padding-inline: var(--gutter); padding-block: 8px var(--section); }
.kids-cta .inner { padding: clamp(32px, 5vw, 48px) 24px; text-align: center; position: relative; z-index: 1; }
.kids-cta h2 { color: var(--white); }
.kids-cta .btn { margin-top: 20px; background: var(--k-turq); color: var(--k-navy); }
.kids-cta .btn:hover { background: #38D3E0; }
.kids-cta .burst { position: absolute; width: 70px; height: 70px; top: 50%; transform: translateY(-50%); }
.kids-cta .burst.l { left: clamp(10px, 8vw, 120px); }
.kids-cta .burst.r { right: clamp(10px, 8vw, 120px); transform: translateY(-50%) scaleX(-1); }
@media (max-width: 640px) { .kids-cta .burst { display: none; } }

/* ==========================================================================
   GODLY C.H.A.O.S.
   ========================================================================== */
.theme-chaos {
  --page-bg: #FFFFFF; --heading: var(--c-ink); --accent: var(--c-lime); --accent-text: #0A8E9C;
  --btn-bg: var(--c-lime); --btn-fg: var(--c-ink); --btn-hover: #ADE85A; --nav-active: #0A8E9C;
}
.theme-chaos h1, .theme-chaos h2, .theme-chaos h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.02em; }
.theme-chaos .rule { background: var(--c-lime); height: 5px; width: 48px; }
.theme-chaos .lime { color: var(--c-lime); }
.theme-chaos .turq { color: #079AA8; }
.brush { position: absolute; height: 12px; width: 120px; border-radius: 10px 3px 12px 2px; transform: rotate(-8deg); pointer-events: none; }
.brush::after { content: ""; position: absolute; left: 14px; right: -10px; top: 14px; height: 6px; border-radius: inherit; background: inherit; opacity: 0.8; }
.brush.t { background: var(--c-turq); }
.brush.l { background: var(--c-lime); }

.chaos-hero { background: var(--c-charcoal); color: var(--white); position: relative; overflow: hidden; }
.chaos-hero .grid { display: grid; grid-template-columns: 0.9fr 1fr 1.15fr; gap: clamp(20px, 3vw, 36px); align-items: center; padding-block: clamp(32px, 5vw, 56px); }
.chaos-hero .grid > * { min-width: 0; }
.chaos-hero .logo img { width: 100%; max-width: 340px; margin-inline: auto; }
.chaos-hero .eyebrow { color: var(--c-turq); letter-spacing: 0.3em; }
.chaos-hero .rule { margin-block: 14px 18px; background: var(--c-turq); }
.chaos-hero h1 { color: var(--white); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1.02; }
.chaos-hero p { margin-top: 16px; color: rgba(255, 255, 255, 0.88); max-width: 34ch; }
.chaos-hero .btn { margin-top: 22px; }
.chaos-hero .photo-slot { --ratio: 4 / 3.3; --slot-bg: #22353A; --slot-fg: rgba(255, 255, 255, 0.65); background: repeating-linear-gradient(135deg, rgba(3, 188, 205, 0.07) 0 12px, transparent 12px 24px), #22353A; }
@media (max-width: 980px) {
  .chaos-hero .grid { grid-template-columns: 1fr 1fr; }
  .chaos-hero .logo { grid-column: 1 / -1; }
  .chaos-hero .logo img { max-width: 300px; }
}
@media (max-width: 640px) { .chaos-hero .grid { grid-template-columns: 1fr; } .chaos-hero .copy { text-align: left; } }

.chaos-people { position: relative; }
.chaos-people h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 14px; }
.chaos-people p { margin-top: 14px; color: #33413F; }
.chaos-people .photo-slot { --ratio: 16 / 11; --slot-bg: #E2ECEB; }
.chaos-people .pic { position: relative; }
.chaos-people .pic .brush { top: -12px; left: -10px; z-index: 2; }

.pillars3 { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: clamp(8px, 2vw, 16px); }
.pillars3 > div { text-align: center; padding: 8px clamp(14px, 3vw, 36px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pillars3 > div + div { border-left: 1px solid #D5DEDD; }
.pillars3 .icon { width: 54px; height: 54px; color: var(--c-ink); stroke-width: 1.6; }
.pillars3 .icon .acc { stroke: var(--c-turq); }
.pillars3 .icon .acc2 { stroke: var(--c-lime); }
.pillars3 h3 { font-size: 1.35rem; }
.pillars3 p { color: #47524F; font-size: 0.95rem; max-width: 26ch; }
@media (max-width: 720px) { .pillars3 { grid-template-columns: 1fr; gap: 24px; } .pillars3 > div + div { border-left: 0; border-top: 1px solid #D5DEDD; padding-top: 24px; } }

.chaos-wed { background: var(--c-ice); }
.chaos-wed h2 { margin-top: 14px; font-size: clamp(2rem, 4vw, 2.8rem); }
.chaos-wed .sched { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.chaos-wed .sched li { display: flex; align-items: center; gap: 14px; font: 800 1.15rem/1.3 var(--sans); color: var(--c-ink); font-variant-numeric: tabular-nums; }
.chaos-wed .sched .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--c-turq); display: grid; place-items: center; color: var(--white); flex-shrink: 0; }
.chaos-wed .sched .ic .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.chaos-wed .sched .dot { color: #079AA8; padding-inline: 4px; }
.chaos-wed .who { margin-top: 22px; color: #33413F; }
.chaos-wed .who strong { color: var(--c-ink); }
.chaos-wed .photo-slot { --ratio: 16 / 10; --slot-bg: #CFEFF1; }

.life-head { display: grid; grid-template-columns: auto 1fr; gap: 12px clamp(24px, 5vw, 64px); align-items: end; }
.life-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 14px; }
.life-head p { color: #33413F; }
.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.life-grid .photo-slot { --ratio: 4 / 3; --slot-radius: 10px; --slot-bg: #E2ECEB; }
@media (max-width: 720px) { .life-head { grid-template-columns: 1fr; } .life-grid { grid-template-columns: 1fr; } }

.chaos-cta { background: var(--c-charcoal); color: var(--white); position: relative; overflow: hidden; }
.chaos-cta .wrap { padding-block: clamp(44px, 6vw, 64px); position: relative; z-index: 1; }
.chaos-cta h2 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.2rem); }
.chaos-cta p { margin-top: 10px; color: rgba(255, 255, 255, 0.88); }
.chaos-cta .btn { margin-top: 22px; }
.chaos-cta .brush { width: 170px; height: 14px; }

.chaos-events h2 { margin-top: 14px; font-size: clamp(2rem, 4vw, 2.8rem); }
.chaos-events .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 48px); }
.chaos-events .event-list .event-row { border-bottom: 0; padding-bottom: 0; align-items: start; }
.chaos-events .when { color: #079AA8; }
@media (max-width: 860px) { .chaos-events .event-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   MISSIONS
   ========================================================================== */
.theme-missions {
  --page-bg: #FCFAF5; --heading: var(--m-navy); --accent: var(--m-gold); --accent-text: #8A6420;
  --btn-bg: var(--m-gold); --btn-fg: var(--m-navy); --btn-hover: #E2B455; --nav-active: var(--m-burgundy);
}
.m-hero { position: relative; overflow: hidden; }
.m-hero .grid { display: grid; grid-template-columns: 1fr 1.25fr; align-items: stretch; min-height: 520px; }
.m-hero .copy { padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px) clamp(32px, 5vw, 52px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; gap: 16px; position: relative; z-index: 2; }
.m-hero .copy img { width: min(300px, 80%); }
.m-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.4rem); }
.m-hero p { font-size: 1.1rem; color: #3A4652; max-width: 30ch; }
.m-hero .btn { align-self: flex-start; }
.m-hero .photo-slot { --ratio: auto; aspect-ratio: auto; height: 100%; min-height: 360px; --slot-radius: 0; --slot-bg: #E7E1D2; }
.m-hero .photo-slot::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; background: linear-gradient(90deg, #FCFAF5, rgba(252, 250, 245, 0)); z-index: 1; }
@media (max-width: 860px) {
  .m-hero .grid { grid-template-columns: 1fr; min-height: 0; }
  .m-hero .copy { padding: 28px var(--gutter) 32px; align-items: flex-start; }
  .m-hero .photo-slot { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .m-hero .photo-slot::before { display: none; }
}

.m-faith { background: var(--white); }
.m-faith .split { grid-template-columns: 1.05fr 1fr; }
.m-faith .photo-slot { --ratio: 16 / 11; --slot-radius: 0 var(--radius) var(--radius) 0; }
.m-faith h2 { color: var(--m-navy); }
.m-faith p { margin-top: 16px; font-size: 1.1rem; color: #3A4652; max-width: 34ch; }
@media (max-width: 820px) { .m-faith .split { grid-template-columns: 1fr; } .m-faith .photo-slot { --slot-radius: var(--radius); } }

.m-two { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(24px, 4vw, 40px); }
.m-two > div { text-align: center; padding: 6px clamp(16px, 4vw, 48px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.m-two > div + div { border-left: 1px solid var(--line); }
.m-two .icon { width: 50px; height: 50px; color: var(--m-burgundy); stroke-width: 1.6; }
.m-two h3 { color: var(--m-navy); }
.m-two p { color: #4A5560; max-width: 38ch; }
@media (max-width: 680px) { .m-two { grid-template-columns: 1fr; gap: 28px; } .m-two > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; } }

.m-love { background: linear-gradient(90deg, #F5EFE2 0%, #F5EFE2 45%, #FCFAF5 100%); }
.m-love .split { grid-template-columns: 1fr 1.2fr; }
.m-love h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.m-love .rule { margin-block: 18px; }
.m-love p { color: #3A4652; }
.m-love .photo-slot { --ratio: 16 / 10; }
@media (max-width: 820px) { .m-love .split { grid-template-columns: 1fr; } }

.m-three { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(24px, 4vw, 36px); }
.m-three > div { text-align: center; padding: 6px clamp(14px, 3vw, 36px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.m-three > div + div { border-left: 1px solid var(--line); }
.m-three .icon { width: 48px; height: 48px; stroke-width: 1.6; }
.m-three .pray .icon, .m-three .give .icon { color: var(--m-pine); }
.m-three .serve .icon { color: var(--m-burgundy); }
.m-three h3 { color: var(--m-navy); }
.m-three .rule { width: 36px; height: 2px; }
.m-three p { color: #4A5560; font-size: 0.95rem; max-width: 30ch; }
.m-three-cta { margin-top: clamp(24px, 4vw, 36px); }
@media (max-width: 720px) { .m-three { grid-template-columns: 1fr; gap: 24px; } .m-three > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; } }


.m-final { background: var(--m-teal); color: var(--white); }
.m-final .wrap { padding-block: clamp(44px, 6vw, 64px); }
.m-final h2 { color: var(--white); }
.m-final p { margin-top: 10px; color: rgba(255, 255, 255, 0.88); }
.m-final .btn { margin-top: 22px; }

/* ---------- Connect With [ministry] (shared by Kids, C.H.A.O.S. and Missions) ---------- */
.connect { background: var(--white); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.connect-box { display: grid; grid-template-columns: 180px 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; max-width: 900px; margin-inline: auto; padding-inline: var(--gutter); }
.connect-box > div { min-width: 0; }
.connect .photo-slot { --ratio: 1; --slot-radius: 50%; }
.connect .photo-slot .ph-label { font-size: 0.72rem; }
.connect h2 { margin-top: 8px; }
.connect .connect-who { margin-top: 8px; color: var(--muted); }
.connect .connect-who strong { color: var(--heading); }
.connect p + p { margin-top: 12px; }
.connect .connect-who + p { margin-top: 14px; }
.connect a { font-weight: 600; color: var(--accent-text); }
.connect .ways { margin: 14px 0 0; padding-left: 1.2em; }
.connect .ways li + li { margin-top: 4px; }
.connect .ways + p { margin-top: 14px; }
@media (max-width: 600px) { .connect-box { grid-template-columns: 1fr; } .connect .photo-slot { width: 140px; } }
.chaos-acronym { margin-top: 14px; text-align: center; font: 700 0.95rem/1.4 var(--sans); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.85); }
.chaos-acronym span { color: var(--c-lime); font-weight: 800; font-size: 1.1em; }

/* ==========================================================================
   EVENTS & GALLERY
   ========================================================================== */
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.subnav a {
  padding: 9px 16px; border-radius: 999px; text-decoration: none;
  font: 600 0.9rem/1 var(--sans); color: var(--evergreen); border: 1.5px solid var(--line); background: var(--white);
}
.subnav a[aria-current="page"] { background: var(--evergreen); border-color: var(--evergreen); color: var(--white); }
.event-list { display: grid; gap: 28px; }
.event-list .event-row { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.event-list .event-row:last-child { border-bottom: 0; }
.event-tag { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; font: 700 0.72rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.tag-chaos { background: var(--c-charcoal); color: var(--c-lime); }
.tag-kids { background: var(--k-soft-yellow); color: var(--k-navy); }
.tag-missions { background: var(--m-teal); color: var(--white); }
.date-chip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 68px; border-radius: 10px; background: var(--evergreen); color: var(--white); font-variant-numeric: tabular-nums; }
.date-chip .m { font: 700 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #F2CF86; }
.date-chip .d { font: 700 1.6rem/1.1 var(--serif); }
.empty-state { text-align: center; padding: clamp(32px, 6vw, 56px) 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty-state h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.empty-state p { margin: 10px auto 0; color: var(--muted); }
.empty-state .btn { margin-top: 20px; }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.album-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; }
.album-card .photo-slot { --ratio: 4 / 3; }
.album-card h3 { font-size: 1.25rem; }
.album-card .meta { color: var(--muted); font-size: 0.9rem; }
.album-card:hover h3 { color: var(--burgundy); }
.back-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--evergreen); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
@media (max-width: 760px) { .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
#gallery { scroll-margin-top: 100px; }
.thumbs button { all: unset; cursor: zoom-in; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--sand); }
.thumbs button:focus-visible { outline: 3px solid var(--k-turq); outline-offset: 3px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.thumbs button:hover img { transform: scale(1.04); }
.thumbs button { position: relative; }
.thumbs .play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(10, 14, 9, 0.6); border: 2px solid rgba(255, 255, 255, 0.9); }
.thumbs .play::after { content: ""; position: absolute; left: 21px; top: 15px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #FFFFFF; }
.thumbs button.is-video { cursor: pointer; }
.lightbox .lb-stage video { max-width: 100%; max-height: 100%; border-radius: 4px; background: #000000; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 14, 9, 0.97); display: grid; grid-template-rows: auto 1fr auto; padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px)); color: var(--white); }
.lightbox .lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px; }
.lightbox .lb-count { font-size: 0.9rem; opacity: 0.8; font-variant-numeric: tabular-nums; }
.lightbox .lb-stage { display: grid; place-items: center; min-height: 0; position: relative; }
.lightbox .lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox .lb-cap { text-align: center; padding: 10px; min-height: 2.5em; font-size: 0.95rem; }
.lb-btn { all: unset; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: var(--white); font: 400 1.5rem/1 var(--sans); }
.lb-btn:hover { background: rgba(255, 255, 255, 0.24); }
.lb-btn:focus-visible { outline: 3px solid var(--k-turq); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 6px; } .lb-next { right: 6px; }

/* ==========================================================================
   PLAN A VISIT
   ========================================================================== */
.visit-times { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: 28px; }
.visit-day h3 { color: var(--burgundy); }
.visit-day dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.visit-day dt { font: 700 1.05rem/1.4 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.visit-day dd { margin: 0; color: var(--muted); }
@media (max-width: 680px) { .visit-times { grid-template-columns: 1fr; } }
.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 40px); margin-top: 28px; }
.expect > div { display: flex; flex-direction: column; gap: 8px; }
.expect .icon { width: 36px; height: 36px; color: var(--gold); }
.expect p { color: var(--muted); }
.expect a { font-weight: 600; color: var(--evergreen); }
@media (max-width: 760px) { .expect { grid-template-columns: 1fr; } }
.families { background: var(--k-soft-yellow); scroll-margin-top: 90px; }
.families .split { grid-template-columns: 0.8fr 1.2fr; }
.families img.kids-logo { width: min(340px, 100%); margin-inline: auto; }
.families h2 { color: var(--k-navy); }
.families ul { margin: 14px 0 0; padding-left: 1.2em; }
.families li + li { margin-top: 6px; }
.families .btn { margin-top: 20px; background: var(--k-navy); color: var(--white); }
.families .btn:hover { background: #0D3D66; }
@media (max-width: 820px) { .families .split { grid-template-columns: 1fr; } }
.find-us .photo-slot { --ratio: 16 / 10; }
.addr { margin: 14px 0 12px; font: normal 600 1.25rem/1.45 var(--serif); color: var(--ink); }
.email { margin-top: 6px; font-weight: 600; word-break: break-word; }
.email a { color: var(--evergreen); }
.foot-meta a { color: inherit; }

/* ==========================================================================
   WHAT WE BELIEVE
   ========================================================================== */
.beliefs-intro { background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(44px, 6vw, 72px); }
.beliefs-intro h1 { max-width: 20ch; }
.beliefs-tag { margin-top: 10px; font: italic 400 clamp(1.15rem, 2vw, 1.4rem)/1.4 var(--serif); color: var(--burgundy); }
.beliefs-lede { margin-top: 20px; max-width: 62ch; }
.beliefs-lede p { color: var(--ink); }
.beliefs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 18px; border-bottom: 2px solid var(--burgundy); }
.beliefs-head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.pdf-soon { font-size: 0.9rem; color: var(--muted); font-style: italic; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 0.65em 1.2em; border: 1.5px solid var(--burgundy); border-radius: 10px; color: var(--burgundy); font: 700 0.92rem/1.2 var(--sans); text-decoration: none; }
.btn-outline:hover { background: var(--burgundy); color: var(--white); }
.beliefs, .beliefs-head { max-width: 900px; }
.belief { border-bottom: 1px solid var(--line); }
.belief summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: 12px;
  padding: 22px 4px; border-radius: 6px;
}
.belief summary::-webkit-details-marker { display: none; }
.belief summary:hover .b-title { color: var(--burgundy); }
.b-num { font: italic 700 1.15rem/1 var(--serif); color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.b-title { font: 700 clamp(1.15rem, 2vw, 1.35rem)/1.3 var(--serif); color: var(--evergreen); transition: color 0.15s; }
.b-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex-shrink: 0; transition: background 0.15s, border-color 0.15s; }
.b-icon::before, .b-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; background: var(--burgundy); transform: translate(-50%, -50%); transition: transform 0.2s; }
.b-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.belief[open] .b-icon { background: var(--burgundy); border-color: var(--burgundy); }
.belief[open] .b-icon::before, .belief[open] .b-icon::after { background: var(--white); }
.belief[open] .b-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.belief[open] .b-title { color: var(--burgundy); }
.b-body { padding: 0 4px 28px calc(3.2rem + 16px); }
.b-body p { max-width: 64ch; }
.b-body p + p { margin-top: 0.9rem; }
.b-body strong { color: var(--evergreen); }
.b-refs { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.b-refs-label { font: 700 0.7rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); }
.b-refs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.b-refs li { font: italic 400 0.95rem/1.5 var(--serif); color: var(--burgundy); }
.b-refs li + li::before { content: "·"; font-style: normal; color: var(--gold); padding-inline: 8px; }
@media (max-width: 600px) {
  .belief summary { grid-template-columns: 2.2rem 1fr auto; padding-block: 18px; }
  .b-body { padding-left: 4px; }
}
.beliefs-closing { background: var(--white); border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 80px); }
.beliefs-closing h2 { margin-top: 18px; }
.closing-text { margin-top: 18px; }
.closing-text p { max-width: 62ch; }
.closing-tag { margin: 22px auto 0; font: italic 400 1.15rem/1.4 var(--serif); color: var(--evergreen); }
.beliefs-closing .btn { margin-top: 24px; }

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

/* Find Us map */
.map-embed { aspect-ratio: 16 / 10; border-radius: var(--radius, 14px); overflow: hidden; background: #E9E3D3; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.families .photo-slot.hallway { --ratio: 4 / 5; width: min(400px, 100%); margin-inline: auto; }
.families h3.fam-h { margin-top: 28px; color: var(--k-navy); font-size: 1.25rem; }
.families h2 + h3.fam-h { margin-top: 14px; }
.families .btn.chaos { background: #001E20; color: #99D83B; }
.families .btn.chaos:hover { background: #0B3336; }
.families h3.fam-h { margin-bottom: 6px; }

/* ---------- Event card links ---------- */
.event-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn.small { padding: 0.6em 1.1em; font-size: 0.9rem; }

/* ---------- Trunk or Treat sign-up ---------- */
.trunk { background: linear-gradient(180deg, #FBF6EC 0%, var(--cream) 100%); border-top: 1px solid #EADFC8; scroll-margin-top: 80px; }
.trunk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.trunk-copy { position: relative; }
.trunk-copy .leaf { width: 38px; height: 38px; fill: var(--gold); stroke: #A9741F; stroke-width: 1.6; transform: rotate(-24deg); margin-bottom: 10px; }
.trunk-copy .eyebrow { color: var(--burgundy); }
.trunk-copy h2 { margin-top: 6px; color: var(--evergreen); }
.trunk-copy p:last-child { margin-top: 14px; max-width: 46ch; }
.trunk form .hp { position: absolute; left: -9999px; }
.trunk .f-row + .f-row { margin-top: 22px; }
.trunk label { display: block; font: 700 0.95rem/1.3 var(--sans); color: var(--ink); }
.trunk .req { color: var(--burgundy); }
.trunk input[type=text] {
  display: block; width: 100%; margin-top: 8px; padding: 13px 2px 11px;
  font: 400 1.05rem/1.4 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid #CDBF9F; border-radius: 0;
  transition: border-color .15s ease, background-color .15s ease;
}
.trunk input[type=text]::placeholder { color: #8C8A7E; }
.trunk input[type=text]:hover { border-bottom-color: #B39C6E; }
.trunk input[type=text]:focus { outline: none; border-bottom-color: var(--evergreen); background: rgba(255,255,255,.55); }
.trunk input[type=text]:focus-visible { box-shadow: 0 3px 0 -1px var(--gold); }
.trunk input[aria-invalid=true] { border-bottom-color: var(--burgundy); }
.trunk .f-err, .trunk .form-error { margin-top: 6px; font: 600 0.88rem/1.4 var(--sans); color: var(--burgundy); }
.trunk .form-error { margin-top: 18px; }
.trunk button[type=submit] { margin-top: 28px; }
.trunk button[type=submit]:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.trunk button[disabled] { opacity: .7; cursor: progress; }
.trunk-done { padding: 8px 0; outline: none; }
.trunk-done svg { width: 44px; height: 44px; fill: none; stroke: var(--evergreen); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trunk-done h3 { margin-top: 10px; font-size: 1.7rem; color: var(--burgundy); }
.trunk-done p { margin-top: 8px; max-width: 42ch; }
@media (max-width: 760px) { .trunk-grid { grid-template-columns: 1fr; } }

/* ---------- Downloadable forms ---------- */
.form-dl { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.08); }
.form-dl p { margin-top: 10px; font-size: 0.93rem; color: var(--muted); max-width: 52ch; }
.form-dl.fam-form { margin-top: 26px; }
.form-dl.fam-form h3.fam-h { margin-top: 0; }
.form-dl.fam-form p { margin: 0 0 4px; color: inherit; }
.form-dl + p { margin-top: 14px; }

/* ---------- Pineview Kids: What We're Learning ---------- */
.kids-learning { background: var(--k-soft-yellow); position: relative; overflow: hidden; }
.learn-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.kids-learning.single .learn-grid { grid-template-columns: 1fr; text-align: center; }
.kids-learning.single .learn-note { margin-inline: auto; }
.kids-learning .eyebrow { color: var(--k-coral); }
.kids-learning h2 { margin-top: 10px; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.05; color: var(--k-navy); }
.learn-ref { margin-top: 12px; font: 700 0.95rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-teal); }
.learn-note { margin-top: 16px; max-width: 46ch; }
.learn-side { display: grid; gap: 22px; }
.learn-side .label { font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--k-navy); }
.learn-verse { margin: 0; padding-left: 20px; border-left: 4px solid var(--k-yellow); }
.learn-verse blockquote { margin: 8px 0 0; font: italic 400 1.3rem/1.5 var(--serif); color: var(--k-navy); }
.learn-verse figcaption { margin-top: 8px; font-weight: 700; color: var(--k-teal); }
.learn-ask { padding-left: 20px; border-left: 4px solid var(--k-teal); }
.learn-ask p:last-child { margin-top: 6px; font-size: 1.05rem; }
@media (max-width: 760px) { .learn-grid { grid-template-columns: 1fr; } }
.kids-learning.single .learn-main { display: flex; flex-direction: column; align-items: center; }
.kids-learning .eyebrow { color: #C93A50; }
.learn-art { width: 100%; max-width: 240px; height: auto; justify-self: center; }
.kids-learning.has-art .learn-grid { grid-template-columns: 220px 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.kids-learning.has-art.single .learn-grid { grid-template-columns: 220px auto; justify-content: center; text-align: left; }
.kids-learning.has-art.single .learn-main { align-items: flex-start; }
@media (max-width: 1000px) {
  .kids-learning.has-art .learn-grid { grid-template-columns: 1fr 1fr; }
  .kids-learning.has-art .learn-art { grid-column: 1 / -1; max-width: 200px; }
}
@media (max-width: 760px) {
  .kids-learning.has-art .learn-grid, .kids-learning.has-art.single .learn-grid { grid-template-columns: 1fr; }
  .kids-learning.has-art .learn-art { grid-column: auto; max-width: 180px; justify-self: start; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.m-hero .m-verse { margin: 0; }
.m-hero .m-verse p { font: italic 400 clamp(1.35rem, 2.4vw, 1.7rem)/1.35 var(--serif); color: var(--ink); max-width: 22ch; }
.m-hero .m-verse cite { display: block; margin-top: 8px; font: 700 0.82rem/1.3 var(--sans); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.m-hero .m-verse p { max-width: 26ch; }
.m-hero .m-verse p { max-width: 32ch; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; }
/* Missions badges */
.m-badge { width: 100%; max-width: 200px; height: auto; margin-bottom: 4px; }
.m-two .m-badge { max-width: 220px; }
@media (max-width: 720px) { .m-badge { max-width: 170px; } }
/* Service-time badges on the home page */
.times-badge { width: 84px; height: 84px; object-fit: contain; flex: none; }
@media (max-width: 760px) { .times-badge { width: 64px; height: 64px; } }
@media (min-width: 761px) { .times-badge { width: 96px; height: 96px; } }
/* Godly C.H.A.O.S. badges */
.c-badge { width: 100%; max-width: 210px; height: auto; }
.c-sched-badge { width: 84px; height: 84px; object-fit: contain; flex: none; }
@media (max-width: 720px) { .c-badge { max-width: 180px; } .c-sched-badge { width: 70px; height: 70px; } }

/* ---------- Plan a Visit refresh ---------- */
.visit-hero .wrap { padding-block: clamp(72px, 11vw, 140px); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-btns .btn { margin-top: 0; }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.when-sec { background: var(--white); }
.when-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); margin-top: clamp(24px, 4vw, 40px); }
.when-card { text-align: center; padding: 28px 20px 26px; border-radius: 18px; background: var(--cream); border: 1px solid #EADFC8; display: flex; flex-direction: column; align-items: center; }
.when-card img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 14px; }
.when-card .day { font: 700 0.8rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--burgundy); }
.when-card .time { margin-top: 6px; font: 700 clamp(1.8rem, 3vw, 2.3rem)/1.1 var(--serif); color: var(--evergreen); font-variant-numeric: tabular-nums; }
.when-card .what { margin-top: 6px; color: var(--muted); font-size: 1.05rem; }
@media (max-width: 760px) {
  .when-grid { grid-template-columns: 1fr; }
  .when-card { flex-direction: row; text-align: left; gap: 16px; padding: 16px 18px; display: grid; grid-template-columns: 76px 1fr; align-items: center; }
  .when-card img { width: 76px; height: 76px; margin: 0; grid-row: span 3; }
  .when-card .time { margin-top: 2px; font-size: 1.6rem; }
  .when-card .what { margin-top: 2px; }
}
.expect-sec .split { align-items: center; }
.expect-sec .photo-slot { --ratio: 4 / 5; }
.expect-sec h2 { margin-top: 8px; }
.expect-list { list-style: none; counter-reset: ex; margin: 24px 0 0; padding: 0; display: grid; gap: 22px; }
.expect-list li { counter-increment: ex; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
.expect-list li::before { content: counter(ex); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--white); font: 700 1.2rem/44px var(--serif); text-align: center; }
.expect-list h3 { font-size: 1.3rem; color: var(--evergreen); }
.expect-list p { margin-top: 4px; color: var(--muted); }
.expect-list a { font-weight: 600; color: var(--evergreen); }
.families .split { align-items: start; }
@media (min-width: 821px) { .families .photo-slot.hallway { position: sticky; top: 100px; } }
.expect-sec .photo-slot { --ratio: 1 / 1; }
@media (max-width: 760px) {
  .visit-hero::before { background: linear-gradient(180deg, rgba(16,26,12,.72) 0%, rgba(16,26,12,.6) 60%, rgba(16,26,12,.45) 100%); }
  .hero-btns .btn { justify-content: center; }
}
/* Coming-soon notes (About page) */
.coming-soon { margin-top: 14px; }
.cs-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 10px; border-radius: 999px; background: #FBEFD3; color: #7A5A17; font: 700 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; border: 1px dashed #D5A03B; }
.cs-pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.coming-soon p { margin-top: 10px; color: var(--muted); max-width: 46ch; }

/* ---------- Polish pass ---------- */
.kids-wed p.nursery-note { margin-top: 4px; color: var(--k-navy); font-weight: 600; }
.beliefs-intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.beliefs-intro-grid .photo-slot { --ratio: 4 / 3; }
@media (max-width: 820px) { .beliefs-intro-grid { grid-template-columns: 1fr; } }
.faith-q { margin: 18px auto 0; max-width: 54ch; color: var(--muted); }
.faith-q a { color: var(--evergreen); font-weight: 600; }
.welcome-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 4px; }
.welcome-links { margin-top: 10px; }

/* ==========================================================================
   Design refresh (Oct 2026): Lora headings, pill buttons, gold header edge,
   and the new homepage. Applies site-wide; ministry pages keep their colors.
   ========================================================================== */
:root { --serif: "Lora", Georgia, "Times New Roman", serif; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; }
.btn { border-radius: 999px; padding: 0.9em 1.6em; }
.site-nav .btn { padding: 0.75em 1.3em; }
.site-header { border-bottom: 3px solid var(--gold); }
.theme-kids .site-header { border-bottom-color: var(--k-yellow); }
.theme-chaos .site-header { border-bottom-color: var(--c-lime); }
.brand img { height: 78px; }

/* Home: hero with service times */
.h-hero { position: relative; overflow: hidden; color: var(--white); background: #1C3014; }
.h-hero-bg { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 60% 62%; }
.h-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,34,14,.86) 0%, rgba(20,34,14,.55) 48%, rgba(20,34,14,.12) 80%), linear-gradient(0deg, rgba(20,34,14,.75) 0%, rgba(20,34,14,0) 42%); }
.h-hero .wrap { position: relative; z-index: 1; padding-block: clamp(80px, 11vw, 140px) 0; }
.h-hero .eyebrow, .h-invite .eyebrow { color: #EBC478; }
.h-hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 6.2vw, 4.8rem); max-width: 13ch; color: var(--white); }
.h-hero h1 em { font-style: italic; font-weight: 500; color: #EBC478; }
.h-hero .sub { margin-top: 20px; max-width: 44ch; font-size: 1.12rem; color: rgba(248,243,232,.85); }
.h-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.h-invite .h-btns { justify-content: center; margin-top: 10px; }
.h-times { list-style: none; margin: clamp(52px, 8vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(248,243,232,.25); }
.h-times li { display: flex; align-items: center; gap: 14px; padding: 20px 20px 24px 0; }
.h-times li + li { padding-left: 22px; border-left: 1px solid rgba(248,243,232,.25); }
.h-times img { width: 60px; height: 60px !important; object-fit: contain; flex: none; }
.h-times li > span { display: flex; flex-direction: column; }
.h-times .day { font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #EBC478; }
.h-times .t { font: 600 1.75rem/1.15 var(--serif); color: var(--white); font-variant-numeric: tabular-nums; }
.h-times .what { font-size: 0.92rem; color: rgba(248,243,232,.8); }

/* Home: welcome */
.h-welcome .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.h-welcome figure { margin: 0; }
.h-welcome figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 78%; border-radius: var(--radius); }
.h-welcome figcaption { margin-top: 14px; padding-left: 14px; border-left: 3px solid var(--burgundy); color: var(--burgundy); font: italic 500 1.1rem/1.4 var(--serif); }
.h-welcome .copy { display: flex; flex-direction: column; gap: 18px; }
.h-welcome h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.h-welcome .copy p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.h-welcome .copy p.lead { color: var(--ink); font-size: 1.2rem; }
.h-links { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 6px; }

/* Home: verse band */
.h-verse { position: relative; overflow: hidden; background: var(--evergreen); color: var(--white); }
.h-verse .ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }
.h-verse .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 104px); }
.h-verse blockquote { margin: 0 auto; max-width: 30ch; font: italic 500 clamp(1.6rem, 3.4vw, 2.4rem)/1.35 var(--serif); color: var(--white); }
.h-verse .cite { margin-top: 22px; font: 700 0.76rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: #EBC478; }

/* Home: ministry photo cards */
.h-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.h-head h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3rem); }
.h-head > p { max-width: 40ch; color: var(--muted); }
.h-min-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.h-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; }
.h-card img.bg { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.h-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,18,8,0) 30%, rgba(10,18,8,.86) 100%); }
.h-card:hover img.bg { transform: scale(1.04); }
.h-card .badge { position: absolute; top: 16px; left: 16px; width: 92px; height: 92px; border-radius: 50%; background: #FFFDF8; display: grid; place-items: center; padding: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.h-card .badge img { width: 100%; height: 100% !important; object-fit: contain; }
.h-card .txt { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.h-card .h3 { font: 600 1.7rem/1.15 var(--serif); }
.h-card .p { color: rgba(255,255,255,.88); font-size: .97rem; }
.h-card .go { margin-top: 6px; font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #EBC478; }

/* Home: events */
.h-events { background: #FFFDF8; border-block: 1px solid var(--line); }
.h-events .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.h-events h2 { margin-top: 10px; }
.h-events .intro p { margin-top: 14px; color: var(--muted); max-width: 34ch; }
.h-events .intro .text-link { display: inline-block; margin-top: 22px; }
.h-events .event-list { gap: 18px; }
.h-events .event-list .event-row { background: var(--cream); border-radius: var(--radius); padding: 16px; border-bottom: 0; }
.h-events .event-row.has-flyer { grid-template-columns: 120px 1fr; gap: 20px; }

/* Home: invitation */
.h-invite { position: relative; overflow: hidden; color: var(--white); background: #1C3014; }
.h-invite .h-hero-bg { opacity: .32; object-position: 50% 45%; }
.h-invite .wrap { position: relative; padding-block: clamp(72px, 10vw, 120px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.h-invite h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--white); }
.h-invite p { color: rgba(248,243,232,.85); font-size: 1.1rem; }
.h-invite p.addr { font: 600 .95rem/1.5 var(--sans); color: #EBC478; }

@media (max-width: 900px) {
  .h-welcome .wrap, .h-events .wrap { grid-template-columns: 1fr; }
  .h-welcome figure img { aspect-ratio: 4 / 3; }
  .h-min-grid { grid-template-columns: 1fr; }
  .h-card { min-height: 360px; }
}
@media (max-width: 680px) {
  .h-hero::after { background: linear-gradient(180deg, rgba(20,34,14,.72), rgba(20,34,14,.82)); }
  .h-times { grid-template-columns: 1fr; }
  .h-times li, .h-times li + li { padding: 14px 0; border-left: 0; }
  .h-times li + li { border-top: 1px solid rgba(248,243,232,.25); }
}
@media (prefers-reduced-motion: reduce) { .h-card img.bg { transition: none; } }

/* ---------- Photo banners on inner pages ---------- */
.p-hero { position: relative; overflow: hidden; color: var(--white); background: #1C3014; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,34,14,.88) 0%, rgba(20,34,14,.66) 50%, rgba(20,34,14,.3) 100%); }
.p-hero .wrap { position: relative; z-index: 1; padding-block: clamp(72px, 10vw, 128px); }
.p-hero .eyebrow { color: #EBC478; }
.p-hero h1 { margin-top: 14px; color: var(--white); max-width: 18ch; font-size: clamp(2.4rem, 5.4vw, 4rem); }
.p-hero .lede { margin-top: 18px; max-width: 52ch; color: rgba(248,243,232,.9); font-size: 1.12rem; }
.p-hero .lede-2 { margin-top: 12px; max-width: 52ch; color: rgba(248,243,232,.78); }
.p-hero .subnav a { background: rgba(255,255,255,.1); border-color: rgba(248,243,232,.55); color: var(--white); }
.p-hero .subnav a:hover { background: rgba(255,255,255,.2); }
.p-hero .subnav a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: #1C3014; }
@media (max-width: 680px) { .p-hero::after { background: linear-gradient(180deg, rgba(20,34,14,.78), rgba(20,34,14,.86)); } }

/* Footer Facebook link */
.foot-meta .fb { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--evergreen); text-decoration: none; }
.foot-meta .fb:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-meta .fb svg { width: 18px; height: 18px; fill: #1877F2; }
.p-hero + .section { padding-top: clamp(40px, 6vw, 64px) !important; }

/* ---------- Online giving (Tithe.ly) ---------- */
.nav-btns { display: flex; gap: 10px; align-items: center; }
.btn.give-btn { background: transparent; color: var(--evergreen); box-shadow: inset 0 0 0 2px var(--evergreen); }
.btn.give-btn:hover { background: var(--evergreen); color: var(--white); }
.theme-kids .btn.give-btn { color: var(--k-navy); box-shadow: inset 0 0 0 2px var(--k-navy); }
.theme-kids .btn.give-btn:hover { background: var(--k-navy); color: var(--white); }
.theme-chaos .btn.give-btn { color: var(--c-ink); box-shadow: inset 0 0 0 2px var(--c-ink); }
.theme-chaos .btn.give-btn:hover { background: var(--c-ink); color: var(--white); }
.theme-missions .btn.give-btn { color: var(--m-navy); box-shadow: inset 0 0 0 2px var(--m-navy); }
.theme-missions .btn.give-btn:hover { background: var(--m-navy); color: var(--white); }
@media (max-width: 960px) { .nav-btns { margin-top: 16px; } .nav-btns .btn { flex: 1; justify-content: center; margin-top: 0; } }
.give-online { margin-top: 8px; padding: .7em 1.4em; font-size: .9rem; }
.h-invite p.give-line { margin-top: 18px; font-size: .95rem; color: rgba(248,243,232,.8); }
.h-invite p.give-line a { color: #EBC478; font-weight: 600; }

/* Final polish */
.albums { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) !important; }
.foot-meta .give-foot { color: var(--burgundy); }
@media (max-width: 560px) {
  .h-events .event-row.has-flyer { grid-template-columns: 84px 1fr; gap: 14px; }
  .h-events .event-row .desc { display: none; }
}
.foot-meta .give-foot { display: inline; }
.foot-meta .foot-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.foot-meta .foot-social .fb { display: inline-flex; align-items: center; gap: 8px; line-height: 1.2; }
.foot-meta .give-foot svg { fill: var(--burgundy); }
/* Missions badges: same box height so descriptions start on one line */
.m-two .m-badge, .m-three .m-badge { width: 100%; height: 220px !important; max-width: 240px; object-fit: contain; object-position: center bottom; }
.m-three .m-badge { height: 200px !important; }
.m-two > div, .m-three > div { justify-content: flex-start; }
.m-two p, .m-three p { max-width: 34ch; }
@media (max-width: 720px) { .m-two .m-badge, .m-three .m-badge { height: 170px !important; } }
/* C.H.A.O.S. badges: same box height so descriptions line up */
.pillars3 .c-badge { width: 100%; height: 230px !important; max-width: 240px; object-fit: contain; object-position: center bottom; }
.pillars3 > div { justify-content: flex-start; }
@media (max-width: 720px) { .pillars3 .c-badge { height: 180px !important; } }

/* About banner: whole group photo beside the text, so no faces are cropped */
.p-hero.p-split { background: var(--evergreen); }
.p-hero.p-split::after { display: none; }
.p-hero.p-split .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.p-hero.p-split figure { margin: 0; }
.p-hero.p-split figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
@media (max-width: 820px) { .p-hero.p-split .wrap { grid-template-columns: 1fr; } }

/* ==========================================================================
   OPEN LAYOUT REDESIGN (Oct 20, 2026)
   Idea: "under the pines." Content sits directly on the page with no boxes;
   sections are separated by color bands, thin rules and the pine-ridge line.
   ========================================================================== */

/* Signature mark: a small row of gold pines replaces the plain gold bar */
.theme-church .rule, .theme-missions .rule {
  width: 66px; height: 18px; border-radius: 0; background: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 18'%3E%3Cg fill='%23D5A03B'%3E%3Cpath d='M12 1l7 15H5z'/%3E%3Cpath d='M33 0l8 17H25z'/%3E%3Cpath d='M54 1l7 15H47z'/%3E%3C/g%3E%3Cpath d='M0 17h66' stroke='%23D5A03B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}
.h-head .eyebrow::before, .h-welcome .eyebrow::before, .h-events .eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }

/* Footer: deep green, pine ridge on top, four open columns */
.site-footer { position: relative; background: #1C3014; color: rgba(248,243,232,.78); border-top: 0; padding-block: clamp(56px, 7vw, 80px) 28px; overflow: hidden; border-top: 4px solid var(--gold); }
.site-footer .foot-ridge { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: 70px; transform: scaleY(-1); opacity: .9; }
.site-footer .foot-ridge path { fill: var(--page-bg) !important; }
.foot { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 32px clamp(24px, 4vw, 56px); align-items: start; }
.foot .brand img { height: 96px; }
.foot .tag { margin-top: 14px; font: italic 500 1.05rem/1.45 var(--serif); color: #EBC478; max-width: 24ch; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.foot-h { font: 700 .72rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #EBC478; }
.foot-col a { color: #F8F3E8; text-decoration: none; font-weight: 600; }
.foot-col a:hover { color: #EBC478; }
.foot nav ul { display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 8px; list-style: none; margin: 0; padding: 0; }
.foot nav a { color: #F8F3E8; font-weight: 500; }
.foot-col .foot-social { display: flex; flex-direction: column; gap: 10px; }
.foot-col .fb { display: inline-flex; align-items: center; gap: 9px; color: #F8F3E8; }
.foot-col .fb svg { width: 18px; height: 18px; fill: #EBC478; }
.foot-col .give-foot svg { fill: #EBC478; }
.foot-base { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(248,243,232,.18); font-size: .85rem; color: rgba(248,243,232,.6); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot { grid-template-columns: 1fr; } }
.theme-kids .site-footer .foot-ridge path, .theme-chaos .site-footer .foot-ridge path { fill: var(--page-bg) !important; }

/* Plan a Visit: service times as open columns, no cards */
.when-sec { background: var(--page-bg); }
.when-grid { gap: 0; }
.when-card { background: transparent; border: 0; border-radius: 0; padding: 8px 24px; }
.when-card + .when-card { border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .when-card { padding: 16px 0; }
  .when-card + .when-card { border-left: 0; border-top: 1px solid var(--line); }
}

/* Home events: open rows divided by thin lines */
.h-events .event-list { gap: 0; }
.h-events .event-list .event-row { background: transparent; border-radius: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.h-events .event-list .event-row:first-child { padding-top: 0; }
.h-events .event-list .event-row:last-child { border-bottom: 0; }

/* Pineview Kids: Nursery / Children's Church without cards */
.age-card, .age-card.nursery, .age-card.church { background: transparent; border-radius: 0; overflow: visible; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.age-card .photo-slot { --ratio: 4 / 3; --slot-radius: 32px; height: auto; }
.age-card .txt { padding: 0 4px; }
.age-groups { gap: clamp(24px, 4vw, 48px); }

/* Pineview Kids: closing band spans the full width */
.kids-cta { max-width: none; margin: 0; border-radius: 0; }
.kids-cta .wrap { position: relative; padding-block: clamp(64px, 9vw, 104px); }
.kids-cta p { margin-top: 12px; color: rgba(255,255,255,.85); }
.kids-cta .btn { margin-top: 24px; }

/* Softer edges on remaining panels */
.event-flyer { box-shadow: 0 10px 24px rgba(31, 42, 28, 0.16); }
.trunk { border-top: 0; }
.foot-base { max-width: none; }
.theme-kids .site-footer { border-top-color: var(--k-yellow); }
.theme-chaos .site-footer { border-top-color: var(--c-lime); }

/* ---------- Bible Bowl page ---------- */
.bb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.bb-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px clamp(20px, 4vw, 56px); }
.bb-opt:first-child { padding-left: 0; }
.bb-opt + .bb-opt { border-left: 1px solid var(--line); }
.bb-step { font: 700 .74rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.bb-opt h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.bb-opt p:not(.bb-step) { color: var(--muted); max-width: 44ch; }
.bb-opt .btn { margin-top: 6px; }
.bb-host { margin-top: clamp(36px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.bb-host a { color: var(--evergreen); font-weight: 600; }
.bb-join { background: var(--sand); }
@media (max-width: 760px) {
  .bb-grid { grid-template-columns: 1fr; gap: 32px; }
  .bb-opt, .bb-opt:first-child { padding: 0; }
  .bb-opt + .bb-opt { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}
.bb-season { margin-bottom: clamp(24px, 4vw, 40px); }
.bb-season h2 { margin-top: 8px; font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.bb-opt h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bb-spring { background: #FFFDF8; border-top: 1px solid var(--line); }
.bb-options { scroll-margin-top: 90px; }
