/* =====================================================================
   ST JOSEPH'S PARISH — DESIGN SYSTEM  (v2)
   One stylesheet for the whole public site.

   1.  Tokens            9.  Cards & grids        17. Tables
   2.  Base & reset      10. Icon lists           18. Forms
   3.  Typography        11. Callouts             19. Gallery & media
   4.  Layout            12. Stats                20. People & contacts
   5.  Buttons           13. Schedules            21. Archive rows
   6.  Notice bar        14. Accordion            22. Help finder
   7.  Header & nav      15. Tabs                 23. Footer
   8.  Page hero & nav   16. Timeline / feed      24. Utilities & motion
   ===================================================================== */

/* 1. TOKENS ------------------------------------------------------------ */
:root {
  --navy-950: #142029;
  --navy-900: #1e2d3a;
  --navy-800: #2c3e50;
  --navy-700: #3b5166;
  --navy-100: #e8edf2;
  --navy-50:  #f3f6f8;

  --accent:      #ffa500;
  --accent-600:  #e69500;
  --accent-ink:  #8f5400;   /* accent-coloured text on light backgrounds (AA) */
  --accent-soft: #fff4df;
  --gold:        #d4a017;

  --ink:     #22313f;
  --muted:   #586977;
  --line:    #e2e7eb;
  --surface: #ffffff;
  --bg:      #f8f7f4;
  --sand:    #f6efe2;

  --success: #1e8e5a;  --success-soft: #e7f6ee;
  --danger:  #c0392b;  --danger-soft:  #fdecea;
  --info:    #2b6cb0;  --info-soft:    #e8f1fb;

  --font-head:  'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 32, 41, .06), 0 1px 3px rgba(20, 32, 41, .05);
  --shadow:    0 4px 14px rgba(20, 32, 41, .07);
  --shadow-lg: 0 18px 40px rgba(20, 32, 41, .12);

  --gutter:    clamp(16px, 4vw, 32px);
  --container: 1240px;
  --narrow:    820px;
  --header-h:  72px;
  --ease:      cubic-bezier(.2, .7, .2, 1);

  --hero-image: url('https://stjosephclarkston.com/wp-content/uploads/2026/01/Welcome-View-from-LHS-scal.jpg');
}

/* 2. BASE & RESET ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
[hidden]:not(.notice-bar__slide) { display: none !important; }
img { height: auto; display: block; }
a { color: var(--navy-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.screen-reader-text, .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: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: var(--navy-950); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* 3. TYPOGRAPHY -------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
small { font-size: .85em; }
strong { font-weight: 600; color: inherit; }
.lead { font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); color: var(--muted); line-height: 1.75; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .6rem;
}
.muted { color: var(--muted); }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--r) var(--r) 0; }
.prose img { border-radius: var(--r); }
blockquote.quote { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--navy-800); margin: 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; box-shadow: var(--shadow-sm); }
blockquote.quote cite { display: block; margin-top: .6rem; font-family: var(--font-body); font-style: normal; font-size: .85rem; color: var(--muted); }

/* 4. LAYOUT ------------------------------------------------------------ */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(var(--narrow), 100% - 2 * var(--gutter)); margin-inline: auto; }
.site-main { display: block; min-height: 40vh; }

/* Two-column interior layout: sticky "on this page" nav + content */
.page-layout {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin: clamp(28px, 5vw, 56px) auto clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.page-layout--single { grid-template-columns: minmax(0, 1fr); max-width: var(--narrow); }
.page-body { min-width: 0; }

.section { padding-block: clamp(8px, 1vw, 12px) clamp(40px, 5vw, 64px); }
.section + .section { border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 56px); }
.section-head { margin-bottom: clamp(20px, 3vw, 32px); }
.section-head h2 { position: relative; padding-bottom: .55em; }
.section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--accent); }
.section-head .lead { margin-top: .9rem; max-width: 70ch; }
.section-head--center { text-align: center; }
.section-head--center h2::after { left: 50%; transform: translateX(-50%); }
.section-head--center .lead { margin-inline: auto; }
.subhead { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin: 2.2rem 0 1.1rem; color: var(--navy-800); }
.subhead i { color: var(--accent); }
.subhead:first-child { margin-top: 0; }

/* Full-width bands */
.band { padding-block: clamp(48px, 7vw, 96px); }
.band--white { background: var(--surface); }
.band--sand { background: var(--sand); }
.band--dark { background: var(--navy-900); color: rgba(255,255,255,.86); }
.band--dark h2, .band--dark h3 { color: #fff; }

.stack > * + * { margin-top: var(--stack, 1rem); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--gap, .75rem); align-items: center; }
.cluster--center { justify-content: center; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }

/* 5. BUTTONS ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--navy-950); --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7em 1.35em;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--accent-600); --btn-bd: var(--accent-600); color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--navy-950); --btn-bd: var(--accent); }
.btn--secondary { --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800); }
.btn--secondary:hover { --btn-bg: var(--navy-900); --btn-bd: var(--navy-900); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: var(--navy-800); }
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.75); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: transparent; }
.btn--ghost:hover { --btn-bg: var(--navy-50); --btn-bd: var(--navy-50); box-shadow: none; }
.btn--sm { min-height: 36px; padding: .45em .95em; font-size: .78rem; }
.btn--lg { min-height: 54px; padding: .85em 1.8em; font-size: .95rem; }
.btn--block { width: 100%; }
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--navy-800); text-decoration: none; border-bottom: 1px solid transparent; }
.text-link:hover { color: var(--accent-ink); border-bottom-color: currentColor; }

/* 6. NOTICE BAR -------------------------------------------------------- */
.notice-bar { background: var(--navy-950); color: #fff; font-size: .88rem; position: relative; z-index: 60; }
.notice-bar[hidden] { display: none; }
.notice-bar__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 12px; min-height: 42px; padding-block: 6px; }
.notice-bar__track { flex: 1; min-width: 0; display: grid; }
.notice-bar__slide { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; text-align: center; transition: opacity .35s ease; }
.notice-bar__slide[hidden] { display: flex; opacity: 0; visibility: hidden; pointer-events: none; }
.notice-bar__icon { color: var(--accent); }
.notice-bar__link { color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.notice-bar__link:hover { color: #fff; text-decoration: underline; }
.notice-bar__dots { display: flex; gap: 6px; }
.notice-bar__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.notice-bar__dot.is-active { background: var(--accent); }
.notice-bar__close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.7); cursor: pointer; }
.notice-bar__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.notice-bar__choice { position: absolute; right: var(--gutter); top: calc(100% + 6px); background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 14px; width: min(320px, calc(100vw - 2 * var(--gutter))); z-index: 70; }
.notice-bar__choice[hidden] { display: none; }
.notice-bar__choice p { margin: 0 0 10px; font-weight: 700; font-family: var(--font-head); font-size: .9rem; }
.notice-bar__choice button { display: block; width: 100%; text-align: left; padding: 10px 12px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; font-size: .88rem; }
.notice-bar__choice button:hover { border-color: var(--accent); background: var(--accent-soft); }
.notice-bar__choice button small { display: block; color: var(--muted); }
.notice-bar__choice .notice-bar__cancel { background: transparent; border: 0; text-align: center; color: var(--muted); margin: 0; }

