/* Shared visual system approved in previa-moderna.html. */
:root {
  --navy: #153c51;
  --sea: #205e69;
  --gold: #be893e;
  --ink: #1b3641;
  --paper: #f5f5ee;
  --mist: #e9f0ef;
  --bg: var(--paper);
  --surface: #fff;
  --surface-strong: #fff;
  --surface-dark: var(--navy);
  --text: var(--ink);
  --muted: #60747b;
  --line: #d7e1de;
  --accent: var(--gold);
  --accent-deep: #8c642e;
  --shadow: 0 12px 32px #153c510a;
  --radius-xl: 6px;
  --radius-lg: 4px;
  --radius-md: 4px;
  --max-width: 1200px;
  --display: 'Marcellus', Georgia, serif;
  --body: 'DM Sans', sans-serif;
}
html { scroll-padding-top: 115px; }
body.site-modern { font: 16px/1.65 var(--body); background: var(--paper); color: var(--ink); }
body.site-modern::before { content: none; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
::selection { background: #e4ca9c; color: var(--navy); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.site-shell { width: 100%; padding: 0 0 24px; }
main, .footer { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
main > *, .two-column > *, .card-grid > *, .contact-grid > * { min-width: 0; }
.site-utility { background: #fff; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-utility__inner { width: min(1200px, calc(100% - 80px)); margin: auto; display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.site-utility__inner > div { display: flex; gap: 23px; }
.topbar { display: block; top: 0; padding: 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fffffff7; backdrop-filter: blur(14px); box-shadow: none; transition: box-shadow .3s; }
.topbar.is-scrolled { box-shadow: 0 6px 30px #153c5112; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: min(1200px, calc(100% - 80px)); margin: auto; min-height: 94px; }
.brand { flex-shrink: 0; gap: 13px; }
.brand-symbol { width: 42px; height: 49px; color: var(--gold); }
.brand-copy strong { font: 22px/1.25 var(--display); }
.brand-copy small { letter-spacing: .19em; font-size: 9px; color: var(--muted); margin-top: 5px; }
.site-menu { gap: 22px; padding: 0; border-radius: 0; background: none; flex-wrap: nowrap; }
.site-menu > a, .site-menu__trigger { color: var(--ink); font: 600 12px/1.4 var(--body); text-transform: none; letter-spacing: 0; padding: 10px 0; white-space: nowrap; }
.site-menu a[aria-current='page'], .site-menu__trigger[aria-current='page'] { color: var(--sea); }
.site-menu a::after, .site-menu__trigger::after { background: var(--gold); bottom: 2px; transform-origin: left; }
.site-submenu { left: 0; top: calc(100% + 12px); width: 300px; max-height: min(65vh, 550px); border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 15px 35px #153c511a; transform: translateY(6px); }
.site-menu__group.is-open .site-submenu { transform: translateY(0); }
#festa-submenu { left: auto; right: 0; }
.site-submenu a { padding: 10px 12px; border-radius: 3px; color: var(--ink); font: 500 13px/1.4 var(--body); }
.site-submenu a:hover, .site-submenu a:focus-visible, .site-submenu a[aria-current='page'] { background: var(--mist); color: var(--sea); }
.menu-toggle { border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: #fff; font-size: 13px; padding: 8px 14px; }
.button { min-height: 46px; padding: 12px 22px; gap: 14px; border: 1px solid transparent; border-radius: 3px; box-shadow: none; background: var(--sea); color: #fff; font-size: 13px; font-weight: 700; transition: background .25s, transform .25s; }
.button:hover, .button:focus-visible { background: var(--navy); box-shadow: none; transform: translateY(-3px); }
.button--ghost { background: transparent; border-color: var(--line); color: var(--sea); }
.button--ghost:hover { color: white; }
.text-link { color: var(--sea); font-size: 13px; font-weight: 700; border-bottom: 1px solid #a6bbba; padding-bottom: 2px; margin-top: 6px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--sea); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.eyebrow::before { content: ''; flex-shrink: 0; width: 28px; height: 1px; background: var(--gold); }
.page-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 55px; padding: 60px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero-copy h1 { font: 400 clamp(30px, 3.5vw, 45px)/1.2 var(--display); max-width: 26ch; letter-spacing: -.025em; text-wrap: balance; }
.lead { font-size: 15px; line-height: 1.8; margin-bottom: 0; }
.page-hero-panel { padding: 25px; border-radius: 4px; background: var(--navy); }
.page-hero-panel::after { content: none; }
.hero-highlights { list-style: none; padding: 0; gap: 0; }
.hero-highlights li { border: 0; border-bottom: 1px solid #ffffff26; background: none; box-shadow: none; backdrop-filter: none; border-radius: 0; padding: 12px 0; font-size: 14px; color: #e0e9eb; }
.hero-highlights li:last-child { border: 0; }
.hero-link-button { border-radius: 3px; background: #ffffff0d; font-size: 13px; line-height: 1.55; }
.hero-link-button:hover { background: #ffffff20; }
.section, .section--compact { padding-top: 70px; }
.section-heading, .block-heading { max-width: 900px; margin-bottom: 30px; }
.section h2, .block-heading h2 { font: 400 clamp(27px, 3vw, 37px)/1.25 var(--display); max-width: 35ch; letter-spacing: -.02em; text-wrap: balance; }
.section-copy p, .section-heading p, .feature-card p, .note-card p { font-size: 15px; }
.two-column { gap: 36px; }
.note-row, .feature-stack { grid-template-columns: minmax(0, 1fr); }
.note-card, .section-copy, .detail-list { overflow-wrap: anywhere; }
.card-grid, .photo-grid, .priest-grid, .contact-grid { gap: 22px; }
.feature-card, .note-card, .priest-card, .stat-card, .sacrament-card, .contact-card, .timeline-item, .document-card, .photo-card, .video-card, .news-card, .info-banner, .ministry-chip, .news-list__item, .sidebar-card, .feature-link-card, .media-player__frame, .media-player__item { border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: none; backdrop-filter: none; }
.feature-card, .note-card, .priest-card, .stat-card, .sacrament-card, .contact-card { padding: 25px; }
.feature-card h3, .note-card h3, .contact-card h3, .sacrament-card h3, .priest-card h3 { line-height: 1.4; }
.contact-card h3, .contact-card a { overflow-wrap: anywhere; }
.section--contrast { margin-top: 65px; padding: 36px; background: var(--navy); border-radius: 5px; }
.section--contrast::before { content: none; }
.section--contrast .section-copy p, .section--contrast > .section-heading p { color: #e0e9eb; }
.section--contrast .feature-card p, .section--contrast .note-card p, .section--contrast .photo-card figcaption { color: var(--muted); }
.section--contrast .timeline-item h3 { color: var(--ink); }
.section--contrast .timeline-item p { color: var(--muted); }
.section--contrast .timeline-item .timeline-year { color: var(--accent-deep); }
.info-banner { border-left: 3px solid var(--gold); background: var(--mist); padding: 24px 28px; }
.info-banner p:last-child { margin-bottom: 0; }
.timeline { gap: 0; border-left: 2px solid var(--line); margin-left: 7px; }
.timeline-item { position: relative; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 25px 20px; grid-template-columns: 95px minmax(0, 1fr); }
.timeline-item::before { content: ''; position: absolute; top: 33px; left: -5px; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.photo-card img { background: var(--mist); }
.document-card__image { border-radius: 2px; }
.photo-card figcaption { font-size: 13px; }
.photo-card, .feature-card, .ministry-chip { transition: box-shadow .35s, transform .35s; }
.photo-card:hover, .ministry-chip:hover { box-shadow: 0 12px 32px #153c5110; transform: translateY(-3px); }
.ministry-chip { font-size: 14px; font-weight: 600; }
.ministry-chip::after { content: '↗'; }
.page-cover { padding-top: 32px; }
.featured-banner { border-radius: 5px; box-shadow: none; min-height: 400px; }
.featured-banner__overlay { background: linear-gradient(0deg, #0c2e43d9, #0c2e4320 70%); padding: 32px; }
.featured-banner__title { font: 400 clamp(30px, 4vw, 48px)/1.2 var(--display); max-width: 24ch; }
.featured-banner .eyebrow, .featured-banner .lead { color: #fff; }
body:has(.program-schedule) .page-cover .featured-banner { min-height: 0; aspect-ratio: 2048 / 689; }
body:has(.program-schedule) .page-cover .featured-banner__overlay { background: none; justify-content: end; padding: 18px 26px; }
body:has(.program-schedule) .page-cover .eyebrow { display: none; }
body:has(.program-schedule) .page-cover .lead { padding: 8px 12px; background: #153c51c9; font-size: 12px; max-width: 100%; border-radius: 3px; }
.program-day { border: 1px solid var(--line); background: white; box-shadow: none; border-radius: 5px; padding: 28px; }
.program-day--highlight { border-top: 3px solid var(--gold); }
.program-day__header { grid-template-columns: 100px minmax(0, 1fr); gap: 20px; }
.program-day__date { border-radius: 4px; background: var(--navy); }
.program-day__header h3 { font-size: 20px; line-height: 1.35; }
.program-day__celebrant { max-width: 280px; background: var(--paper); border-radius: 5px; box-shadow: none; padding: 18px 18px 5px; }
.program-day__celebrant--multi { max-width: 780px; }
.program-day__celebrant-stack { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.program-day__celebrant-name { font-size: 14px; }
.program-list li { background: var(--mist); border-radius: 3px; }
.program-grid .note-card { background: var(--paper); }
.procession-slot { border-radius: 4px; border-color: #ffffff26; }
.procession-slot__media { aspect-ratio: 16/10; min-height: 0; }
.procession-slot__media img { height: 100%; min-height: 0; object-fit: cover; }
.run-card, .run-kit-card { border-radius: 4px; box-shadow: none; border-color: var(--line); }
.news-list__item { padding: 22px 25px; }
.news-list__item h3 { font: 400 25px/1.3 var(--display); }
.news-list__meta, .sidebar-card__label { font-size: 10px; letter-spacing: .12em; }
.news-list__item p, .sidebar-card p, .feature-link-card p { font-size: 14px; }
.sidebar-card { padding: 24px; }
.sidebar-card h3 { font: 400 24px/1.3 var(--display); }
.portal-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 35px; }
.media-player { grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr); gap: 25px; }
.media-player__item { font-family: var(--body); padding: 20px; }
.media-player__item.is-active { border-color: var(--sea); background: var(--mist); }
.media-player__item strong { box-shadow: none; }
.feature-link-grid { gap: 20px; }
.feature-link-card { padding: 24px; }
.footer, .footer--portal { margin-top: 70px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; padding: 30px 0 10px; font-size: 13px; }
.footer p { font-size: 12px; }
.footer-links { gap: 9px; }
.footer a:hover { color: var(--sea); text-decoration: underline; }
.cookie-consent { width: min(370px, calc(100% - 24px)); right: 12px; bottom: 12px; }
.cookie-consent__dialog { border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 10px 35px #153c5120; }
.cookie-consent__text { font-size: 12px; }
.cookie-consent__brand h2 { font: 500 14px var(--body); }
.cookie-consent__button { font-size: 11px; padding: 8px; border-radius: 3px; }
.cookie-consent__links a { font-size: 11px; color: var(--accent-deep); }
.cookie-settings { border: 0; background: none; color: var(--sea); text-decoration: underline; font-size: 12px; padding: 0; text-align: left; }
.back-top { position: fixed; bottom: 24px; left: 22px; z-index: 15; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--navy); box-shadow: var(--shadow); cursor: pointer; }
.site-reveal { transition: opacity .65s, translate .65s; }
.motion-enabled .site-reveal:not(.is-visible) { opacity: 0; translate: 0 18px; }
.motion-enabled .modern-hero .hero-copy, .motion-enabled .page-hero-copy { animation: page-arrival .8s both; }
@keyframes page-arrival { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
/* The home hero and three entry cards follow the approved preview. */
.home-modern main { width: 100%; }
.home-modern main > *:not(.modern-hero) { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.modern-hero { position: relative; background: var(--mist); overflow: hidden; margin-inline: 0; }
.hero-grid { width: min(1200px, calc(100% - 80px)); margin: auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 575px; }
.modern-hero .hero-copy { padding: 65px 56px 85px 0; position: relative; z-index: 1; align-self: center; }
.modern-hero h1 { font: 400 clamp(38px, 4.2vw, 59px)/1.13 var(--display); letter-spacing: -.025em; margin: 0 0 22px; max-width: 560px; }
.modern-hero h1 em { font-style: normal; color: var(--sea); }
.modern-hero .hero-copy > p:not(.eyebrow) { color: var(--muted); max-width: 395px; font-size: 15px; }
.actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 29px; }
.arrow { display: inline-block; margin-left: 10px; transition: transform .25s; }
.text-link:hover .arrow { transform: translateX(5px); }
.hero-photo { position: relative; margin-right: calc(-1 * max(40px, (100vw - 1200px) / 2)); overflow: hidden; min-height: 575px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; position: absolute; inset: 0; transform: scale(1.035); transition: transform 1.2s; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #153c5159, transparent 45%); pointer-events: none; }
.photo-caption { position: absolute; z-index: 1; bottom: 38px; left: 32px; color: white; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.photo-caption::before { content: '•'; color: #e4c58e; margin-right: 10px; }
.hero-line { position: absolute; left: -85px; bottom: -230px; width: 570px; height: 570px; border: 1px solid #205e6910; border-radius: 50%; pointer-events: none; }
.hero-line::after { content: ''; position: absolute; inset: 32px; border: 1px solid #205e6910; border-radius: 50%; }
.welcome { display: flex; gap: 12px; align-items: center; margin-top: 40px; color: var(--muted); font-size: 11px; }
.welcome span { color: var(--gold); font-size: 20px; }
.modern-schedule { position: relative; margin-top: -22px; z-index: 2; background: var(--navy); color: white; display: grid; grid-template-columns: .9fr 1.2fr 1.2fr; padding: 29px 34px; gap: 32px; border-radius: 4px; }
.modern-schedule h2 { font: 400 25px var(--display); margin: 0 0 5px; }
.schedule-label { color: #e0bd81; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.schedule-block { border-left: 1px solid #ffffff26; padding-left: 30px; }
.schedule-block strong { display: block; font-size: 13px; margin-bottom: 6px; }
.schedule-block p { font-size: 12px; color: #d0dfe3; margin: 3px 0; }
.modern-schedule a { font-size: 11px; display: inline-block; margin-top: 7px; color: #eed1a1; }
.modern-participate { padding: 80px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head h2 { font: 400 clamp(29px, 3vw, 39px)/1.2 var(--display); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); background: white; border-radius: 4px; overflow: hidden; transition: transform .4s, box-shadow .4s; }
.card:hover { transform: translateY(-7px); box-shadow: 0 18px 40px #153c5110; }
.card-image { overflow: hidden; height: 185px; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.card:hover img { transform: scale(1.06); }
.card-copy { padding: 24px; }
.category { color: #986e35; text-transform: uppercase; font-size: 9px; letter-spacing: .16em; font-weight: 700; }
.card h3 { font: 400 25px/1.2 var(--display); margin: 12px 0; }
.card p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 45px; padding-top: 35px; border-top: 1px solid var(--line); }
.home-info-card { background: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 20px 0 0; backdrop-filter: none; }
.home-info-card h2 { font: 400 25px var(--display); }
.home-info-card p { font-size: 13px; overflow-wrap: anywhere; }
.home-info-card__label { font-size: 10px; }
.edition-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; font-size: 13px; }
.edition-nav a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 3px; background: white; transition: background .2s, color .2s; }
.edition-nav a:hover, .edition-nav a[aria-current='page'] { background: var(--sea); border-color: var(--sea); color: white; }
.edition-notice { margin: 22px 0 0; padding: 22px 26px; background: var(--mist); border-left: 3px solid var(--gold); border-radius: 3px; }
.edition-notice strong { color: var(--navy); }
.edition-notice p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.edition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.edition-card { overflow: hidden; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 4px; }
.edition-card__photo { display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.edition-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transition: transform .7s; }
.edition-card__photo--poster img { object-fit: contain; }
.edition-card__photo:hover img { transform: scale(1.025); }
.edition-card__copy { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 28px; }
.edition-status { color: var(--sea); background: var(--mist); padding: 4px 10px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; border-radius: 2px; }
.edition-status--archive { color: var(--accent-deep); background: #f6eddc; }
.edition-card h3 { font: 400 clamp(25px, 2.5vw, 32px)/1.25 var(--display); margin: 18px 0 14px; }
.edition-card p { color: var(--muted); font-size: 14px; }
.edition-card__copy > a { margin-top: auto; }
.edition-portrait { margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: white; }
.edition-portrait img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 45%; }
.edition-portrait figcaption { padding: 10px 16px; color: var(--muted); font-size: 11px; }
@media (max-width: 650px) {
  .edition-grid { grid-template-columns: minmax(0, 1fr); }
  .edition-card__copy, .edition-notice { padding: 20px; }
  .edition-nav { gap: 8px; font-size: 12px; }
  .edition-nav a { padding: 8px 11px; }
}
@media (max-width: 1279px) {
  .site-menu { gap: 14px; }
  .site-menu > a, .site-menu__trigger { font-size: 11px; }
  .brand-copy strong { font-size: 20px; }
}
@media (max-width: 1100px) {
  .topbar__inner { min-height: 80px; flex-wrap: wrap; gap: 0; padding-block: 15px; }
  .menu-toggle { display: inline-flex; }
  .site-menu { display: none; width: 100%; padding: 20px 0; flex-direction: column; align-items: start; gap: 8px; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .site-menu.is-open { display: flex; }
  .site-menu > a, .site-menu__group, .site-menu__trigger { width: 100%; font-size: 14px; }
  .site-menu__trigger { justify-content: space-between; }
  .site-submenu { position: static; width: 100%; max-height: 45vh; transform: none; box-shadow: none; display: none; margin-top: 6px; }
  .site-menu__group.is-open .site-submenu { display: grid; transform: none; }
}
@media (max-width: 980px) {
  main, .footer, .topbar__inner, .site-utility__inner, .hero-grid { width: calc(100% - 48px); }
  .home-modern main > *:not(.modern-hero) { width: calc(100% - 48px); }
  .hero-photo { margin-right: -24px; }
  .modern-hero .hero-copy { padding-right: 30px; }
  .page-hero, .two-column, .portal-layout, .media-player { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .page-hero-copy h1 { max-width: 30ch; }
  .page-hero-panel { max-width: 100%; }
  .card-grid--three, .priest-grid, .sacrament-grid, .photo-grid--three, .feature-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid, .stat-grid, .card-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modern-schedule { gap: 22px; padding: 26px; }
  .schedule-block { padding-left: 20px; }
  .home-service-grid { gap: 18px; }
  .home-info-card h2 { font-size: 22px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 95px; }
  main, .footer, .topbar__inner, .site-utility__inner, .hero-grid { width: calc(100% - 36px); }
  .site-utility__inner { justify-content: center; }
  .site-utility__inner > span { display: none; }
  .site-utility__inner > div { gap: 18px; font-size: 10px; }
  .brand-symbol { width: 32px; height: 40px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { font-size: 8px; }
  .topbar__inner { min-height: 74px; }
  .section, .section--compact { padding-top: 45px; }
  .section--contrast { margin-top: 45px; padding: 25px 18px; }
  .page-hero { padding: 35px 0; gap: 25px; }
  .page-hero-copy h1 { font-size: 32px; }
  .section h2, .block-heading h2 { font-size: 29px; }
  .page-hero-panel { padding: 20px; }
  .card-grid--three, .priest-grid, .sacrament-grid, .photo-grid--three, .photo-grid--archive, .feature-link-grid, .contact-grid, .stat-grid, .card-grid--two, .cards, .home-service-grid, .modern-schedule, .procession-grid, .program-grid { grid-template-columns: minmax(0, 1fr); }
  .home-modern main > *:not(.modern-hero) { width: calc(100% - 36px); }
  .hero-grid { display: flex; flex-direction: column; }
  .modern-hero .hero-copy { padding: 37px 0 32px; }
  .modern-hero h1 { font-size: 39px; max-width: 340px; }
  .eyebrow { font-size: 10px; }
  .hero-photo { margin: 0 -18px; min-height: 310px; }
  .hero-photo img { object-position: center 65%; }
  .photo-caption { bottom: 30px; left: 24px; }
  .welcome { margin-top: 25px; }
  .modern-schedule { margin-top: 0; padding: 24px; gap: 20px; }
  .schedule-block { border-left: 0; border-top: 1px solid #ffffff26; padding: 17px 0 0; }
  .modern-participate { padding-top: 50px; }
  .section-head { flex-direction: column; align-items: start; }
  .card-image { height: 200px; }
  .home-service-grid { gap: 25px; }
  .home-info-card { border-bottom: 1px solid var(--line); padding-bottom: 15px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .featured-banner { min-height: 320px; }
  .featured-banner__overlay { padding: 20px; }
  body:has(.program-schedule) .page-cover .featured-banner { aspect-ratio: auto; min-height: 0; }
  body:has(.program-schedule) .page-cover .featured-banner__image { position: relative; height: auto; object-fit: contain; }
  body:has(.program-schedule) .page-cover .featured-banner__overlay { position: relative; padding: 14px; background: var(--navy); }
  body:has(.program-schedule) .page-cover .lead { padding: 0; background: none; }
  .program-day { padding: 20px 16px; }
  .program-day__header { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; }
  .program-day__header > div:not(.program-day__aside) { grid-column: 2; grid-row: 1; }
  .program-day__header h3 { font-size: 17px; }
  .program-day__header p { font-size: 13px; }
  .program-day__date { padding: 12px 3px; font-size: 11px; letter-spacing: .02em; min-width: 0; min-height: 44px; }
  .program-day__celebrant { grid-column: 1 / -1; grid-row: 2; max-width: 280px; }
  .program-day__celebrant--multi { max-width: 100%; padding-inline: 8px; }
  .program-day__celebrant-stack { grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); }
  .celebrant-portrait { max-width: 120px; }
  .footer { grid-template-columns: minmax(0, 1fr); gap: 25px; margin-top: 45px; }
  .cookie-consent { right: 8px; bottom: 8px; width: min(340px, calc(100% - 16px)); }
  .back-top { left: 10px; bottom: 10px; width: 36px; height: 36px; }
}
@media (max-width: 380px) {
  .brand { gap: 9px; }
  .brand-symbol { width: 27px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 7px; }
  .menu-toggle { font-size: 12px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-enabled .site-reveal:not(.is-visible) { opacity: 1; translate: none; }
}
@media print {
  .topbar, .site-utility, .cookie-consent, .cookie-preferences, .back-top { display: none !important; }
  .site-reveal { opacity: 1 !important; translate: none !important; }
}
