/* =========================================================================
   Base brochure-site stylesheet.
   The four brand colors come from brand.json and are injected as CSS
   variables (--color-primary, --color-accent, --color-text,
   --color-background) in the page <head>. You rarely need to edit this file
   for a new client — change the colors in brand.json instead.
   ========================================================================= */

:root {
  --max-width: 1080px;
  --space: 1.25rem;
  --radius: 10px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
  /* Fallbacks in case brand.json colors are missing */
  --color-primary: #1f4d63;
  --color-accent: #e0a458;
  --color-text: #1b1f24;
  --color-background: #ffffff;
  --color-muted: #5c6670;
  --color-surface: #f5f6f8;
  --color-border: #e3e6ea;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--color-primary); }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.5rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space);
}
.center { text-align: center; }
section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.skip-link {
  position: absolute; left: -999px;
  background: var(--color-primary); color: #fff;
  padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--color-primary);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-accent { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-text); }

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 50;
  background: var(--color-background);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.brand { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--color-primary); text-decoration: none; display: inline-flex; align-items: center; }
.brand-logo { display: block; width: auto; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--color-text); font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; }

/* Mobile menu toggle (CSS-only, no JS required) */
.nav-toggle, .nav-toggle-label { display: none; }
.nav-toggle-label { flex-direction: column; gap: 5px; cursor: pointer; padding: 0.4rem; }
.nav-toggle-label span { width: 26px; height: 3px; background: var(--color-primary); border-radius: 2px; }

@media (max-width: 1024px) {
  .nav-toggle-label { display: flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
  }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 0; }
  .site-nav li { padding: 0.5rem var(--space); }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .header-inner { position: relative; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 70%, #000));
  color: #fff;
  text-align: center;
}
.hero h1 { color: #fff; }
.hero-tagline { font-size: clamp(1.1rem, 2.5vw, 1.4rem); max-width: 40ch; margin: 0.5rem auto 1.75rem; opacity: 0.95; }

/* ---------- Sections ---------- */
.page-header { background: var(--color-surface); text-align: center; }
.intro { text-align: center; }
.intro .prose { max-width: 60ch; margin-inline: auto; }

.prose p { margin: 0 0 1rem; }
.prose h2 { margin-top: 2rem; }
.prose a { color: var(--color-primary); }

/* ---------- Cards ---------- */
.services-preview h2, .services-preview .center { text-align: center; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { color: var(--color-primary); }
.card p { margin: 0; color: var(--color-muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--color-surface); text-align: center; }
.cta-inner p { color: var(--color-muted); margin-bottom: 1.5rem; }

/* ---------- Contact ---------- */
.contact-details { margin-top: 1.5rem; }
.contact-details p { margin: 0.35rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary); color: #fff; margin-top: auto; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding-block: 2.5rem 1.5rem;
}
.footer-brand { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin: 0 0 0.5rem; }
.footer-heading { font-weight: 600; margin: 0 0 0.5rem; }
.footer-col p { margin: 0.25rem 0; opacity: 0.9; }
.footer-col a, .social-list a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-accent); }
.social-list { list-style: none; margin: 0; padding: 0; }
.social-list li { margin: 0.25rem 0; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.2); padding-block: 1rem; font-size: 0.9rem; opacity: 0.8; }

/* ---------- Blog ---------- */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.post-list-item h2 { margin: 0 0 0.25rem; }
.post-list-item h2 a { color: var(--color-primary); text-decoration: none; }
.post-list-item h2 a:hover { text-decoration: underline; }
.post-list-item p { margin: 0.25rem 0; color: var(--color-muted); }
.post-meta { color: var(--color-muted); font-size: 0.95rem; }
/* Article pages (bulletins, events, Pastor's Corner, posts) have no page-header
   band, so give the article the same vertical rhythm as a section — otherwise
   the back link sits hard against the sticky header (Patrick review, 2026-10-01). */
.post { padding-block: clamp(2rem, 5vw, 3.5rem); }
.post .prose { max-width: 68ch; margin-inline: auto; }
.post-back { font-size: 0.95rem; }
.post-back a { text-decoration: none; }