/* 7. HEADER & NAV ------------------------------------------------------ */
.utility-bar { background: var(--navy-950); color: rgba(255,255,255,.62); font-size: .78rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.utility-bar__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility-bar__name { font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
.utility-bar__links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.utility-bar__links a { color: rgba(255,255,255,.75); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.utility-bar__links a:hover { color: var(--accent); }
.utility-bar__links .is-cta a { color: var(--accent); font-weight: 600; }
.utility-bar__links .divider { width: 1px; height: 14px; background: rgba(255,255,255,.18); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  color: #fff;
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(0,0,0,.22); }
.site-header__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; color: #fff; }
.site-logo img { height: 50px; width: auto; }
.site-logo__text { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.site-logo__text small { display: block; font-weight: 500; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.primary-nav { display: flex; align-items: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; background: none; cursor: pointer;
  color: rgba(255,255,255,.9); font-family: var(--font-head); font-weight: 500; font-size: .93rem; text-decoration: none; border-radius: var(--r-sm);
  white-space: nowrap;
}
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-link .nav-caret { font-size: .65rem; opacity: .7; transition: transform .2s var(--ease); }
.nav-item.is-open > .nav-link .nav-caret { transform: rotate(180deg); }
.nav-sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 50%;
  min-width: 240px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border-top: 3px solid var(--accent);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.is-open > .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1100px) {
  .nav-item:hover > .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-item:hover > .nav-link .nav-caret { transform: rotate(180deg); }
}
.nav-sub a { display: block; padding: 9px 12px; border-radius: var(--r-sm); color: var(--navy-800); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
.nav-toggle { display: none; }
.nav-drawer-extras { display: none; }
.nav-backdrop { display: none; }

@media (max-width: 1099px) {
  .utility-bar { display: none; }
  .site-logo img { height: 42px; }
  :root { --header-h: 64px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--r-sm);
    background: rgba(255,255,255,.08); border: 0; color: #fff; cursor: pointer; font-size: 1.2rem;
  }
  .nav-toggle .icon-close { display: none; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: inline; }
  .primary-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 auto; width: min(420px, 100%);
    flex-direction: column; align-items: stretch; background: #fff; color: var(--ink);
    transform: translateX(100%); transition: transform .3s var(--ease), visibility .3s; visibility: hidden;
    overflow-y: auto; overscroll-behavior: contain; z-index: 49; box-shadow: var(--shadow-lg);
  }
  .nav-open .primary-nav { transform: none; visibility: visible; }
  .nav-backdrop { display: block; position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; background: rgba(10,18,25,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 48; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; color: var(--navy-800); padding: 16px 22px; font-size: 1rem; font-weight: 600; border-radius: 0; }
  .nav-link:hover, .nav-item.is-open > .nav-link, .nav-link[aria-current="page"] { background: var(--navy-50); color: var(--navy-900); }
  .nav-sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-radius: 0; min-width: 0; padding: 0 0 10px; display: none; background: var(--navy-50); }
  .nav-sub::before { display: none; }
  .nav-item.is-open > .nav-sub { display: block; transform: none; }
  .nav-sub a { padding: 11px 22px 11px 36px; border-radius: 0; }
  .nav-drawer-extras { display: block; padding: 18px 22px 28px; background: var(--navy-900); color: #fff; margin-top: auto; }
  .nav-drawer-extras .eyebrow { color: rgba(255,255,255,.5); }
  .nav-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; list-style: none; margin: 0 0 14px; padding: 0; }
  .nav-quick a { display: flex; align-items: center; gap: 8px; padding: 8px 0; color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; }
  .nav-quick a i { color: var(--accent); width: 16px; text-align: center; }
  body.nav-open { overflow: hidden; }
}

/* 8. PAGE HERO & IN-PAGE NAV ------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 96px);
  background: var(--navy-900);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-image); background-size: cover; background-position: center;
}
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(44,62,80,.9) 0%, rgba(30,30,28,.94) 100%); }
.page-hero__inner { width: min(900px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero p { color: rgba(255,255,255,.88); font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); max-width: 680px; margin-inline: auto; line-height: 1.7; }
.page-hero .cluster { justify-content: center; margin-top: 1.8rem; }
.page-hero--home { text-align: left; min-height: min(78vh, 720px); display: flex; align-items: center; padding-block: clamp(80px, 12vw, 160px); }
.page-hero--home .page-hero__inner { width: min(var(--container), 100% - 2 * var(--gutter)); }
.page-hero--home h1 { font-size: clamp(2.3rem, 1.5rem + 4vw, 4.6rem); max-width: 14ch; }
.page-hero--home p { margin-inline: 0; }
.page-hero--home .cluster { justify-content: flex-start; }
.page-hero--home::after { background: linear-gradient(100deg, rgba(20,32,41,.92) 0%, rgba(20,32,41,.7) 45%, rgba(20,32,41,.25) 100%); }

.page-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.page-nav__card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border-top: 4px solid var(--accent); padding: 18px; }
.page-nav__label { display: block; font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 6px; }
.page-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.page-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .86rem; text-decoration: none; border-left: 3px solid transparent; transition: background .15s, color .15s; }
.page-nav a i { width: 18px; text-align: center; color: var(--accent-ink); opacity: .85; }
.page-nav a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.page-nav a.is-active { background: var(--accent); color: var(--navy-950); }
.page-nav a.is-active i { color: var(--navy-950); }
.page-nav__aside { margin-top: 16px; }
.page-nav__meta { margin: 0 0 12px 6px; }
.card img { border-radius: var(--r-sm); }

@media (max-width: 899px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .page-nav { top: var(--header-h); z-index: 20; margin-inline: calc(-1 * var(--gutter)); }
  .admin-bar .page-nav { top: calc(var(--header-h) + 46px); }
  .page-nav__card { border-radius: 0; border-top: 0; border-bottom: 1px solid var(--line); box-shadow: 0 6px 14px rgba(20,32,41,.06); padding: 10px var(--gutter); }
  .page-nav__label { display: none; }
  .page-nav ul { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 32px; }
  .page-nav ul::-webkit-scrollbar { display: none; }
  .page-nav a { white-space: nowrap; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; font-size: .8rem; background: var(--surface); }
  .page-nav a.is-active { border-color: var(--accent); }
  .page-nav__aside { display: none; }
  .page-body { padding-top: 28px; }
}
@media (max-width: 600px) { .admin-bar .page-nav { top: var(--header-h); } }

/* 9. CARDS & GRIDS ----------------------------------------------------- */
.grid { display: grid; gap: var(--gap, clamp(16px, 2vw, 24px)); grid-template-columns: repeat(auto-fill, minmax(min(var(--min, 260px), 100%), 1fr)); }
.grid--2 { --min: 320px; }
.grid--3 { --min: 240px; }
.grid--4 { --min: 200px; }
.grid--tight { --gap: 12px; }
.card {
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; gap: .75rem; min-width: 0; overflow-wrap: anywhere;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card > * { margin: 0; }
.card h3 { font-size: 1.12rem; }
.card--accent { border-top: 3px solid var(--accent); }
.card--feature { background: var(--navy-900); color: rgba(255,255,255,.85); border-color: transparent; }
.card--feature h3, .card--feature h4 { color: #fff; }
.card--feature a:not(.btn) { color: var(--accent); }
.cta-band a:not(.btn) { color: var(--accent); }
.card--soft { background: var(--navy-50); box-shadow: none; }
.card--sand { background: var(--sand); box-shadow: none; border-color: #ecdfc5; }
a.card, .card--hover { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: inline-grid; place-items: center; flex: none;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 1.2rem;
}
.card--feature .card__icon { background: rgba(255,165,0,.15); color: var(--accent); }
.card__head { display: flex; align-items: flex-start; gap: 14px; }
.card__head h3 { margin: 0; }
.card__head .tags { margin-top: 6px; }
.card__foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.card__meta { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--muted); }
.card__meta span, .card__foot span, .card__foot a { display: flex; align-items: flex-start; gap: 9px; overflow-wrap: anywhere; }
.card__meta i, .card__foot i { color: var(--accent-ink); width: 16px; text-align: center; margin-top: 4px; font-size: .85rem; flex: none; }
.card__link { margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .03em; padding: 3px 9px; border-radius: var(--r-pill); background: var(--navy-50); color: var(--navy-700); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); background: var(--accent); color: var(--navy-950); }
.badge--soft { background: var(--accent-soft); color: var(--accent-ink); }
.badge--dark { background: var(--navy-800); color: #fff; }
.badge--success { background: var(--success-soft); color: var(--success); }

/* 10. ICON LISTS ------------------------------------------------------- */
.icon-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list li > i { flex: none; width: 22px; margin-top: 4px; text-align: center; color: var(--accent-ink); }
.icon-list--check li > i { color: var(--success); }
.icon-list--compact { gap: .4rem; font-size: .95rem; }
.icon-list--cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.feature-list { display: grid; gap: 14px; }
.feature-list--grid { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.feature .card__icon { width: 42px; height: 42px; font-size: 1rem; }
.feature h4 { margin: 0 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.steps li h4 { margin: 0 0 4px; }
.steps li p { margin: 0; color: var(--muted); }

/* 11. CALLOUTS --------------------------------------------------------- */
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r); background: var(--accent-soft); border-left: 4px solid var(--accent); color: var(--ink); margin: 1.5rem 0; }
.callout > i { color: var(--accent-ink); margin-top: 4px; flex: none; }
.callout > div > *:last-child { margin-bottom: 0; }
.callout h4 { margin: 0 0 .3rem; }
.callout--info { background: var(--info-soft); border-color: var(--info); }
.callout--info > i { color: var(--info); }
.callout--success { background: var(--success-soft); border-color: var(--success); }
.callout--success > i { color: var(--success); }
.callout--danger { background: var(--danger-soft); border-color: var(--danger); }
.callout--danger > i { color: var(--danger); }
.callout--plain { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--navy-800); }

.cta-band { border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band .eyebrow { color: var(--accent); }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,165,0,.22), transparent 70%); pointer-events: none; }

/* 12. STATS ------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r); padding: 18px 14px; text-align: center; }
.stat__value { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); color: var(--accent-ink); line-height: 1.05; }
.stat__label { display: block; margin-top: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* 13. SCHEDULES -------------------------------------------------------- */
.schedule { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.schedule-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.schedule-card__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 700; }
.schedule-card__head i { color: var(--accent); }
.schedule-card--highlight .schedule-card__head { background: var(--accent); color: var(--navy-950); }
.schedule-card--highlight .schedule-card__head i { color: var(--navy-950); }
.schedule-card__body { padding: 6px 18px 12px; }
.time-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.time-row:last-child { border-bottom: 0; }
.time-row__label { color: var(--muted); font-size: .95rem; }
.time-row__time { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); text-align: right; white-space: nowrap; }
.time-row--muted .time-row__time { color: var(--muted); font-weight: 500; font-family: var(--font-body); white-space: normal; }
.time-row__sub { display: block; font-size: .75rem; color: var(--accent-ink); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

/* 14. ACCORDION -------------------------------------------------------- */
.accordion { display: grid; gap: 10px; }
.accordion details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.accordion details[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-family: var(--font-head); font-weight: 600; color: var(--navy-800); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .75rem; margin-left: auto; color: var(--muted); transition: transform .2s var(--ease); }
.accordion details[open] summary::after { transform: rotate(180deg); }
.accordion summary > i { color: var(--accent-ink); width: 20px; text-align: center; }
.accordion summary .summary-meta { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: .82rem; color: var(--muted); }
.accordion summary .summary-meta + * { margin-left: 0; }
.accordion__body { padding: 0 20px 20px; color: var(--ink); }
.accordion__body > *:last-child { margin-bottom: 0; }

/* 15. TABS ------------------------------------------------------------- */
.tabs__list { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs__tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .85rem; cursor: pointer; transition: all .15s; }
.tabs__tab:hover { border-color: var(--accent); color: var(--accent-ink); }
.tabs__tab[aria-selected="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.tabs__tab .count { font-size: .72rem; opacity: .7; }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeIn .25s ease; }
@media (max-width: 600px) {
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab { white-space: nowrap; }
}

/* 16. TIMELINE / FEED -------------------------------------------------- */
.timeline { position: relative; display: grid; gap: 16px; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline__item { position: relative; }
.timeline__item::before { content: ''; position: absolute; left: -26px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--navy-700); }
.timeline__item.is-latest::before { border-color: var(--accent); background: var(--accent); }
.timeline__item details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.timeline__item summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px; font-family: var(--font-head); font-weight: 700; color: var(--navy-800); }
.timeline__item summary::-webkit-details-marker { display: none; }
.timeline__item summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .75rem; margin-left: auto; color: var(--muted); transition: transform .2s; }
.timeline__item details[open] summary::after { transform: rotate(180deg); }
.timeline__body { padding: 0 20px 20px; }

/* 17. TABLES ----------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--font-head); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--navy-50); }
.table tr:last-child td { border-bottom: 0; }
.price { font-family: var(--font-head); font-weight: 800; color: var(--navy-800); font-size: 1.5rem; }
.price small { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* 18. FORMS ------------------------------------------------------------ */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field-label { font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--navy-800); }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, .form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form input[type=date], .form input[type=url], .form input[type=password], .form select, .form textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #cfd7de; border-radius: var(--r-sm); background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.form textarea { min-height: 120px; resize: vertical; }
.input:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,165,0,.22); }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.choice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; font-size: .95rem; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { accent-color: var(--accent-600); width: 18px; height: 18px; flex: none; }
.form-msg { padding: 12px 16px; border-radius: var(--r-sm); font-size: .92rem; }
.form-msg:empty { display: none; }
.form-msg--success { background: var(--success-soft); color: var(--success); }
.form-msg--error { background: var(--danger-soft); color: var(--danger); }
.form-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); border-top: 4px solid var(--accent); padding: clamp(20px, 3.5vw, 36px); }

