/* ASC site-wide header and footer · ASC-1130-05 · Mon 30 Nov 2026
   Contained: every selector starts with .asc-sw. No element, :root, html or body rules. Sizes are in px, so the host page's root font size does not matter.
   Fonts loaded (2 files): 'ASC Inter' variable 100–900 (used at 400, 500, 600) · 'ASC Fraunces' 400 italic (the Psalm line only).
   The family names are private to this file, so no font on the old pages changes. */
@font-face { font-family: 'ASC Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations'), url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'ASC Fraunces'; src: url('fonts/fraunces-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

.asc-sw {
  --asc-cream: #F8F3ED; --asc-ink: #1A1A1A; --asc-navy: #363763; --asc-gold: #C5A572; --asc-gold-hover: #A8895D; --asc-blue: #1F76B1; --asc-rule: #EDEAE4;
  --asc-cream-82: rgba(248, 243, 237, .82); --asc-cream-25: rgba(248, 243, 237, .25);
  --asc-max: clamp(1280px, 80vw, 1920px); --asc-gutter: clamp(16px, 4vw, 32px);
  display: block; margin: 0; padding: 0; border: 0; text-align: left; text-transform: none; letter-spacing: normal; text-shadow: none;
  font: 400 16px/1.6 'ASC Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--asc-ink); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased;
}
.asc-sw, .asc-sw *, .asc-sw *::before, .asc-sw *::after { box-sizing: border-box; }
.asc-sw ul, .asc-sw li, .asc-sw p, .asc-sw nav, .asc-sw div { margin: 0; padding: 0; border: 0; background: none; list-style: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; max-width: none; }
.asc-sw li::before, .asc-sw li::marker { content: none; }
.asc-sw a, .asc-sw button { font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; text-shadow: none; box-shadow: none; background: none; border: 0; margin: 0; padding: 0; border-radius: 0; min-width: 0; width: auto; height: auto; line-height: inherit; text-decoration: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.asc-sw a:focus-visible, .asc-sw button:focus-visible { outline: 2px solid var(--asc-blue); outline-offset: 2px; }
.asc-sw [hidden] { display: none !important; }

/* Logo: one SVG, drawn in the current text colour */
.asc-sw .asc-sw-logo { display: block; flex: none; width: 168px; color: var(--asc-navy); }
.asc-sw .asc-sw-logo__mark { display: block; width: 100%; aspect-ratio: 3250 / 900; background: currentColor; -webkit-mask: url('img/asc-logo-1130-05.svg') center / contain no-repeat; mask: url('img/asc-logo-1130-05.svg') center / contain no-repeat; }

/* ---------- Header ---------- */
.asc-sw.asc-sw-header { position: sticky; top: 0; z-index: 1000; width: 100%; background: var(--asc-cream); border-bottom: 1px solid var(--asc-rule); }
.admin-bar .asc-sw.asc-sw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .asc-sw.asc-sw-header { top: 46px; } }
.asc-sw .asc-sw-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; max-width: var(--asc-max); margin: 0 auto; padding: 0 var(--asc-gutter); }
.asc-sw .asc-sw-nav { display: none; }
.asc-sw .asc-sw-nav__list { display: flex; align-items: center; gap: 24px; }
.asc-sw .asc-sw-nav__link { position: relative; display: block; padding: 8px 0; font-weight: 500; color: var(--asc-ink); white-space: nowrap; }
.asc-sw .asc-sw-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--asc-blue); transform: scaleX(0); transform-origin: left; transition: transform 250ms cubic-bezier(.2, 0, 0, 1); }
.asc-sw .asc-sw-nav__link:hover::after, .asc-sw .asc-sw-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.asc-sw .asc-sw-header__right { display: flex; align-items: center; gap: 12px; flex: none; }
.asc-sw .asc-sw-phone { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--asc-ink); text-decoration: underline; text-decoration-color: var(--asc-blue); text-underline-offset: 3px; white-space: nowrap; }
.asc-sw .asc-sw-book { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border: 1.5px solid var(--asc-navy); border-radius: 999px; background: var(--asc-gold); color: var(--asc-ink); font-weight: 600; line-height: 1; letter-spacing: .01em; white-space: nowrap; transition: background-color 150ms cubic-bezier(.2, 0, 0, 1); }
.asc-sw .asc-sw-book:hover { background: var(--asc-gold-hover); color: var(--asc-ink); }
.asc-sw .asc-sw-header__right > .asc-sw-book { display: none; }
.asc-sw .asc-sw-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #1E5B8C; border-radius: 999px; color: #1E5B8C; }
.asc-sw .asc-sw-toggle svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.asc-sw .asc-sw-toggle .asc-sw-toggle__x, .asc-sw .asc-sw-toggle[aria-expanded="true"] .asc-sw-toggle__bars { display: none; }
.asc-sw .asc-sw-toggle[aria-expanded="true"] .asc-sw-toggle__x { display: block; }

