@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
  --cream: #fbf7f0;
  --paper: #fff;
  --ink: #202020;
  --muted: #5f5f5d;
  --green: #075a46;
  --green-deep: #064536;
  --green-bright: #20ad5a;
  --pale-green: #e5f2df;
  --pale-green-deep: #d9eacb;
  --sage-mist: #f3f8f0;
  --sage-soft: #e7f1e2;
  --sage-medium: #dcebd6;
  --orange: #f2b35d;
  --line: #e7e5e1;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --shadow: 0 8px 24px rgba(26, 48, 38, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: clamp(15px, 1.1vw, 16px); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.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: 20; top: -4rem; left: 1rem; padding: .7rem 1rem; background: var(--green); color: #fff; transition: top .2s ease; }
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 247, 240, .97); border-bottom: 1px solid transparent; backdrop-filter: blur(12px); transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 3px 15px rgba(26, 48, 38, .05); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand-logo { display: block; width: auto; max-width: min(100%, 270px); height: 65px; object-fit: contain; }
.brand-mark { width: 50px; height: 55px; display: block; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; font-family: var(--serif); font-size: 1.2rem; line-height: .96; }
.brand-copy strong { font-weight: 700; }
.menu-toggle { width: 44px; height: 40px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--green); background: transparent; color: var(--green); }
.menu-toggle > span:not(.sr-only) { width: 19px; height: 1px; display: block; background: currentColor; }
.primary-nav { position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; display: none; padding: .8rem; background: var(--cream); border: 1px solid var(--line); box-shadow: var(--shadow); }
.primary-nav.is-open { display: grid; }
.primary-nav a { padding: .75rem 1rem; color: var(--ink); font-size: .82rem; }
.primary-nav a:hover { color: var(--green); }
.nav-dropdown { position: relative; }
#primary-nav .nav-dropdown > summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem 1rem; margin: 0; color: var(--ink); font-family: inherit; font-size: .82rem; cursor: pointer; list-style: none; }
#primary-nav .nav-dropdown > summary::-webkit-details-marker { display: none; }
#primary-nav .nav-dropdown > summary::marker { content: ""; font-size: 0; }
.nav-dropdown summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.nav-dropdown[open] summary::after { transform: rotate(225deg); }
.nav-dropdown summary:hover { color: var(--green); }
.nav-dropdown summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }
.nav-submenu { padding: .35rem .5rem; border-left: 2px solid var(--green); margin-left: 1rem; }
.nav-submenu a { display: block; line-height: 1.5; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { background: var(--sage-mist); color: var(--green); }
.primary-nav .nav-donate { margin-top: .35rem; border-radius: 999px; background: var(--orange); color: #fff; text-align: center; }

/* Shared */
.section { padding-top: 6rem; padding-bottom: 6rem; }
.section-kicker { margin: 0 0 1.2rem; color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .15em; line-height: 1.3; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.18; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 2rem; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.025em; }
h2 { margin-bottom: 2rem; font-size: clamp(2.2rem, 4vw, 3.3rem); letter-spacing: -.025em; }
h3 { margin-bottom: .55rem; font-size: 1.1rem; }
.button { display: inline-flex; align-items: center; gap: 1.2rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; font-size: .85rem; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: var(--green-deep); }

/* Hero and prayer card */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr); align-items: start; gap: clamp(2.5rem, 7vw, 8rem); padding-top: 2.6rem; padding-bottom: 3.5rem; scroll-margin-top: 92px; }
.welcome-card { padding: 2.2rem 2rem 2.6rem; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.welcome-card h1 { max-width: 550px; }
.welcome-card > p:not(.section-kicker) { max-width: 560px; margin-bottom: 1.55rem; color: #474747; line-height: 1.78; }
.social-row { display: grid; grid-template-columns: repeat(4, 40px); align-items: center; gap: .55rem; width: fit-content; margin-top: 1.8rem; color: #6f6f6f; }
.social-row > span { grid-column: 1 / -1; margin-bottom: .15rem; color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.social-row .social-icon { width: 40px; height: 40px; display: grid; place-items: center; padding: .62rem; border-radius: 50%; background: rgba(7,90,70,.09); color: var(--green); transition: color .2s ease, transform .2s ease, background .2s ease, box-shadow .2s ease; }
.social-row .social-icon:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 6px 14px rgba(7,90,70,.15); }
.social-row .social-whatsapp:hover { background: #25d366; }
.social-row .social-facebook:hover { background: #1877f2; }
.social-row .social-youtube:hover { background: #f00; }
.social-row .social-instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.social-row .social-icon svg { width: 100%; height: 100%; fill: currentColor; }
.is-social-hidden { display: none !important; }
.prayer-card { overflow: hidden; color: #071538; }
.prayer-card-compact { border: 1px solid rgba(7,90,70,.22); border-radius: 18px; background: var(--pale-green); box-shadow: 0 18px 45px rgba(30,70,51,.12); animation: prayer-rise .55s ease-out both; }
.prayer-compact-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 2px solid var(--green); background: var(--green); color: var(--cream); }
.prayer-compact-header p { margin-bottom: .3rem; color: #8bd7b3; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.prayer-compact-header h2 { margin: 0; color: var(--cream); font-size: 1.45rem; line-height: 1; letter-spacing: -.02em; }
.prayer-date { display: grid; flex: 0 0 auto; color: var(--pale-green-deep); font-family: Consolas, monospace; font-size: .68rem; line-height: 1.8; text-align: right; }
.sun-row { display: grid; grid-template-columns: 1fr 1fr; background: var(--pale-green-deep); border-bottom: 1px solid rgba(7,90,70,.2); }
.sun-row > div { display: flex; align-items: center; gap: .55rem; padding: .75rem 1rem; }
.sun-row > div + div { justify-content: flex-end; border-left: 1px solid rgba(7,90,70,.2); text-align: right; }
.sun-row svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sun-row span { display: grid; }
.sun-row small { color: #426254; font-size: .62rem; font-weight: 700; letter-spacing: .15em; line-height: 1.3; text-transform: uppercase; }
.sun-row strong { font-family: Consolas, monospace; font-size: .92rem; line-height: 1.3; }
.table-wrap { overflow-x: auto; padding: .75rem 1rem; }
.prayer-card table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.prayer-card th, .prayer-card td { padding: .62rem .5rem; border-bottom: 1px solid rgba(7,90,70,.19); text-align: left; }
.prayer-card thead tr { border-bottom: 2px solid var(--green); }
.prayer-card thead th { padding-top: 0; padding-bottom: .5rem; border: 0; color: #426254; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.prayer-card th:nth-child(n+2), .prayer-card td:nth-child(n+2) { text-align: right; }
.prayer-card tbody th { font-weight: 700; }
.prayer-card tbody td { color: #486057; font-family: Consolas, monospace; font-size: .76rem; }
.prayer-card tbody td:last-child { color: #071538; font-size: .82rem; font-weight: 700; }
.prayer-card tbody tr:first-child { background: rgba(255,255,255,.24); }
.jumuah-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1.25rem; border-top: 1px solid rgba(7,90,70,.18); background: rgba(217,234,203,.72); }
.jumuah-row > span { flex: 0 0 auto; color: #426254; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.jumuah-row > div { display: flex; align-items: center; gap: .75rem; font-size: .82rem; white-space: nowrap; }
.jumuah-row strong { margin-right: .25rem; }
.jumuah-row i { width: 1px; height: 1rem; background: rgba(7,90,70,.3); }
.countdown { display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding: .75rem 1.25rem; background: var(--cream); }
.countdown > div { display: flex; align-items: center; gap: .55rem; }
.countdown-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.countdown-dot::before { position: absolute; inset: 0; border-radius: inherit; background: inherit; content: ""; animation: countdown-ping 1.5s ease-out infinite; }
.countdown span:not(.countdown-dot) { color: var(--green); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.countdown strong { color: #071538; font-family: var(--sans); font-size: 1.3rem; font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .06em; }
.prayer-monthly-action { padding: 0 1.25rem 1.15rem; background: var(--cream); }
.prayer-monthly-action a { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: .65rem; padding: .65rem 1rem; border: 1px solid var(--green); border-radius: 999px; background: transparent; color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.prayer-monthly-action a:hover { transform: translateY(-1px); background: var(--green); color: #fff; }
.prayer-monthly-action a:focus-visible { outline-color: var(--green); }
.prayer-monthly-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.prayer-monthly-action a:hover svg { transform: translateX(3px); }
.prayer-status { margin: 0; padding: 0 1.25rem 1rem; background: var(--cream); color: #426254; font-size: .72rem; text-align: center; }
.prayer-status[hidden] { display: none; }
.prayer-status.is-error { color: #8d3528; }
@keyframes prayer-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes countdown-ping { 75%, 100% { opacity: 0; transform: scale(2); } }

/* Featured events carousel */
.home-events-carousel { padding-top: 0; }
.home-events-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 1.9rem; }
.home-events-header h2 { margin: 0; color: var(--green-deep); font-size: clamp(2.65rem, 5.5vw, 4.5rem); font-weight: 400; letter-spacing: -.05em; line-height: .96; }
.home-events-header h2 span { display: block; color: #a66e32; }
.home-events-header-side { max-width: 330px; display: grid; justify-items: end; gap: 1rem; margin-bottom: .25rem; }
.home-events-header-side p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; text-align: right; }
.home-events-header-side a { display: inline-flex; align-items: center; gap: .5rem; color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home-events-header-side a:hover { color: #a66e32; }
.home-events-header-side svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-events-frame { min-height: 530px; overflow: hidden; border: 1px solid rgba(7,90,70,.18); border-radius: 28px; background: #fff; box-shadow: 0 22px 65px rgba(26,48,38,.13); }
.home-events-frame:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.home-events-slide { min-height: 530px; display: grid; grid-template-columns: minmax(300px, .86fr) minmax(0, 1.2fr); }
.home-events-slide[hidden] { display: none; }
.home-events-art { position: relative; min-height: 530px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--sage-medium); }
.home-events-art::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,90,70,.02), rgba(7,90,70,.2)); content: ""; pointer-events: none; }
.home-events-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-events-art > span { position: absolute; z-index: 1; bottom: 1.4rem; left: 1.55rem; color: rgba(255,255,255,.88); font-size: .56rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.home-events-art-rose { background: #f0d0c8; }
.home-events-art-green { background: var(--sage-medium); }
.home-events-art-night { background: #183e36; }
.home-events-details { display: flex; flex-direction: column; padding: clamp(2rem, 5vw, 4rem); }
.home-events-index { display: flex; align-items: center; gap: .65rem; color: #a66e32; font-family: Consolas, monospace; font-size: .7rem; font-weight: 700; }
.home-events-index i { width: 58px; height: 1px; background: #d8c19e; }
.home-events-eyebrow { margin: 3.8rem 0 .75rem; color: var(--green); font-size: .63rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.home-events-details h3 { max-width: 490px; margin: 0; color: var(--green-deep); font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 3.65rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.home-events-description { max-width: 450px; margin: 1.1rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.home-events-meta { display: flex; align-items: center; gap: .7rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(7,90,70,.13); }
.home-events-meta svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: #a66e32; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-events-meta span { display: grid; gap: .1rem; }
.home-events-meta strong { color: var(--green); font-size: .7rem; }
.home-events-meta small { color: var(--muted); font-size: .68rem; }
.home-events-controls { display: flex; justify-content: flex-end; gap: .5rem; margin-top: auto; padding-top: 2rem; }
.home-events-controls button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(7,90,70,.22); border-radius: 50%; background: transparent; color: var(--green); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.home-events-controls button:hover, .home-events-controls button:focus-visible { transform: translateY(-2px); background: var(--green); color: #fff; }
.home-events-controls svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-events-dots { display: flex; align-items: center; gap: .5rem; margin-top: 1.15rem; }
.home-events-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #cbdcc8; cursor: pointer; transition: width .2s ease, background .2s ease; }
.home-events-dots button.is-active { width: 28px; background: var(--green); }
.home-events-dots span { margin-left: .5rem; color: #7a817a; font-size: .65rem; letter-spacing: .04em; }
.home-events-empty { min-height: 530px; display: grid; align-content: center; justify-items: center; padding: 3rem; text-align: center; }
.home-events-frame:has([data-event-slide]) .home-events-empty { display: none; }
.home-events-empty[hidden] { display: none; }
.home-events-empty h3 { margin: .4rem 0 .6rem; color: var(--green-deep); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; letter-spacing: -.04em; }
.home-events-empty > p:last-child { max-width: 28rem; margin: 0; color: var(--muted); }

/* Events */
.events-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1.5rem; padding-top: 0; scroll-margin-top: 92px; }
.content-panel { padding: 2rem; border: 1px solid #dce8d7; border-radius: 16px; background: var(--sage-mist); box-shadow: var(--shadow); }
.content-panel h2 { margin-bottom: 1.6rem; }
.event-list { display: grid; gap: .7rem; }
.event-card { position: relative; padding: 1.1rem 1.15rem; border-radius: 12px; background: var(--sage-soft); }
.event-card h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.event-card p { margin-bottom: .35rem; color: #5b5e5b; font-size: .88rem; line-height: 1.45; }
.event-card strong { display: block; color: #565a56; font-size: .8rem; }
.event-live { padding-top: 1.7rem; }
.live-label { position: absolute; top: .75rem; right: 1rem; color: var(--green); font-size: .67rem; font-weight: 700; text-transform: uppercase; }
.weekly-calendar-panel { position: relative; overflow: hidden; padding: 0; border-color: rgba(7, 90, 70, .2); border-radius: 26px; background: var(--sage-mist); box-shadow: 0 18px 50px rgba(26, 48, 38, .1); }
.weekly-calendar-panel::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--green) 0 77%, #c9ddd2 77%); }
.weekly-calendar-header { padding: 2.35rem 2rem 1.7rem; border-bottom: 1px solid rgba(7, 90, 70, .1); background: #fff; }
.weekly-calendar-header .section-kicker { margin-bottom: .8rem; letter-spacing: .2em; }
.weekly-calendar-header h2 { margin: 0; color: #064536; font-size: clamp(2.15rem, 3.8vw, 3.35rem); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.weekly-calendar-accent { display: block; width: 64px; height: 1px; margin-top: 1.25rem; background: var(--orange); }
.weekly-calendar-body { display: grid; gap: 1.5rem; padding: 1.65rem; }
.calendar-day > h3 { margin-bottom: .8rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(7, 90, 70, .18); color: #064536; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.weekly-event-list { display: grid; gap: .75rem; }
.weekly-event-card { padding: 1rem 1.05rem; border: 1px solid rgba(7, 90, 70, .16); border-radius: 16px; background: #fff; box-shadow: 0 2px 5px rgba(26, 48, 38, .04); transition: transform .3s ease, box-shadow .3s ease; }
.weekly-event-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7, 90, 70, .08); }
.weekly-event-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.weekly-event-meta strong { color: var(--green); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.weekly-live-label { flex: 0 0 auto; padding: .25rem .5rem; border: 1px solid rgba(7, 90, 70, .2); border-radius: 999px; background: #fff1d9; color: var(--green); font-size: .58rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.weekly-event-card h4 { color: #064536; font-family: var(--serif); font-size: 1.08rem; line-height: 1.12; }
.weekly-event-card p { max-width: 440px; margin-top: .5rem; color: #5f5f5d; font-size: .86rem; line-height: 1.45; }
.seasonal-calendar-panel { position: relative; overflow: hidden; padding: 0; border-color: rgba(7, 90, 70, .2); border-radius: 26px; background: var(--sage-mist); box-shadow: 0 18px 50px rgba(26, 48, 38, .1); }
.seasonal-calendar-panel::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, var(--green) 0 77%, #c9ddd2 77%); }
.seasonal-calendar-header { padding: 2.35rem 2rem 1.7rem; border-bottom: 1px solid rgba(7, 90, 70, .1); background: #fff; }
.seasonal-calendar-header .section-kicker { margin-bottom: .8rem; letter-spacing: .2em; }
.seasonal-calendar-header h2 { margin: 0; color: #064536; font-size: clamp(2.15rem, 3.8vw, 3.35rem); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.seasonal-calendar-accent { display: block; width: 64px; height: 1px; margin-top: 1.25rem; background: var(--orange); }
.seasonal-calendar-body { display: grid; gap: .85rem; padding: 1.65rem; }
.seasonal-event-card { padding: 1.05rem; border: 1px solid rgba(7, 90, 70, .16); border-radius: 16px; background: #fff; box-shadow: 0 2px 5px rgba(26, 48, 38, .04); transition: transform .3s ease, box-shadow .3s ease; }
.seasonal-event-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7, 90, 70, .08); }
.seasonal-event-date { display: block; margin-bottom: .55rem; color: var(--green); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.seasonal-event-card h3 { color: #064536; font-family: var(--serif); font-size: 1.08rem; line-height: 1.12; }
.seasonal-event-card > p { margin-top: .5rem; color: #5f5f5d; font-size: .86rem; line-height: 1.45; }
.seasonal-event-schedule { display: grid; gap: .7rem; margin-top: .85rem; padding: 0; list-style: none; }
.seasonal-event-schedule li { display: grid; gap: .15rem; padding-top: .7rem; border-top: 1px solid rgba(7, 90, 70, .12); }
.seasonal-event-schedule strong { color: var(--green); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.seasonal-event-schedule span { color: #5f5f5d; font-size: .86rem; line-height: 1.4; }

/* Programs and giving */
.kids-journey-section { overflow: hidden; background: var(--cream); }
.kids-journey-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: 3.5rem; }
.kids-journey-heading > div { max-width: 650px; }
.kids-journey-heading > p { max-width: 310px; margin: 0 0 .25rem; color: var(--muted); line-height: 1.65; }
.kids-journey-kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; color: var(--green); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.kids-kicker-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #b9d1b6; border-radius: 50%; background: #edf5e8; }
.kids-kicker-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.kids-journey-heading h2 { max-width: 650px; margin: 0; font-size: clamp(2.35rem, 5.3vw, 4.25rem); line-height: 1.08; letter-spacing: -.04em; }
.kids-journey-heading h2 span { display: block; color: var(--green); }
.program-journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.journey-card { min-height: 290px; display: flex; flex-direction: column; padding: 2.25rem; border: 1px solid; border-radius: 2rem; transition: transform .3s ease, box-shadow .3s ease; }
.journey-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(44, 73, 56, .08); }
.journey-card-weekday { border-color: #c6dac1; background: var(--pale-green); }
.journey-card-weekend { border-color: #e4c89f; background: #f5e6ce; }
.journey-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.journey-book-icon { width: 56px; height: 56px; display: grid; place-items: center; border: 5px solid var(--pale-green); border-radius: 50%; background: var(--green); color: var(--cream); box-shadow: 0 0 0 1px #8fb49a; }
.journey-card-weekend .journey-book-icon { border-color: #f5e6ce; background: #c87934; color: #fff9f0; box-shadow: 0 0 0 1px #d7a875; }
.journey-book-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.journey-badge { padding: .4rem .8rem; border-radius: 999px; background: #f4f8ef; color: var(--green); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.journey-card-weekend .journey-badge { background: #fff8eb; color: #8a5427; }
.journey-card h3 { margin-bottom: .75rem; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.05; }
.journey-card > p { max-width: 480px; margin-bottom: 2rem; color: #4f5d50; font-size: .9rem; line-height: 1.65; }
.journey-card-weekend > p { color: #665646; }
.journey-schedule { display: grid; gap: .45rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid #c0d7bb; }
.journey-card-weekend .journey-schedule { border-color: #e3c59a; }
.journey-schedule strong, .journey-schedule span { display: flex; align-items: center; gap: .55rem; color: var(--green); font-size: .78rem; line-height: 1.4; }
.journey-schedule span { color: #314d3b; font-size: .88rem; font-weight: 600; }
.journey-card-weekend .journey-schedule strong { color: #8a5427; }
.journey-card-weekend .journey-schedule span { color: #614a35; }
.journey-schedule svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section-intro > p:last-child { max-width: 420px; color: var(--muted); }
.donate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.donate-section { padding: 6rem 0; background: var(--green); color: #fff; }
.donate-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.7rem; }
.donate-intro .section-kicker { color: var(--orange); }
.donate-intro h2 { margin: 0; }
.donate-intro p:last-child { max-width: 370px; margin: 0; color: rgba(255,255,255,.75); }
.donate-grid { grid-template-columns: repeat(3, 1fr); }
.donate-card { padding: 1.7rem; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; transition: transform .2s ease, background .2s ease; }
.donate-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.06); }
.donate-card h3 { margin-top: .25rem; font-size: 1.55rem; }
.donate-card p { min-height: 78px; color: rgba(255,255,255,.75); font-size: .9rem; }
.donate-card a { color: var(--orange); font-weight: 700; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; }
.contact-section h2 { max-width: 610px; }
.contact-section > div:last-child p { max-width: 390px; color: var(--muted); }
.contact-section > div:last-child .button { margin-top: 1rem; }

/* Footer */
.site-footer { padding-top: 4.5rem; background: var(--green-deep); color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr .75fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; padding-bottom: 4rem; }
.footer-column h2 { margin-bottom: 1.7rem; color: #fff; font-family: var(--serif); font-size: 1.2rem; letter-spacing: 0; }
.footer-brand { color: #fff; }
.footer-brand .brand-logo { filter: brightness(0) invert(1); }
.footer-contact { display: grid; gap: .45rem; max-width: 315px; margin-top: 1.4rem; color: rgba(255,255,255,.75); font-family: var(--sans); font-size: .84rem; font-style: normal; line-height: 1.5; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.footer-socials .social-icon { width: 35px; height: 35px; display: grid; place-items: center; padding: .52rem; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: transform .2s ease, background .2s ease; }
.footer-socials .social-icon:hover { transform: translateY(-3px); }
.footer-socials .social-icon svg { width: 100%; height: 100%; fill: currentColor; }
.footer-socials .social-whatsapp:hover { background: #25d366; }
.footer-socials .social-facebook:hover { background: #1877f2; }
.footer-socials .social-youtube:hover { background: #f00; }
.footer-socials .social-instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.footer-related ul { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.footer-related a { color: rgba(255,255,255,.78); font-size: .87rem; transition: color .2s ease, padding-left .2s ease; }
.footer-related a:hover { padding-left: .25rem; color: var(--orange); }
.footer-form { display: block; max-width: 360px; }
.footer-form input { width: 100%; min-height: 43px; padding: .65rem .8rem; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; outline: 0; background: #fff; color: var(--ink); text-align: center; }
.footer-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,179,93,.18); }
.captcha-row { color: rgba(255,255,255,.75); font-size: .82rem; }
.captcha-row strong { color: #fff; letter-spacing: .1em; }
.footer-form button, .footer-form input[type="submit"] { width: fit-content; min-height: 43px; padding: .65rem 1.45rem; border: 0; border-radius: 999px; background: var(--orange); color: #fff; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.footer-form button:hover, .footer-form input[type="submit"]:hover { transform: translateY(-2px); background: #eba448 !important; }
.footer-form > span { color: rgba(255,255,255,.75); font-size: .82rem; }
.footer-bottom-area { background: rgba(0,0,0,.12); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 3rem; padding-top: 1.3rem; padding-bottom: 1.3rem; color: rgba(255,255,255,.72); font-size: .72rem; }
.footer-bottom p { margin: 0; line-height: 1.65; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--orange); }

@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .primary-nav { position: static; display: flex; align-items: center; gap: clamp(.75rem, 1.5vw, 1.6rem); padding: 0; border: 0; box-shadow: none; background: transparent; }
  .primary-nav a { padding: .4rem 0; }
  #primary-nav .nav-dropdown > summary { padding: .4rem 0; white-space: nowrap; }
  .nav-submenu { position: absolute; top: 100%; right: 0; z-index: 10; min-width: 250px; margin: 0; padding: .5rem; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); box-shadow: var(--shadow); }
  .nav-submenu a { padding: .75rem; }
  .primary-nav .nav-donate { margin: 0; padding: .6rem 1.7rem; color: #fff; }
}
@media (max-width: 849px) {
  .hero { grid-template-columns: 1fr; }
  .prayer-card { width: min(100%, 490px); justify-self: center; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 540px); }
  .header-inner { min-height: 78px; }
  .brand-copy { font-size: 1.05rem; }
  .brand-logo { height: 54px; }
  .brand-mark { width: 42px; height: 47px; }
  .hero { padding-top: 1.5rem; padding-bottom: 2.75rem; }
  .welcome-card, .content-panel { padding: 1.45rem; }
  .home-events-header { display: block; margin-bottom: 1.4rem; }
  .home-events-header-side { display: block; max-width: none; margin-top: 1.15rem; }
  .home-events-header-side p { text-align: left; }
  .home-events-header-side a { margin-top: .85rem; }
  .home-events-frame { min-height: 0; border-radius: 22px; }
  .home-events-slide { min-height: 0; grid-template-columns: 1fr; }
  .home-events-art { min-height: 370px; max-height: 470px; }
  .home-events-details { min-height: 400px; padding: 1.75rem 1.4rem 1.5rem; }
  .home-events-eyebrow { margin-top: 2.1rem; }
  .home-events-dots { flex-wrap: wrap; }
  .home-events-dots span { flex-basis: 100%; margin: .3rem 0 0; }
  .home-events-empty { min-height: 370px; padding: 2rem 1.4rem; }
  .weekly-calendar-panel { padding: 0; }
  .weekly-calendar-header { padding: 2.1rem 1.45rem 1.5rem; }
  .weekly-calendar-header h2 { font-size: clamp(2.15rem, 8.8vw, 3.35rem); }
  .weekly-calendar-body { padding: 1.25rem; }
  .seasonal-calendar-panel { padding: 0; }
  .seasonal-calendar-header { padding: 2.1rem 1.45rem 1.5rem; }
  .seasonal-calendar-header h2 { font-size: clamp(2.15rem, 8.8vw, 3.35rem); }
  .seasonal-calendar-body { padding: 1.25rem; }
  .events-grid, .contact-section, .footer-inner { grid-template-columns: 1fr; gap: 2.8rem; }
  .kids-journey-heading { display: block; margin-bottom: 2.5rem; }
  .kids-journey-heading > p { margin-top: 2rem; }
  .program-journey-grid, .donate-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 0; padding: 1.75rem; }
  .donate-intro { display: block; }
  .donate-intro h2 { margin-bottom: 1rem; }
  .donate-card p { min-height: auto; }
  .footer-form { max-width: none; }
  .footer-bottom { align-items: flex-start; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
}
@media (max-width: 410px) {
  .prayer-compact-header { align-items: flex-start; padding-inline: 1rem; }
  .prayer-compact-header h2 { font-size: 1.25rem; }
  .prayer-date { font-size: .6rem; }
  .sun-row > div { padding-inline: .75rem; }
  .jumuah-row { align-items: flex-start; flex-direction: column; padding-inline: 1rem; }
  .countdown { padding-inline: 1rem; }
  .countdown strong { font-size: 1.15rem; }
  .social-row > span { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Subtle, one-time section transformations during scroll */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.988);
  filter: blur(2px);
  transition:
    opacity 700ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    transform 850ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    filter 700ms ease var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}