/* Full-height layout so the footer sits at the bottom on short pages */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* --- Corpus Christi: tame content images (design edit, 2026-08-26).
   Ported WordPress pages drop full-size photos into prose; constrain height
   so text stays primary, center them, and soften corners. --- */
.prose img {
  display: block;
  margin: 1.75rem auto;
  max-width: 100%;
  max-height: 440px;
  width: auto;
  border-radius: 10px;
}

/* Screen-reader-only text (used by the nav toggle; a11y fix for the
   prohibited aria-label-on-label pattern). */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================================
   PARISH COMPONENTS  (added 2026-08-27)
   Reusable pieces the base brochure template doesn't have: a portal-style
   home, a photo-card grid for hub pages, and a scannable service schedule.
   All colors come from the brand.json tokens — no hard-coded brand values.
   ========================================================================= */

/* ---- shared section furniture ---- */
.section-title {
  text-align: center;
  margin: 0 0 2rem;
}
/* the home page welcome sits between two full-bleed bands — it needs less
   vertical room than a standard section or it reads as a gap */
.intro { padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.intro .prose { max-width: 52ch; }
.intro .prose p:last-child { margin-bottom: 0; }
.tiles-section { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-title::after {
  content: "";
  display: block;
  width: 3rem; height: 3px;
  margin: 0.75rem auto 0;
  background: var(--color-accent);
  border-radius: 2px;
}
.page-standfirst {
  max-width: 55ch;
  margin: 0.5rem auto 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.cta-band .btn-ghost { color: var(--color-primary); border-color: var(--color-primary); }
.cta-band .btn-ghost:hover { background: rgba(0,0,0,0.05); }

/* ---- photographic hero ---- */
.hero-photo {
  position: relative;
  background: var(--color-primary);
  text-align: center;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
  isolation: isolate;
}
.hero-photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: 66% 42%;   /* keeps the monstrance right of the headline */
  z-index: -2;
}
/* Client review round 2: the photo is the point (their own monstrance at the
   high altar), so the tint now clears on the right and only carries the
   headline on the left. */
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.18) 100%),
    linear-gradient(to right,
      color-mix(in srgb, var(--color-primary) 94%, transparent) 0%,
      color-mix(in srgb, var(--color-primary) 90%, transparent) 40%,
      color-mix(in srgb, var(--color-primary) 22%, transparent) 60%,
      transparent 78%);
  z-index: -1;
}
.hero-photo { text-align: left; }
.hero-photo .hero-inner { max-width: var(--max-width); }
.hero-photo .hero-copy { max-width: 32rem; }
.hero-photo .hero-tagline { margin-inline: 0; }
.hero-photo .hero-actions { justify-content: flex-start; }
@media (max-width: 720px) {
  .hero-photo::before { background-position: 58% 40%; }
  .hero-photo::after {
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--color-primary) 82%, transparent),
      color-mix(in srgb, var(--color-primary) 90%, transparent));
  }
}
@supports not (background: color-mix(in srgb, red, blue)) {
  .hero-photo::after { background: var(--color-primary); opacity: 0.85; }
}
.hero-photo h1, .hero-photo .hero-tagline { color: #fff; }
.hero-photo h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.hero-photo .hero-tagline { text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.hero-eyebrow { text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-accent);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center; margin: 0;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---- service schedule ---- */
.schedule-section { background: var(--color-surface); }
.schedule-section--page { background: var(--color-background); padding-bottom: 0; }
.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  align-items: start;
}
.schedule-group {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: 100%;
}
.schedule-heading {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--color-primary);
}
.schedule-list { margin: 0; }
.schedule-list dt {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 0.6rem;
}
.schedule-list dt:first-child { margin-top: 0; }
.schedule-list dd {
  margin: 0.1rem 0 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}
.schedule-note {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-muted);
}
.schedule-more { margin: 2rem 0 0; font-weight: 600; }
.schedule-more a { text-decoration: none; }
.schedule-more a:hover { text-decoration: underline; }