/* 19. GALLERY & MEDIA -------------------------------------------------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 46%), 1fr)); }
.gallery a, .gallery figure { display: block; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); background: var(--navy-50); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.media-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-100); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--logo { box-shadow: none; background: #fff; border: 1px solid var(--line); }
.media-frame--logo img { object-fit: contain; padding: 12px; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy-50); border: 1px solid var(--line); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--map { aspect-ratio: 4 / 3; }
.embed--tall { aspect-ratio: auto; height: min(80vh, 760px); }
@media (min-width: 900px) { .embed--map { aspect-ratio: 16 / 8; } }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); background: var(--surface); border: 1px dashed #cfd7de; border-radius: var(--r); }
.empty-state i { font-size: 2rem; opacity: .35; display: block; margin-bottom: 10px; }

/* Lightbox (theme-native, replaces lightGallery CDN) */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8,12,16,.92); display: grid; place-items: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; max-width: min(1200px, 100%); width: auto; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .85rem; }

/* 20. PEOPLE & CONTACTS ------------------------------------------------ */
.person { display: flex; gap: 14px; align-items: flex-start; }
.person__avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.person__name { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); line-height: 1.3; }
.person__role { font-size: .85rem; color: var(--muted); }
.contact-lines { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: 4px; font-size: .92rem; }
.contact-lines a { color: var(--navy-800); text-decoration: none; display: inline-flex; gap: 8px; align-items: baseline; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--accent-ink); text-decoration: underline; }
.contact-lines i { color: var(--accent-ink); width: 14px; text-align: center; font-size: .8rem; }

