/* ==========================================================================
   Our Lady of the Annunciation Melkite Catholic Cathedral — Design System
   Palette & type follow the Wix draft:
     navy #041831 · ink #01060F · bronze #9A5C18 · gold #CB9B4C · peach #FDC58A
     Headings: Kepler Light SemiCond → Newsreader (light, optical)
     Script accents: Didot Italic → Bodoni Moda Italic
     Body/UI: Madefor → Figtree
   ========================================================================== */

/* Fonts are served from this site (audit P4), copied from Google Fonts (SIL Open Font License).
   Each family is split into Latin and Extended Latin; a browser only fetches the Extended file
   when a page uses one of its characters (ē, ō …). All three are variable fonts. */
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("/assets/fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 300 500; font-display: swap;
  src: url("/assets/fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 300 500; font-display: swap;
  src: url("/assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("/assets/fonts/bodoni-moda-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("/assets/fonts/bodoni-moda-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Backup fonts sized to match the real ones, so text doesn't shift if the real font arrives late (audit L3).
   Values measured in the browser against the real fonts, then fitted so whole pages (articles, Home, About,
   Sacraments) keep their height: about 60% less movement than plain Georgia / system fonts. */
@font-face {
  font-family: "Newsreader Fallback"; src: local("Georgia");
  size-adjust: 97%; ascent-override: 76.29%; descent-override: 27.84%; line-gap-override: 0%;
}
@font-face {
  font-family: "Bodoni Moda Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic");
  size-adjust: 95.71%; ascent-override: 118.07%; descent-override: 41.79%; line-gap-override: 0%;
}
@font-face {
  font-family: "Figtree Fallback"; src: local("Arial"), local("ArialMT");
  size-adjust: 100%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%;
}

:root {
  --navy: #041831;
  --navy-2: #0a2547;
  --ink: #01060f;
  --bronze: #9a5c18;   /* darkened from #a1611b for 4.5:1 text contrast on grey and cream (audit A4) */
  --gold: #cb9b4c;
  --gold-soft: #e4c58f;
  --peach: #fdc58a;
  --mist: #f0f0f0;
  --ivory: #faf7f1;
  --parchment: #f5efe4;
  --paper: #ffffff;
  --text: #1a1f29;
  --muted: #5b6270;
  --line: rgba(203, 155, 76, 0.55);
  --line-soft: rgba(1, 6, 15, 0.08);

  --f-display: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --f-script: "Bodoni Moda", "Bodoni Moda Fallback", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(0.98rem, 0.95rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.75rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.4vw, 3.9rem);
  --step-5: clamp(2.8rem, 2rem + 4vw, 5.6rem);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(1, 6, 15, 0.06);
  --shadow: 0 18px 40px -18px rgba(1, 6, 15, 0.35), 0 4px 12px rgba(1, 6, 15, 0.06);
  --shadow-lg: 0 40px 80px -30px rgba(1, 6, 15, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --wrap: 1240px;
  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f-body); font-size: var(--step-0); line-height: 1.7; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 350; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--ink); font-optical-sizing: auto; }
p { margin: 0 0 1.1em; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
/* Focus rings need 3:1 against what's behind them (audit A5): bronze on light sections, peach on dark ones. */
:is(.site-header, .site-footer, .mobile-menu, .hero, .band, .section--navy, .trio__card--navy, .post-hero, .page-hero__strip, .res-feature, .modal--live, .fab-live) :focus-visible,
.fab-live:focus-visible { outline-color: var(--peach); }
.site-header .dropdown :focus-visible { outline-color: var(--bronze); }   /* the white dropdown panels inside the dark header */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 999; background: var(--peach); color: var(--ink); padding: 0.7rem 1.1rem; border-radius: 999px; font-weight: 600; transition: top 0.3s var(--ease); }
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem); position: relative; }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-hero + .section { padding-top: 2rem; }   /* the first section under a page title: same gap on every page */
.section--mist { background: var(--mist); }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy); color: #e9edf3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }

/* ---------- typography helpers ---------- */
.eyebrow { font-family: var(--f-script); font-style: italic; color: var(--bronze); font-size: var(--step-0); letter-spacing: 0.01em; margin: 0 0 0.4rem; display: block; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--peach); }
.display { font-size: var(--step-4); font-weight: 300; }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.script { font-family: var(--f-script); font-style: italic; }
.prose { font-size: 1.075rem; line-height: 1.85; }
.prose p { margin-bottom: 1.35em; }
.prose h2 { font-size: var(--step-3); margin-top: 1.9em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h4 { font-family: var(--f-body); font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bronze); margin-top: 1.5em; }
.prose h2 a, .prose h3 a { text-decoration: none; color: inherit; }
.prose a:not(.header-anchor) { color: var(--bronze); }
.prose blockquote { margin: 2em 0; padding: 0.4em 0 0.4em 1.6em; border-left: 2px solid var(--gold); font-family: var(--f-display); font-size: var(--step-2); font-style: italic; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--gold); }
.prose img { border-radius: var(--radius); margin: 2em auto; box-shadow: var(--shadow); }
.prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 3em 0; }
.prose .footnote, .prose small { color: var(--muted); font-size: 0.88em; }
.table-wrap { overflow-x: auto; margin: 2em 0; border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.96rem; background: #fff; }
.prose th { background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; text-align: left; padding: 0.9rem 1.1rem; }
.prose td { padding: 0.75rem 1.1rem; border-top: 1px solid var(--line-soft); vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--ivory); }
.dropcap::first-letter { float: left; font-family: var(--f-display); font-size: 4.6em; line-height: 0.8; padding: 0.08em 0.12em 0 0; color: var(--bronze); font-weight: 300; }