/* Mobile menu: a panel under the header bar */
.asc-sw .asc-sw-menu { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; background: var(--asc-cream); border-top: 1px solid var(--asc-rule); border-bottom: 1px solid var(--asc-rule); box-shadow: 0 16px 32px rgba(54, 55, 99, .16); padding: 8px var(--asc-gutter) 24px; }
.asc-sw .asc-sw-menu__link { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--asc-rule); font-size: 18px; font-weight: 500; color: var(--asc-ink); }
.asc-sw .asc-sw-menu__link[aria-current="page"] { font-weight: 600; color: var(--asc-navy); }
.asc-sw .asc-sw-menu__foot { display: grid; gap: 12px; padding-top: 20px; }
.asc-sw .asc-sw-menu__foot .asc-sw-book { min-height: 48px; width: 100%; }
.asc-sw .asc-sw-menu__call { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; width: 100%; border: 1px solid var(--asc-navy); border-radius: 999px; font-weight: 600; color: var(--asc-navy); }

@media (min-width: 1180px) {
  .asc-sw .asc-sw-nav { display: block; }
  .asc-sw .asc-sw-header__right > .asc-sw-book { display: inline-flex; }
  .asc-sw .asc-sw-toggle, .asc-sw .asc-sw-menu { display: none !important; }
}

/* ---------- Footer: the navy card, full width with 24 px left, right and below ---------- */
.asc-sw.asc-sw-footer { width: 100%; padding: 48px 24px 24px; background: transparent; }
.asc-sw .asc-sw-footer__card { background: var(--asc-navy); color: var(--asc-cream); border-radius: 24px; overflow: hidden; padding: 48px 48px 32px; }
.asc-sw .asc-sw-footer__in { max-width: calc(var(--asc-max) - 2 * var(--asc-gutter)); margin: 0 auto; }
.asc-sw .asc-sw-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; }
.asc-sw .asc-sw-logo--inverse { width: 200px; color: var(--asc-cream); }
.asc-sw .asc-sw-footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.asc-sw .asc-sw-footer__nav a { font-weight: 600; color: var(--asc-cream); }
.asc-sw .asc-sw-footer__nav a:hover { text-decoration: underline; }
.asc-sw .asc-sw-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.asc-sw .asc-sw-footer__k { margin-bottom: 12px; font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; color: var(--asc-cream); }
.asc-sw .asc-sw-footer__phone { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 600; color: var(--asc-cream); }
.asc-sw .asc-sw-footer__mail { display: inline-flex; align-items: center; min-height: 44px; color: var(--asc-cream); text-decoration: underline; text-decoration-color: var(--asc-gold); text-underline-offset: 3px; word-break: break-word; }
.asc-sw .asc-sw-footer__addr { margin-top: 8px; color: var(--asc-cream-82); }
.asc-sw .asc-sw-footer__psalm { display: block; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--asc-gold); font: italic 400 16px/1.4 'ASC Fraunces', Georgia, serif; color: var(--asc-cream-82); max-width: 240px; }
.asc-sw .asc-sw-footer__links { display: grid; gap: 8px; }
.asc-sw .asc-sw-footer__links a { display: inline-block; color: var(--asc-cream); text-decoration: underline; text-decoration-color: var(--asc-gold); text-underline-offset: 3px; }
.asc-sw .asc-sw-footer__legal { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--asc-cream-25); }
.asc-sw .asc-sw-footer__social { display: flex; gap: 12px; }
.asc-sw .asc-sw-footer__soc { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(248, 243, 237, .7); border-radius: 50%; color: var(--asc-cream); }
.asc-sw .asc-sw-footer__soc svg { display: block; width: 20px; height: 20px; }
.asc-sw .asc-sw-footer__soc:hover { background: rgba(248, 243, 237, .12); }
.asc-sw .asc-sw-footer__permit, .asc-sw .asc-sw-footer__copy { font-size: 14px; color: var(--asc-cream-82); }
.asc-sw .asc-sw-footer__permit { text-align: center; grid-column: 2; }
.asc-sw .asc-sw-footer__copy { grid-column: 3; text-align: right; }
.asc-sw .asc-sw-footer a:focus-visible { outline-color: var(--asc-cream); }