/* 21. ARCHIVE ROWS ----------------------------------------------------- */
.archive-list { display: grid; gap: 10px; }
.archive-row { display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; position: relative; transition: box-shadow .2s, border-color .2s, transform .2s; }
.archive-row:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateX(3px); color: inherit; }
.date-badge { flex: none; width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--accent-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.date-badge__day { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--accent-ink); }
.date-badge__mon { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.archive-row__body { flex: 1; min-width: 0; }
.archive-row__eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 3px; }
.archive-row__title { font-size: 1.02rem; margin: 0; color: var(--navy-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.archive-row__sub { font-size: .88rem; color: var(--muted); margin: 3px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.archive-row__cta { flex: none; font-size: .8rem; font-weight: 700; color: var(--accent-ink); display: flex; align-items: center; gap: 6px; }
@media (max-width: 600px) {
  .archive-row { gap: 12px; padding: 12px 14px; }
  .archive-row__cta { display: none; }
  .archive-row__title { white-space: normal; }
  .date-badge { width: 48px; height: 48px; }
}
.load-more { display: flex; justify-content: center; margin-top: 18px; }

/* 22. HELP FINDER ------------------------------------------------------ */
.help-finder { background: linear-gradient(180deg, var(--sand) 0%, var(--bg) 100%); border-top: 1px solid #efe4cf; padding-block: clamp(56px, 7vw, 88px); }
.help-finder__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; margin-top: 32px; }
.help-finder__option { text-align: center; padding: 22px 16px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; transition: all .2s var(--ease); font: inherit; color: inherit; }
.help-finder__option i { font-size: 1.7rem; color: var(--navy-800); margin-bottom: 10px; display: block; }
.help-finder__option strong { display: block; font-family: var(--font-head); color: var(--navy-800); margin-bottom: 4px; }
.help-finder__option span { font-size: .86rem; color: var(--muted); }
.help-finder__option:hover { border-color: var(--accent); transform: translateY(-3px); }
.help-finder__option[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); }
.help-finder__option[aria-selected="true"] i { color: var(--accent-ink); }
.help-finder__panel { margin-top: 20px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); border-left: 5px solid var(--accent); text-align: left; }
.help-finder__panel[hidden] { display: none; }
.help-finder__panel h3 { margin-bottom: .25rem; }
.action-list { display: grid; gap: 10px; margin-top: 18px; }
.action-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--navy-50); border: 1px solid transparent; border-radius: var(--r-sm); text-decoration: none; color: inherit; transition: all .2s var(--ease); }
a.action-item:hover { background: var(--accent-soft); border-color: var(--accent); transform: translateX(4px); color: inherit; }
.action-item > i:first-child { color: var(--accent-ink); width: 20px; text-align: center; }
.action-item__title { font-weight: 600; color: var(--navy-800); }
.action-item__desc { font-size: .88rem; color: var(--muted); }
.action-item__arrow { margin-left: auto; color: var(--accent-ink); opacity: .6; }