/* ---------- section heading with gold rules (Wix signature) ---------- */
.sec-head { text-align: center; margin-bottom: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.sec-head__title { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.4rem); font-size: var(--step-3); margin: 0; }
.sec-head__title::before, .sec-head__title::after { content: ""; height: 1px; flex: 0 1 140px; background: var(--line); transform: scaleX(0); transition: transform 1.4s var(--ease) 0.2s; }
.sec-head__title::before { transform-origin: right; }
.sec-head__title::after { transform-origin: left; }
.is-in .sec-head__title::before, .is-in .sec-head__title::after, .sec-head.is-in .sec-head__title::before, .sec-head.is-in .sec-head__title::after { transform: scaleX(1); }
.sec-head__sub { font-family: var(--f-script); font-style: italic; color: var(--bronze); margin-top: 0.6rem; font-size: var(--step-0); }
.sec-head--light .sec-head__title { color: #fff; }
.sec-head--light .sec-head__sub { color: var(--peach); }
.ornament { display: block; margin: 0 auto 1rem; width: 44px; color: var(--gold); }

/* ---------- buttons ---------- */
.btn { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.85rem 1.7rem; border-radius: 999px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font-family: var(--f-display); font-size: 1.05rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: background-color 0.2s, color 0.2s, border-color 0.2s; white-space: nowrap; }
/* Hover = tone shift only. Buttons never move, grow or follow the cursor (moving the button made its
   edge slip out from under a resting cursor). The only motion is the arrow icon nudging right. */
/* Arrows sit close to the label and are lifted slightly so they line up with the capitals, not the lowercase. */
.btn svg { width: 0.92em; height: 0.92em; flex-shrink: 0; transition: transform 0.2s var(--ease); }
.btn svg.arrow { position: relative; top: -0.06em; }
.btn:hover svg.arrow { transform: translateX(2px); }
.btn--peach { --b-bg: var(--peach); --b-bd: var(--peach); --b-fg: var(--ink); }
.btn--peach:hover { --b-bg: #ffd9ad; --b-bd: #ffd9ad; }
.btn--peach-dark { --b-bg: #f2a65a; --b-bd: #f2a65a; --b-fg: var(--ink); }
.btn--peach-dark:hover { --b-bg: #f7b877; --b-bd: #f7b877; }
.btn--gold-outline { --b-bg: #fff; --b-bd: var(--gold); --b-fg: var(--bronze); }
.btn--gold-outline:hover { --b-bg: #faf1e3; }
.btn--light { --b-bd: rgba(255, 255, 255, 0.7); --b-fg: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, 0.04); }
.btn--light:hover { --b-bd: var(--peach); --b-fg: var(--peach); }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.95rem; }
/* Newsreader sits about 0.14em high in its line box; shift button text down so it is optically centred.
   Total height is unchanged (top gains what bottom loses). */
.btn { padding-top: calc(0.85rem + 0.14em); padding-bottom: calc(0.85rem - 0.14em); }
.btn--sm { padding-top: calc(0.5rem + 0.14em); padding-bottom: calc(0.5rem - 0.14em); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.32rem; font-weight: 500; color: var(--bronze); text-decoration: none; font-size: 0.95rem; letter-spacing: 0.02em; }
.link-arrow svg { width: 0.92em; height: 0.92em; flex-shrink: 0; position: relative; top: -0.06em; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ---------- header ---------- */
.announce { background: var(--bronze); color: #fff; text-align: center; font-size: 0.9rem; padding: 0.5rem 1rem; position: relative; z-index: 60; }
.announce a { color: var(--peach); font-weight: 600; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background-color 0.5s var(--ease), height 0.5s var(--ease), box-shadow 0.5s, backdrop-filter 0.5s, transform 0.5s var(--ease); color: #fff; }
.has-announce .site-header { top: var(--announce-h, 0px); }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 6, 15, 0.55), rgba(1, 6, 15, 0)); opacity: 1; transition: opacity 0.5s; pointer-events: none; }
.site-header.is-scrolled { --header-h: 68px; background: rgba(4, 24, 49, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { position: relative; width: min(100% - 2.5rem, 1400px); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; color: var(--peach); transition: transform 0.8s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__small { font-family: var(--f-script); font-style: italic; font-size: 0.82rem; color: var(--peach); }
.brand__name { font-family: var(--f-display); font-size: 1.22rem; font-weight: 400; letter-spacing: 0.01em; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.55rem 0.75rem; text-decoration: none; font-size: 0.95rem; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.92); position: relative; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.nav__link::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.3rem; height: 1px; background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: var(--peach); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__link .chev { width: 10px; transition: transform 0.3s var(--ease); }
.nav__item:hover .chev, .nav__item:focus-within .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 300px; background: rgba(255, 255, 255, 0.98); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.6rem; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.98); transform-origin: top center; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s; }
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
/* Escape closes an open dropdown until the pointer or focus leaves it (audit A1). */
.nav__item.is-dismissed > .dropdown { opacity: 0; visibility: hidden; }
.dropdown a { display: block; padding: 0.7rem 0.9rem; border-radius: 10px; text-decoration: none; transition: background 0.25s; }
.dropdown a:hover { background: var(--ivory); }
.dropdown strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.08rem; color: var(--ink); }
.dropdown span { display: block; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.05); color: #fff; cursor: pointer; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.icon-btn:hover { border-color: var(--peach); color: var(--peach); }
.icon-btn svg { width: 18px; height: 18px; }
.live-pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 1rem 0.5rem 0.85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; background: rgba(255, 255, 255, 0.06); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.02em; cursor: pointer; transition: all 0.35s var(--ease); white-space: nowrap; }
.live-pill:hover { border-color: var(--peach); color: var(--peach); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa3af; position: relative; flex-shrink: 0; }
.is-live .live-dot { background: #ff4d4d; }
.is-live .live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #ff4d4d; animation: ping 1.8s var(--ease) infinite; }
.is-live.live-pill { background: rgba(220, 38, 38, 0.18); border-color: rgba(255, 99, 99, 0.6); }
@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.header-cta { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1180px) {
  .nav__link { padding-inline: 0.55rem; font-size: 0.9rem; }
  .nav__link::after { left: 0.55rem; right: 0.55rem; }
  .brand__name { font-size: 1.08rem; }
}
/* With Bulletin added, the full menu needs about 1180px: labels never wrap, links tighten a little below 1280px,
   and narrower windows get the menu button instead. */
.nav__link { white-space: nowrap; }
@media (max-width: 1279px) { .nav__link { padding-inline: 0.6rem; } .nav__link::after { left: 0.6rem; right: 0.6rem; } }
@media (max-width: 1179px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .live-pill .live-pill__text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }   /* hidden on screen, still read out (audit L1) */
  .live-pill { padding: 0.7rem; }
}
/* From 1280px the peach Donate button fits, and it replaces the menu's plain "Donate" link (audit D3) */
@media (min-width: 1280px) {
  .header-cta { display: inline-flex; }
  .nav__item:has(> a[href="/donate/"]) { display: none; }
}

/* Mobile menu overlay */
/* Sizes scale with the screen height (svh) so the whole menu, buttons included, fits on a phone without scrolling;
   it can still scroll on very short screens such as a phone held sideways. */
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--navy); color: #fff; display: flex; flex-direction: column; padding: 1rem 1.5rem clamp(1rem, 3svh, 2rem); clip-path: circle(0% at calc(100% - 44px) 42px); transition: clip-path 0.8s var(--ease-in-out); visibility: hidden; overflow-y: auto; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 10v60M10 40h60' stroke='%23cb9b4c' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E"); pointer-events: none; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(0.5rem, 2svh, 2rem); position: relative; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; position: relative; }
.mobile-menu > nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.mobile-menu.is-open > nav > ul > li { opacity: 1; transform: none; }
/* The display font sits high in its line: move the text down a little (as for .btn) so it looks centred between the lines */
.mobile-menu > nav > ul > li > a { display: block; padding: calc(clamp(0.2rem, 1svh, 1rem) + 0.14em) 0 calc(clamp(0.2rem, 1svh, 1rem) - 0.14em); font-family: var(--f-display); font-size: clamp(1.05rem, 3.1svh, 1.9rem); line-height: 1.15; font-weight: 300; text-decoration: none; }
.mobile-menu > nav > ul > li > a[aria-current="page"] { color: var(--peach); }
.mobile-menu .sub { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; padding-bottom: calc(clamp(0.5rem, 1.4svh, 1rem) - 0.15rem); margin-top: -0.2rem; }
.mobile-menu .sub a { font-size: 0.92rem; line-height: 1.35; color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.mobile-menu__foot { margin-top: auto; padding-top: clamp(0.75rem, 2.5svh, 2rem); display: grid; gap: 0.6rem; position: relative; }
@media (max-height: 640px) {   /* small phones with the browser bars showing, e.g. iPhone SE */
  .mobile-menu__top { margin-bottom: 0.25rem; }
  .mobile-menu .sub { gap: 0.15rem 0.9rem; padding-bottom: 0.25rem; margin-top: -0.1rem; }
  .mobile-menu .sub a { font-size: 0.85rem; line-height: 1.3; }
  .mobile-menu__foot { gap: 0.45rem; }
}
.mobile-menu__foot .btn { padding-top: calc(clamp(0.55rem, 1.6svh, 0.85rem) + 0.14em); padding-bottom: calc(clamp(0.55rem, 1.6svh, 0.85rem) - 0.14em); }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 3rem) 0 6rem; }
.hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 28s var(--ease-in-out) infinite alternate; transform-origin: 50% 40%; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate3d(-1%, -1.5%, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgba(4, 24, 49, 0.45), rgba(4, 24, 49, 0.82) 70%), linear-gradient(180deg, rgba(1, 6, 15, 0.35), rgba(1, 6, 15, 0.1) 40%, rgba(1, 6, 15, 0.65)); }
.hero__canvas { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.hero__inner { width: min(100% - 2.5rem, 980px); }
.hero__title { font-size: var(--step-5); font-weight: 300; line-height: 1.04; color: #fff; margin: 0 0 1.5rem; letter-spacing: -0.015em; }
.hero__title .lead-word { color: #fff; }
.hero__title .accent { color: var(--peach); }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.is-ready .line > span { transform: none; }
.hero__text { font-size: var(--step-1); max-width: 640px; margin: 0 auto 2.2rem; color: rgba(255, 255, 255, 0.9); line-height: 1.65; opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease) 0.9s, transform 1.2s var(--ease) 0.9s; }
.hero__ctas { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease) 1.15s, transform 1.2s var(--ease) 1.15s; }
.is-ready .hero__text, .is-ready .hero__ctas { opacity: 1; transform: none; }
/* Without the main script (scripts off, or the startup fallback after 3 s) the home headline, text and buttons still show */
.no-js .line > span { transform: none; }
.no-js .hero__text, .no-js .hero__ctas { opacity: 1; transform: none; }
.hero__next { position: absolute; left: 50%; bottom: -1px; translate: -50% 0; width: min(100% - 2rem, 980px); background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: 18px 18px 0 0; padding: 1rem 1.6rem; display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap; box-shadow: var(--shadow-lg); font-size: 0.95rem; }
.hero__next .label { font-family: var(--f-script); font-style: italic; color: var(--bronze); }
.countdown { display: flex; gap: 0.9rem; font-family: var(--f-display); }
.countdown b { font-weight: 400; font-size: 1.5rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.countdown small { font-family: var(--f-body); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-left: 0.15rem; }
@media (max-width: 700px) { .hero__next { display: none; } }

/* ---------- page hero (sub pages) ---------- */
.page-hero { position: relative; padding-top: var(--header-h); background: var(--mist); isolation: isolate; }
.page-hero__strip { position: absolute; inset: 0 0 auto 0; height: var(--header-h); z-index: -1; overflow: hidden; }
.page-hero__strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.1); }
.page-hero__strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 24, 49, 0.55), rgba(4, 24, 49, 0.82)); }
.page-hero__body { padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); position: relative; }
.page-hero__body .sec-head { margin: 0 auto; }
.page-hero__body .sec-head__title { font-size: var(--step-4); }
.torn { position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: var(--edge-color, #fff); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 34' preserveAspectRatio='none'%3E%3Cpath d='M0 18 C40 10 70 22 120 14 S210 20 260 12 330 22 400 15 470 8 540 16 620 24 700 14 790 6 860 15 940 23 1020 13 1100 7 1180 16 1260 24 1330 14 1400 9 1440 15 L1440 34 L0 34Z' fill='black'/%3E%3Cpath d='M0 24 C60 20 90 27 150 22 S260 26 320 21 420 27 500 22 600 18 680 24 780 29 860 22 960 17 1040 23 1150 28 1230 21 1330 18 1440 23 L1440 34 L0 34Z' fill='black' opacity='.5'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 34' preserveAspectRatio='none'%3E%3Cpath d='M0 18 C40 10 70 22 120 14 S210 20 260 12 330 22 400 15 470 8 540 16 620 24 700 14 790 6 860 15 940 23 1020 13 1100 7 1180 16 1260 24 1330 14 1400 9 1440 15 L1440 34 L0 34Z' fill='black'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.torn--top { top: -1px; bottom: auto; transform: scaleY(-1); }

/* ---------- service times ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.service { text-align: center; padding: 1.5rem 1rem 1rem; border-radius: var(--radius-lg); position: relative; }
.service__icon { width: 72px; height: 72px; margin: 0 auto 1.1rem; color: var(--gold); }
.service__icon svg { width: 100%; height: 100%; }
.service h3 { font-size: var(--step-2); margin-bottom: 0.8rem; }
.service ul { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; color: var(--text); line-height: 1.85; }
.services-foot { display: grid; justify-items: center; gap: 0.9rem; margin-top: 1rem; }
.note { font-family: var(--f-script); font-style: italic; color: var(--bronze); font-size: 0.92rem; text-align: center; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* Line icons draw-in */
.draw path, .draw circle, .draw line, .draw polyline, .draw rect, .draw ellipse { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.draw.ready path, .draw.ready circle, .draw.ready line, .draw.ready polyline, .draw.ready rect, .draw.ready ellipse { stroke-dasharray: var(--len, 300); stroke-dashoffset: var(--len, 300); transition: stroke-dashoffset 2.2s var(--ease); }
.is-in .draw.ready path, .is-in .draw.ready circle, .is-in .draw.ready line, .is-in .draw.ready polyline, .is-in .draw.ready rect, .is-in .draw.ready ellipse, .draw.ready.is-in * { stroke-dashoffset: 0; }

/* ---------- parallax image band ---------- */
.band { position: relative; min-height: clamp(460px, 70vh, 640px); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem); display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.band__media { position: absolute; inset: -18% 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 24, 49, 0.55), rgba(4, 24, 49, 0.72)); }
.band h2 { color: #fff; font-size: var(--step-4); font-weight: 300; max-width: 15ch; margin-inline: auto; }
.band p { max-width: 560px; margin: 0 auto 2rem; color: rgba(255, 255, 255, 0.9); font-size: var(--step-1); }
@supports (animation-timeline: view()) {
  .parallax { animation: parallax linear both; animation-timeline: view(); }
  @keyframes parallax { from { transform: translateY(-9%); } to { transform: translateY(9%); } }
}

/* ---------- journey cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2vw, 2rem); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.journey-card { text-decoration: none; display: block; perspective: 1000px; }
.journey-card__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); position: relative; transform-style: preserve-3d; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.journey-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 0.8s; filter: saturate(0.95); }
.journey-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 24, 49, 0.55)); opacity: 0; transition: opacity 0.6s; }
.journey-card:hover .journey-card__media { box-shadow: var(--shadow-lg); }
.journey-card:hover .journey-card__media img { transform: scale(1.07); filter: saturate(1.1); }
.journey-card:hover .journey-card__media::after { opacity: 1; }
.journey-card__glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.35), transparent 45%); opacity: 0; transition: opacity 0.4s; pointer-events: none; mix-blend-mode: soft-light; }
.journey-card h3 { text-align: center; margin: 1.5rem 0 0.7rem; font-size: var(--step-2); }
.journey-card p { text-align: center; color: var(--text); font-size: 0.95rem; max-width: 36ch; margin-inline: auto; }

/* ---------- involvement trio ---------- */
.trio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.trio__card { background: #fff; border-radius: var(--radius-lg); padding: 2.4rem 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 1rem; position: relative; overflow: hidden; }
.trio__card h3 { font-size: var(--step-2); margin: 0; }
.trio__card .btn { align-self: flex-start; margin-top: auto; }
.trio__icon { width: 48px; height: 48px; color: var(--gold); }
.trio__card--navy { background: var(--navy); color: #dfe5ee; border-color: transparent; }
.trio__card--navy h3 { color: #fff; }

/* ---------- events ---------- */
.event-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .event-cards { grid-template-columns: 1fr; } }
.event-card { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--line-soft); text-decoration: none; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s; }
.event-card:hover { box-shadow: var(--shadow); border-color: var(--line); }
.date-badge { width: 72px; text-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.date-badge .m { display: block; background: var(--navy); color: var(--peach); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.3rem 0; font-weight: 600; }
/* even space around the number: band to number = number to weekday = weekday to bottom (about 10px each) */
.date-badge .d { display: block; font-family: var(--f-display); font-size: 2rem; line-height: 1; padding: 0.6rem 0 0.1rem; color: var(--ink); }
.date-badge .w { display: block; font-size: 0.7rem; line-height: 1; color: var(--muted); padding-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; }
/* smaller category tag with a little air below it, so it doesn't crowd the title */
.event-card .chip { font-size: 0.6rem; letter-spacing: 0.1em; padding: 0.18rem 0.55rem; margin-bottom: 0.45rem; }
.event-card h3 { font-size: 1.35rem; margin: 0.1rem 0 0.35rem; }
.event-card .meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; font-size: 0.86rem; color: var(--muted); }
.event-card .meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.event-card .meta svg { width: 14px; color: var(--gold); }
.event-card p { font-size: 0.92rem; margin: 0.6rem 0 0; color: var(--text); }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--bronze); background: rgba(203, 155, 76, 0.12); padding: 0.28rem 0.7rem; border-radius: 999px; }
.chip--live { color: #b91c1c; background: rgba(220, 38, 38, 0.1); }
.empty { text-align: center; color: var(--muted); padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- facebook ---------- */
.fb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 960px) { .fb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .fb-grid { grid-template-columns: 1fr; } }
.fb-post { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); display: flex; flex-direction: column; text-decoration: none; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.fb-post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.fb-post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.fb-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fb-post:hover .fb-post__img img { transform: scale(1.05); }
.fb-post__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.fb-post__meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.fb-post__meta svg { width: 18px; color: #1877f2; }
.fb-post__text { font-size: 0.94rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.fb-post__more { margin-top: auto; font-size: 0.85rem; color: var(--bronze); font-weight: 500; }
.fb-embed { display: grid; grid-template-columns: 1fr minmax(320px, 500px); gap: 3rem; align-items: center; }
.fb-embed__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--line-soft); }
.fb-embed__frame iframe { width: 100%; height: 640px; border: 0; }
@media (max-width: 900px) { .fb-embed { grid-template-columns: 1fr; } }
.skeleton { background: linear-gradient(90deg, #eee 0%, #f7f7f7 50%, #eee 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.post-card h3 { font-size: 1.45rem; margin: 0; transition: color 0.3s; }
.post-card:hover h3 { color: var(--bronze); }
.post-card p { font-size: 0.95rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .chip, .post-feature .chip { align-self: flex-start; }
/* Byline: avatar on the left, author on the first line, "date · read time" on the second. */
.post-card__meta { display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; column-gap: 0.4rem; row-gap: 0.05rem; font-size: 0.82rem; line-height: 1.4; color: var(--muted); margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--line-soft); }
.post-card__meta > .avatar { grid-row: 1 / 3; margin-right: 0.35rem; }
.post-card__meta > :nth-child(2) { grid-column: 2 / -1; color: var(--ink); }
.post-card__meta > :nth-child(3) { display: none; }
.post-card__meta > :nth-child(n + 4) { grid-row: 2; white-space: nowrap; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--peach); display: grid; place-items: center; font-family: var(--f-display); font-size: 0.85rem; flex-shrink: 0; }
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; margin-bottom: 3rem; }
.post-feature .post-card__img { aspect-ratio: auto; min-height: 420px; }
.post-feature .post-card__body { padding: clamp(2rem, 4vw, 3.5rem); justify-content: center; }
.post-feature h2 { font-size: var(--step-3); }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } .post-feature .post-card__img { min-height: 260px; } }
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter { padding: 0.5rem 1.15rem; border-radius: 999px; border: 1px solid var(--line-soft); text-decoration: none; font-size: 0.9rem; background: #fff; transition: all 0.3s; }
.filter:hover { border-color: var(--gold); }
.filter[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: #fff; padding: 2.2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); position: relative; }
.quote::before { content: "“"; position: absolute; top: 0.4rem; left: 1.4rem; font-family: var(--f-display); font-size: 5rem; color: var(--peach); line-height: 1; }
.quote p { padding-top: 1.6rem; font-family: var(--f-display); font-size: 1.2rem; font-style: italic; }
.quote cite { font-style: normal; font-weight: 600; display: block; }
.quote span { font-size: 0.85rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { position: relative; color: #dfe4ec; isolation: isolate; overflow: hidden; padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 1.75rem; }
.site-footer__bg { position: absolute; inset: 0; z-index: -2; }
.site-footer__bg img { width: 100%; height: 100%; object-fit: cover; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 24, 49, 0.88), rgba(1, 6, 15, 0.96)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 { font-family: var(--f-body); font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: 1rem; }
.footer-grid p, .footer-grid li, .footer-grid address { font-size: 0.94rem; font-style: normal; line-height: 1.8; }
.footer-grid a { color: #dfe4ec; text-decoration: none; transition: color 0.3s; }
.footer-grid a:hover { color: var(--peach); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); transition: all 0.35s var(--ease); }
.socials a:hover { border-color: var(--peach); color: var(--peach); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: 0.84rem; color: rgba(255, 255, 255, 0.6); }
.footer-bottom a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer-bottom a:hover { color: var(--peach); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.newsletter-mini { display: flex; gap: 0.5rem; margin-top: 1rem; }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--wide { border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 38% 38% var(--radius-lg) var(--radius-lg); aspect-ratio: 1 / 1; }
.arch::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(253, 197, 138, 0.55); pointer-events: none; }
.split h2 { font-size: var(--step-4); }
.signature { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.signature strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
.signature span { font-family: var(--f-script); font-style: italic; color: var(--bronze); }

/* ---------- about ---------- */
.history { position: relative; overflow: hidden; }
.history__bg { position: absolute; inset: 0; z-index: -1; opacity: 0.12; }
.history__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); }
.history__grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.history__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.history__aside .glass-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; outline: 1px solid var(--line); }
.history__aside .glass-frame img { width: 100%; }
.history h2 { font-size: var(--step-4); }
.pullquote { margin: 2.5rem 0; text-align: center; font-family: var(--f-display); font-style: italic; font-size: var(--step-3); color: var(--navy); position: relative; padding: 1.5rem 0; }
.pullquote::before, .pullquote::after { content: ""; display: block; width: 80px; height: 1px; background: var(--gold); margin: 0 auto; }
.pullquote span { display: block; padding: 1rem 0; }
.source-note { font-family: var(--f-script); font-style: italic; color: var(--bronze); font-size: 0.95rem; }
@media (max-width: 960px) { .history__grid { grid-template-columns: 1fr; } .history__aside { position: relative; top: 0; max-width: 320px; margin-inline: auto; } }
.timeline { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; margin-top: 1rem; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 2s var(--ease); }
.is-in.timeline::before, .is-in .timeline::before { --progress: 1; }
.timeline__item { text-align: center; position: relative; }
.timeline__dot { width: 46px; height: 46px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--gold); color: var(--bronze); position: relative; z-index: 1; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.timeline__item:hover .timeline__dot { background: var(--navy); color: var(--peach); transform: scale(1.1); }
.timeline__dot svg { width: 18px; }
.timeline__year { font-family: var(--f-display); font-size: 1.7rem; color: var(--navy); line-height: 1; }
.timeline__text { font-size: 0.84rem; color: var(--muted); line-height: 1.5; margin-top: 0.5rem; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 2rem; }
  .timeline::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(var(--progress, 0)); transform-origin: top; }
  .timeline__item { text-align: left; display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding-bottom: 1.5rem; margin-left: -2rem; }
  .timeline__dot { margin: 0; }
}