@media (max-width: 1023.98px) {
  .asc-sw .asc-sw-footer__legal { grid-template-columns: 1fr; }
  .asc-sw .asc-sw-footer__permit, .asc-sw .asc-sw-footer__copy { grid-column: 1; text-align: left; }
}
@media (max-width: 767.98px) {
  .asc-sw.asc-sw-footer { padding-top: 32px; }
  .asc-sw .asc-sw-footer__card { border-radius: 16px; padding: 40px 24px 24px; }
  .asc-sw .asc-sw-footer__cols { grid-template-columns: 1fr; margin-top: 32px; }
  .asc-sw .asc-sw-footer__nav ul { gap: 4px 20px; }
  .asc-sw .asc-sw-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- Winter pages only: the ambient-sound button (header-winter.html). The winter script finds it by its r5-sound class; these rules draw it. ---------- */
.asc-sw .asc-sw-sound { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0; border: 1px solid var(--asc-rule); border-radius: 999px; color: var(--asc-ink); font-size: 12px; font-weight: 500; line-height: 1; }
.asc-sw .asc-sw-sound svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.asc-sw .asc-sw-sound svg path:first-child { fill: currentColor; stroke: none; }
.asc-sw .asc-sw-sound .r5-sound__waves { opacity: .25; }
.asc-sw .asc-sw-sound[aria-pressed="true"] { border-color: var(--asc-gold); }
.asc-sw .asc-sw-sound[aria-pressed="true"] .r5-sound__waves { opacity: 1; stroke: var(--asc-gold); }
.asc-sw .asc-sw-sound .r5-sound__label, .asc-sw .asc-sw-sound .r5-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 1400px) { .asc-sw .asc-sw-sound { padding: 0 16px; } .asc-sw .asc-sw-sound .r5-sound__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }

/* ---------- Small phones: keep the bar on one line ---------- */
@media (max-width: 400px) {
  .asc-sw .asc-sw-header__in { gap: 8px; }
  .asc-sw .asc-sw-header__right { gap: 8px; }
  .asc-sw.asc-sw-header .asc-sw-logo { width: 132px; }
  .asc-sw.asc-sw-header--winter .asc-sw-header__in { gap: 6px; padding: 0 12px; }
  .asc-sw.asc-sw-header--winter .asc-sw-header__right { gap: 6px; }
  .asc-sw.asc-sw-header--winter .asc-sw-logo { width: 116px; }
}
@media (max-width: 339.98px) {
  .asc-sw .asc-sw-header__in { padding: 0 12px; }
  .asc-sw.asc-sw-header .asc-sw-logo { width: 112px; }
  .asc-sw.asc-sw-header--winter .asc-sw-sound { display: none; }
}

/* ===== ASC-1130-05 · live additions (Dev, 30 Nov 2026). Design's asc-sitewide-1130-05.css is unchanged above this line. ===== */
/* Item 7: the site-wide floating "Call To Book" button (Buttonizer) is 52 px tall and sits 25 px above the bottom edge at 390 and 1280
   (measured on /faq/). Footer bottom padding = button height + 16 px, so the © line clears it when the page is scrolled to the end. */
.asc-sw.asc-sw-footer { padding-bottom: calc(52px + 16px); }
/* In Bricks the header template is wrapped in <header id="brx-header"> (the banner landmark), so Design's own <header> is output as a <div>
   (same classes), and the stickiness moves to the Bricks wrapper: a sticky child of a same-height parent would scroll away with it.
   This file loads only with the ASC-1130-05 templates, so these rules never reach a page that still uses the old header. */
#brx-header { position: sticky; top: 0; z-index: 1000; }
.admin-bar #brx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #brx-header { top: 46px; } }