/* 23. FOOTER ----------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); position: relative; }
.site-footer::before { content: ''; display: block; height: 4px; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 48px); padding-block: clamp(48px, 6vw, 72px); }
.footer-logo img { height: 64px; width: auto; margin-bottom: 16px; }
.footer-about p { font-size: .95rem; }
.footer-verse { margin-top: 16px; padding: 14px 16px; background: rgba(255,165,0,.08); border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.footer-verse p { font-family: var(--font-serif); font-style: italic; color: rgba(255,255,255,.9); margin: 0 0 4px; }
.footer-verse span { font-size: .8rem; color: rgba(255,255,255,.55); }
.footer-heading { font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a i { font-size: .7rem; opacity: .6; }
.footer-contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--accent); width: 18px; text-align: center; margin-top: 4px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.social-links a:hover { background: var(--accent); color: var(--navy-950); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); font-size: .84rem; }
.footer-bottom__inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; color: rgba(255,255,255,.55); }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
  .footer-bottom__links { justify-content: center; }
}

/* 24. UTILITIES & MOTION ----------------------------------------------- */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .75rem !important; } .mt-2 { margin-top: 1.5rem !important; } .mt-3 { margin-top: 2.5rem !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .75rem !important; } .mb-2 { margin-bottom: 1.5rem !important; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.hide-sm { } @media (max-width: 600px) { .hide-sm { display: none !important; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* =====================================================================
   PAGE-SPECIFIC COMPOSITIONS (built from the components above)
   ===================================================================== */

/* Home */
.home-times { margin-top: -64px; position: relative; z-index: 2; }
.home-times .schedule { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.home-times .schedule-card { box-shadow: var(--shadow-lg); border: 0; }
.home-about .media-frame { aspect-ratio: 4 / 3; }
.home-diocese { position: relative; isolation: isolate; text-align: center; color: rgba(255,255,255,.88); padding-block: clamp(64px, 9vw, 120px); overflow: hidden; }
.home-diocese::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--hero-image) center / cover fixed; }
.home-diocese::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(20,32,41,.86); }
.home-diocese h2 { color: #fff; }
.home-diocese .lead { color: rgba(255,255,255,.85); margin-inline: auto; }
.home-diocese .fa-cross { font-size: 2.2rem; color: var(--accent); margin-bottom: 1rem; }
@media (hover: none) { .home-diocese::before { background-attachment: scroll; } }
.home-quicklinks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

/* Lottery ticket (entry form) */
.ticket { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); max-width: 760px; }
.ticket__stub { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: #fff; padding: 22px clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.ticket__brand { display: flex; align-items: center; gap: 12px; }
.ticket__brand .card__icon { background: var(--accent); color: var(--navy-950); }
.ticket__brand small { display: block; color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.ticket__brand strong { font-family: var(--font-head); font-size: 1.1rem; }
.ticket__pill { margin-left: auto; }
.ticket__prices { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.ticket__label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ticket__amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); line-height: 1; color: #fff; }
.ticket__amount sup { font-size: .45em; vertical-align: super; margin-right: 2px; }
.ticket__freq { font-size: .85rem; color: rgba(255,255,255,.7); }
.ticket__prize { text-align: right; }
.ticket__prize strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--accent); }
.ticket__perf { height: 0; border-top: 2px dashed var(--line); position: relative; }
.ticket__perf::before, .ticket__perf::after { content: ''; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.ticket__perf::before { left: -12px; } .ticket__perf::after { right: -12px; }
.ticket__body { padding: clamp(18px, 3vw, 28px); display: grid; gap: 22px; }
.ticket__step { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--navy-800); margin-bottom: 12px; }
.ticket__step span { width: 26px; height: 26px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.option-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); }
.option-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.option label { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 8px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; transition: all .15s; height: 100%; }
.option label:hover { border-color: var(--accent); }
.option input:checked + label { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(255,165,0,.18); }
.option input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.option__big { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy-800); line-height: 1.1; }
.option__name { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); }
.option__sub { font-size: .78rem; color: var(--muted); }
.bank-details { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bank-details div { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.bank-details div:last-child { border-bottom: 0; }
.bank-details dt { font-weight: 600; color: var(--muted); font-size: .9rem; }
.bank-details dd { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy-800); }
.bank-details dd small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .8rem; }
@media (max-width: 480px) { .bank-details div { grid-template-columns: 1fr; gap: 2px; } }