/* FAQ */
.faq { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 1.5rem; } }
/* Left column: search box, then the categories; it stays in view while the answers scroll. */
.faq__side { display: flex; flex-direction: column; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
@media (max-width: 860px) { .faq__side { position: static; } }
/* The first question sits level with the search box instead of 20px below it. */
.faq__panel > .acc:first-child > summary { padding-top: 0.4rem; }
.faq__search { position: relative; }
.faq__search input { width: 100%; border: 0; border-bottom: 1px solid var(--gold); padding: 0.6rem 2rem 0.6rem 0; background: transparent; outline: none; font-size: 0.95rem; }
.faq__search svg { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 18px; color: var(--muted); }
.faq__tabs { display: flex; flex-direction: column; gap: 0.3rem; }
@media (max-width: 860px) { .faq__tabs { flex-direction: row; flex-wrap: wrap; } }
.faq__tab { text-align: left; background: none; border: 0; padding: 0.7rem 1rem; border-radius: 10px; cursor: pointer; font-size: 0.98rem; color: var(--muted); transition: all 0.3s; display: flex; justify-content: space-between; gap: 1rem; }
.faq__tab small { color: var(--bronze); }
.faq__tab:hover { background: var(--ivory); color: var(--ink); }
.faq__tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.faq__tab[aria-selected="true"] small { color: var(--peach); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font-family: var(--f-display); font-size: 1.28rem; color: var(--ink); transition: color 0.3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--bronze); }
.acc summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 14px; height: 14px; translate: 0 -50%; background: linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat; transition: transform 0.4s var(--ease); }
.acc[open] summary::after { transform: rotate(135deg); }
.acc__body { overflow: hidden; }
.acc__body p { color: var(--text); padding-bottom: 1.3rem; margin: 0; max-width: 72ch; }
.acc mark { background: rgba(253, 197, 138, 0.6); border-radius: 3px; padding: 0 2px; }
.faq__panel[hidden] { display: none; }