/* ---- photo tiles ---- */
.tile-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.25rem;
}
.tile { display: flex; }
.tile-link {
  display: flex; flex-direction: column;
  width: 100%;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tile-link:hover, .tile-link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px -18px rgba(0,0,0,0.55);
}
.tile-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-media--contain img { object-fit: contain; }
.featured-section { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.featured-grid .tile-media { aspect-ratio: 4 / 5; }
.tile-body { display: block; padding: 1rem 1.125rem 1.25rem; }
.tile-title {
  display: block;
  font-family: var(--font-head);
  font-size: 1.125rem; line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}
.tile-link:hover .tile-title { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tile-text { display: block; font-size: 0.9375rem; color: var(--color-muted); }
.tiles-section--hub { padding-top: 0; }
.hub-intro { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.hub-intro .prose { max-width: 62ch; }

/* ---- this-week news strip ---- */
.news-section { background: var(--color-surface); }
.news-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
}
.news-item {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
}
.news-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-muted);
}
.news-item h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.news-item h3 a { color: var(--color-primary); text-decoration: none; }
.news-item h3 a:hover { text-decoration: underline; }
.news-item p { margin: 0; font-size: 0.9375rem; color: var(--color-muted); }

/* ---- pastoral care band ---- */
.pastoral-band { background: var(--color-primary); color: #fff; }
.pastoral-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem 2.5rem;
  align-items: center;
}
.pastoral-band h2 { color: #fff; margin: 0 0 0.5rem; }
.pastoral-band p { margin: 0; opacity: 0.92; max-width: 42ch; }
.pastoral-links { list-style: none; margin: 0; padding: 0; }
.pastoral-links li { padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.pastoral-links li:last-child { border-bottom: none; }
.pastoral-links a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.45); }
.pastoral-links a:hover { border-bottom-color: var(--color-accent); }

/* ---- photo gallery grid ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.75rem;
  list-style: none; margin: 0; padding: 0;
}
.photo-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .tile-link, .btn { transition: none; }
  .tile-link:hover { transform: none; }
}

/* -------------------------------------------------------------------------
   PARISH HEADER  (added 2026-08-27)
   Matches the navigation of the parish's previous site: a gold contact strip
   over a maroon bar carrying the reversed logo, white nav, and a gold GIVE
   button. These rules intentionally override the generic header block above;
   delete this section to fall back to the plain template header.
   ------------------------------------------------------------------------- */

/* ---- gold contact strip ---- */
.topbar {
  background: var(--color-accent);
  font-size: 0.8125rem;
  line-height: 1.4;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem 1.5rem;
  /* trimmed to offset the padding added to the links below, so the strip
     still lands at roughly the 39px of the parish's previous site */
  padding-block: 0.3rem;
}
.topbar-addr { color: #4E4E4E; padding-block: 0.3rem; }
/* padding brings these to the 24px minimum touch target (WCAG 2.2) — at
   13px type the text alone is only ~18px tall. */
.topbar-link {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.topbar-link:hover { text-decoration: underline; }
.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  line-height: 0;
}
.topbar-social:hover { opacity: 0.75; }
.topbar-social:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* ---- maroon navigation bar ---- */
.site-header {
  background: var(--color-primary);
  border-bottom: none;
  box-shadow: 0 2px 10px -6px rgba(0,0,0,0.6);
}
.site-header .header-inner { padding-block: 0.9rem; gap: 1.25rem; }
.site-nav { flex: 1 1 auto; min-width: 0; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; flex: 0 0 auto; }
.brand-logo { display: block; width: auto; }

/* nowrap: the links share one row, and GIVE is a sibling of <nav> so it can
   never be pushed onto a second line. */
.site-nav ul {
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.site-nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover {
  color: #fff;
  text-decoration: none;
  border-bottom-color: var(--color-accent);
}
.site-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: none;
  border-bottom-color: var(--color-accent);
}
.site-nav a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* GIVE button. The old site used white-on-gold, which fails contrast badly;
   maroon-on-gold keeps the same look and is legible. */
.nav-cta {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary) !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.5rem;
  border-radius: 4px;
  border: 0;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.07); }