/* Promo box */
.promo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 100%); color: rgba(255,255,255,.85); padding: clamp(22px, 4vw, 38px); }
.promo h3 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; }
.promo h3 i { color: var(--accent); }
.promo__points { display: grid; gap: 10px; margin: 20px 0 24px; }
.promo__point { display: flex; gap: 12px; padding: 13px 16px; background: rgba(255,255,255,.08); border-radius: var(--r-sm); }
.promo__point i { color: var(--accent); margin-top: 4px; }
.promo__point strong { color: #fff; }
.promo__point--hi { background: rgba(255,165,0,.16); border-left: 3px solid var(--accent); }
.promo__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-size: .88rem; }
.promo__foot a:not(.btn) { color: var(--accent); }
.promo.is-hidden-from-public { opacity: .6; }
.promo__flag { position: absolute; top: 12px; right: 12px; }

.how-item { display: flex; gap: .6rem; align-items: flex-start; }
.how-item i { color: var(--accent-ink); margin-top: 5px; }
.cta-band .stat__value { color: var(--accent); text-align: left; }

/* Hall rates */
.rate-card .price { font-size: 1.8rem; }

/* Winners */
.winners-list { display: grid; gap: 10px; }
.winner-row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.winner-row__draw { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); }
.winner-row__draw small { display: block; font-family: var(--font-body); font-weight: 600; color: var(--accent-ink); font-size: .8rem; }
.winner-row__names { color: var(--ink); }
@media (max-width: 560px) { .winner-row { grid-template-columns: 1fr; gap: 4px; } }

/* Countdown */
.countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown__unit { min-width: 70px; padding: 12px 10px; text-align: center; background: var(--navy-800); color: #fff; border-radius: var(--r-sm); }
.countdown__unit strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1; }
.countdown__unit span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

/* Single communications (bulletin / broadcast / newsletter) */
.comm-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.comm-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .9rem; }
.comm-meta span { display: inline-flex; align-items: center; gap: 6px; }
.comm-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.comm-body img { border-radius: var(--r); margin-block: 1rem; }
.comm-section + .comm-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comm-section h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.comm-section h2 i { color: var(--accent-ink); }
.comm-section h3 { font-size: 1.08rem; margin-top: 1.2rem; }
.comm-section ul { padding-left: 1.2em; }
.comm-feature-img { aspect-ratio: 16/8; width: 100%; object-fit: cover; border-radius: var(--r); margin-bottom: 1.5rem; }
.comm-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.share-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.share-bar a, .share-bar button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--navy-800); cursor: pointer; text-decoration: none; }
.share-bar a:hover, .share-bar button:hover { border-color: var(--accent); color: var(--accent-ink); }