/* ---------- staff ---------- */
.staff { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; }
@media (max-width: 1000px) { .staff { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .staff { grid-template-columns: repeat(2, 1fr); } }
.person { text-align: center; }
.person__img { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 1.2rem; position: relative; }
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.person:hover .person__img img { transform: scale(1.06); }
.person__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.person h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.person p { font-size: 0.86rem; color: var(--muted); margin: 0; letter-spacing: 0.02em; }

/* ---------- sacraments journey ---------- */
.journey-line { position: relative; max-width: 1080px; margin-inline: auto; }
.journey-line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-soft); translate: -50% 0; }
.journey-line__progress { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; translate: -50% 0; background: linear-gradient(var(--gold), var(--peach)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.sac { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 1.5rem; padding-block: 1.5rem; position: relative; }
.sac__node { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--gold), var(--shadow); position: relative; z-index: 1; grid-column: 2; grid-row: 1; transition: transform 0.6s var(--ease); }
.sac:hover .sac__node { transform: scale(1.06) rotate(-3deg); }
.sac__node img { width: 100%; height: 100%; object-fit: cover; }
.sac__body { grid-row: 1; background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.sac:nth-child(odd of .sac) .sac__body { grid-column: 1; }
.sac:nth-child(even of .sac) .sac__body { grid-column: 3; }
@media (min-width: 861px) { .sac + .sac { margin-top: -6.5rem; } }
.sac__num { font-family: var(--f-display); color: var(--bronze); font-size: 0.9rem; letter-spacing: 0.2em; }
.sac h3 { font-size: var(--step-3); margin: 0.2rem 0 0.2rem; }
.sac__sub { font-family: var(--f-script); font-style: italic; color: var(--bronze); margin-bottom: 1rem; display: block; }
@media (max-width: 860px) {
  .journey-line::before, .journey-line__progress { left: 40px; }
  .sac { grid-template-columns: 80px 1fr; gap: 1rem; padding-block: 1rem; }
  .sac__node { width: 80px; height: 80px; grid-column: 1; align-self: start; }
  .sac:nth-child(odd of .sac) .sac__body, .sac:nth-child(even of .sac) .sac__body { grid-column: 2; }
}

/* Read more */
.readmore__content { position: relative; overflow: hidden; transition: max-height 0.8s var(--ease); }
.readmore:not(.is-open) .readmore__content { max-height: var(--collapsed, 9.5em); }
.readmore:not(.is-open) .readmore__content::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4em; background: linear-gradient(transparent, var(--fade-to, #fff)); }
.readmore__btn { background: none; border: 0; padding: 0; margin-top: 0.6rem; color: var(--bronze); font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.92rem; }
.readmore__btn svg { width: 12px; transition: transform 0.4s var(--ease); }
.readmore.is-open .readmore__btn svg { transform: rotate(180deg); }
.readmore.no-clamp .readmore__btn { display: none; }
.readmore.no-clamp .readmore__content::after { display: none; }

/* ---------- ministries ---------- */
.ministry { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(1.25rem, 2.5vw, 2rem); }
.ministry:nth-child(even) .ministry__media { order: 2; }
.ministry__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; position: relative; }
.ministry__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ministry:hover .ministry__media img { transform: scale(1.05); }
.ministry h3 { font-size: var(--step-3); }
.ministry__director { font-weight: 600; font-size: 0.9rem; margin-top: 0.8rem; }
.ministry__index { font-family: var(--f-display); font-size: 0.9rem; color: var(--bronze); letter-spacing: 0.25em; display: block; margin-bottom: 0.6rem; }
@media (max-width: 860px) { .ministry { grid-template-columns: 1fr; } .ministry:nth-child(even) .ministry__media { order: 0; } }

/* ---------- donate ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }
.way { text-align: center; padding: 2.6rem 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-soft); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.way:hover { box-shadow: var(--shadow); }
.way__icon { width: 68px; height: 68px; margin: 0 auto 1.2rem; color: var(--gold); }
.way h3 { font-size: var(--step-2); }
.funds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .funds { grid-template-columns: 1fr; } }
.fund { position: relative; padding: 2.4rem; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy), #0d2c55); color: #dbe2ec; overflow: hidden; display: flex; flex-direction: column; gap: 1rem; isolation: isolate; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.fund::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(253, 197, 138, 0.25), transparent 65%); z-index: -1; transition: transform 1.2s var(--ease); }
.fund:hover { box-shadow: var(--shadow-lg); }
.fund:hover::before { transform: scale(1.3) translate(-30px, 30px); }
.fund h3 { color: #fff; font-size: var(--step-2); margin: 0; }
.fund blockquote { margin: 0; font-family: var(--f-script); font-style: italic; color: var(--peach); font-size: 0.98rem; }
.fund .btn { align-self: flex-start; margin-top: auto; }
.fund__num { font-family: var(--f-display); font-size: 0.85rem; color: var(--bronze); letter-spacing: 0.25em; }

/* ---------- contact ---------- */
/* Contact: one office + location card on the left, the map beside it at the same height. */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; align-items: stretch; }
.contact-grid .map { aspect-ratio: auto; min-height: 320px; }
.info-card__rule { border: 0; border-top: 1px solid var(--line-soft); margin: 1.4rem 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .map { aspect-ratio: 4 / 3; min-height: 0; } }
.info-card { background: #fff; border-radius: var(--radius-lg); padding: 2.2rem; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: var(--step-2); display: flex; align-items: center; gap: 0.7rem; }
.info-card h3 svg { width: 26px; color: var(--gold); }
.info-card p { margin: 0 0 0.4rem; }
.info-card a:not(.btn) { color: var(--bronze); }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 7; background: var(--mist); filter: grayscale(0.15) contrast(1.02); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .map { aspect-ratio: 4 / 3; } }
.access-list { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.access-list li { display: grid; grid-template-columns: 34px 1fr; gap: 0.8rem; align-items: start; }
.access-list svg { width: 26px; color: var(--gold); margin-top: 3px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 680px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; position: relative; }
.field label, .field .label { font-size: 0.86rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.field label .req { color: var(--bronze); }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid #d9dbe0; border-radius: 12px; background: #fff; transition: border-color 0.3s, box-shadow 0.3s; font-size: 0.98rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(203, 155, 76, 0.18); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #c2410c; }
.field .hint { font-size: 0.8rem; color: var(--muted); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; align-items: start; font-size: 0.93rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); margin-top: 3px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio-group label { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1rem; border: 1px solid #d9dbe0; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 0.92rem; transition: all 0.3s; }
.radio-group input { accent-color: var(--navy); }
.radio-group label:has(input:checked) { border-color: var(--navy); background: var(--navy); color: #fff; }
.copy-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }   /* Sunday School copy buttons (audit D7) */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow); border: 1px solid var(--line-soft); }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success svg { width: 64px; color: var(--gold); margin: 0 auto 1rem; }
.form.is-sent { display: none; }
.form.is-sent + .form-success { display: block; }
.hp { position: absolute; left: -9999px; }

/* Stepper */
.stepper { display: flex; gap: 0.5rem; margin-bottom: 2rem; counter-reset: step; list-style: none; padding: 0; }
.stepper li { flex: 1; text-align: center; font-size: 0.8rem; color: var(--muted); position: relative; padding-top: 2.6rem; }
.stepper li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; translate: -50% 0; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--bronze); transition: all 0.4s var(--ease); z-index: 1; }
.stepper li::after { content: ""; position: absolute; top: 1rem; left: calc(-50% + 1.2rem); right: calc(50% + 1.2rem); height: 1px; background: var(--line); }
.stepper li:first-child::after { display: none; }
.stepper li.is-active { color: var(--ink); font-weight: 600; }
.stepper li.is-active::before, .stepper li.is-done::before { background: var(--navy); border-color: var(--navy); color: var(--peach); }
.stepper li.is-done::before { content: "✓"; }
.step { display: none; animation: stepIn 0.6s var(--ease); }
.step.is-active { display: grid; gap: 1.2rem; }
@keyframes stepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.step__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.child-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1.1rem; background: var(--ivory); position: relative; animation: stepIn 0.5s var(--ease); }
.child-card[hidden] { display: none; }
.child-card__head { display: flex; justify-content: space-between; align-items: center; }
.child-card__head h4 { margin: 0; font-size: 1.25rem; }
.remove-child { background: none; border: 0; color: #b45309; cursor: pointer; font-size: 0.85rem; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
legend { font-family: var(--f-display); font-size: var(--step-2); margin-bottom: 0.4rem; padding: 0; }
.review { background: var(--ivory); border-radius: var(--radius); padding: 1.4rem; font-size: 0.92rem; }
.review dl { display: grid; grid-template-columns: 180px 1fr; gap: 0.35rem 1rem; margin: 0; }
.review dt { color: var(--muted); }
.review dd { margin: 0; }

/* Sunday school */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.pillar { text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-soft); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.pillar:hover { box-shadow: var(--shadow); }
.pillar__icon { width: 60px; height: 60px; margin: 0 auto 1rem; color: var(--gold); }
.pillar h3 { font-size: 1.4rem; }
.pillar p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.details { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #fff; }
.details div { padding: 1.8rem; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.details div:last-child { border: 0; }
.details dt { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--peach); margin-bottom: 0.4rem; }
.details dd { margin: 0; font-family: var(--f-display); font-size: 1.3rem; }
@media (max-width: 760px) { .details { grid-template-columns: 1fr 1fr; } .details div:nth-child(2) { border-right: 0; } }

/* ---------- schedule / calendar ---------- */
.cal { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line-soft); }
.cal__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; background: var(--navy); color: #fff; flex-wrap: wrap; }
.cal__title { font-family: var(--f-display); font-size: 1.8rem; margin: 0; color: #fff; min-width: 220px; }
.cal__nav { display: flex; gap: 0.4rem; align-items: center; }
.cal__nav button, .seg button { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; height: 38px; min-width: 38px; padding: 0 0.9rem; border-radius: 999px; cursor: pointer; transition: all 0.3s; font-size: 0.88rem; }
.cal__nav button:hover, .seg button:hover { border-color: var(--peach); color: var(--peach); }
.seg { display: inline-flex; background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; }
.seg button[aria-pressed="true"] { background: var(--peach); color: var(--ink); }
.cal__filters { display: flex; gap: 0.5rem; flex-wrap: wrap; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line-soft); }
.cal__filters button { padding: 0.35rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-soft); background: #fff; font-size: 0.82rem; cursor: pointer; }
.cal__filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__row { display: contents; }   /* week rows exist only for screen readers (audit L2) */
.cal__dow abbr { text-decoration: none; }
.cal__dow { padding: 0.7rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line-soft); }
.cal__day { min-height: 118px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 0.5rem; position: relative; transition: background 0.3s; }
.cal__day:nth-child(7n) { border-right: 0; }
.cal__day.is-other { background: #fafafa; color: #b6bac2; }
.cal__day.is-today { background: rgba(253, 197, 138, 0.18); }
.cal__day.is-today .cal__num { background: var(--navy); color: var(--peach); }
.cal__num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.cal__ev { display: block; width: 100%; text-align: left; border: 0; background: rgba(4, 24, 49, 0.06); border-left: 3px solid var(--gold); border-radius: 6px; padding: 0.25rem 0.4rem; margin-bottom: 0.25rem; font-size: 0.74rem; line-height: 1.3; cursor: pointer; color: var(--ink); transition: background 0.3s, transform 0.3s; text-decoration: none; }
.cal__ev:hover { background: rgba(203, 155, 76, 0.2); }
.cal__ev b { font-weight: 600; display: block; }
.cal__ev[data-cat="Liturgy"] { border-left-color: var(--navy); }
.cal__ev[data-cat="Feast Day"] { border-left-color: #b91c1c; }
.cal__ev[data-cat="Young Adult"] { border-left-color: #0f766e; }
.cal__ev[data-cat="Education"] { border-left-color: #6d28d9; }
@media (max-width: 760px) {
  .cal__day { min-height: 64px; padding: 0.3rem; }
  .cal__ev { font-size: 0; height: 6px; padding: 0; border-left-width: 0; background: var(--gold); border-radius: 3px; }
  .cal__ev b { display: none; }
}
.agenda { padding: 0.5rem 1.5rem 1.5rem; }
.agenda__day { display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-soft); }
.agenda__date { text-align: center; }
.agenda__date b { display: block; font-family: var(--f-display); font-size: 2.2rem; font-weight: 400; line-height: 1; color: var(--navy); }
.agenda__date span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.agenda__item { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0.4rem 0; }
.agenda__item a { text-decoration: none; font-family: var(--f-display); font-size: 1.2rem; }
.agenda__item a:hover { color: var(--bronze); }
.agenda__time { font-size: 0.86rem; color: var(--muted); white-space: nowrap; }

/* Event detail */
.event-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .event-hero { grid-template-columns: 1fr; } }
.event-hero__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.event-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.event-facts { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.9rem; }
.event-facts li { display: grid; grid-template-columns: 28px 1fr; gap: 0.8rem; }
.event-facts svg { width: 22px; color: var(--gold); margin-top: 3px; }
.cal-add { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.share { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-soft); background: #fff; cursor: pointer; transition: all 0.3s var(--ease); color: var(--ink); }
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--bronze); }
.share svg { width: 16px; height: 16px; }

/* Post page */
.post-hero { position: relative; min-height: 72vh; display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 4rem) 0 4rem; }
.post-hero__img { position: absolute; inset: 0; z-index: -2; }
.post-hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.post-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 24, 49, 0.4), rgba(1, 6, 15, 0.88)); }
.post-hero h1 { color: #fff; font-size: var(--step-5); font-weight: 300; max-width: 18ch; }
.post-hero .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }
.post-hero .chip { background: rgba(253, 197, 138, 0.18); color: var(--peach); }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 760px) 1fr; gap: 3rem; justify-content: center; }
.toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; font-size: 0.86rem; }
.toc h4 { font-family: var(--f-body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-soft); }
.toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; text-decoration: none; color: var(--muted); border-left: 2px solid transparent; margin-left: -1px; transition: all 0.3s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--bronze); border-left-color: var(--gold); }
.post-aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
@media (max-width: 1180px) { .post-layout { grid-template-columns: minmax(0, 760px); } .toc, .post-aside { display: none; } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: linear-gradient(90deg, var(--gold), var(--peach)); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) { .progress { animation: grow linear both; animation-timeline: scroll(root); } @keyframes grow { to { transform: scaleX(1); } } }
.author-box { display: flex; gap: 1.2rem; align-items: center; padding: 1.6rem; border-radius: var(--radius-lg); background: var(--ivory); margin: 3rem 0; }
.author-box .avatar { width: 64px; height: 64px; font-size: 1.4rem; }

