/* MERIDIAN
   The masjid as a well-run civic institution.

   Nav behaviour: a floating glass pill, inset from the edges the way
   theummah.io's own bar is. It reads as a rounded capsule sitting over the
   page from the first pixel, and gains the live next-prayer readout once you
   scroll past the hero.

   Two families only. Fraunces for display, an optical-size serif that carries
   weight at large sizes without reading as a wedding invitation, and Archivo
   for everything else. The premium read here comes from restraint: one
   saturated colour, one strong photograph per section, and a lot of air. */

:root {
  --paper: #FBFAF8;
  --raised: #FFFFFF;
  --ink: #0E1416;      /* 17.6 on paper */
  --body: #414B4E;     /* 8.3 */
  --muted: #6A7679;    /* 4.6 */
  --line: #E6E3DD;
  --accent: #0A6E76;   /* 5.5 on paper */
  --accent-dk: #075158;
  --accent-lt: #E8F3F3;
  --gold: #B98A34;

  --sh-sm: 0 1px 2px rgba(14,20,22,.05);
  --sh-md: 0 10px 30px -12px rgba(14,20,22,.18);
  --sh-lg: 0 28px 70px -24px rgba(14,20,22,.30);
  --ease: cubic-bezier(.22,1,.36,1);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -.02em; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--accent); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 300; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 18px; }
.eyebrow--dark { color: var(--accent); }

.preview-flag {
  position: fixed; bottom: 14px; right: 14px; z-index: 200;
  background: rgba(14,20,22,.9); color: #fff; backdrop-filter: blur(8px);
  font-size: 11.5px; letter-spacing: .03em; padding: 7px 13px; border-radius: 999px;
}

/* ---------------- Nav: floating glass pill ---------------- */

.navwrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; padding: 0 clamp(16px, 3vw, 32px); pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 1120px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; gap: 26px;
  padding: 0 10px 0 22px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  box-shadow: 0 10px 34px -14px rgba(14,20,22,.32);
}
.wordmark { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.wm-mark { width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: Fraunces, serif; font-size: 18px; font-weight: 600; }
.wm-text { font-family: Fraunces, serif; font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }

.nav-links { display: flex; gap: 24px; margin-left: 4px; }
.nav-links a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-prayer { display: none; align-items: baseline; gap: 8px; font-size: 14px; color: var(--body); opacity: 0; transition: opacity .35s var(--ease); }
.navwrap.is-stuck .nav-prayer { display: flex; opacity: 1; }
.nav-prayer b { color: var(--accent); font-weight: 600; }
.nav-prayer span { font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform .18s var(--ease), background .2s, color .2s, box-shadow .2s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--fill { background: var(--accent); color: #fff; box-shadow: var(--sh-sm); }
.btn--fill:hover { background: var(--accent-dk); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--glass:hover { background: rgba(255,255,255,.24); }

.nav-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 0 10px; }
.nav-burger span { height: 2px; background: var(--ink); border-radius: 2px; }

.drawer { position: fixed; inset: 92px 0 0 0; z-index: 99; background: var(--paper); padding: 24px clamp(20px,4vw,40px); display: flex; flex-direction: column; gap: 4px; }
/* display:flex above beats the [hidden] attribute, so it has to be restated.
   Without this the mobile drawer renders on desktop. */
.drawer[hidden] { display: none; }
@media (min-width: 861px) { .drawer { display: none !important; } }
.drawer a { font-family: Fraunces, serif; font-size: 26px; color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 20px; align-self: flex-start; border-bottom: 0; color: #fff; font-family: Archivo, sans-serif; font-size: 15px; }

/* ---------------- Hero ---------------- */

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 0; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,22,.72) 0%, rgba(14,20,22,.42) 38%, rgba(14,20,22,.86) 100%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 56px; align-items: end; padding-bottom: 56px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { color: rgba(255,255,255,.86); font-size: 19px; max-width: 52ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.np-card { background: rgba(255,255,255,.1); backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgba(255,255,255,.25); border-radius: 22px; padding: 26px 28px; color: #fff; box-shadow: var(--sh-lg); }
.np-head { display: flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.np-dot { width: 7px; height: 7px; border-radius: 50%; background: #55D6C2; box-shadow: 0 0 0 0 rgba(85,214,194,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(85,214,194,0); } 100% { box-shadow: 0 0 0 0 rgba(85,214,194,0); } }
@media (prefers-reduced-motion: reduce) { .np-dot { animation: none; } }
.np-big { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 16px; }
.np-nm { font-family: Fraunces, serif; font-size: 30px; font-weight: 500; }
.np-tm { font-size: 30px; font-weight: 600; }
.np-ct { margin-top: 4px; font-size: 15px; color: rgba(255,255,255,.75); }
.np-link { display: inline-block; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); width: 100%; color: #fff; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.np-link:hover { color: #8FE3D5; }

.hero-meta { position: relative; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13.5px; color: rgba(255,255,255,.7); }

/* ---------------- Sections ---------------- */

.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec--light { background: var(--paper); }
.sec--tint { background: #F4F1EC; }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-sub { margin-top: 16px; font-size: 18px; color: var(--body); max-width: 56ch; }
.link-arrow { font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: ' →'; }
.link-arrow:hover { color: var(--accent-dk); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Prayer */
.sec--prayer { background: var(--ink); color: rgba(255,255,255,.8); }
.sec--prayer h2 { color: #fff; }
.sec--prayer .eyebrow--dark { color: #6FD9C8; }
.prayer-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 64px; align-items: center; }
.prayer-copy p { margin-top: 18px; font-size: 17.5px; }
.prayer-copy .link-arrow { display: inline-block; margin-top: 26px; color: #6FD9C8; }
.prayer-panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 10px 26px; }
.pt-table { width: 100%; border-collapse: collapse; }
.pt-table thead th { text-align: right; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 20px 0 14px; }
.pt-table thead th:first-child { text-align: left; }
.pt-table tbody th { text-align: left; font-weight: 500; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.1); }
.pt-table tbody td { text-align: right; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 17px; color: rgba(255,255,255,.72); }
.pt-name { font-family: Fraunces, serif; font-size: 20px; color: #fff; }
.pt-ar { display: block; font-size: 13px; color: rgba(255,255,255,.45); margin-top: 1px; }
.pt-table tr.is-next th, .pt-table tr.is-next td { color: #fff; }
.pt-table tr.is-next .pt-name { color: #6FD9C8; }
.pt-table tr.is-next td:last-child { font-weight: 600; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
.svc-media { aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.04); }
.svc-n { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
.svc h3 { margin: 8px 0 8px; }
.svc p { font-size: 15.5px; color: var(--muted); }

/* Programs widget */
.pg-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.pg-card { background: var(--raised); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pg-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.pg-status { display: inline-flex; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.pg-status--open { background: var(--accent-lt); color: var(--accent-dk); }
.pg-status--waitlist { background: #F6EBD6; color: #7A5A16; }
.pg-title { font-family: Fraunces, serif; font-size: 21px; font-weight: 500; color: var(--ink); margin-top: 14px; }
.pg-desc { margin-top: 7px; font-size: 14.5px; color: var(--muted); flex: 1; }
.pg-meta { margin: 16px 0 0; display: grid; gap: 7px; }
.pg-meta div { display: flex; gap: 10px; font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 7px; }
.pg-meta dt { color: var(--muted); width: 40px; flex-shrink: 0; }
.pg-meta dd { margin: 0; color: var(--ink); }
.pg-btn { margin-top: 16px; display: inline-flex; align-items: center; justify-content: center; height: 42px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s; }
.pg-btn:hover { background: var(--accent-dk); }

/* Events */
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.ev-card { background: var(--raised); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.ev-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.ev-media img { width: 100%; height: 100%; object-fit: cover; }
.ev-date { position: absolute; left: 14px; top: 14px; background: rgba(251,250,248,.95); backdrop-filter: blur(6px); border-radius: 12px; padding: 8px 12px; text-align: center; line-height: 1; }
.ev-date b { display: block; font-family: Fraunces, serif; font-size: 21px; color: var(--ink); }
.ev-date i { font-style: normal; font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
.ev-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ev-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.ev-title { margin: 8px 0 6px; font-size: 19px; }
.ev-meta { font-size: 14.5px; color: var(--muted); }
.ev-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ev-price { font-size: 15px; font-weight: 600; color: var(--ink); }
.ev-btn { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ev-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.ev-btn.is-done { background: var(--accent-lt); color: var(--accent-dk); border-color: transparent; cursor: default; }

/* Give */
.sec--give { position: relative; overflow: hidden; color: #fff; }
.give-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.give-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,48,52,.95) 0%, rgba(7,48,52,.82) 46%, rgba(14,20,22,.62) 100%); }
.give-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,460px); gap: 64px; align-items: center; }
.give-copy h2 { color: #fff; }
.give-copy p { margin-top: 18px; color: rgba(255,255,255,.84); max-width: 46ch; font-size: 17.5px; }
.give-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.give-points li { position: relative; padding-left: 26px; color: rgba(255,255,255,.84); font-size: 15.5px; }
.give-points li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #6FD9C8; }

.give-card { background: var(--raised); border-radius: 22px; padding: 30px; color: var(--body); box-shadow: var(--sh-lg); }
.dn-progress { margin-bottom: 24px; }
.dn-bar { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.dn-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #3FAFA6); transition: width 1.1s var(--ease); }
.dn-figures { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.dn-raised { font-family: Fraunces, serif; font-size: 27px; color: var(--ink); font-weight: 600; }
.dn-goal { font-size: 14.5px; color: var(--muted); }
.dn-form { display: flex; flex-direction: column; gap: 14px; }
.dn-freq { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: #F1EFEA; border-radius: 999px; }
.dn-freq button { height: 40px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.dn-freq button.is-on { background: var(--raised); color: var(--ink); box-shadow: var(--sh-sm); }
.dn-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dn-amounts button { height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--raised); font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.dn-amounts button:hover { border-color: var(--accent); }
.dn-amounts button.is-on { border-color: var(--accent); background: var(--accent-lt); color: var(--accent-dk); }
.dn-other { grid-column: 1 / -1; }
.dn-other input { width: 100%; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 16px; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--raised); }
.dn-other input:focus { outline: none; border-color: var(--accent); }
.dn-fund { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.dn-fund select { height: 48px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 14px; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--raised); }
.dn-fund select:focus { outline: none; border-color: var(--accent); }
.dn-submit { height: 54px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .2s, transform .18s var(--ease); }
.dn-submit:hover { background: var(--accent-dk); transform: translateY(-1px); }
.dn-fine { font-size: 12.5px; color: var(--muted); text-align: center; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: start; }
.dl { margin: 34px 0 0; display: flex; flex-direction: column; }
.dl > div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.dl dt { color: var(--muted); font-size: 14.5px; }
.dl dd { margin: 0; color: var(--ink); font-size: 16px; }
.visit-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.cap { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Footer */
.foot { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 34px; }
.foot-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 56px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-name { font-family: Fraunces, serif; font-size: 21px; color: #fff; }
.foot-ar { font-size: 15px; color: rgba(255,255,255,.5); margin-top: 2px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.foot-cols h4 { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; margin: 0 0 14px; }
.foot-cols p, .foot-cols a { font-size: 15px; color: rgba(255,255,255,.72); text-decoration: none; display: block; margin-bottom: 7px; }
.foot-cols a:hover { color: #6FD9C8; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.45); }
.credit a { color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 3px; }
.credit a:hover { color: #fff; }

/* Toast */
.uw-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 250; max-width: min(520px, calc(100vw - 32px)); background: var(--ink); color: #fff; padding: 15px 22px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.uw-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Monthly page */
.page-head { padding: 150px 0 60px; background: var(--ink); color: rgba(255,255,255,.78); }
.page-head h1 { color: #fff; font-size: clamp(36px, 4.6vw, 62px); }
.page-head p { margin-top: 18px; max-width: 56ch; font-size: 18px; }
.month { width: 100%; border-collapse: collapse; margin-top: 10px; }
.month th { text-align: right; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 12px 14px; }
.month th:first-child { text-align: left; }
.month td { padding: 17px 12px; text-align: right; border-top: 1px solid var(--line); font-size: 17px; font-variant-numeric: tabular-nums; }
.month td:first-child { text-align: left; color: var(--ink); font-family: Fraunces, serif; font-size: 19px; }
.month tr.is-next td { background: var(--accent-lt); }

/* ---------------- Responsive ---------------- */

@media (max-width: 1024px) {
  .hero-in, .prayer-grid, .give-grid, .visit-grid, .foot-top { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-in { padding-bottom: 40px; }
  .svc-grid, .pg-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 24px; }
  .ev-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-prayer { display: none !important; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .svc-grid, .pg-grid, .ev-grid, .foot-cols { grid-template-columns: minmax(0,1fr); }
  .dn-amounts { grid-template-columns: repeat(2, 1fr); }
  .dl > div { grid-template-columns: minmax(0,1fr); gap: 3px; }
  .hero .lede { font-size: 17px; }
}