.nav-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---- mobile ---- */
.nav-toggle-label span:not(.visually-hidden) { background: #fff; }

@media (max-width: 1024px) {
  .site-nav {
    background: var(--color-primary);
    border-bottom: 3px solid var(--color-accent);
  }
  .site-nav ul { gap: 0; flex-wrap: wrap; justify-content: stretch; }
  .site-nav li { padding: 0.15rem var(--space); width: 100%; }
  .site-nav a { display: block; border-bottom: 1px solid rgba(255,255,255,0.12); border-radius: 0; white-space: normal; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--color-accent); }
}
@media (max-width: 720px) {
  .topbar-inner { justify-content: center; gap: 0.25rem 1rem; font-size: 0.75rem; }
  .nav-cta { font-size: 0.8125rem; padding: 0.45rem 0.9rem; }
}

/* (hero overlay is defined once, in the PARISH COMPONENTS block above) */

/* ---- footer sitemap (Patrick review, 2026-09-11): the top nav stays
   lean, so the footer carries a grouped map of every page. ---- */
.footer-sitemap {
  padding-block: 1.5rem 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.footer-group {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  padding-block: 0.4rem;
}
.footer-group .footer-heading {
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.footer-group ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  column-gap: 1.4rem; row-gap: 0.3rem;
}
.footer-group li { margin: 0; }
.footer-group a { font-size: 0.9rem; opacity: 0.88; white-space: nowrap; }
.footer-group a:hover { opacity: 1; }
@media (max-width: 720px) {
  .footer-group { grid-template-columns: 1fr; gap: 0.35rem; padding-block: 0.6rem; }
}

/* ---- footer link row (legacy, unused after the sitemap) ---- */
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem;
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
}
.footer-nav a { opacity: 0.9; }
.footer-nav a:hover { opacity: 1; }

.news-archive{margin-top:.6rem;font-size:.85rem;}
.news-archive a{color:var(--color-primary);text-decoration:none;border-bottom:1px solid var(--color-accent);}
.news-archive a:hover{border-bottom-width:2px;}

/* --- About page media layouts (Patrick review, 2026-09-11): mission text
   beside its photo; history photo floated inline with the About Us text. --- */
.about-split {
  display: grid;
  grid-template-columns: minmax(240px, 400px) 1fr;
  gap: 2rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem;
}
.prose .about-split img { margin: 0; max-height: none; width: 100%; }
.about-mission h2 { margin-top: 0; }
.mission-statement { line-height: 1.75; }
.prose img.img-float {
  float: right;
  width: min(42%, 360px);
  margin: .35rem 0 1.25rem 1.75rem;
  max-height: none;
}
.prose hr { clear: both; }
@media (max-width: 720px) {
  .about-split { grid-template-columns: 1fr; gap: 1.25rem; }
  .prose img.img-float { float: none; width: 100%; margin: 1.25rem 0; }
}

/* --- Quote styling (Patrick review, 2026-09-11): pull-quotes with a cited
   author, e.g. St. Elizabeth Ann Seton on /adult-formation/. --- */
.prose blockquote {
  margin: 1.75rem 0;
  padding: .35rem 0 .35rem 1.25rem;
  border-left: 3px solid var(--color-accent);
  font-style: italic;
  color: var(--color-text);
}
.prose blockquote p { margin-bottom: .6rem; }
.prose blockquote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--color-primary);
  font-size: .95em;
}

/* --- 3-up photo row (Patrick review sweep, 2026-09-11): consecutive photos
   share a row instead of stacking full-width, e.g. /youth-ministry/. --- */
.prose .img-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}
.prose .img-row img {
  margin: 0;
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}
@media (max-width: 720px) {
  .prose .img-row { grid-template-columns: 1fr; }
  .prose .img-row img { max-height: 340px; }
}
/* Floated images also clear section headings so a float from one section
   never invades the next. */
.prose h2, .prose h3 { clear: both; }

/* --- Alternating media rows (Patrick review, 2026-09-11): image and copy
   share a row, sides alternating down the page, e.g. /community-life/. --- */