/* ---------- modal (live + search) ---------- */
dialog.modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: inherit; }
dialog.modal::backdrop { background: rgba(1, 6, 15, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
dialog.modal[open] { display: grid; place-items: center; animation: fadeIn 0.4s var(--ease); }
dialog.modal[open] .modal__panel { animation: popIn 0.6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(0.97); } }
.modal__panel { width: min(100% - 1.5rem, 1100px); max-height: calc(100svh - 2rem); overflow: auto; background: var(--ink); color: #fff; border-radius: 22px; box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6); position: relative; border: 1px solid rgba(253, 197, 138, 0.2); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.live__head { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 4.5rem 1.2rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); flex-wrap: wrap; }
.live__head h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.live__status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.is-live .live__status { background: rgba(220, 38, 38, 0.2); color: #fecaca; }
.live__stage { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 40%, #0e2a4f, var(--ink) 70%); display: grid; place-items: center; overflow: hidden; }
.live__stage > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* On phones the widescreen box is too short for the message and its button (audit B6): let it grow until a stream plays. */
@media (max-width: 600px) { .live__stage:not(:has(> iframe)) { aspect-ratio: auto; min-height: 220px; padding: 1.5rem 1rem; } }
.live__zoom-root { position: absolute; inset: 0; }
.live__poster { position: absolute; inset: 0; z-index: 0; }
.live__poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: blur(2px); }
.live__center { position: relative; z-index: 1; text-align: center; padding: 2rem; display: grid; gap: 1.2rem; justify-items: center; max-width: 560px; }
.live__center h3 { color: #fff; font-size: var(--step-3); margin: 0; }
.live__center p { color: rgba(255, 255, 255, 0.78); margin: 0; }
.play { width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--peach); color: var(--ink); display: grid; place-items: center; cursor: pointer; position: relative; transition: background-color 0.2s; }
.play::before, .play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(253, 197, 138, 0.6); animation: ring 2.4s var(--ease) infinite; }
.play::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.play:hover { background: #ffd9ad; }
.play svg { width: 30px; margin-left: 5px; }
.live__name { display: flex; gap: 0.5rem; width: 100%; max-width: 380px; }
.live__name input { flex: 1; padding: 0.75rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; }
.live__foot { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }
.live__foot .btn { font-size: 0.92rem; }
.live__schedule { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.live__schedule span b { color: var(--peach); font-weight: 500; }
.live__readings { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; justify-content: space-between; padding-top: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: var(--peach); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.search-panel { background: #fff; color: var(--ink); width: min(100% - 1.5rem, 760px); max-height: 80svh; margin-top: 10vh; align-self: start; padding: 1.5rem; }
dialog.modal--search[open] { place-items: start center; }
.search-panel .modal__close { color: var(--ink); border-color: var(--line-soft); }
.search-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.8rem; }
@media (hover: none) and (pointer: coarse) { .search-hint { display: none; } }   /* no keyboard shortcut on touch screens (audit D4) */
kbd { font-family: var(--f-body); font-size: 0.75rem; border: 1px solid #ccd; border-bottom-width: 2px; border-radius: 5px; padding: 0.05rem 0.35rem; }
/* Pagefind UI theme */
#search-page { min-height: 75vh; }   /* room for the results before they load, so the footer doesn't jump (audit L3) */
.pagefind-ui { --pagefind-ui-primary: var(--navy); --pagefind-ui-text: var(--ink); --pagefind-ui-border: #dde; --pagefind-ui-border-radius: 12px; --pagefind-ui-font: var(--f-body); --pagefind-ui-tag: var(--ivory); }
.pagefind-ui__result-link { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink) !important; }
.pagefind-ui__result-excerpt mark { background: rgba(253, 197, 138, 0.6); }

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 1.5rem; left: 50%; translate: -50% 200%; opacity: 0; visibility: hidden; background: var(--ink); color: #fff; padding: 0.8rem 1.4rem; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 100; transition: translate 0.6s var(--ease); font-size: 0.92rem; }
.toast.is-on { translate: -50% 0; opacity: 1; visibility: visible; }

/* Floating live button (mobile) */
.fab-live { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: none; align-items: center; gap: 0.5rem; padding: 0.8rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; border: 1px solid rgba(253, 197, 138, 0.35); box-shadow: var(--shadow-lg); cursor: pointer; font-size: 0.88rem; }
.is-live.fab-live { display: inline-flex; }
.back-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 39; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px); pointer-events: none; transition: all 0.5s var(--ease); }
/* hidden = also out of the keyboard and screen-reader order until it appears (audit A3) */
.back-top.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.back-top svg { width: 18px; }
.back-top circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 138; stroke-dashoffset: var(--off, 138); transform: rotate(-90deg); transform-origin: center; }
body:has(.is-live.fab-live) .back-top { bottom: 4.8rem; }

/* ---------- reveal animations (Wix: reveal / fade / flip / arc / shape) ---------- */
/* overflow-anchor: none — a section that is still sliding into place must not be the element Chrome uses to restore
   the scroll position on a refresh: "up" starts 40px low, so a refresh at the top used to land 32-40px down. */
[data-reveal] { overflow-anchor: none; opacity: 0; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), clip-path 1.3s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); will-change: transform, opacity; }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="down"] { transform: translateY(-30px); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="blur"] { filter: blur(12px); transform: translateY(20px); }
[data-reveal="flip"] { transform: perspective(1200px) rotateX(18deg) translateY(30px); transform-origin: 50% 100%; }
[data-reveal="arc"] { transform: perspective(1200px) rotateY(-14deg) translateX(-30px); transform-origin: 0% 50%; }
[data-reveal="mask"] { opacity: 1; clip-path: inset(100% 0 0 0 round var(--radius-lg)); }
[data-reveal="shape"] { opacity: 1; clip-path: circle(0% at 50% 50%); }
/* On phones, sideways slides start off the screen edge and widen the page (audit B4); rise into place instead. */
@media (max-width: 860px) { [data-reveal="left"], [data-reveal="right"], [data-reveal="arc"] { transform: translateY(30px); } }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
[data-reveal="shape"].is-in { clip-path: circle(75% at 50% 50%); }
.no-js [data-reveal] { opacity: 1; transform: none; clip-path: none; filter: none; }