/* Feast header in bulletin */
.feast-head { text-align: center; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.feast-head h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
.feast-head p { color: var(--muted); }
.read-more-block[hidden] { display: none; }

/* Default page/post content */
.entry-header { margin-bottom: 1.5rem; }
.entry-content { font-size: 1.04rem; }
.entry-content > * + * { margin-top: 1em; }
.entry-content .alignwide { margin-inline: -4vw; }
.entry-content .wp-block-button__link { background: var(--accent); color: var(--navy-950); border-radius: var(--r-sm); font-weight: 700; }
.post-list { display: grid; gap: 16px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* 404 */
.error-404 { text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.error-404 .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); color: var(--accent); line-height: 1; }

/* Print */
@media print {
  .site-header, .utility-bar, .notice-bar, .page-nav, .help-finder, .site-footer, .edit-dock, .btn { display: none !important; }
  .page-layout { display: block; margin: 0; width: 100%; }
  .page-hero { color: #000; padding: 0 0 20px; background: none; }
  .page-hero::before, .page-hero::after { display: none; }
  .page-hero h1, .page-hero p { color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Document viewer (meeting minutes) */
.doc-viewer { width: min(1000px, 96vw); height: min(90vh, 1100px); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.doc-viewer[open] { display: flex; flex-direction: column; }
.doc-viewer::backdrop { background: rgba(10,18,25,.7); }
.doc-viewer__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.doc-viewer__title { flex: 1; font-family: var(--font-head); color: var(--navy-800); }
.doc-viewer__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy-50); cursor: pointer; }
.doc-viewer iframe { flex: 1; width: 100%; border: 0; background: var(--navy-50); }
.minutes > p:first-child { margin-bottom: 1rem; }

/* Subscriber self-service (Parish Office plugin pages rendered in-theme) */
.pb-ss-themed { margin-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 88px); }
.pb-ss-themed .pb-selfservice-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); border-top: 4px solid var(--accent); padding: clamp(20px, 4vw, 40px); }
.pb-ss-themed .pb-selfservice-title { font-size: 1.6rem; }
.pb-ss-themed .pb-selfservice-desc { color: var(--muted); }
.pb-ss-themed .pb-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.pb-ss-themed .pb-label, .pb-ss-themed .pb-ss-sublabel { font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--navy-800); }
.pb-ss-themed .pb-input, .pb-ss-themed .pb-textarea, .pb-ss-themed .pb-ss-other-input { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #cfd7de; border-radius: var(--r-sm); font: inherit; background: #fff; }
.pb-ss-themed .pb-input:focus, .pb-ss-themed .pb-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,165,0,.22); }
.pb-ss-themed .pb-otp-input { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-family: var(--font-head); }
.pb-ss-themed .pb-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 16px; }
.pb-ss-themed .pb-field-full { grid-column: 1 / -1; }
.pb-ss-themed .pb-ss-section-heading { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin: 26px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.pb-ss-themed .pb-ss-radio-row, .pb-ss-themed .pb-ss-checkbox-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
.pb-ss-themed .pb-ss-radio-label, .pb-ss-themed .pb-ss-check-label, .pb-ss-themed .pb-ss-toggle-label { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; }
.pb-ss-themed input[type=checkbox] { accent-color: var(--accent-600); width: 18px; height: 18px; }
.pb-ss-themed .pb-ss-conditional { padding: 14px; background: var(--navy-50); border-radius: var(--r); }
.pb-ss-themed .pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: .7em 1.3em; border-radius: var(--r-sm); font-family: var(--font-head); font-weight: 700; font-size: .88rem; border: 2px solid transparent; cursor: pointer; text-decoration: none; }
.pb-ss-themed .pb-btn-primary { background: var(--accent); color: var(--navy-950); }
.pb-ss-themed .pb-btn-primary:hover { background: var(--accent-600); }
.pb-ss-themed .pb-btn-ghost { background: transparent; color: var(--muted); }
.pb-ss-themed .pb-btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.pb-ss-themed .pb-btn-danger-outline { border-color: #e7b4ae; color: var(--danger); background: #fff; }
.pb-ss-themed .pb-btn-full { width: 100%; }
.pb-ss-themed .pb-ss-msg { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 14px; background: var(--info-soft); }
.pb-ss-themed .pb-ss-msg.error { background: var(--danger-soft); color: var(--danger); }
.pb-ss-themed .pb-ss-msg.success { background: var(--success-soft); color: var(--success); }
.pb-ss-themed .pb-selfservice-unsub-section { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.pb-ss-themed .pb-selfservice-done { text-align: center; }
.pb-ss-themed .pb-selfservice-done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--success-soft); color: var(--success); font-size: 1.6rem; }