.prose .media-alt {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}
.prose .media-alt:nth-of-type(even) { grid-template-columns: 1fr minmax(240px, 420px); }
.prose .media-alt:nth-of-type(even) img { order: 2; }
.prose .media-alt img { margin: 0; width: 100%; max-height: 320px; object-fit: cover; }
.prose .media-alt h3 { margin-top: 0; clear: none; }
.prose .media-alt p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .prose .media-alt,
  .prose .media-alt:nth-of-type(even) { grid-template-columns: 1fr; gap: 1rem; }
  .prose .media-alt:nth-of-type(even) img { order: 0; }
}

/* --- Staff directory grouping (Patrick review, 2026-09-11): visible
   breathing room between staff groups on /contact/. Opt in per page with
   `pageClass: staff-directory` in front matter. --- */
.staff-directory h3 {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
}
.staff-directory h2 + h3,
.staff-directory h3:first-child { border-top: 0; padding-top: 0; margin-top: 1.5rem; }
.staff-directory p { margin-bottom: 1.1rem; }


/* --- In-page CTA buttons (Patrick review, 2026-09-11): registration /
   payment / parents / volunteer actions rendered as real buttons so they
   don't get lost in the prose, e.g. /religious-education/. --- */
.prose .cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 1.5rem; }
.prose .cta-row .btn { color: #fff; }
.prose .cta-row .btn-accent { color: var(--color-text); }
/* Long-content hub pages opt out of the narrow intro measure. */
.hub-intro .prose.hub-wide { max-width: none; }

/* --- Sub-headline under a section heading (Patrick review, 2026-09-11),
   e.g. 'Preschool through Grade 6' on /volunteer/. --- */
.prose .subhead {
  margin: -0.75rem 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
  letter-spacing: 0.01em;
}

/* Footer logo (Patrick review, 2026-09-11) — same reversed mark as the header. */
.footer-logo { height: 64px; width: auto; margin-bottom: 0.85rem; }

/* --- Website forms (Q9 answered 2026-09-22: submissions go to the Parish
   Office). Rendered only when brand.json -> forms.endpoint is set. --- */
.site-form { margin: 1.5rem 0 2rem; max-width: 46rem; }
.site-form fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem 1.25rem;
  margin: 0 0 1.25rem;
}
.site-form > fieldset > legend {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--color-primary);
  padding-inline: 0.4rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.3rem; margin: 0 0 1rem; }
.form-row label { font-weight: 600; font-size: 0.95rem; }
.site-form input[type="text"],
.site-form input[type="email"],
.site-form input[type="tel"],
.site-form select,
.site-form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  width: 100%;
  max-width: 100%;
}
.site-form input:focus-visible,
.site-form select:focus-visible,
.site-form textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.site-form textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.25rem; }
.form-choice { padding: 0.6rem 0.9rem 0.8rem; margin-bottom: 1rem; }
.form-choice legend { font-weight: 600; font-size: 0.95rem; padding-inline: 0.35rem; }
.form-choice label { display: inline-flex; align-items: center; gap: 0.35rem; margin-right: 1rem; font-weight: 400; }
.form-hint, .form-hint-inline { font-size: 0.85rem; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.form-hint-inline { font-weight: 400; }
.req { color: var(--color-primary); }
.form-note {
  font-size: 0.9rem;
  background: var(--color-surface, #F5F2EC);
  border-left: 3px solid var(--color-accent);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
/* Honeypot: hidden from people, visible to naive bots. */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Inline form feedback (no trip to the form service's own page). */
.form-status { margin: 0.75rem 0 0; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status-error {
  color: var(--color-primary);
  font-weight: 600;
  border-left: 3px solid var(--color-primary);
  padding: 0.6rem 0.9rem;
  background: var(--color-surface, #F5F2EC);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form-done {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface, #F5F2EC);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 46rem;
}
.form-done p { margin: 0 0 0.5rem; }
.form-done p:last-child { margin-bottom: 0; }
.site-form button[disabled] { opacity: 0.6; cursor: progress; }