/* View transitions between pages (Chrome/Edge/Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.45s var(--ease) both vtOut; }
::view-transition-new(root) { animation: 0.6s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }
.site-header { view-transition-name: site-header; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  .line > span { transform: none !important; }
  .hero__text, .hero__ctas { opacity: 1; transform: none; }
  /* scroll-linked photo drift and the fade between pages also stop (audit A8); the reading-progress bar stays */
  .parallax { animation: none !important; transform: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 3rem) 1rem 4rem; background: radial-gradient(circle at 50% 30%, var(--navy-2), var(--ink)); color: #fff; }
.notfound h1 { color: #fff; font-size: var(--step-5); font-weight: 300; }
.notfound p { color: rgba(255, 255, 255, 0.8); }

@media print {
  .site-header, .site-footer, .fab-live, .back-top, .progress, .toc, .post-aside { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Embedded video inserted from the CMS */
.prose .video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 2em 0; background: #000; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 701px) { .hero:has(.hero__next:not([hidden])) { padding-bottom: 9rem; } }
svg[viewBox="0 0 64 64"]:not(.draw):not(.eng-icon) :is(path, circle, rect, line, polyline, ellipse) { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.radio-group label { white-space: nowrap; }
.prose blockquote.pullquote { border-left: 0; padding: 1.5rem 0; font-size: var(--step-3); }
@media (max-width: 600px) {
  .sec-head__title::before, .sec-head__title::after { flex-basis: 28px; }
  .hero__title { font-size: 2.4rem; line-height: 1.08; }
  .hero__text { font-size: 1rem; line-height: 1.55; }
  .hero { padding-bottom: 4rem; }
}

/* =====================================================================
   PREMIUM LAYER — gold leaf, paper grain, ornaments, intro, spotlight
   ===================================================================== */

/* Gold-leaf text: slow sheen across the hero accent and display titles */
.gold-leaf, .hero__title .accent {
  background: linear-gradient(100deg, #e9b679 0%, #fdc58a 22%, #fff1d6 34%, #fdc58a 46%, #cb9b4c 70%, #f6d3a0 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--peach);
  animation: leaf 9s ease-in-out infinite;
}
@keyframes leaf { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.gold-text { color: var(--bronze); }

/* Fine paper grain on light sections — tactile, printed feel */
.section--mist, .section--ivory, .page-hero, .paper { position: relative; isolation: isolate; }
.section--mist::after, .section--ivory::after, .page-hero::after, .paper::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .45  0 0 0 0 .3  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--ivory { background: linear-gradient(180deg, #fbf8f2, #f6efe3); }

/* Byzantine ornament divider */

/* Gold inner frame on photographs */
.journey-card__media::before, .ministry__media::after, .person__img::before, .event-hero__img::after, .post-feature .post-card__img::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(253, 197, 138, 0.55); border-radius: calc(var(--radius-lg) - 8px); z-index: 2; pointer-events: none; opacity: 0; transform: scale(1.03); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.journey-card:hover .journey-card__media::before, .ministry:hover .ministry__media::after, .person:hover .person__img::before, .event-hero__img:hover::after, .post-feature:hover .post-card__img::after { opacity: 1; transform: none; }
.event-hero__img, .post-feature .post-card__img { position: relative; }

/* Cards that used to carry the pointer spotlight keep its clipping (the glow itself was removed) */
[data-spotlight] { position: relative; overflow: hidden; }

/* Hairline gold under the header once scrolled */
.site-header.is-scrolled { border-bottom: 1px solid rgba(203, 155, 76, 0.25); }

/* Hero: blurred placeholder while the full photo streams in */
.hero__lqip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(24px) saturate(1.1); transform: scale(1.1); z-index: -3; }
.hero__img { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__img.is-loaded { opacity: 1; }
.no-js .hero__img { opacity: 1; }

/* Intro curtain — first visit of a session */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #0b2a52, var(--ink) 70%); color: var(--peach); transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s; clip-path: inset(0 0 0 0); }
.intro.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
/* The icon of the Annunciation in a thin gold frame, with a soft glow (feedback item 3) */
.intro__icon { display: block; width: clamp(120px, 21vh, 170px); height: auto; margin: 0 auto 1.4rem; border-radius: 10px; border: 1px solid rgba(253, 197, 138, 0.6); box-shadow: 0 0 0 5px rgba(253, 197, 138, 0.08), 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 70px rgba(253, 197, 138, 0.16); }
.intro__icon { opacity: 0; transform: scale(0.94); animation: introMark 0.6s var(--ease) forwards; }   /* intro kept short (audit P5) */
@keyframes introMark { to { opacity: 1; transform: none; } }
.intro__name { text-align: center; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); color: #fff; opacity: 0; transform: translateY(10px); animation: introIn 0.6s var(--ease) 0.15s forwards; letter-spacing: 0.02em; }
.intro__name small { display: block; font-family: var(--f-script); font-style: italic; color: var(--peach); font-size: 0.55em; margin-bottom: 0.3rem; }
@keyframes introIn { to { opacity: 1; transform: none; } }
html:not(.show-intro) .intro { display: none; }

/* Scrolling greeting band */
.marquee { background: var(--navy); color: var(--peach); overflow: hidden; border-block: 1px solid rgba(203, 155, 76, 0.3); padding: 1.15rem 0; position: relative; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--f-script); font-style: italic; font-size: clamp(1.1rem, 1rem + 0.8vw, 1.6rem); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee span::after { content: ""; display: inline-block; width: 0.62em; height: 0.66em; background: var(--gold); -webkit-mask: url("/assets/images/cross.svg") center / contain no-repeat; mask: url("/assets/images/cross.svg") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Heritage numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(203, 155, 76, 0.35); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: #fff; padding: 2.4rem 1.5rem; text-align: center; position: relative; }
.stat b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 2rem + 2vw, 4rem); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 0.7rem; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); }
.stat small { display: block; margin-top: 0.4rem; font-family: var(--f-script); font-style: italic; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }


/* =====================================================================
   RESOURCES
   ===================================================================== */
.res-featured { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.4rem; }
@media (max-width: 960px) { .res-featured { grid-template-columns: 1fr; } }
.res-feature { position: relative; display: flex; flex-direction: column; gap: 0.9rem; padding: 2.4rem; min-height: 320px; border-radius: var(--radius-lg); text-decoration: none; color: #e2e8f0; background: linear-gradient(155deg, #0b2a52, var(--navy) 55%, #020d1c); box-shadow: var(--shadow-lg); isolation: isolate; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.res-feature:first-child { background: linear-gradient(155deg, #a1611b, #6e3f0d 60%, #3b2105); }
.res-feature h3 { color: #fff; font-size: var(--step-3); margin: auto 0 0; }
.res-feature p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; margin: 0; }
.res-feature .chip { align-self: flex-start; background: rgba(253, 197, 138, 0.16); color: var(--peach); }
.res-feature__ornament { position: absolute; right: -10px; top: -10px; width: 190px; height: 190px; color: rgba(253, 197, 138, 0.16); z-index: -1; transition: transform 1.2s var(--ease); }
.res-feature:hover .res-feature__ornament { transform: rotate(-8deg) scale(1.08); }
.res-feature__ornament svg { width: 100%; height: 100%; }
.res-feature__ornament svg * { stroke-width: 0.9 !important; }
.res-feature__go { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--peach); letter-spacing: 0.02em; margin-top: 0.4rem; }
.res-feature__go svg { width: 14px; transition: transform 0.4s var(--ease); }
.res-feature:hover .res-feature__go svg { transform: translate(3px, -3px); }

.res-tools { position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; display: grid; gap: 0.9rem; padding: 1rem; margin-bottom: 2.5rem; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.res-search { display: flex; align-items: center; gap: 0.7rem; padding: 0 0.6rem; }
.res-search svg { width: 20px; color: var(--gold); flex-shrink: 0; }
.res-search input { flex: 1; border: 0; background: transparent; padding: 0.6rem 0; font-size: 1.05rem; outline: none; }
.res-count { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

.res-group { margin-bottom: 3.5rem; scroll-margin-top: calc(var(--header-h) + 140px); }
.res-group[hidden] { display: none; }
.res-group__head { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; align-items: center; padding-bottom: 1.2rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.res-group__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--gold); }
.res-group__icon svg { width: 30px; height: 30px; }
.res-group__head h3 { font-size: var(--step-2); margin: 0; }
.res-group__head p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.1rem; }
.res-card { display: grid; grid-template-columns: 52px 1fr 24px; gap: 1rem; align-items: start; padding: 1.4rem; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); text-decoration: none; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s; }
.res-card[hidden] { display: none; }
.res-card:hover { box-shadow: var(--shadow); border-color: var(--line); }
.res-card__logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--line-soft); overflow: hidden; color: var(--bronze); font-family: var(--f-display); font-size: 1.4rem; }
.res-card__logo img { width: 28px; height: 28px; object-fit: contain; }
.res-card__logo svg { width: 24px; }
.res-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin-bottom: 0.35rem; }
.res-card__top strong { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.res-card__top .chip { font-size: 0.62rem; padding: 0.2rem 0.55rem; }
.res-card__desc { display: block; font-size: 0.9rem; color: var(--text); line-height: 1.55; }
.res-card__url { display: block; margin-top: 0.6rem; font-size: 0.78rem; color: var(--bronze); letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-card__arrow { color: var(--muted); transition: transform 0.4s var(--ease), color 0.3s; }
.res-card__arrow svg { width: 18px; }
.res-card:hover .res-card__arrow { color: var(--bronze); transform: translate(3px, -3px); }
mark.res-hit { background: rgba(253, 197, 138, 0.55); border-radius: 3px; padding: 0 2px; color: inherit; }

/* =====================================================================
   FACEBOOK — bento feed, lightbox, Parish Feed page
   ===================================================================== */
.fb-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1.1rem; }
.fb-bento .fb-tile:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1000px) { .fb-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fb-bento { grid-template-columns: 1fr; grid-auto-rows: 260px; } .fb-bento .fb-tile:first-child { grid-column: auto; grid-row: span 1; } }
.fb-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; cursor: pointer; border: 0; padding: 0; text-align: left; box-shadow: var(--shadow-sm); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.fb-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.fb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.fb-tile:hover img { transform: scale(1.06); }
.fb-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 6, 15, 0) 30%, rgba(1, 6, 15, 0.88)); }
.fb-tile--text { background: linear-gradient(150deg, #0b2a52, var(--navy)); }
.fb-tile--text::before { display: none; }
.fb-tile__body { padding: 1.3rem 1.4rem; display: grid; gap: 0.55rem; }
.fb-tile__text { margin: 0; font-size: 0.92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: rgba(255, 255, 255, 0.92); }
.fb-tile:first-child .fb-tile__text { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.35; -webkit-line-clamp: 4; }
.fb-tile--text .fb-tile__text { -webkit-line-clamp: 6; font-family: var(--f-display); font-size: 1.12rem; }
.fb-tile__meta { display: flex; align-items: center; gap: 0.9rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); }
.fb-tile__meta svg { width: 14px; height: 14px; }
.fb-tile__meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.fb-tile__badge { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(1, 6, 15, 0.55); backdrop-filter: blur(6px); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.fb-tile__badge svg { width: 12px; color: #fff; }
.fb-page-card { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); margin-bottom: 1.6rem; flex-wrap: wrap; }
.fb-page-card img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--peach); object-fit: cover; }
.fb-page-card h3 { margin: 0; font-size: 1.35rem; }
.fb-page-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.fb-page-card .btn { margin-left: auto; }
.fb-masonry { columns: 3 300px; column-gap: 1.2rem; }
.fb-masonry .fb-post { break-inside: avoid; margin-bottom: 1.2rem; cursor: pointer; width: 100%; text-align: left; border: 1px solid var(--line-soft); padding: 0; font: inherit; }
.fb-masonry .fb-post__img { aspect-ratio: auto; }
.fb-masonry .fb-post__img img { height: auto; }
.fb-masonry .fb-post__text { -webkit-line-clamp: 8; }
.fb-stats { display: flex; gap: 0.9rem; font-size: 0.8rem; color: var(--muted); }
.fb-stats span { display: inline-flex; align-items: center; gap: 0.3rem; }
.fb-stats svg { width: 14px; height: 14px; color: var(--bronze); }
.fb-device { border-radius: 34px; padding: 12px; background: linear-gradient(160deg, #1b2b44, #050c17); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(253, 197, 138, 0.25); }
.fb-device iframe { width: 100%; height: 640px; border: 0; border-radius: 24px; background: #fff; display: block; }

/* Lightbox */
dialog.modal--post .modal__panel { background: #fff; color: var(--ink); display: grid; grid-template-columns: 1.3fr 1fr; width: min(100% - 1.5rem, 1080px); max-height: calc(100svh - 3rem); overflow: hidden; }
dialog.modal--post .modal__panel.no-image { grid-template-columns: 1fr; width: min(100% - 1.5rem, 640px); }
.lb__media { position: relative; background: #000; display: grid; place-items: center; min-height: 320px; }
.lb__media img { width: 100%; height: 100%; max-height: calc(100svh - 3rem); object-fit: contain; }
.lb__body { padding: 2.2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; }
.lb__head { display: flex; gap: 0.8rem; align-items: center; }
.lb__head img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--peach); object-fit: cover; }
.lb__head b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; }
.lb__head small { color: var(--muted); }
.lb__text { white-space: pre-line; font-size: 1rem; line-height: 1.75; }
.lb__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
dialog.modal--post .modal__close { color: var(--ink); background: #fff; border-color: var(--line-soft); }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 4; }
.lb__nav--prev { left: 12px; } .lb__nav--next { right: 12px; }
dialog.modal--post .lb__nav { background: rgba(255, 255, 255, 0.9); color: var(--ink); border-color: transparent; }
@media (max-width: 800px) { dialog.modal--post .modal__panel { grid-template-columns: 1fr; overflow-y: auto; } .lb__media img { max-height: 50svh; } }
.fb-tile.skeleton::before { display: none; } .fb-tile.skeleton { box-shadow: none; }
/* Center post cards when there are fewer than a full row */
.post-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); justify-content: center; }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } }
/* Staggered sacrament rows overlap — let clicks pass through the empty part of each row */
.sac { pointer-events: none; }
.sac__body, .sac__node { pointer-events: auto; position: relative; z-index: 2; }

