/* Supplied church identity: keep the lettering readable on both header backgrounds. */
:root { --header-h: 84px; }
html:has(.jump-bar) { scroll-padding-top: calc(var(--header-h) + 88px); }
.brand img { width: 190px; height: 54px; object-fit: contain; object-position: left center; }
.foot-logo { width: min(100%, 300px); height: auto; }
.foot-note { text-wrap: balance; }
.calendar-summary { display: grid; gap: 18px; }
.calendar-summary h4 { font-size: 1.125rem; }
.calendar-dates { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; }
.calendar-dates dt { font-weight: 600; }
.calendar-dates dd { margin: 0; }
.calendar-events { display: grid; gap: 14px; }
.calendar-events li { display: grid; gap: 2px; }
.calendar-events strong { font-size: 1rem; }
.calendar-events span { color: var(--muted); font-size: 1rem; }
.calendar-full { margin-top: 4px; border-top: 1px solid var(--hairline); }
.calendar-full > summary { padding-block: 18px; font-size: 1rem; font-weight: 600; color: var(--royal); cursor: pointer; }
.calendar-full > .cal { padding-bottom: 12px; }

/* Let phone layouts breathe while keeping desktop composition unchanged. */
@media (max-width: 760px) {
  :root { --gutter: 26px; --section: 76px; }
  body { line-height: 1.7; }
  h1 { font-size: clamp(2.125rem, 8.5vw, 3rem); line-height: 1.08; }
  h2 { font-size: clamp(1.75rem, 7vw, 2.25rem); line-height: 1.12; }
  h3 { line-height: 1.25; }
  .stack > * + * { margin-top: 30px; }
  .stack-s > * + * { margin-top: 18px; }
  .center > * + * { margin-top: 24px; }
  .hero-body { padding-bottom: 100px; }
  .hero h1 { font-size: clamp(2.125rem, 8.4vw, 3.25rem); line-height: 1.08; }
  .hero-sub { margin-top: 24px; }
  .hero .cta-row { margin-top: 30px; gap: 14px; }
  .video-toggle { width: 44px; height: 44px; justify-content: center; padding: 12px; }
  .video-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .visit-grid, .student-cols, .stories, .info-grid, .latest, .series { gap: 44px; }
  .quick { margin-top: 48px; padding-block: 26px; gap: 14px 12px; }
  .quick-label { flex-basis: 100%; margin-bottom: 8px; }
  .rounds { gap: 36px 24px; }
  .min-grid { gap: 36px 22px; }
  .min-grid h2 { margin-top: 16px; font-size: 1.25rem; line-height: 1.3; }
  .wte-grid { gap: 28px; }
  .wte h3 { margin: 20px 22px 10px; }
  .wte p { padding: 0 22px 26px; line-height: 1.65; }
  .rows > details > summary { padding-block: 22px; }
  .way { padding: 28px; gap: 16px; }
  .ways { gap: 24px; }
  .activity-list { gap: 16px; }
  .site-footer { padding-block: 56px 32px; }
  .foot-cols { gap: 20px; margin-bottom: 44px; }
  .foot-card { gap: 10px; padding: 24px; }
  .foot-bottom { gap: 36px; }
  .foot-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 24px; }
  .foot-note { margin-top: 36px; padding-top: 28px; line-height: 1.6; }
}
@media (max-width: 1039px) {
  :root { --header-h: 76px; }
  .brand img { width: min(168px, 43vw); height: 44px; }
}
@media (max-width: 380px) {
  :root { --gutter: 22px; }
  .header-in { width: calc(100% - 32px); }
  .menu-toggle { padding-inline: 10px; }
}
