/* Sunset Church of God: pitch site styles */
:root {
  --navy: #102c3a;
  --navy-2: #173d4f;
  --gold: #edb45f;
  --gold-deep: #9a6424;
  --sunset: #d9774a;
  --cream: #faf6ee;
  --sand: #f2eadb;
  --ink: #15313d;
  --muted: #55666d;
  --line: #e2dccf;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -24px rgba(16, 44, 58, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: .75rem 1.1rem; border-radius: var(--radius-sm);
}
.skip:focus { top: 1rem; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 1rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.4rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
p { margin: 0 0 1rem; }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .9rem;
}
.lead { font-size: 1.2rem; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(237, 180, 95, .9); }
.btn-gold:hover { background: #f3c47c; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(16, 44, 58, .3); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.5rem; }
.text-link {
  display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; color: var(--navy);
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--navy); }
.text-link.light { color: var(--white); }
.text-link.light:hover { text-decoration-color: var(--white); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 246, 238, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(16, 44, 58, .08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brandmark { width: 42px; height: 42px; }
.brand-text { font-weight: 700; font-size: 1.3rem; letter-spacing: .22em; text-transform: uppercase; line-height: 1; }
.brand-text small { display: block; font-size: .6rem; letter-spacing: .28em; margin-top: .35rem; font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; font-weight: 500; }
.site-nav a { text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="true"] { border-color: var(--gold); }
.site-nav .nav-cta { padding: .6rem 1.15rem; border: 0; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 700; }
.site-nav .nav-cta:hover { background: var(--navy-2); }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 44, 58, .94) 0%, rgba(16, 44, 58, .8) 42%, rgba(16, 44, 58, .15) 78%),
    linear-gradient(0deg, rgba(16, 44, 58, .75) 0%, rgba(16, 44, 58, 0) 45%);
}
.hero-content { padding-block: 7rem 4.5rem; }
.hero-content > * { max-width: 620px; }
.hero-content > h1 { max-width: 780px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 em { color: var(--gold); white-space: nowrap; }
.hero-intro { font-size: 1.25rem; color: #e3ebee; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { display: flex; align-items: center; gap: .6rem; margin: 1.8rem 0 0; font-size: .95rem; color: #d6e0e3; }
.sun-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(237, 180, 95, .25); }

/* Service times */
.times { position: relative; z-index: 2; margin-top: -2.5rem; }
.times-grid {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.time-card { padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .2rem; border-left: 1px solid var(--line); }
.time-card:first-child { border-left: 0; }
.time-card .day { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.time-card strong { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--navy); line-height: 1.1; }
.time-card strong small { font-family: var(--sans); font-size: .9rem; font-weight: 700; }
.time-card .what { color: var(--muted); font-weight: 500; }
.time-card.is-key { background: linear-gradient(180deg, #fff8ec, #fff); }
.times-address { display: flex; justify-content: center; align-items: center; gap: .5rem; margin: 1.2rem 0 0; color: var(--muted); font-weight: 500; }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: end; }
.section-head .lead { color: var(--muted); }

/* Visit */
.steps { list-style: none; padding: 0; margin: 0 0 3.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; }
.step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sand); color: var(--gold-deep); font-weight: 700; margin-bottom: 1.2rem; }
.step p { color: var(--muted); margin: 0; }
.visit-map { display: grid; grid-template-columns: 1fr 1.35fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.visit-card { padding: clamp(1.8rem, 4vw, 3rem); background: var(--navy); color: var(--white); }
.visit-card .eyebrow { color: var(--gold); }
.visit-card h3 { font-size: 2rem; }
.visit-card address { font-style: normal; font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.4rem; color: #e3ebee; }
.visit-card address strong { color: var(--white); }
.visit-times { margin: 0 0 1.6rem; display: grid; gap: .5rem; }
.visit-times div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.visit-times dt { color: #c6d3d7; }
.visit-times dd { margin: 0; font-weight: 700; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.4rem; }
.visit-card .btn-navy { background: var(--gold); color: var(--navy); }
.visit-card .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.visit-card .btn-outline:hover { border-color: var(--white); }
.visit-card .text-link { color: var(--white); }
.map-frame { min-height: 380px; position: relative; background: var(--sand); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Pastor */
.pastor { background: var(--sand); }
.pastor-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; z-index: -1;
  border-radius: var(--radius); background: linear-gradient(135deg, var(--gold), var(--sunset));
}
.portrait { isolation: isolate; }
.portrait figcaption {
  position: absolute; left: 1rem; bottom: 1rem; background: var(--white); color: var(--navy);
  padding: .5rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pastor-copy p:not(.eyebrow):not(.lead) { color: var(--muted); }
.pastor-copy .btn { margin-top: 1rem; }

/* Story */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: ch; }
.chapter-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.2rem; background: var(--sand); }
.chapter-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.chapter:hover .chapter-img img { transform: scale(1.04); }
.chapter-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); display: flex; align-items: center; gap: .7rem; }
.chapter-label b { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0; color: var(--navy); background: var(--sand); padding: .1rem .6rem; border-radius: 999px; }
.chapter p:last-child { color: var(--muted); }
.history-note { margin-top: 3rem; padding: 1.8rem 2rem; border-left: 4px solid var(--gold); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.history-note p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; margin-bottom: .6rem; }
.history-note small { color: var(--muted); }

/* Connect */
.connect { background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { padding: 2rem; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card p:not(.eyebrow) { color: var(--muted); }
.card .text-link { margin-top: auto; }
.card-icon { font-size: 1.6rem; color: var(--gold-deep); margin-bottom: 1rem; }
.card-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card-dark .eyebrow { color: var(--gold); }
.card-dark p:not(.eyebrow) { color: #d0dbdf; }
.card-dark .text-link { color: var(--white); }

/* Events (sample) */
.sample-banner { margin: 0; padding: 1rem 1.2rem; border: 2px dashed var(--gold-deep); border-radius: var(--radius-sm); background: #fff6e6; font-size: .95rem; color: var(--ink); }
.event-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.event { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.6rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.event.is-sample { border-style: dashed; border-color: #cdbf9f; }
.event-date { width: 64px; text-align: center; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); padding: .5rem 0; height: max-content; }
.event-date span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.event-date b { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.sample-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: .15rem .55rem; border-radius: 999px; margin-bottom: .6rem; }
.event h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.event-meta { font-weight: 700; color: var(--gold-deep); font-size: .95rem; margin-bottom: .5rem; }
.event p:last-child { color: var(--muted); margin: 0; }
.events-foot { margin: 2rem 0 0; color: var(--muted); }
.events-foot a { color: var(--navy); font-weight: 700; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Baptism */
.baptism { background: var(--navy); color: var(--white); overflow: hidden; }
.baptism-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.baptism .eyebrow, .baptism h2 em { color: var(--gold); }
.baptism .lead { color: var(--white); }
.baptism-copy p:not(.eyebrow):not(.lead) { color: #d0dbdf; }
.baptism-img img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }

/* Garden */
.garden { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: var(--white); isolation: isolate; }
.garden > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.garden::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16, 44, 58, .88) 0%, rgba(16, 44, 58, .25) 55%, rgba(16, 44, 58, 0) 100%); }
.garden-caption { width: min(1180px, 100% - 2.5rem); margin: 0 auto; padding-block: 4rem; }
.garden-caption > * { max-width: 720px; }
.garden .eyebrow { color: var(--gold); }
.garden-caption p:last-child { font-size: 1.15rem; color: #e3ebee; }

/* Gallery */
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 1rem; }
.gallery-grid li { min-width: 0; }
.gallery-grid .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-span2 { grid-column: span 2; }
.g-item { display: block; height: 100%; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--sand); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); filter: brightness(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 26, 34, .88); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: var(--white); text-align: center; margin-top: .8rem; }
.lightbox-close { position: absolute; top: -3rem; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy p:not(.eyebrow):not(.lead) { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-list .ico { color: var(--gold-deep); }
.contact-list a { font-weight: 500; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; background: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form .full { grid-column: 1 / -1; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 700; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: .8rem 1rem; min-height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(237, 180, 95, .45); }
.contact-form [aria-invalid="true"] { border-color: #b3261e; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.form-status { margin: 0; font-weight: 500; color: var(--navy); }
.form-status:empty { display: none; }

/* Footer */
.site-footer { background: #0c2230; color: #c6d3d7; padding-top: 4rem; }
.site-footer .brand { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 2rem; padding-bottom: 3rem; }
.footer-h { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-tag { margin-top: 1.2rem; color: var(--white); }
.footer-tag span { color: #c6d3d7; font-style: italic; }
.site-footer address { font-style: normal; margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { text-decoration-color: rgba(237, 180, 95, .6); text-underline-offset: 3px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }

/* Mobile quick actions (hidden on desktop) */
.quick-actions { display: none; }

/* Responsive */
@media (max-width: 1020px) {
  .site-nav { gap: 1.1rem; font-size: .9rem; }
  .times-grid { grid-template-columns: repeat(2, 1fr); }
  .time-card:nth-child(3) { border-left: 0; }
  .time-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .event-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brandmark { width: 36px; height: 36px; }
  .brand-text { font-size: 1.1rem; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 1rem;
    border: 1.5px solid rgba(16, 44, 58, .25); border-radius: 999px; background: transparent; font-weight: 700; cursor: pointer;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s ease; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; padding: .9rem; }

  .hero { min-height: 640px; }
  .hero-shade { background: linear-gradient(0deg, rgba(16, 44, 58, .95) 0%, rgba(16, 44, 58, .7) 50%, rgba(16, 44, 58, .25) 100%); }
  .hero-content { padding-block: 6rem 4.5rem; }

  .section-head.split, .steps, .visit-map, .pastor-grid, .timeline, .cards, .baptism-grid, .contact-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 320px; }
  .portrait { max-width: 440px; margin-right: 1.2rem; }
  .baptism-img { order: -1; }
  .baptism-img img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Sticky quick action bar */
  body { padding-bottom: 72px; }
  .quick-actions {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--navy); padding: .45rem .5rem calc(.45rem + env(safe-area-inset-bottom)); gap: .4rem;
    box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4);
  }
  .qa { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 54px; border-radius: var(--radius-sm); color: var(--white); text-decoration: none; font-size: .8rem; font-weight: 700; }
  .qa:active { background: var(--navy-2); }
  .qa-gold { background: var(--gold); color: var(--navy); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .times { margin-top: -1.75rem; }
  .time-card { padding: 1.1rem 1rem; }
  .time-card strong { font-size: 1.6rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .contact-form { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .gallery-grid { gap: .6rem; grid-auto-rows: 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .times-address { font-size: .92rem; text-align: left; }
}

@media print {
  .site-header, .quick-actions, .map-frame, .contact-form, .lightbox { display: none !important; }
  .hero { min-height: auto; color: var(--ink); }
  .hero-media, .hero-shade { display: none; }
}

.give-bar{position:relative;z-index:60;background:var(--navy);color:#fff;font-size:.92rem;padding:.55rem 3rem .55rem 1rem;text-align:center}
.give-bar p{margin:0;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;align-items:center}
.give-btn{background:var(--gold);color:var(--navy);font-weight:700;padding:.3rem .9rem;border-radius:999px;text-decoration:none;white-space:nowrap}
.give-btn:hover,.give-btn:focus-visible{background:#fff}
.give-close{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);background:none;border:0;color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;padding:.25rem .5rem}

.events-box{background:var(--sand);padding:1.25rem 1rem}
.events-box-inner{max-width:1100px;margin:0 auto;background:#fff;border-left:5px solid var(--gold);border-radius:14px;padding:1rem 1.25rem;box-shadow:0 4px 16px rgba(16,44,58,.08)}
.events-box h2{font-size:1.15rem;margin:0 0 .5rem;color:var(--navy)}
.events-list{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.events-list li{display:flex;flex-direction:column;gap:.15rem}
.ev-when{font-size:.85rem;font-weight:700;color:var(--gold-deep);text-transform:uppercase;letter-spacing:.04em}
.ev-note{font-size:.92rem;color:var(--muted)}
.events-empty{margin:0;color:var(--muted)}

.live-bar{background:var(--navy-2);color:#fff;font-size:1.05rem}
.live-bar-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.75rem 1.5rem;padding:1.4rem 0;text-align:center}
.live-bar p{margin:0;display:flex;align-items:center;gap:.6rem;min-width:0;overflow-wrap:anywhere}
.live-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 0 rgba(237,180,95,.6);animation:live-pulse 2s ease-out infinite}
@keyframes live-pulse{0%{box-shadow:0 0 0 0 rgba(237,180,95,.6)}70%{box-shadow:0 0 0 8px rgba(237,180,95,0)}100%{box-shadow:0 0 0 0 rgba(237,180,95,0)}}
.live-btn{flex:none;background:var(--gold);color:var(--navy);font-weight:700;padding:.55rem 1.3rem;border-radius:999px;text-decoration:none;white-space:nowrap}
.live-btn:hover,.live-btn:focus-visible{background:#fff}
@media (max-width:560px){
  .live-bar{font-size:.95rem}
  .live-bar-inner{flex-direction:column;gap:.75rem;padding:1.2rem 0}
  .live-bar p{justify-content:center;text-align:left}
}