/* The one cross used site-wide: Byzantine budded cross, engraved (see assets/images/cross.svg).
   Small copies sit inside line icons, so they must ignore the icons' outline styles. */
.x-cross path { fill: currentColor !important; stroke: none !important; stroke-dasharray: none !important; }
.cross-icon { display: block; margin-inline: auto; height: 100%; width: auto; max-width: 100%; }

/* ---------- This Week (latest Flocknote bulletin) ---------- */
.thisweek__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; max-width: 1040px; margin-inline: auto; }
@media (max-width: 860px) { .thisweek__grid { grid-template-columns: 1fr; } }
.thisweek__text p { margin: 0 0 1em; font-size: 1.05rem; line-height: 1.75; }
.thisweek__text p:last-child { margin-bottom: 0; }
.thisweek__text a { color: var(--bronze); word-break: break-word; }
.thisweek__images { display: grid; gap: 0.6rem; margin-bottom: 0.6rem; }
.thisweek__images:empty { display: none; }
.thisweek__image img { display: block; width: 100%; height: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); background: #fff; }
.thisweek__files { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.thisweek__file { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.thisweek__file:hover { border-color: var(--gold); background: #fffdf9; }
.thisweek__file svg { width: 22px; height: 22px; color: var(--gold); }
.thisweek__file small { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); }
.thisweek__links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 0.6rem 1rem; margin: 1rem 0 0; }
.thisweek__more { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
@media (max-width: 600px) { .thisweek__more { align-items: flex-start; } }
.thisweek__prev { font-size: 0.92rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.thisweek__prev:hover { color: var(--ink); }
.note a { color: inherit; text-underline-offset: 3px; }

.thisweek__empty { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto; }
.thisweek__empty a { color: var(--bronze); }
.thisweek__empty:not([hidden]) ~ .thisweek__grid { display: none; }
.footer-signup { margin: 1rem 0 0; }
/* About page: "Plan your visit" summary */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 auto; max-width: 1080px; text-align: left; }
.visit-item { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.visit-item h3 { font-size: 1.15rem; margin: 0; }
.visit-item p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--muted); flex: 1; }
.visit-item a { color: var(--bronze); font-size: 0.92rem; text-underline-offset: 3px; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .visit-grid { grid-template-columns: 1fr; } }
.event-past { margin: 0.4rem 0 0; padding: 0.7rem 1rem; border-radius: var(--radius); background: var(--mist); color: var(--muted); font-size: 0.95rem; }
.event-hero__img--flyer { aspect-ratio: auto; background: var(--mist); }
.event-hero__img--flyer img { height: auto; max-height: 80vh; object-fit: contain; }
.event-flyer { margin: 0 0 0.8rem; }
