:root {
    --teal: #075f6c;
    --teal-dark: #064a55;
    --teal-soft: #dcecee;
    --ink: #24313a;
    --muted: #5f6c73;
    --paper: #fffdfa;
    --white: #ffffff;
    --peach: #f4d8c8;
    --terracotta: #98503c;
    --coral: #d87561;
    --coral-soft: #f9ddd6;
    --sand: #eadcc8;
    --blush: #f7e8df;
    --blue-pale: #eaf4f8;
    --sky: #4f89a8;
    --sky-soft: #dceef7;
    --sage: #dde8e1;
    --sage-deep: #527863;
    --sunshine: #e7b94d;
    --sunshine-soft: #fff1c7;
    --plum: #6c4b8b;
    --plum-soft: #eee4f6;
    --line: #d8dfdf;
    --shadow: 0 18px 50px rgba(27, 55, 60, .11);
    --radius: 1.25rem;
    --page: min(1180px, calc(100% - 2rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}
html.journey-dialog-open, body.journey-dialog-open { overflow: hidden; overscroll-behavior: none; }
html.mobile-nav-open, body.mobile-nav-open { overscroll-behavior: none; }
body.mobile-nav-open { touch-action: none; }
body.mobile-nav-open .mobile-nav nav { touch-action: pan-y; }
img { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-underline-offset: .2em; }
a:hover { color: #8b4d39; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 750; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin-block: 0; }
button, input, textarea, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #155eef; outline-offset: 3px; box-shadow: 0 0 0 6px white; }
h1:focus { outline: none; box-shadow: none; }
main:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-200%); padding: .75rem 1rem; background: var(--ink); color: white; border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: var(--page); margin-inline: auto; }
.page-shell.narrow { max-width: 800px; }
.flow > * + * { margin-top: 1.25rem; }
.centered { text-align: center; }
.section { padding-block: clamp(3rem, 5.5vw, 5rem); }
.page-hero + .static-page-content, .page-hero + .news-index-content { padding-top: clamp(2rem, 4vw, 3.5rem); }
.section.tint { background: var(--blue-pale); }
.section-heading { max-width: 700px; }
.section-heading.centered { margin-inline: auto; }
.section-heading > * + * { margin-top: .65rem; }
.eyebrow { color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lede { color: #425159; font-size: clamp(1.15rem, 2.3vw, 1.45rem); line-height: 1.55; }
.meta { color: var(--muted); font-size: .92rem; }
.breadcrumbs { padding-block: .75rem; color: var(--muted); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: #91a0a4; }
.breadcrumbs a { font-weight: 750; }

.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); transition: background-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.99); box-shadow: 0 10px 25px rgba(27,55,60,.12); }
.header-inner { position: relative; width: var(--page); margin-inline: auto; padding-block: .45rem; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: stretch; gap: 1rem; }
.brand { justify-self: start; }
.brand img { width: 210px; height: auto; }
.desktop-nav { display: flex; justify-content: flex-end; flex-wrap: nowrap; gap: .08rem; }
.desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.55rem;
    padding: .55rem .58rem;
    border: 1px solid transparent;
    border-radius: .6rem;
    color: #32474d;
    background: transparent;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.desktop-nav a:hover { color: var(--teal-dark); background: var(--teal-soft); }
.desktop-nav a.active { color: var(--teal-dark); background: #edf6f6; box-shadow: inset 0 -3px var(--teal); }
.desktop-nav .desktop-search-link { margin-left: .2rem; border-color: #8caeb2; color: var(--teal-dark); }
.mobile-nav { display: none; width: 100%; }
.mobile-nav summary { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.8rem; cursor: pointer; list-style: none; padding: .55rem .8rem; border-radius: .6rem; color: white; background: var(--teal); font-weight: 750; text-align: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { display: grid; gap: .5rem; margin-top: .5rem; padding: .65rem; border: 1px solid var(--line); border-radius: .75rem; background: white; box-shadow: var(--shadow); }
.mobile-nav nav a { display: inline-flex; justify-content: center; align-items: center; min-height: 2.5rem; padding: .55rem .72rem; border: 1px solid transparent; border-radius: .6rem; color: white; background: #466f6d; font-size: .78rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.mobile-nav nav a:hover, .mobile-nav nav a.active { color: var(--teal-dark); background: white; border-color: #466f6d; }
.menu-icon { display: grid; gap: 3px; width: 1.15rem; }
.menu-icon i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.menu-chevron { width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.mobile-nav[open] .menu-chevron { transform: rotate(225deg) translate(-2px, -1px); }
.mobile-site-search { display: grid; grid-template-columns: 1fr auto; gap: .45rem; margin-bottom: .15rem; }
.mobile-site-search input { min-width: 0; min-height: 2.8rem; padding: .55rem .7rem; border: 1px solid #8aa4a8; border-radius: .5rem; }
.mobile-site-search button { min-height: 2.8rem; padding-inline: .8rem; border: 0; border-radius: .5rem; color: white; background: var(--teal); font-weight: 800; cursor: pointer; }
.mobile-quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-bottom: .3rem; }
.mobile-quick-links a { min-height: 2.35rem !important; padding: .4rem !important; color: var(--teal-dark) !important; background: var(--teal-soft) !important; font-size: .72rem !important; }

.site-notice { border-bottom: 1px solid rgba(0,0,0,.12); color: #15343a; background: #dcecee; }
.site-notice.important { color: #4e3200; background: #fff0be; }
.site-notice.urgent { color: white; background: #8a2424; }
.site-notice-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.4rem; padding-block: .6rem; }
.site-notice-inner div { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .75rem; }
.site-notice-inner a { flex: none; color: inherit; font-weight: 850; }

.sunday-live-banner { color: white; background: var(--plum); }
.sunday-live-banner.is-live { background: #9b2424; }
.sunday-live-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.4rem; padding-block: .55rem; }
.sunday-live-inner p { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.sunday-live-inner a { flex: none; color: white; font-weight: 850; }
.sunday-live-action-short { display: none; }
.live-dot { width: .7rem; height: .7rem; border-radius: 50%; background: white; box-shadow: 0 0 0 .25rem rgba(255,255,255,.2); }
.is-live .live-dot { animation: live-pulse 1.8s ease-out infinite; }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 .2rem rgba(255,255,255,.2); } 50% { box-shadow: 0 0 0 .45rem rgba(255,255,255,0); } }
.this-sunday-panel { border-block: 1px solid #bfd6d8; background: linear-gradient(120deg, #edf7f7, white); }
.this-sunday-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: clamp(1rem, 2vw, 1.75rem); padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.this-sunday-date { display: grid; grid-template-rows: auto 1fr auto; place-items: center; width: 4.75rem; min-height: 5.65rem; padding: .65rem .35rem; border-radius: .85rem; color: white; background: var(--teal); box-shadow: var(--shadow); font-size: .65rem; font-weight: 850; letter-spacing: .12em; line-height: 1; }
.this-sunday-date strong { align-self: center; margin-block: .15rem; font-size: 2.15rem; letter-spacing: -.06em; }
.this-sunday-copy h2 { color: var(--teal-dark); font-size: clamp(1.6rem, 3vw, 2.35rem); }
.this-sunday-facts { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin: 0; padding: 0; color: var(--muted); list-style: none; }
.this-sunday-facts li::before { content: "✓"; margin-right: .4rem; color: var(--teal); font-weight: 900; }
.this-sunday-actions { align-self: center; display: grid; gap: .55rem; min-width: 11rem; }

.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); min-height: min(700px, 72vh); border-bottom: .8rem solid var(--ink); background: white; }
.hero-copy { align-self: center; width: 100%; max-width: none; padding: clamp(3rem, 5vw, 6rem); }
.hero-copy h1 { max-width: 11ch; font-size: clamp(3rem, 5vw, 5.4rem); }
.hero-copy h1 span { color: var(--teal); }
.hero-copy > * + * { margin-top: 1.25rem; }
.hero-copy > p:not(.eyebrow, .hero-line) { max-width: 48rem; }
.hero-line { color: var(--teal-dark); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
.hero-image { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: center; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 3rem;
    padding: .75rem 1.2rem;
    border: 2px solid var(--teal);
    border-radius: 999px;
    background: var(--teal);
    color: white;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: var(--teal-dark); color: white; }
.button.secondary { color: var(--teal-dark); background: white; }
.button.light { color: var(--teal-dark); background: white; border-color: white; }
.button.small { min-height: 2.6rem; padding: .55rem 1rem; font-size: .9rem; }
.share-status:not(:empty) { align-self: center; color: var(--muted); font-size: .9rem; }
.text-link { font-weight: 800; text-decoration-thickness: .11em; }

.site-search-page h1 { color: var(--teal-dark); font-size: clamp(2.5rem, 6vw, 4.5rem); }
.site-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
.site-search-form input { min-width: 0; min-height: 3.25rem; padding: .7rem 1rem; border: 1px solid #8aa4a8; border-radius: 999px; font-size: 1.05rem; }
.search-result-count { padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.search-results { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.search-results li { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.search-results h2 { margin-block: .2rem .5rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.search-results h2 a { color: var(--teal-dark); }
.search-kind { color: var(--terracotta); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.search-no-results h2 { color: var(--teal-dark); font-size: clamp(1.45rem, 3vw, 2rem); }
.search-recovery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.search-recovery-card { display: grid; align-content: start; min-height: 205px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); background: white; box-shadow: 0 10px 30px rgba(27,55,60,.06); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.search-recovery-card:hover { color: var(--ink); border-color: var(--teal); transform: translateY(-3px); }
.search-recovery-card strong { color: var(--teal-dark); font-size: 1.2rem; }
.search-recovery-card span { margin-top: .55rem; color: var(--muted); }
.search-recovery-card small { align-self: end; margin-top: 1.2rem; color: var(--teal-dark); font-weight: 800; }
.search-alternatives { padding-top: .75rem; }
.search-alternatives h2 { color: var(--teal-dark); font-size: 1.35rem; }
.search-query-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.search-query-links a { display: inline-flex; align-items: center; min-height: 2.6rem; padding: .45rem .8rem; border: 1px solid var(--teal); border-radius: 999px; background: white; font-weight: 750; text-decoration: none; }

.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1.25rem; max-width: 980px; margin-inline: auto; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.event-card.featured { border-top: 5px solid var(--terracotta); }
.event-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-pale); }
.event-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.event-card:hover .event-image img { transform: scale(1.025); }
.event-card-body { padding: 1.35rem; }
.event-card-body > * + * { margin-top: .7rem; }
.event-card-body h3 a { color: inherit; text-decoration: none; }
.event-date { color: var(--teal-dark); font-weight: 750; }
.tag { display: inline-block; padding: .2rem .55rem; border-radius: 999px; color: #5d2f22; background: var(--peach); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tag.warning { color: #7d1b1b; background: #ffe0e0; }
.tag.urgency { color: #5e3200; background: #ffe6ad; }

.activities-heading { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.25rem; text-align: center; }
.activities-heading h1 { color: var(--teal); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -.02em; }
.activities-section { padding-bottom: clamp(4rem, 8vw, 7rem); }
.event-filters { max-width: 980px; margin: 0 auto 2rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #c7dcde; border-radius: var(--radius); background: linear-gradient(135deg, white 40%, var(--teal-soft)); box-shadow: 0 12px 34px rgba(27,55,60,.08); }
.event-filters label, .interest-filter { display: grid; gap: .4rem; color: var(--teal-dark); font-weight: 800; }
.event-filters input, .event-filters select { width: 100%; min-height: 3rem; padding: .65rem .8rem; border: 1px solid #8aa4a8; border-radius: .55rem; color: var(--ink); background: white; }
.event-search { max-width: 620px; }
.interest-filter { margin: 1.25rem 0 0; padding: 0; border: 0; }
.interest-filter legend { margin-bottom: .45rem; }
.filter-pill-scroller { position: relative; min-width: 0; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-pills button { min-height: 2.6rem; padding: .5rem .85rem; border: 1px solid var(--teal); border-radius: 999px; color: var(--teal-dark); background: white; font-weight: 750; cursor: pointer; }
.filter-pills button:hover, .filter-pills button.selected { color: white; background: var(--teal); }
.filter-swipe-hint { display: none; }
.event-filter-selects { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.25rem; }
.mobile-event-more-filters { display: none; }
.filter-summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.view-switcher { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; margin-top: .9rem; }
.view-switcher > span { margin-right: .25rem; color: var(--muted); font-size: .85rem; font-weight: 750; }
.view-switcher button { min-height: 2.45rem; padding: .35rem .75rem; border: 1px solid var(--teal); border-radius: 999px; color: var(--teal-dark); background: white; font-weight: 800; cursor: pointer; }
.view-switcher button.selected { color: white; background: var(--teal); }
.text-button { padding: .35rem 0; border: 0; color: var(--teal-dark); background: transparent; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 980px; margin-inline: auto; }
.activity-card { --activity-accent: #267f8d; --activity-deep: #075f6c; --activity-tint: #d9eef1; display: grid; grid-template-rows: auto 1fr; overflow: hidden; min-width: 0; border: 1px solid color-mix(in srgb, var(--activity-accent) 25%, white); border-radius: 1.15rem; background: white; box-shadow: 0 12px 32px rgba(27,55,60,.1); transition: transform .18s ease, box-shadow .18s ease; }
.activity-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(27,55,60,.15); }
.activity-visual { position: relative; display: block; min-height: 168px; overflow: hidden; color: var(--activity-deep); background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.9), transparent 30%), linear-gradient(135deg, var(--activity-tint), color-mix(in srgb, var(--activity-accent) 28%, white)); text-decoration: none; }
.activity-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.activity-card:hover .activity-visual img { transform: scale(1.025); }
.activity-visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,42,48,.2), transparent 55%); opacity: 0; }
.activity-visual:has(img) .activity-visual-shade { opacity: 1; }
.activity-date-tile { position: absolute; top: 1.1rem; left: 1.1rem; display: grid; place-items: center; width: 4.4rem; min-height: 5rem; padding: .45rem; border-radius: .75rem; color: var(--activity-deep); background: rgba(255,255,255,.96); box-shadow: 0 8px 22px rgba(3,46,52,.16); font-size: .68rem; font-weight: 850; letter-spacing: .12em; line-height: 1; }
.activity-date-tile strong { margin-block: .15rem; font-size: 2rem; letter-spacing: -.05em; }
.activity-visual-copy { position: absolute; right: 1.25rem; bottom: 1.15rem; left: 6.25rem; display: flex; align-items: center; gap: .75rem; color: var(--activity-deep); }
.activity-visual:has(img) .activity-visual-copy { color: white; filter: drop-shadow(0 2px 3px rgba(0,0,0,.55)); }
.activity-symbol { display: grid; flex: 0 0 auto; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255,255,255,.72); font-size: 1.45rem; line-height: 1; }
.activity-visual:has(img) .activity-symbol { color: var(--activity-deep); background: white; filter: none; }
.activity-visual-copy strong { max-width: 20rem; font-size: 1rem; line-height: 1.25; }
.activity-body { display: flex; flex-direction: column; align-items: stretch; padding: 1.35rem 1.4rem 1.45rem; }
.activity-body > * + * { margin-top: .85rem; }
.activity-card-kicker { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.activity-category { display: inline-flex; align-items: center; min-height: 1.75rem; padding: .25rem .65rem; border-radius: 999px; color: var(--activity-deep); background: var(--activity-tint); font-size: .72rem; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.activity-count { color: var(--muted); font-size: .78rem; font-weight: 750; text-align: right; }
.activity-body h2 { color: var(--teal-dark); font-size: clamp(1.4rem, 2.3vw, 1.75rem); letter-spacing: -.025em; line-height: 1.12; }
.activity-body h2 a { color: inherit; text-decoration: none; }
.activity-body h2 a:hover { color: var(--activity-deep); text-decoration: underline; text-decoration-thickness: .09em; text-underline-offset: .15em; }
.activity-description { display: -webkit-box; min-height: 2.9em; overflow: hidden; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.activity-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: .15rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.activity-facts div { min-width: 0; }
.activity-facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.activity-facts dt { color: var(--activity-deep); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.activity-facts dd { margin: .16rem 0 0; line-height: 1.35; }
.activity-action { display: flex; justify-content: space-between; align-items: center; min-height: 2.8rem; margin-top: auto !important; padding: .65rem .85rem .65rem 1rem; border-radius: .7rem; color: white; background: var(--activity-accent); font-weight: 800; text-decoration: none; }
.activity-action span { font-size: 1.25rem; transition: transform .18s ease; }
.activity-action:hover { color: white; background: var(--activity-deep); }
.activity-action:hover span { transform: translateX(.2rem); }
.activity-purple { --activity-accent: #76519a; --activity-deep: #573879; --activity-tint: #eee4f6; }
.activity-mint { --activity-accent: #34816f; --activity-deep: #1f6858; --activity-tint: #e0f1eb; }
.activity-sand { --activity-accent: #a56736; --activity-deep: #74451f; --activity-tint: #f7ead9; }
.activity-pink { --activity-accent: #9b5772; --activity-deep: #713c52; --activity-tint: #f5e5ec; }
.activity-more { display: flex; justify-content: center; margin-top: 2rem; }
.calendar-subscription { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; max-width: 980px; margin: clamp(3rem, 7vw, 6rem) auto 0; padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: var(--radius); background: linear-gradient(135deg, var(--sky-soft), var(--sunshine-soft)); box-shadow: 0 12px 34px rgba(27,55,60,.08); }
.calendar-subscription > div[aria-hidden="true"] { display: grid; width: 3.8rem; height: 3.8rem; place-items: center; border-radius: 1rem; background: white; box-shadow: 0 7px 18px rgba(27,55,60,.11); font-size: 1.75rem; }
.calendar-subscription h2 { color: var(--teal-dark); }
.calendar-help { margin-top: .6rem; }
.calendar-help summary { color: var(--teal-dark); cursor: pointer; font-weight: 800; }
.calendar-help ul { margin-top: .7rem; padding-left: 1.2rem; }
.calendar-help code { overflow-wrap: anywhere; }
.activity-period { max-width: 980px; margin: 2rem auto 0; }
.activity-period:first-of-type { margin-top: 0; }
.activity-period-heading { display: flex; align-items: center; gap: .65rem; margin-bottom: .85rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.activity-period-heading h2 { color: var(--teal-dark); font-size: clamp(1.45rem, 3vw, 2rem); }
.activity-period-heading span { display: grid; min-width: 1.8rem; height: 1.8rem; place-items: center; border-radius: 50%; color: var(--teal-dark); background: var(--teal-soft); font-size: .8rem; font-weight: 850; }
.activity-card-actions { display: grid; gap: .6rem; margin-top: auto !important; padding-top: .8rem; }
.activity-calendar-action { color: var(--activity-deep); font-size: .85rem; font-weight: 750; text-align: center; }
.event-date-list { display: grid; gap: 1.5rem; max-width: 900px; margin-inline: auto; }
.event-date-list section { display: grid; grid-template-columns: minmax(160px, .32fr) 1fr; gap: 1.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.event-date-list h2 { color: var(--teal-dark); font-size: 1.35rem; }
.event-date-list ol { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.event-date-list li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .15rem .85rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .7rem; background: white; }
.event-date-list time { grid-row: span 2; color: var(--terracotta); font-weight: 850; }
.event-date-list a { font-weight: 800; }
.event-date-list li > span { color: var(--muted); font-size: .88rem; }

.groups-page { padding-block: clamp(2.75rem, 5vw, 4.5rem); background: var(--blue-pale); }
.groups-intro { max-width: 800px; }
.groups-intro h1 { color: var(--teal-dark); font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 500; }
.groups-intro .lede { font-size: clamp(1.05rem, 2vw, 1.25rem); }
.groups-directory { margin-top: 2.5rem; }
.group-filters { display: grid; grid-template-columns: minmax(240px, 1.3fr) repeat(2, minmax(0, 240px)); justify-content: center; gap: 1rem; max-width: 900px; margin: 0 auto 1.5rem; }
.group-result-count { margin: 0 0 1rem; color: var(--muted); text-align: center; }
.group-filter { display: grid; gap: .35rem; color: var(--teal-dark); font-weight: 800; }
.group-filter select, .group-filter input { width: 100%; min-height: 2.8rem; padding: .55rem .75rem; border: 1px solid #8aa4a8; border-radius: .5rem; color: var(--ink); background: white; }
.group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 980px; margin-inline: auto; }
.group-card { min-height: 330px; padding: 1.6rem; border: 1px solid rgba(7,95,108,.1); background: white; box-shadow: 0 10px 30px rgba(27,55,60,.06); }
.group-card-image { width: calc(100% + 3.2rem); max-width: none; aspect-ratio: 16 / 8; margin: -1.6rem -1.6rem 1.25rem; object-fit: cover; }
.group-card-accent { height: 4px; margin-bottom: 1rem; background: var(--teal); }
.group-card h2 { min-height: 2.6em; color: var(--teal-dark); font-size: 1.4rem; font-weight: 500; }
.group-card h2 a { color: inherit; text-decoration: none; }
.group-card h2 a:hover { text-decoration: underline; }
.group-availability { display: inline-flex; align-items: center; width: fit-content; margin: 0 0 .7rem; padding: .3rem .7rem; border-radius: 999px; color: #24464a; background: #e4eeee; font-size: .78rem; font-weight: 850; letter-spacing: .03em; }
.group-availability.open { color: #215b3e; background: #dcf1e3; }
.group-availability.waiting { color: #674a00; background: #fff0be; }
.group-availability.full { color: #722727; background: #f5dede; }
.group-labels { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.group-labels li { padding: .25rem .6rem; border: 1px solid #c7d9db; border-radius: 999px; color: var(--teal-dark); background: white; font-size: .78rem; font-weight: 700; }
.group-card dl { display: grid; gap: 1rem; margin: 1.2rem 0 0; }
.group-card dt { color: var(--teal); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.group-card dd { margin: .2rem 0 0; font-weight: 650; }
.group-description { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.group-description-fallback { color: var(--muted); font-style: italic; }
.group-card.day-wednesday .group-card-accent { background: #76519a; }
.group-card.day-wednesday dt { color: #76519a; }
.group-card.day-thursday .group-card-accent { background: var(--terracotta); }
.group-card.day-thursday dt { color: #9a5741; }
.group-card.day-friday .group-card-accent { background: #3f7d5b; }
.group-card.day-friday dt { color: #3f7d5b; }
.group-detail { max-width: 1040px; padding-block: clamp(2.5rem, 6vw, 5rem); }
.group-detail-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); min-height: 350px; overflow: hidden; border: 1px solid #c5dcde; border-radius: calc(var(--radius) + .2rem); background: linear-gradient(135deg, white, var(--teal-soft)); box-shadow: var(--shadow); }
.group-detail-heading { align-self: center; padding: clamp(1.75rem, 5vw, 4rem); }
.group-detail-heading h1 { max-width: 14ch; color: var(--teal-dark); font-size: clamp(2.45rem, 5.5vw, 4.5rem); }
.group-detail-image { width: 100%; height: 100%; min-height: 350px; object-fit: cover; }
.group-detail-artwork { position: relative; display: grid; place-content: center; overflow: hidden; min-height: 350px; color: white; background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.22), transparent 22%), linear-gradient(145deg, var(--plum), var(--teal)); text-align: center; }
.group-detail-artwork::after { position: absolute; right: -4rem; bottom: -5rem; width: 15rem; height: 15rem; border: 2rem solid rgba(255,255,255,.14); border-radius: 50%; content: ""; }
.group-detail-artwork span { font-size: .8rem; font-weight: 850; letter-spacing: .25em; }
.group-detail-artwork strong { font-size: clamp(4.5rem, 10vw, 7rem); line-height: .95; letter-spacing: -.08em; }
.group-detail-artwork i { position: absolute; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sunshine); opacity: .9; }
.group-detail-artwork i:nth-of-type(1) { top: 19%; left: 19%; }
.group-detail-artwork i:nth-of-type(2) { right: 15%; bottom: 27%; background: var(--coral); }
.group-detail-artwork i:nth-of-type(3) { bottom: 15%; left: 28%; width: 1.35rem; height: 1.35rem; background: var(--sky-soft); }
.group-detail-facts { margin-block: 1.5rem; }
.group-detail-facts div:nth-child(2) { background: var(--plum-soft); }
.group-detail-facts div:nth-child(3) { background: var(--sunshine-soft); }
.group-join { margin-top: 2.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid #bdd7da; border-radius: var(--radius); background: linear-gradient(135deg, var(--teal-soft), white 75%); box-shadow: 0 12px 32px rgba(27,55,60,.07); }
.group-join h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.churchsuite-follow-up { position: relative; overflow: hidden; margin-top: clamp(2rem, 5vw, 4rem); padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid #b9d4d7; border-radius: var(--radius); background: linear-gradient(130deg, var(--teal-soft), white 72%); box-shadow: var(--shadow); }
.churchsuite-follow-up::after { content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 12rem; height: 12rem; border-radius: 50%; background: rgba(201,130,104,.13); pointer-events: none; }
.churchsuite-follow-up > * { position: relative; z-index: 1; }
.churchsuite-follow-up h2 { max-width: 18ch; color: var(--teal-dark); font-size: clamp(1.8rem, 4vw, 2.7rem); }
.churchsuite-follow-up > p:not(.eyebrow, .integration-privacy-note, .churchsuite-secondary-action) { max-width: 66ch; }
.integration-privacy-note { max-width: 70ch; color: var(--muted); font-size: .88rem; }
.churchsuite-secondary-action a { font-weight: 800; }

.journey-section { overflow: hidden; padding-top: clamp(2.5rem, 5vw, 4rem); background: #dff4fb; }
.journey-intro { position: relative; z-index: 2; max-width: 900px; }
.journey-intro > * + * { margin-top: .55rem; }
.journey-intro h2 { color: #10243f; }
.journey-intro > p:last-child { color: #36556b; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.journey-intro strong { color: var(--teal-dark); }
.journey-cue { display: inline-grid; width: 1.55rem; height: 1.55rem; margin-left: .2rem; place-items: center; border-radius: 50%; color: white; background: var(--teal); box-shadow: 0 2px 6px rgba(16,36,63,.22); font-weight: 900; line-height: 1; vertical-align: -.1rem; }
.discipleship-map { position: relative; margin-top: clamp(1rem, 2.4vw, 2rem); }
.journey-artwork { position: relative; width: min(100%, 1885px); aspect-ratio: 1885 / 598; margin-inline: auto; overflow: hidden; background: #dff4fb; }
.journey-artwork > img { width: 100%; height: 100%; object-fit: contain; user-select: none; }
.journey-hotspot { position: absolute; z-index: 2; padding: 0; border: 0; border-radius: .7rem; color: inherit; background: transparent; cursor: pointer; }
.journey-hotspot::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: .7rem; background: transparent; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.journey-hotspot:hover::after, .journey-hotspot:focus-visible::after, .journey-hotspot[aria-expanded="true"]::after { border-color: rgba(7,95,108,.9); background: rgba(7,95,108,.1); box-shadow: 0 0 0 5px rgba(255,255,255,.8), 0 10px 24px rgba(16,36,63,.2); }
.journey-hotspot:focus-visible { outline: 4px solid #155eef; outline-offset: 5px; }
.journey-hotspot-ring { position: absolute; z-index: 3; right: 3%; top: 34%; width: clamp(1.25rem, 2.5vw, 2.6rem); aspect-ratio: 1; border: 3px solid rgba(255,255,255,.95); border-radius: 50%; opacity: 0; pointer-events: none; animation: journeyPulse 1.45s ease-out 2; }
.journey-hotspot-friends { left: 6.15%; top: 61.54%; width: 17.61%; height: 23.58%; }
.journey-hotspot-followers { left: 29.28%; top: 48.16%; width: 16.23%; height: 22.07%; }
.journey-hotspot-fellowship { left: 52.94%; top: 31.77%; width: 17.4%; height: 23.41%; }
.journey-hotspot-mission { left: 79.05%; top: 1.67%; width: 18.36%; height: 34.28%; }
.journey-hotspot-followers .journey-hotspot-ring { animation-delay: .2s; }
.journey-hotspot-fellowship .journey-hotspot-ring { animation-delay: .4s; }
.journey-hotspot-mission .journey-hotspot-ring { animation-delay: .6s; }
@keyframes journeyPulse { 0% { opacity: 0; transform: scale(.72); } 18% { opacity: .95; } 100% { opacity: 0; transform: scale(1.75); } }
.journey-mobile { display: none; }
.journey-summary { margin: 0; padding: clamp(1.35rem, 3vw, 2rem) max(1rem, calc((100% - 1100px) / 2)); color: #10243f; background: #cfebd1; text-align: center; text-wrap: balance; font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.25; }
.journey-dialog { width: min(640px, calc(100% - 2rem)); max-height: min(82vh, 720px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 1.35rem; color: var(--ink); background: white; box-shadow: 0 28px 80px rgba(9,37,43,.34); }
.journey-dialog::backdrop { background: rgba(6,44,51,.72); backdrop-filter: blur(5px); }
.journey-dialog-close { position: absolute; z-index: 2; top: .8rem; right: .8rem; display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid #c8d9dc; border-radius: 50%; color: var(--teal-dark); background: white; cursor: pointer; font-size: 1.7rem; line-height: 1; }
.journey-dialog-heading { display: flex; gap: 1rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.4rem); padding-right: 4.5rem; background: linear-gradient(135deg, #dff4fb, #edf9f4); }
.journey-dialog-marker { display: grid; flex: 0 0 4rem; width: 4rem; height: 4rem; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-weight: 900; }
.journey-dialog-heading h3 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.journey-dialog-subtitle { margin-top: .25rem; color: var(--teal-dark); font-weight: 800; }
.journey-dialog-copy { padding: clamp(1.5rem, 4vw, 2.4rem); }
.journey-dialog-copy .text-link { display: inline-flex; margin-top: .5rem; }
.journey-dialog-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.journey-dialog-nav button { min-height: 4rem; padding: 1rem 1.25rem; border: 0; color: var(--teal-dark); background: #f7fbfb; cursor: pointer; font-weight: 850; }
.journey-dialog-nav button + button { border-left: 1px solid var(--line); }
.journey-dialog-nav button:first-child { text-align: left; }
.journey-dialog-nav button:last-child { text-align: right; }
.journey-dialog-nav button:hover { background: var(--teal-soft); }
.journey-noscript { width: var(--page); margin: 1rem auto 2rem; padding: 1rem; border-radius: 1rem; background: white; }

.split-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 630px; background: white; }
.split-copy { align-self: center; max-width: 620px; justify-self: end; padding: clamp(3rem, 7vw, 7rem); }
.fact-list { display: grid; gap: .75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.fact-list li { padding-left: 1rem; border-left: 4px solid var(--terracotta); }
.video-card { display: grid; align-content: end; min-height: 520px; position: relative; overflow: hidden; color: white; background: var(--ink); }
.video-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(17,33,39,.92)); }
.video-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card > div { position: relative; z-index: 1; padding: clamp(2rem, 6vw, 5rem); }
.video-card h3, .video-card .text-link, .video-card .eyebrow { color: white; }
.video-card h3 { margin-block: .4rem .8rem; font-size: clamp(1.8rem, 4vw, 3rem); }
.video-card h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }

.watch-page { gap: clamp(2.5rem, 5vw, 4rem); }
.broadcast-status { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-left: 6px solid var(--teal); border-radius: 1rem; background: var(--teal-soft); }
.broadcast-status h2 { color: var(--teal-dark); font-size: clamp(1.45rem, 3vw, 2.15rem); }
.broadcast-status.is-live { color: white; border-color: #ffb7b7; background: #8e2626; }
.broadcast-status.is-live h2, .broadcast-status.is-live .eyebrow { color: white; }
.broadcast-status.is-upcoming { border-color: #76519a; background: #eee4f6; }
.broadcast-status.is-recorded { border-color: var(--terracotta); background: var(--blush); }
.watch-feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.video-embed { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-feature-copy h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.watch-feature-title { overflow-wrap: anywhere; text-wrap: balance; }
.watch-feature-meta { color: var(--teal-dark); font-weight: 800; }
.live-label { display: inline-block; width: fit-content; padding: .35rem .65rem; border-radius: .35rem; color: white; background: #a92222; }
.sermon-filters { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-pale); }
.sermon-filters label { display: grid; gap: .4rem; color: var(--teal-dark); font-weight: 800; }
.sermon-filters input, .sermon-filters select { width: 100%; min-height: 3rem; padding: .65rem .8rem; border: 1px solid #8aa4a8; border-radius: .55rem; color: var(--ink); background: white; }
.sermon-search { max-width: 650px; }
.sermon-filter-selects { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: 1rem; }
.mobile-sermon-more-filters { display: none; }
.service-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-video-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgba(27,55,60,.06); }
.service-video-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.service-video-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.service-video-image > span { position: absolute; left: 50%; top: 50%; display: grid; width: 3.2rem; height: 3.2rem; place-items: center; border-radius: 50%; color: white; background: rgba(7,95,108,.92); transform: translate(-50%, -50%); }
.service-video-image:hover img { transform: scale(1.025); }
.service-video-card > div { padding: 1.2rem; }
.service-video-card h3 { font-size: 1.2rem; }
.service-video-card h3 a { color: inherit; text-decoration: none; }
.service-video-card h3 a:hover { text-decoration: underline; }
.service-video-card p { color: var(--muted); font-size: .92rem; }
.sermon-series { color: var(--teal-dark) !important; font-size: .75rem !important; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.sermon-series a { color: inherit; }
.sermon-collection { min-height: 60vh; }
.sermon-collection h1 { color: var(--teal-dark); }
.sermon-card-meta { display: flex; flex-wrap: wrap; gap: .35rem .7rem; }
.sermon-detail { max-width: 1000px; padding-block: clamp(3.5rem, 8vw, 7rem); }
.sermon-detail > h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.sermon-meta { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1.5rem 2rem; }
.sermon-meta > span { padding: .55rem .8rem; border-radius: .55rem; background: var(--blue-pale); }
.sermon-meta strong { color: var(--teal-dark); }
.sermon-description { white-space: pre-line; }
.chapter-list { display: grid; gap: .5rem; max-width: 720px; padding: 0; list-style: none; }
.chapter-list a { display: flex; gap: .8rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .6rem; color: var(--ink); background: white; text-decoration: none; }
.chapter-list a:hover { border-color: var(--teal); }
.chapter-list span { min-width: 4rem; color: var(--teal-dark); font-weight: 850; }
.caption-badge { display: inline-block; margin-left: .5rem; padding: .1rem .4rem; border: 1px solid currentColor; border-radius: .25rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.video-privacy-note { max-width: 820px; color: var(--muted); font-size: .88rem; }

.connection-section { padding-block: clamp(4rem, 8vw, 7rem); background: var(--blue-pale); }
.card-grid { display: grid; gap: 1rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.five { grid-template-columns: repeat(6, 1fr); }
.card-grid.five > * { grid-column: span 2; }
.card-grid.five > :nth-child(4) { grid-column: 2 / span 2; }
.utility-card { min-height: 330px; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.utility-card.room-hire { color: white; background: linear-gradient(135deg, var(--teal), #293d42); }
.utility-card.room-hire h2, .utility-card.room-hire .eyebrow { color: white; }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5rem); isolation: isolate; }
.page-hero::before { position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: clamp(.55rem, 1.2vw, 1rem); background: var(--hero-accent, var(--teal)); content: ""; }
.page-hero::after { position: absolute; z-index: -1; right: clamp(-7rem, -4vw, -2rem); bottom: -8rem; width: clamp(16rem, 34vw, 32rem); aspect-ratio: 1; border: clamp(1.8rem, 4vw, 4rem) solid rgba(255,255,255,.42); border-radius: 50%; content: ""; }
.page-hero .page-shell { position: relative; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 60ch; }
.page-hero.warm { --hero-accent: var(--sunshine); background: linear-gradient(120deg, var(--sunshine-soft), var(--blush) 48%, var(--sky-soft)); }
.page-hero.theme-sky { --hero-accent: var(--sky); background: linear-gradient(120deg, #cce8f4, white 52%, var(--teal-soft)); }
.page-hero.theme-plum { --hero-accent: var(--plum); background: linear-gradient(120deg, #e4d5f0, var(--blush) 57%, white); }
.page-hero.theme-coral { --hero-accent: var(--coral); background: linear-gradient(120deg, #f5cfc5, var(--sunshine-soft) 61%, white); }
.page-hero.theme-sunshine { --hero-accent: var(--sunshine); background: linear-gradient(120deg, #ffe8a8, white 56%, var(--coral-soft)); }
.page-hero.theme-mint { --hero-accent: var(--sage-deep); background: linear-gradient(120deg, #d1e9dc, white 52%, var(--sky-soft)); }
.page-hero.theme-blue { --hero-accent: var(--sky); background: linear-gradient(120deg, #cfe7f3, var(--plum-soft) 64%, white); }
.page-hero.teal { color: white; background: linear-gradient(120deg, var(--teal-dark), var(--teal)); }
.page-hero.teal h1, .page-hero.teal .eyebrow, .page-hero.teal .lede { color: white; }
.content-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.content-row { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; background: white; }
.content-row > span { color: var(--terracotta); }
.page-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.page-content-section { --section-accent: var(--teal); min-width: 0; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid color-mix(in srgb, var(--section-accent) 25%, white); border-top: 6px solid var(--section-accent); border-radius: 1rem; background: linear-gradient(145deg, color-mix(in srgb, var(--section-accent) 9%, white), white 68%); box-shadow: 0 10px 30px rgba(27,55,60,.065); }
.page-content-section:nth-child(4n + 2) { --section-accent: var(--coral); }
.page-content-section:nth-child(4n + 3) { --section-accent: var(--plum); }
.page-content-section:nth-child(4n + 4) { --section-accent: var(--sunshine); }
.page-content-section h2 { color: var(--teal-dark); font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.page-content-section p, .page-content-section li { color: var(--muted); }
.page-content-section ul { display: grid; gap: .55rem; padding-left: 1.25rem; }
.page-content-section .text-link { color: var(--teal-dark); }
.page-section-grid > :only-child { grid-column: 1 / -1; }
.page-managed-image { margin-block: 1.5rem; }
.page-managed-image img { width: 100%; max-height: 620px; border-radius: 1rem; object-fit: cover; box-shadow: var(--shadow); }
.page-managed-image figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.link-card { --card-accent: var(--teal); display: grid; align-content: start; min-height: 210px; padding: 1.4rem; border: 1px solid color-mix(in srgb, var(--card-accent) 23%, white); border-top: 6px solid var(--card-accent); border-radius: 1rem; color: var(--ink); background: linear-gradient(150deg, color-mix(in srgb, var(--card-accent) 10%, white), white 72%); box-shadow: 0 10px 30px rgba(27,55,60,.07); text-decoration: none; transition: transform .2s, border-color .2s, background-color .2s; }
.link-card:nth-child(4n + 2) { --card-accent: var(--coral); }
.link-card:nth-child(4n + 3) { --card-accent: var(--plum); }
.link-card:nth-child(4n + 4) { --card-accent: var(--sunshine); }
.link-card:hover { transform: translateY(-3px); color: var(--ink); border-color: var(--card-accent); background: color-mix(in srgb, var(--card-accent) 7%, white); }
.link-card strong { color: var(--teal-dark); font-size: 1.3rem; }
.link-card span { margin-top: .65rem; }
.link-card small { align-self: end; margin-top: 1.5rem; color: var(--teal-dark); font-weight: 750; }
.notice { padding: 1rem 1.15rem; border-left: 5px solid var(--terracotta); border-radius: .5rem; background: var(--blush); }
.notice.error { border-color: #a92222; background: #ffe8e8; }
.room-hire-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.booking-steps { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.booking-steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: .8rem; background: white; box-shadow: 0 8px 22px rgba(27,55,60,.05); }
.booking-steps li > span { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-weight: 850; }
.booking-steps p { margin-top: .25rem; color: var(--muted); }
.hallmaster-section { background: var(--blue-pale); }
.booking-notice { max-width: 900px; margin-inline: auto; background: white; }
.room-overview-section { background: white; }
.room-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.room-overview-grid article { --room-tint: var(--blue-pale); padding: 1.35rem; border: 1px solid color-mix(in srgb, var(--room-tint) 65%, var(--line)); border-radius: 1rem; background: linear-gradient(145deg, var(--room-tint), white); }
.room-overview-grid article:nth-child(2) { --room-tint: var(--coral-soft); }
.room-overview-grid article:nth-child(3) { --room-tint: var(--plum-soft); }
.room-overview-grid article:nth-child(4) { --room-tint: var(--sunshine-soft); }
.room-overview-grid article > span { color: var(--terracotta); font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.room-overview-grid h3 { margin-top: .55rem; color: var(--teal-dark); font-size: 1.3rem; }
.room-overview-grid p { margin-top: .65rem; color: var(--muted); }
.hallmaster-actions { justify-content: center; }
.hallmaster-loaded { scroll-margin-top: 6rem; }
.visit-map { max-width: 980px; margin: 1.5rem auto 0; }
.visit-map iframe { display: block; width: 100%; min-height: 420px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-pale); }
.visit-map .video-privacy-note { margin-top: .65rem; }
.room-comparison-section { background: var(--blue-pale); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.room-comparison { width: 100%; min-width: 720px; border-collapse: collapse; }
.room-comparison th, .room-comparison td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.room-comparison thead th { color: white; background: var(--teal); }
.room-comparison tbody th { color: var(--teal-dark); }
.room-practical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.room-practical-grid article { padding: 1.35rem; border-radius: 1rem; background: white; }
.room-practical-grid h3 { color: var(--teal-dark); }
.pricing-explainer { color: white; background: var(--ink); }
.pricing-explainer h2, .pricing-explainer .eyebrow { color: white; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.pricing-factors { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.pricing-factors li { display: grid; gap: .25rem; padding: 1rem; border-left: 4px solid var(--terracotta); background: rgba(255,255,255,.08); }
.pricing-factors span { color: #d5e0e2; }
.visit-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.visit-facts > div { display: grid; align-content: start; min-height: 180px; padding: 1.35rem; border-top: 5px solid var(--teal); border-radius: .9rem; background: var(--blue-pale); }
.visit-facts dt { color: var(--terracotta); font-size: .75rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.visit-facts dd { display: grid; gap: .55rem; margin: .75rem 0 0; }
.visit-facts dd strong { color: var(--teal-dark); font-size: 1.25rem; }
.visit-facts dd span { color: var(--muted); }
.centered-actions { justify-content: center; }
.sunday-expectation-section { background: var(--blue-pale); scroll-margin-top: 6rem; }
.expectation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.expectation-grid article { padding: 1.45rem; border-radius: 1rem; background: white; box-shadow: 0 10px 30px rgba(27,55,60,.055); }
.expectation-grid article > span { color: var(--terracotta); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.expectation-grid h3 { color: var(--teal-dark); font-size: 1.35rem; }
.expectation-grid p { color: var(--muted); }
.family-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.visit-panel { padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--radius); background: var(--sage); }
.visit-panel.accessible-panel { background: var(--blush); }
.sunday-watch-section { background: var(--ink); }
.sunday-watch-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); color: white; }
.sunday-watch-card h2, .sunday-watch-card .eyebrow { color: white; }
.sunday-video-preview { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #08171b; }
.sunday-video-preview img { width: 100%; height: 100%; object-fit: cover; }
.sunday-video-preview span { position: absolute; inset: 50% auto auto 50%; display: grid; width: 4rem; height: 4rem; place-items: center; border-radius: 50%; color: white; background: rgba(7,95,108,.94); transform: translate(-50%, -50%); }
.hallmaster-open-link { text-align: center; }
.hallmaster-mobile-frame { display: none; }
.hallmaster-frame { overflow: hidden; width: 100%; min-height: 1180px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.hallmaster-frame iframe { display: block; width: 100%; height: 1180px; border: 0; }
.event-detail, .article { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.article > h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.event-detail-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); overflow: hidden; min-height: 430px; border: 1px solid #c3dbde; border-radius: calc(var(--radius) + .2rem); background: linear-gradient(135deg, white 25%, var(--teal-soft)); box-shadow: var(--shadow); }
.event-detail-heading { align-self: center; padding: clamp(1.75rem, 4.5vw, 3.75rem); }
.event-detail-heading h1 { max-width: 14ch; color: var(--teal-dark); font-size: clamp(2.5rem, 5vw, 4.5rem); }
.event-detail-heading .event-facts { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); margin: 1.75rem 0 0; }
.event-detail-heading .event-facts div { padding: .9rem; border: 1px solid rgba(7,95,108,.1); background: rgba(255,255,255,.76); }
.event-detail-media { display: grid; min-width: 0; margin: 0; place-items: center; background: linear-gradient(145deg, var(--plum-soft), var(--teal-soft)); }
.event-detail-media img { width: 100%; height: 100%; min-height: 430px; object-fit: contain; }
.event-detail > .prose { max-width: 850px; margin-inline: auto; padding-block: clamp(.75rem, 2vw, 1.5rem); }
.event-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block: 2rem; }
.event-facts div { padding: 1.2rem; border-radius: .8rem; background: var(--blue-pale); }
.event-facts dt { color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.event-facts dd { margin: .35rem 0 0; font-weight: 650; }
.event-dates { margin-top: 2.5rem; }
.event-dates h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.occurrence-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .65rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.occurrence-list a { display: grid; gap: .15rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .7rem; background: white; color: var(--ink); font-weight: 750; text-decoration: none; }
.occurrence-list a:hover { border-color: var(--teal); }
.occurrence-list span { color: var(--muted); font-size: .9rem; font-weight: 500; }
.prose { font-size: 1.12rem; }
.prose > * + * { margin-top: 1.2rem; }
.back-link { display: inline-block; font-weight: 750; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 1rem; }
.news-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.news-card > * + * { margin-top: .8rem; }
.news-card h2 { font-size: 1.6rem; }
.news-card h2 a { color: inherit; text-decoration: none; }
.news-empty-state { width: 100%; padding: clamp(1.5rem, 4vw, 2.75rem); border-left: 6px solid var(--teal); border-radius: var(--radius); background: linear-gradient(130deg, var(--teal-soft), white 75%); box-shadow: var(--shadow); }
.news-empty-state h2 { max-width: 19ch; font-size: clamp(1.8rem, 4vw, 2.75rem); }
.not-found { padding-block: clamp(4rem, 10vw, 8rem); }
.not-found-search { max-width: 720px; margin-block: 1rem 1.5rem; }

.site-footer { position: relative; overflow: hidden; padding-top: 4rem; color: #e6eff0; background: linear-gradient(135deg, #1e2f37, var(--ink) 55%, #123f47); }
.site-footer::before { position: absolute; top: -9rem; right: -7rem; width: 24rem; height: 24rem; border: 3rem solid rgba(255,255,255,.035); border-radius: 50%; content: ""; pointer-events: none; }
.site-footer h2 { color: white; font-size: 1.25rem; letter-spacing: -.01em; }
.site-footer a { color: white; }
.site-footer address { font-style: normal; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; }
.footer-grid section > * + * { margin-top: .8rem; }
.footer-mission { max-width: 36ch; color: #bad7d8; font-weight: 700; }
.footer-affiliations { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }
.footer-affiliations > p { color: #bad7d8; font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.footer-affiliations > div { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.footer-affiliations a { display: grid; min-height: 3.8rem; place-items: center; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.18); border-radius: .65rem; background: rgba(255,255,255,.9); transition: transform .18s ease, background-color .18s ease; }
.footer-affiliations a:hover { background: white; transform: translateY(-2px); }
.footer-affiliations img { width: auto; height: 2.55rem; object-fit: contain; }
.copyright { margin-top: 3rem; padding: 1rem; border-top: 1px solid rgba(255,255,255,.15); text-align: center; font-size: .86rem; }

.admin-shell { padding-block: 3rem 6rem; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .8rem; }
.admin-table { width: 100%; border-collapse: collapse; background: white; }
.admin-table th, .admin-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: var(--blue-pale); }
.status { display: inline-block; padding: .18rem .5rem; border-radius: 99px; background: #edf0f0; font-size: .78rem; font-weight: 800; }
.status.published { color: #17582c; background: #dff3e5; }
.status.draft { color: #654a18; background: #fff0ca; }
.admin-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.admin-card h2 { font-size: 1.35rem; }
.admin-card > * + * { margin-top: .6rem; }
.admin-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.admin-section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.health-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.health-summary > div { display: grid; padding: 1rem; border-radius: .8rem; background: var(--blue-pale); }
.health-summary strong { color: var(--teal-dark); font-size: 2rem; line-height: 1; }
.health-summary span { margin-top: .35rem; color: var(--muted); font-size: .85rem; }
.health-issues { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.health-issues li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border-left: 5px solid #66828a; border-radius: .5rem; background: #f2f5f5; }
.health-issues li.warning { border-color: #a56736; background: #fff5e8; }
.health-issues li.urgent { border-color: #a92222; background: #ffe8e8; }
.health-issues li.launch { border-color: #76519a; background: #f2ebf8; }
.health-issues li > div { display: grid; }
.health-issues li span { color: var(--muted); font-size: .88rem; }
.analytics-total { color: var(--teal-dark); font-size: 1.3rem; }
.analytics-routes { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.analytics-routes li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .8rem; border-bottom: 1px solid var(--line); }
.analytics-routes span { font-weight: 850; }
.analytics-insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.analytics-insight-grid h3 { font-size: 1.05rem; }
.analytics-insight-grid .analytics-routes li { align-items: flex-start; padding-inline: 0; }
.integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.integration-card { padding: 1.25rem; border: 1px solid var(--line); border-top: 6px solid #7f9297; border-radius: .8rem; background: white; box-shadow: 0 8px 24px rgba(27,55,60,.06); }
.integration-card.healthy { border-top-color: #397b58; }
.integration-card.stale { border-top-color: #b6782d; }
.integration-card.failed { border-top-color: #a92222; }
.integration-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.integration-card-heading h2 { font-size: 1.25rem; }
.integration-card-heading span { padding: .2rem .55rem; border-radius: 999px; color: var(--teal-dark); background: var(--teal-soft); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.integration-card > * + * { margin-top: .7rem; }
.integration-card dl { display: grid; gap: .45rem; margin: 0; }
.integration-card dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; border-top: 1px solid var(--line); padding-top: .45rem; }
.integration-card dt { color: var(--muted); }
.integration-card dd { margin: 0; font-weight: 800; }
.publishing-assistant { border-left: 6px solid var(--teal); background: linear-gradient(120deg, #edf7f7, white); }
.readiness-score { flex: none; padding: .45rem .7rem; border-radius: 999px; color: white; background: var(--teal); font-weight: 850; }
.readiness-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: 0; padding: 0; list-style: none; }
.readiness-list li { display: grid; grid-template-columns: auto 1fr; gap: .65rem; padding: .7rem; border-radius: .55rem; background: #fff7eb; }
.readiness-list li.passed { background: #e8f5ec; }
.readiness-list li > span { color: #926126; font-size: 1.2rem; font-weight: 900; }
.readiness-list li.passed > span { color: #397b58; }
.readiness-list li div { display: grid; }
.readiness-list small { color: var(--muted); }
.share-preview > article { overflow: hidden; max-width: 650px; border: 1px solid var(--line); border-radius: .8rem; background: white; box-shadow: 0 8px 24px rgba(27,55,60,.08); }
.share-preview img { width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; }
.share-preview article > div { padding: 1rem; }
.share-preview article span { color: var(--muted); font-size: .82rem; }
.share-preview article h3 { margin-block: .25rem; }
.media-library-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.media-library-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.media-library-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--blue-pale); }
.media-library-card > .flow { padding: 1rem; }
.media-library-card h3 { overflow-wrap: anywhere; font-size: 1.1rem; }
.document-icon { display: grid; place-items: center; aspect-ratio: 16 / 10; color: white; background: var(--teal); font-size: 2rem; font-weight: 850; }
.text-button.danger { color: #8a2424; }
.article-hero img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.article-hero figcaption, .article-gallery figcaption { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.article-gallery figure { margin: 0; }
.article-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .75rem; }
.news-card-image { width: calc(100% + 2.5rem); max-width: none; aspect-ratio: 16 / 9; margin: -1.25rem -1.25rem .9rem; object-fit: cover; }
.editor-form { display: grid; gap: 1.25rem; }
.editor-form fieldset { display: grid; gap: 1rem; margin: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.editor-form legend { padding-inline: .4rem; color: var(--teal-dark); font-size: 1.1rem; font-weight: 800; }
.editor-form label { display: grid; gap: .35rem; font-weight: 700; }
.editor-form input:not([type="checkbox"]), .editor-form textarea, .editor-form select { width: 100%; padding: .7rem .8rem; border: 1px solid #aab6b7; border-radius: .45rem; color: var(--ink); background: white; }
.editor-form small, .field-note { color: var(--muted); font-weight: 400; }
.field-error { padding: .75rem; border-left: 4px solid #9b2424; color: #6f1717; background: #fff0f0; font-weight: 700; }
.revision-list { display: grid; gap: .75rem; padding-left: 1.4rem; }
.revision-list li { padding: .75rem; border-bottom: 1px solid var(--line); }
.revision-list .text-button { margin-top: .5rem; }
.editor-form .check { display: flex; grid-template-columns: auto 1fr; align-items: center; }
.media-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.media-picker > legend { grid-column: 1 / -1; }
.media-picker-option { display: grid !important; grid-template-columns: auto 3.5rem 1fr; align-items: center; gap: .6rem !important; padding: .55rem; border: 1px solid var(--line); border-radius: .55rem; overflow-wrap: anywhere; }
.media-picker-option img { width: 3.5rem; height: 3.5rem; border-radius: .35rem; object-fit: cover; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.preview-banner { padding: .7rem 1rem; color: #4e3200; background: #fff0be; text-align: center; }

#blazor-error-ui { display: none; position: fixed; z-index: 1000; right: 1rem; bottom: 1rem; left: 1rem; padding: .8rem 1rem; border-radius: .5rem; color: white; background: #8a2424; box-shadow: var(--shadow); }
#blazor-error-ui .reload { margin-left: .35rem; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
#blazor-error-ui .dismiss { float: right; min-width: 2rem; min-height: 2rem; margin: -.35rem -.35rem -.35rem .5rem; padding: 0; border: 0; border-radius: .25rem; color: inherit; background: transparent; font: inherit; cursor: pointer; }
#blazor-error-ui .dismiss:hover, #blazor-error-ui .dismiss:focus-visible { background: rgba(255,255,255,.18); }
.error-page { min-height: 55vh; align-content: center; }
.error-reference { margin-top: 1rem; color: var(--muted); }
.error-reference code { overflow-wrap: anywhere; }

.history-hero { position: relative; overflow: hidden; padding-block: clamp(4.5rem, 10vw, 8rem); color: white; background: linear-gradient(125deg, #183d45, var(--teal) 68%, #568887); }
.history-hero::after { content: "1926"; position: absolute; right: -1rem; bottom: -3rem; color: rgba(255,255,255,.08); font-size: clamp(8rem, 22vw, 20rem); font-weight: 900; line-height: 1; pointer-events: none; }
.history-hero h1, .history-hero .eyebrow, .history-hero .lede { position: relative; z-index: 1; color: white; }
.history-hero-action { position: relative; z-index: 1; width: fit-content; color: var(--teal-dark); background: white; }
.history-main { gap: clamp(3.5rem, 8vw, 7rem); padding-block: clamp(3.5rem, 8vw, 7rem); }
.history-introduction { max-width: 850px; margin-inline: auto; text-align: center; }
.history-introduction h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.history-key-moments, .history-timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.history-key-moments::before, .history-timeline::before { content: ""; position: absolute; top: .8rem; bottom: .8rem; left: 6.2rem; width: 3px; background: linear-gradient(var(--terracotta), var(--teal)); }
.history-key-moments li, .history-timeline li { position: relative; display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 2.5rem; padding-block: 1rem; }
.history-key-moments li::before, .history-timeline li::before { content: ""; position: absolute; top: 1.4rem; left: 5.83rem; width: .8rem; height: .8rem; border: 3px solid white; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 2px var(--terracotta); }
.history-key-moments time, .history-timeline time { color: var(--teal-dark); font-weight: 900; text-align: right; }
.history-key-moments p, .history-timeline p { margin: 0; padding: 0 0 1rem; color: var(--muted); }
.history-era-nav { position: sticky; top: var(--header-height, 5rem); z-index: 3; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; padding: .8rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(27,55,60,.08); }
.history-era-nav span { margin-right: .3rem; font-weight: 850; }
.history-era-nav a { padding: .45rem .7rem; border-radius: 999px; color: var(--teal-dark); background: var(--teal-soft); font-size: .82rem; font-weight: 800; text-decoration: none; }
.history-era { scroll-margin-top: 9rem; }
.history-era > header { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.history-era h2 { font-size: clamp(2rem, 4vw, 3rem); }
.history-timeline { margin-top: 1rem; }
.history-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.history-topic-card { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); border-top: 6px solid var(--teal); border-radius: 1rem; background: white; box-shadow: 0 10px 30px rgba(27,55,60,.06); }
.history-topic-card h2 { color: var(--teal-dark); font-size: clamp(1.35rem, 2.5vw, 1.9rem); }
.history-topic-card p:not(.history-period) { color: var(--muted); }
.history-period { width: fit-content; margin: 0; padding: .3rem .6rem; border-radius: 999px; color: #7b4836; background: var(--blush); font-size: .76rem; font-weight: 850; letter-spacing: .04em; }
.centenary-image { overflow: hidden; margin: 0; max-height: 640px; border-radius: var(--radius); box-shadow: var(--shadow); }
.centenary-image img { width: 100%; height: min(60vw, 640px); object-fit: cover; }
.centenary-card { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius); color: white; background: linear-gradient(135deg, var(--plum), var(--teal) 72%, var(--sunshine)); box-shadow: var(--shadow); }
.centenary-card h2, .centenary-card .eyebrow, .centenary-card p { position: relative; z-index: 1; color: white; }
.centenary-date { margin: .5rem 0; font-size: clamp(3rem, 9vw, 7rem); font-weight: 900; line-height: 1; }
.history-narrative { max-width: 800px; margin-inline: auto; }
.history-narrative h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
.history-credit { display: flex; gap: 1.25rem; align-items: center; padding: clamp(1.4rem, 4vw, 2.4rem); border-left: 6px solid var(--terracotta); border-radius: .7rem; background: var(--blush); }
.history-credit img { flex: 0 0 5.5rem; width: 5.5rem; height: 5.5rem; border: 4px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 18px rgba(65,42,35,.16); }
.history-credit strong { color: var(--teal-dark); font-size: 1.15rem; }
.history-credit p { max-width: 80ch; margin: .4rem 0 0; }
.history-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.history-nav-grid a { display: grid; min-height: 150px; align-content: start; padding: 1.2rem; border: 1px solid var(--line); border-radius: .85rem; color: var(--ink); background: white; text-decoration: none; transition: transform .2s, border-color .2s; }
.history-nav-grid a:hover { transform: translateY(-3px); border-color: var(--teal); }
.history-nav-grid a[aria-current="page"] { color: white; border-color: var(--teal); background: var(--teal); }
.history-nav-grid strong { color: inherit; }
.history-nav-grid span { margin-top: .5rem; color: inherit; font-size: .85rem; opacity: .82; }

.team-page { gap: clamp(3rem, 6vw, 5rem); }
.team-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.team-card { --team-accent: var(--teal); display: flex; grid-column: span 3; gap: 1rem; align-items: center; min-height: 160px; padding: 1.25rem; border: 1px solid color-mix(in srgb, var(--team-accent) 24%, white); border-top: 6px solid var(--team-accent); border-radius: 1rem; background: linear-gradient(145deg, color-mix(in srgb, var(--team-accent) 8%, white), white 72%); box-shadow: 0 10px 28px rgba(27,55,60,.07); }
.team-card:nth-child(n + 5) { grid-column: span 4; }
.team-card:nth-child(4n + 2) { --team-accent: var(--coral); }
.team-card:nth-child(4n + 3) { --team-accent: var(--plum); }
.team-card:nth-child(4n + 4) { --team-accent: var(--sunshine); }
.team-photo { flex: 0 0 5.5rem; width: 5.5rem; height: 5.5rem; border: 4px solid color-mix(in srgb, var(--team-accent) 35%, white); border-radius: 50%; background: var(--paper); object-fit: cover; object-position: center top; filter: saturate(.9) contrast(1.025); }
.team-card h3 { color: var(--teal-dark); font-size: 1.2rem; }
.team-card p { margin: .2rem 0; color: var(--muted); }
.team-card a { font-size: .86rem; font-weight: 800; }
.team-support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); }
.safeguarding-team { background: linear-gradient(135deg, var(--plum-soft), var(--sky-soft)); }
.pastoral-team { background: linear-gradient(135deg, var(--sunshine-soft), var(--coral-soft)); }
.team-support h2 { color: var(--teal-dark); }
.team-support-portraits { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 1rem; }
.team-support-person { display: grid; justify-items: center; text-align: center; line-height: 1.35; }
.team-support-person img { width: 6.5rem; height: 6.5rem; border: 4px solid rgba(255,255,255,.9); border-radius: 50%; background: white; object-fit: cover; object-position: center top; box-shadow: 0 8px 22px rgba(28,49,53,.14); }
.team-support-person strong { margin-top: .55rem; color: var(--ink); }
.team-support-person span { color: var(--muted); font-size: .82rem; }

@media (max-width: 1220px) {
    .site-header { position: sticky; top: 0; }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; width: auto; min-width: 7.2rem; }
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: stretch; gap: .75rem; padding-block: .55rem; }
    .brand { justify-self: start; }
    .brand img { width: min(235px, 64vw); }
    .mobile-nav nav { position: absolute; z-index: 1; top: calc(100% + .35rem); right: 0; left: 0; max-height: calc(100vh - 5.5rem); max-height: calc(100dvh - 5.5rem); margin-top: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 1000px) {
    .hero, .split-section, .room-hire-intro { grid-template-columns: 1fr; }
    .watch-feature { grid-template-columns: 1fr; }
    .hero-copy, .split-copy { max-width: 760px; justify-self: center; padding: 4rem max(1.25rem, 8vw); }
    .hero-image { min-height: 380px; max-height: 600px; }
    .history-nav-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .team-card, .team-card:nth-child(n + 5) { grid-column: auto; }
    .card-grid.four, .card-grid.five { grid-template-columns: repeat(2, 1fr); }
    .card-grid.five > *, .card-grid.five > :nth-child(4) { grid-column: auto; }
    .group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .visit-facts, .expectation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .room-overview-grid, .health-summary, .analytics-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sunday-watch-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .journey-section { padding-top: 2.75rem; }
    .journey-intro { padding-inline: .4rem; }
    .journey-artwork { display: none; }
    .journey-mobile { display: grid; width: min(100% - 1.5rem, 560px); gap: 0; margin: 1.5rem auto 2rem; padding: 0; list-style: none; }
    .journey-signpost { position: relative; display: grid; width: 100%; min-height: 132px; place-items: center; padding: 1rem 4rem 1rem 1.5rem; overflow: hidden; border: 0; color: #101010; background: linear-gradient(168deg, transparent 0 14%, rgba(169,91,38,.12) 15% 16%, transparent 17% 43%, rgba(169,91,38,.1) 44% 46%, transparent 47%), linear-gradient(180deg, #f8cda5, #e99e61); clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%, 1.5% 53%); filter: drop-shadow(0 8px 7px rgba(62,73,65,.18)); text-align: center; cursor: pointer; transition: transform .18s ease, filter .18s ease; }
    .journey-signpost::before { content: ""; position: absolute; inset: 6px 10% 6px 7px; border-top: 2px solid rgba(255,255,255,.3); border-bottom: 2px solid rgba(140,72,28,.13); }
    .journey-signpost > span, .journey-signpost > strong { position: relative; z-index: 1; display: block; }
    .journey-signpost-title { font-size: clamp(2rem, 10vw, 3rem); font-weight: 900; letter-spacing: -.04em; line-height: .95; }
    .journey-signpost > span:nth-child(2) { margin-top: .45rem; font-weight: 750; }
    .journey-signpost > strong { margin-top: .7rem; padding: .35rem .8rem; border-radius: 999px; color: white; background: var(--teal); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
    .journey-signpost:hover, .journey-signpost:focus-visible, .journey-signpost[aria-expanded="true"] { transform: translateY(-2px); filter: drop-shadow(0 12px 10px rgba(62,73,65,.26)); }
    .journey-signpost:focus-visible { outline: 4px solid #155eef; outline-offset: 4px; }
    .journey-signpost-mission { min-height: 158px; padding-inline: 2.5rem; color: #10243f; background: linear-gradient(173deg, transparent 0 37%, rgba(255,255,255,.24) 38% 41%, transparent 42%), linear-gradient(180deg, #ffe277, #ffd45b); clip-path: polygon(2% 5%, 27% 0, 51% 8%, 76% 4%, 97% 1%, 100% 84%, 80% 90%, 61% 98%, 39% 94%, 17% 100%, 4% 93%); }
    .journey-transition { display: grid; grid-template-columns: 1fr auto; gap: .1rem .75rem; align-items: center; min-height: 76px; padding: .65rem 1.5rem; color: var(--teal-dark); text-align: right; }
    .journey-transition strong, .journey-transition > span:not(:last-child) { grid-column: 1; }
    .journey-transition > span:last-child { grid-column: 2; grid-row: 1 / span 2; color: #111; font-family: Georgia, serif; font-size: 2.35rem; font-weight: 900; transform: rotate(7deg); }
    .journey-transition strong { align-self: end; }
    .journey-transition > span:not(:last-child) { align-self: start; }
    .journey-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: 1rem; }
    .journey-dialog-heading { align-items: flex-start; padding: 1.4rem 4rem 1.4rem 1.2rem; }
    .journey-dialog-marker { flex-basis: 3rem; width: 3rem; height: 3rem; }
    .journey-dialog-copy { padding: 1.35rem; }
    .journey-dialog-nav button { padding: .85rem; font-size: .82rem; }
}

@media (max-width: 680px) {
    :root { --page: min(100% - 1.25rem, 1180px); }
    h1 { font-size: clamp(2.4rem, 13vw, 4rem); }
    .page-hero { padding-block: 2.5rem 2.75rem; }
    .page-hero::before { width: .4rem; }
    .page-hero h1 { max-width: 100%; font-size: clamp(2.25rem, 11vw, 3.35rem); line-height: 1.02; overflow-wrap: anywhere; }
    .page-hero .page-shell { width: min(100% - 2rem, 1180px); }
    .page-hero .lede { font-size: 1.08rem; }
    .home-opening { display: grid; }
    .home-opening .hero { display: contents; }
    .home-opening .hero-copy { order: 1; padding-block: 2.25rem; }
    .home-opening .hero-copy > * + * { margin-top: 1rem; }
    .home-opening .this-sunday-panel { order: 2; }
    .home-opening .hero-image { order: 3; min-height: 260px; max-height: 340px; border-bottom: .55rem solid var(--ink); }
    .hero-copy h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
    .button-row { align-items: stretch; flex-direction: column; }
    .button-row .button { width: 100%; }
    .prose { overflow-wrap: anywhere; }
    .site-search-form { grid-template-columns: 1fr; }
    .site-search-form .button { width: 100%; }
    .history-topic-grid, .history-nav-grid, .team-grid, .team-support, .card-grid.two, .card-grid.three, .card-grid.four, .card-grid.five, .content-list, .page-section-grid, .form-grid, .event-facts, .footer-grid, .visit-facts, .expectation-grid, .family-visit-grid, .room-overview-grid, .room-practical-grid, .pricing-grid, .health-summary, .analytics-insight-grid, .integration-grid, .readiness-list, .search-recovery-grid { grid-template-columns: 1fr; }
    .this-sunday-inner { grid-template-columns: auto 1fr; column-gap: .85rem; }
    .this-sunday-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .this-sunday-facts { display: grid; }
    .broadcast-status { align-items: stretch; flex-direction: column; }
    .visit-facts > div { min-height: auto; }
    .history-key-moments::before, .history-timeline::before { left: .45rem; }
    .history-key-moments li, .history-timeline li { grid-template-columns: 1fr; gap: .25rem; padding-left: 2rem; }
    .history-key-moments li::before, .history-timeline li::before { left: .08rem; }
    .history-key-moments time, .history-timeline time { text-align: left; }
    .history-era-nav { position: static; }
    .history-credit { align-items: flex-start; flex-direction: column; }
    .team-support .button-row { align-items: flex-start; }
    .utility-card { min-height: auto; padding: 2rem 1.4rem; }
    .video-card { min-height: 430px; }
    .admin-heading { align-items: stretch; flex-direction: column; }
    .activity-grid { grid-template-columns: 1fr; }
    .activities-heading { padding-block: 1.6rem .75rem; }
    .activities-heading h1 { font-size: clamp(2.1rem, 11vw, 2.8rem); }
    .event-filters { margin-bottom: 1.25rem; padding: 1rem; }
    .filter-pill-scroller { margin-right: -.35rem; }
    .filter-pill-scroller::after { position: absolute; top: 0; right: 0; bottom: 0; width: 2.5rem; background: linear-gradient(90deg, transparent, #dfeff0 80%); content: ""; pointer-events: none; }
    .filter-pills { flex-wrap: nowrap; padding: 0 2.5rem .25rem 0; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .filter-pills::-webkit-scrollbar { display: none; }
    .filter-pills button { flex: 0 0 auto; }
    .filter-swipe-hint { display: flex; justify-content: flex-end; gap: .35rem; margin-top: .3rem; color: #516b70; font-size: .72rem; font-weight: 750; }
    .view-switcher { justify-content: space-between; }
    .event-date-list section { grid-template-columns: 1fr; gap: .65rem; }
    .event-filter-selects { display: none; }
    .mobile-event-more-filters { display: block; margin-top: 1rem; border-top: 1px solid var(--line); }
    .mobile-event-more-filters > summary { display: flex; justify-content: space-between; align-items: center; min-height: 3rem; cursor: pointer; color: var(--teal-dark); font-weight: 800; }
    .mobile-event-more-filters > summary strong { color: var(--teal-dark); }
    .mobile-event-more-filters > summary .filter-count { padding: .2rem .6rem; border-radius: 999px; color: white; background: var(--teal); font-size: .75rem; }
    .mobile-event-filter-selects { display: grid; grid-template-columns: 1fr; gap: .8rem; padding-block: .5rem 1rem; }
    .filter-summary { align-items: flex-start; flex-direction: column; }
    .calendar-subscription { grid-template-columns: 1fr; }
    .activity-visual { min-height: 150px; }
    .activity-card-kicker { align-items: flex-start; flex-direction: column; gap: .45rem; }
    .activity-count { text-align: left; }
    .activity-facts { grid-template-columns: 1fr; }
    .activity-facts div:last-child:nth-child(odd) { grid-column: auto; }
    .group-grid { grid-template-columns: 1fr; }
    .group-filters { grid-template-columns: 1fr; }
    .group-card { min-height: auto; }
    .service-video-grid { grid-template-columns: 1fr; }
    .sermon-filter-selects { display: none; }
    .mobile-sermon-more-filters { display: block; margin-top: .8rem; border-top: 1px solid var(--line); }
    .mobile-sermon-more-filters > summary { display: flex; justify-content: space-between; align-items: center; min-height: 3rem; color: var(--teal-dark); cursor: pointer; font-weight: 800; }
    .mobile-sermon-more-filters > summary small { padding: .15rem .5rem; border-radius: 999px; color: var(--muted); background: white; }
    .mobile-sermon-filter-selects { display: grid; gap: .8rem; padding-block: .5rem 1rem; }
    .health-issues li, .admin-section-heading { align-items: flex-start; flex-direction: column; }
    .hallmaster-desktop-frame { display: none; }
    .hallmaster-mobile-frame { display: block; }
    .hallmaster-mobile-frame > summary { min-height: 3rem; padding: .7rem 1rem; border: 2px solid var(--teal); border-radius: 999px; color: var(--teal-dark); background: white; font-weight: 800; text-align: center; cursor: pointer; }
    .hallmaster-mobile-frame[open] > summary { margin-bottom: 1rem; }
    .hallmaster-frame, .hallmaster-frame iframe { min-height: 980px; height: 980px; }
    .event-detail, .group-detail { padding-block: 1.75rem 3.5rem; }
    .event-detail-hero, .group-detail-hero { grid-template-columns: 1fr; min-height: 0; }
    .event-detail-media, .group-detail-image, .group-detail-artwork { grid-row: 1; min-height: 220px; max-height: 280px; }
    .event-detail-media img { min-height: 220px; max-height: 280px; }
    .event-detail-heading, .group-detail-heading { padding: 1.5rem; }
    .event-detail-heading h1, .group-detail-heading h1 { max-width: 100%; font-size: clamp(2.25rem, 11vw, 3.35rem); overflow-wrap: anywhere; }
    .event-detail-heading .event-facts { grid-template-columns: 1fr; gap: .65rem; }
    .event-detail-heading .event-facts div { padding: .8rem .9rem; }
    .group-detail-facts { grid-template-columns: 1fr; gap: .65rem; }
    .footer-affiliations { align-items: flex-start; flex-direction: column; }
    .footer-affiliations > div { width: 100%; }
    .footer-affiliations a { flex: 1 1 9rem; }
    .sunday-live-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; min-height: 3.15rem; padding-block: .45rem; }
    .sunday-live-inner p { min-width: 0; flex-wrap: nowrap; gap: .55rem; }
    .sunday-live-inner p strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .sunday-live-title, .sunday-live-action-long { display: none; }
    .sunday-live-action-short { display: inline; }
    .sunday-live-inner a { align-self: center; }
    .live-dot { flex: 0 0 auto; width: .58rem; height: .58rem; }
}

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