/* ==========================================================================
   Woodlands Islamic Center — Masjid Abu-Huraira
   Brand: navy #10283F · forest #124C3B · ivory #F8F5ED · cream #EFE8DA · logo gold #A19771
   Type: Cormorant Garamond (display) · Manrope (text) · Noto Naskh Arabic · Roboto Condensed (logo)
   ========================================================================== */

:root {
  --navy: #10283f;
  --navy-deep: #0a1b2c;
  --forest: #124c3b;
  --forest-deep: #0c3529;
  --ivory: #f8f5ed;
  --cream: #efe8da;
  --sand: #e2d8c3;
  --gold: #a19771;
  --gold-soft: #c9c0a0;
  --gold-ink: #6e6440;
  --ink: #20262c;
  --slate: #56616b;
  --white: #fff;
  --ok: #157a58;
  --error: #b42318;
  --warn: #8a5a00;

  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ar: "Noto Naskh Arabic", "Geeza Pro", serif;
  --f-logo: "Roboto Condensed", "Arial Narrow", sans-serif;

  --r-sm: .6rem;
  --r: 1.25rem;
  --r-lg: 1.75rem;
  --shadow-soft: 0 1px 2px rgb(16 40 63 / .06), 0 8px 24px -12px rgb(16 40 63 / .18);
  --shadow-lift: 0 2px 4px rgb(16 40 63 / .06), 0 18px 40px -18px rgb(16 40 63 / .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --max: 78rem;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; color: var(--navy); margin: 0; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: 1em; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-soft); color: var(--navy); }
[lang="ar"] { font-family: var(--f-ar); line-height: 1.9; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
main:focus { outline: none; }
.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-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: var(--ivory); padding: .75rem 1rem; border-radius: var(--r-sm); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 1rem; color: var(--ivory); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 48rem; }
.center { text-align: center; }
.muted { color: var(--slate); }
.lead { font-size: 1.2rem; }
.eyebrow { font-family: var(--f-sans); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.on-dark .eyebrow { color: var(--gold-soft); }
.h-display { font-size: clamp(2.1rem, 4vw, 2.9rem); margin-top: .6rem; }
.h-display--light { color: var(--ivory); }
.on-dark { color: var(--ivory); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ivory); }
.tabular, .prayer-table td, [data-countdown] { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn { --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s, transform .18s var(--ease), box-shadow .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .18s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(2px); }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: .95rem 1.7rem; font-size: 1.06rem; }
.btn--primary { background: var(--navy); color: var(--ivory); }
.btn--primary:hover { background: var(--forest); color: var(--ivory); box-shadow: var(--shadow-soft); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-soft); color: var(--navy-deep); box-shadow: 0 10px 24px -12px rgb(161 151 113 / .8); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--navy); }
.btn--light:hover { background: var(--white); color: var(--navy); }
.btn--ondark { background: rgb(248 245 237 / .08); color: var(--ivory); border-color: rgb(248 245 237 / .4); backdrop-filter: blur(6px); }
.btn--ondark:hover { background: rgb(248 245 237 / .16); color: var(--ivory); border-color: var(--ivory); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: rgb(16 40 63 / .06); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn-row--center { justify-content: center; }
.link-light { color: var(--gold-soft); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.link-light:hover { color: var(--ivory); }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; color: var(--forest); }

/* ---------- Announcement bar ---------- */
.ann-bar { font-size: .95rem; background: var(--navy-deep); color: var(--ivory); }
.ann-bar--gold { background: var(--gold); color: var(--navy-deep); }
.ann-bar--green { background: var(--forest); }
.ann-bar--warning { background: #f6e3b4; color: #4a3500; }
.ann-bar--urgent { background: var(--error); }
.ann-bar__inner { display: flex; align-items: center; gap: .75rem; padding-block: .6rem; }
.ann-bar__inner p { flex: 1; }
.ann-bar__inner span { opacity: .9; }
.ann-bar a { color: inherit; font-weight: 800; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(248 245 237 / .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--sand); box-shadow: 0 8px 24px -20px rgb(16 40 63 / .5); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.logo__mark { height: 42px; width: auto; }
.logo__word { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-logo); text-transform: uppercase; }
.logo__w1 { font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; color: var(--gold); }
.logo__w2 { margin-top: .25rem; font-size: .6rem; font-weight: 500; letter-spacing: .42em; color: var(--navy); }
.logo--light .logo__w2 { color: var(--ivory); }
.nav { flex: 1; display: none; }
.nav__list { list-style: none; display: flex; gap: .15rem; justify-content: center; }
.nav__item { position: relative; }
.nav__btn { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .5rem .8rem; border: 0; background: none; border-radius: 999px; font-weight: 700; font-size: .98rem; color: var(--navy); }
.nav__btn:hover, .nav__btn[aria-expanded="true"] { background: rgb(16 40 63 / .06); }
.nav__btn .icon { transition: transform .2s; }
.nav__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__item.is-active > .nav__btn { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 999px 999px 4px 4px; }
.mega { position: absolute; top: calc(100% + .6rem); left: 50%; transform: translateX(-50%); width: min(34rem, 90vw); background: var(--white); border: 1px solid var(--sand); border-radius: var(--r); box-shadow: var(--shadow-lift); padding: .6rem; animation: pop .18s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mega__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.mega__list a { display: block; padding: .7rem .85rem; border-radius: var(--r-sm); text-decoration: none; color: var(--navy); }
.mega__list a:hover, .mega__list a[aria-current] { background: var(--ivory); }
.mega__label { display: block; font-weight: 700; font-size: .98rem; }
.mega__desc { display: block; font-size: .85rem; color: var(--slate); margin-top: .1rem; }
.mega__all { display: flex; align-items: center; gap: .35rem; margin-top: .35rem; padding: .7rem .85rem; border-top: 1px solid var(--cream); font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--forest); }
.site-header__cta { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--sand); background: var(--white); color: var(--navy); }
.menu-btn .icon { width: 1.4rem; height: 1.4rem; }
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: inline-flex; } }
@media (min-width: 1100px) { .nav { display: block; } .menu-btn { display: none; } .site-header__cta { margin-left: 0; } }

.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--ivory); display: flex; flex-direction: column; padding: 0 var(--gutter) 1.5rem; overflow-y: auto; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.mobile-menu__list { list-style: none; margin-top: .5rem; }
.mobile-menu__list > li { border-bottom: 1px solid var(--sand); }
.mobile-menu__list summary, .mobile-menu__link { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem .25rem; font-family: var(--f-display); font-size: 1.65rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.mobile-menu__list details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu__list details ul { list-style: none; padding: 0 0 1rem .25rem; display: grid; gap: .1rem; }
.mobile-menu__list details a { display: block; padding: .6rem 0; font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.mobile-menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: auto; padding-top: 1.5rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); min-height: min(92vh, 860px); display: flex; align-items: center; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: -2; animation: slowzoom 24s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy-deep) 0%, rgb(10 27 44 / .78) 42%, rgb(10 27 44 / .15) 100%), linear-gradient(0deg, var(--navy-deep) 0%, transparent 35%); }
.hero__inner { padding-block: 5rem 12rem; }
.hero__copy { max-width: 42rem; animation: fadeup .8s var(--ease) both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__title { margin-top: 1rem; font-size: clamp(3.3rem, 9vw, 6rem); line-height: .95; color: var(--ivory); }
.hero__ar { margin-top: .5rem; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--gold-soft); }
.hero__msg { margin-top: 1.4rem; font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: rgb(248 245 237 / .9); max-width: 34rem; }
.hero-overlap { position: relative; z-index: 2; margin-top: -9rem; }
@media (min-width: 768px) { .hero__inner { padding-block: 7rem 14rem; } .hero-overlap { margin-top: -10.5rem; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); padding-block: 3.5rem 4rem; }
.page-hero--forest { background: var(--forest); }
.page-hero--image { padding-block: 5rem 5.5rem; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 27 44 / .94) 0%, rgb(10 27 44 / .75) 50%, rgb(10 27 44 / .35) 100%); }
.page-hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: var(--gold-soft); opacity: .06; pointer-events: none; }
.page-hero__inner { max-width: var(--max); }
.page-hero__title { margin-top: .6rem; font-size: clamp(2.6rem, 6vw, 4.2rem); color: var(--ivory); max-width: 20ch; }
.page-hero__ar { font-size: 1.6rem; color: var(--gold-soft); margin-top: .3rem; }
.page-hero__intro { margin-top: 1.1rem; font-size: 1.2rem; max-width: 42rem; color: rgb(248 245 237 / .88); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; margin-bottom: 1.4rem; color: rgb(248 245 237 / .7); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: rgb(248 245 237 / .85); text-decoration: none; }
.crumbs a:hover { color: var(--ivory); text-decoration: underline; }
.crumbs [aria-current] { color: var(--gold-soft); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); }
.section--forest { background: var(--forest); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 2.5rem; }
.section-head > div:first-child { max-width: 44rem; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center > div:first-child { margin-inline: auto; }
.section-head__title { margin-top: .55rem; font-size: clamp(2.1rem, 4.2vw, 3rem); }
.section-head__intro { margin-top: .9rem; font-size: 1.12rem; color: var(--slate); }
.on-dark .section-head__intro { color: rgb(248 245 237 / .8); }
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--video { grid-template-columns: 1.25fr 1fr; } .split--wide-left { grid-template-columns: 1.4fr 1fr; } .split--top { align-items: start; } }
.card-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.star-divider { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold); }
.star-divider span { height: 1px; width: 4rem; background: linear-gradient(90deg, transparent, rgb(161 151 113 / .7)); }
.star-divider span:last-child { transform: scaleX(-1); }
.star-pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mission-quote { margin-top: 2rem; font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.25; color: var(--navy); font-weight: 500; text-wrap: balance; }

/* ---------- Prayer panel ---------- */
.prayer-panel { position: relative; display: grid; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); box-shadow: 0 30px 60px -30px rgb(10 27 44 / .7); outline: 1px solid rgb(161 151 113 / .25); }
@media (min-width: 1024px) { .prayer-panel { grid-template-columns: 1fr 1.1fr; } }
.prayer-panel__main { padding: clamp(1.5rem, 3vw, 2.25rem); }
.prayer-panel__dates { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .92rem; font-weight: 600; color: rgb(248 245 237 / .8); }
.prayer-panel__dates p + p { margin: 0; }
.prayer-panel__hijri { color: var(--gold-soft); font-weight: 500; }
.prayer-panel__next { margin-top: 1.6rem; }
.prayer-panel__name { margin-top: .2rem; font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 6vw, 4rem); line-height: 1; color: var(--ivory); }
.prayer-panel__meta { margin-top: .6rem; font-size: 1.1rem; color: rgb(248 245 237 / .86); }
.prayer-panel__dot { margin-inline: .5rem; color: var(--gold); }
.prayer-panel__count { font-weight: 700; color: var(--gold-soft); white-space: nowrap; }
.day-arc { margin-top: 1.5rem; }
.day-arc svg { width: 100%; height: auto; overflow: visible; }
.day-arc__label { font: 600 15px var(--f-sans); fill: rgb(248 245 237 / .72); }
.day-arc__label.is-next { fill: var(--gold-soft); }
.day-arc__pulse { animation: pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { transform: scale(.8); } 50% { transform: scale(1.4); } }
.prayer-panel__side { padding: clamp(1.5rem, 3vw, 2.25rem); background: rgb(10 27 44 / .45); border-top: 1px solid rgb(248 245 237 / .1); }
@media (min-width: 1024px) { .prayer-panel__side { border-top: 0; border-left: 1px solid rgb(248 245 237 / .1); } }
.prayer-table { width: 100%; border-collapse: collapse; font-size: 1.06rem; }
.prayer-table thead th { padding-bottom: .7rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: rgb(248 245 237 / .6); text-align: right; }
.prayer-table thead th:first-child { text-align: left; }
.prayer-table tbody tr { border-top: 1px solid rgb(248 245 237 / .1); }
.prayer-table tbody th { text-align: left; font-weight: 700; padding: .62rem 0; }
.prayer-table td { text-align: right; padding: .62rem 0 .62rem 1rem; }
.prayer-table__iq { font-weight: 800; }
.prayer-table tr.is-next { color: var(--gold-soft); }
.prayer-table tr.is-next th::before { content: ""; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--gold); margin-right: .5rem; vertical-align: middle; }
.prayer-table__sunrise { color: rgb(248 245 237 / .7); }
.prayer-table__sunrise th { font-weight: 500 !important; }
.pill { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: rgb(248 245 237 / .12); font-family: var(--f-sans); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; color: rgb(248 245 237 / .85); }
.prayer-panel__jumuah { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 1rem; background: rgb(248 245 237 / .06); }
.prayer-panel__jumuah ul { list-style: none; margin-top: .35rem; }
.prayer-panel__jumuah li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.prayer-panel__foot { margin-top: 1rem; font-size: .9rem; color: rgb(248 245 237 / .62); display: grid; gap: .35rem; }
.prayer-panel__foot p + p { margin: 0; }
.prayer-panel__notice { color: var(--gold-soft); }
.prayer-panel--compact .prayer-panel__name { font-size: clamp(2.4rem, 5vw, 3.2rem); }

/* ---------- Cards ---------- */
.event-card, .program-card { height: 100%; }
.event-card__link, .program-card__link { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--sand); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.event-card__link:hover, .program-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--gold-soft); color: var(--ink); }
.event-card__media, .program-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--cream); overflow: hidden; }
.event-card__img, .program-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card__link:hover .event-card__img, .program-card__link:hover .program-card__img { transform: scale(1.04); }
.event-card__placeholder, .program-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-ink); background: linear-gradient(135deg, var(--cream), var(--sand)); }
.event-card__placeholder .star-pattern, .program-card__placeholder .star-pattern { opacity: .18; color: var(--gold-ink); }
.event-card__placeholder > .icon, .program-card__placeholder > .icon { width: 2.4rem; height: 2.4rem; position: relative; }
.date-chip { position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 3.6rem; padding: .35rem 0 .45rem; border-radius: .9rem; background: var(--ivory); color: var(--navy); box-shadow: var(--shadow-soft); line-height: 1; }
.date-chip span { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.date-chip strong { font-family: var(--f-display); font-size: 1.75rem; margin-top: .15rem; }
.event-card__body, .program-card__body { display: flex; flex-direction: column; flex: 1; gap: .5rem; padding: 1.3rem 1.4rem 1.4rem; }
.event-card__when, .program-card__aud { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.event-card__title, .program-card__title { font-size: 1.6rem; }
.event-card__summary, .program-card__body > p:not([class]) { color: var(--slate); font-size: .98rem; }
.event-card__more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .92rem; color: var(--forest); }
.event-card.is-cancelled .event-card__title { text-decoration: line-through; text-decoration-thickness: 2px; }
.program-card__sched { display: flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .4rem; font-weight: 600; font-size: .92rem; color: var(--navy); }
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 999px; background: var(--cream); color: var(--navy); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: none; }
.tag--float { position: absolute; right: .9rem; top: .9rem; background: var(--ivory); box-shadow: var(--shadow-soft); }
.tag--open { background: #dcefe5; color: var(--forest); }
.tag--waitlist { background: #f6e3b4; color: #4a3500; }
.tag--danger { background: #fbe3e4; color: #8a1f24; align-self: flex-start; }

.feature-note { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--r); border: 1px solid rgb(161 151 113 / .4); background: var(--white); box-shadow: var(--shadow-soft); }
.feature-note__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: rgb(161 151 113 / .16); color: var(--gold-ink); flex: none; }
.feature-note__body { flex: 1 1 18rem; }
.feature-note__title { font-family: var(--f-display); font-size: 1.6rem; color: var(--navy); font-weight: 600; }
.feature-note__body p + p { margin-top: .2rem; color: var(--slate); }
.empty-note { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--r); background: var(--white); border: 1px dashed var(--sand); max-width: 46rem; font-size: 1.08rem; }
.empty-note > .icon { color: var(--gold-ink); margin-top: .2rem; }

.info-card { height: 100%; padding: 1.6rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--sand); }
.info-card > .icon { width: 1.9rem; height: 1.9rem; color: var(--gold-ink); }
.info-card h3 { margin-top: 1rem; font-size: 1.5rem; }
.info-card p { margin-top: .5rem; color: var(--slate); font-size: .98rem; }
.info-card--link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.info-card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--gold-soft); color: var(--ink); }
.info-card--link .link-arrow { margin-top: auto; padding-top: 1rem; }

/* ---------- Building band ---------- */
.band-building { position: relative; isolation: isolate; overflow: hidden; }
.band-building__pattern { z-index: -1; color: var(--gold-soft); opacity: .07; }
.band-building .lead { margin-top: 1.25rem; color: rgb(248 245 237 / .86); }
.fact-row { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(248 245 237 / .18); }
.fact-row strong { display: block; font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--gold-soft); font-weight: 600; }
.fact-row span { font-size: .9rem; color: rgb(248 245 237 / .75); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: .8rem; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: 0 24px 50px -24px rgb(0 0 0 / .55); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.mosaic__b, .mosaic__c { aspect-ratio: 4 / 3; }
.progress { margin-top: 2rem; }
.progress__labels { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: .95rem; }
.progress__bar { margin-top: .5rem; height: .8rem; border-radius: 999px; background: rgb(16 40 63 / .1); overflow: hidden; }
.progress--light .progress__bar { background: rgb(248 245 237 / .16); }
.progress__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transition: width 1.2s var(--ease); }
.progress__note { margin-top: .4rem; font-size: .82rem; opacity: .75; }

.impact { display: grid; gap: 2rem; text-align: center; }
@media (min-width: 640px) { .impact { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }
.impact div { display: flex; flex-direction: column; }
.impact dd { order: -1; }
.impact dd { margin: 0; font-family: var(--f-display); font-size: 3.2rem; color: var(--navy); font-weight: 600; line-height: 1; }
.impact dt { margin-top: .5rem; color: var(--slate); }

.give-grid { list-style: none; display: grid; gap: 1rem; max-width: 64rem; margin-inline: auto; }
@media (min-width: 640px) { .give-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .give-grid { grid-template-columns: repeat(3, 1fr); } }
.give-card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--sand); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.give-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-soft); color: var(--ink); }
.give-card__title { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: var(--navy); line-height: 1.1; }
.give-card__desc { margin-top: .5rem; color: var(--slate); font-size: .97rem; }
.give-card__go { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; font-size: .92rem; color: var(--forest); }

/* ---------- Video ---------- */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow-lift); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s, transform .6s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; inset: 0; margin: auto; width: 5rem; height: 5rem; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(248 245 237 / .92); color: var(--navy); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .6); transition: transform .2s var(--ease), background .2s; }
.yt__play:hover { transform: scale(1.06); background: var(--gold-soft); }
.yt__play .icon { width: 1.9rem; height: 1.9rem; margin-left: .25rem; fill: currentColor; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; font-size: 1.08rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--forest); text-decoration: underline; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25rem; border-left: 3px solid var(--gold); font-family: var(--f-display); font-size: 1.5rem; color: var(--navy); }
.prose img { border-radius: var(--r); }
.prose [lang="ar"] { font-size: 1.6rem; text-align: right; color: var(--navy); }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--sand); max-width: 52rem; }
.accordion__item { border-bottom: 1px solid var(--sand); }
.accordion__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.accordion__item summary .icon { transition: transform .2s; color: var(--gold-ink); }
.accordion__item[open] summary .icon { transform: rotate(180deg); }
.accordion__body { padding-bottom: 1.25rem; color: var(--ink); }

/* ---------- Forms ---------- */
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--sand); box-shadow: var(--shadow-soft); }

/* Past newsletters (from Brevo) */
.nl-archive { margin-top: clamp(2rem, 5vw, 3rem); }
.nl-archive h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .75rem; }
.nl-archive-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sand); }
.nl-archive-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--sand); }
.nl-archive-list a { font-weight: 600; color: var(--navy); }
.nl-archive-list .muted { color: var(--slate); font-size: .95rem; white-space: nowrap; }
.wic-form { display: grid; gap: 1.25rem; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid--3 { grid-template-columns: repeat(3, 1fr); } .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field__label, .choices legend { font-weight: 700; font-size: .96rem; color: var(--navy); }
.field__req { color: var(--error); }
.field__opt { font-weight: 500; color: var(--slate); font-size: .88rem; }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea, .hh-table input, .hh-table select, .money-table input, .money-table select {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: .8rem; border: 1.5px solid var(--sand); background: var(--white); font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .hh-table input:focus, .money-table input:focus, .money-table select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgb(18 76 59 / .14); }
.field [aria-invalid="true"], .hh-table [aria-invalid="true"] { border-color: var(--error) !important; background: #fff8f7; }
.field input[type=file] { padding: .7rem; border: 1.5px dashed var(--sand); border-radius: .8rem; background: var(--ivory); width: 100%; }
.field__money { position: relative; }
.field__money span { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--slate); font-weight: 700; }
.field__money input { padding-left: 1.9rem !important; }
.field__hint { font-size: .88rem; color: var(--slate); }
.field__error { font-size: .88rem; color: var(--error); font-weight: 700; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; cursor: pointer; }
.check input, .choice input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--forest); flex: none; }
.choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices legend { margin-bottom: .5rem; padding: 0; }
.choices__grid { display: grid; gap: .5rem; }
@media (min-width: 640px) { .choices__grid { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); } }
.choice { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem .95rem; border-radius: .8rem; border: 1.5px solid var(--sand); background: var(--white); cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--gold-soft); }
.choice:has(input:checked) { border-color: var(--forest); background: #f2f8f5; }
.wic-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wic-form__submit { justify-self: start; min-width: 12rem; }
.wic-form__submit[disabled] { opacity: .7; cursor: progress; }
.wic-form__note { font-size: .92rem; color: var(--slate); }
.wic-alert { padding: 1rem 1.15rem; border-radius: .9rem; font-weight: 600; }
.wic-alert--ok { background: #e3f3eb; color: #0e5a40; border: 1px solid #b6dcc9; }
.wic-alert--error { background: #fdecea; color: #8a1f24; border: 1px solid #f3c2bf; }
.wic-alert--warning { background: #fdf3dc; color: #5a4100; border: 1px solid #f0d79b; }
.wic-form.is-done > *:not(.wic-form__status) { display: none !important; }
.wic-form.is-done .wic-alert--ok { font-size: 1.1rem; padding: 1.4rem; }
.privacy-note { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: .9rem; background: #eef4f1; color: var(--forest-deep); font-size: .96rem; }
.privacy-note svg { flex: none; margin-top: .15rem; }
.form-context { padding: .9rem 1.1rem; border-radius: .9rem; background: var(--ivory); border-left: 3px solid var(--gold); }
.form-section { border: 0; padding: 1.5rem 0 0; margin: 0; border-top: 1px solid var(--cream); display: grid; gap: 1.1rem; min-width: 0; }
.form-section legend { float: left; width: 100%; margin-bottom: .25rem; font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: .6rem; }
.form-section legend + * { clear: both; }
.form-section__n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: var(--ivory); font-family: var(--f-sans); font-size: .9rem; font-weight: 800; }
.form-section__hint { color: var(--slate); }
.form-subhead { font-size: 1.25rem; margin-top: .5rem; }
.declaration { padding: 1.1rem 1.2rem; border-radius: .9rem; background: var(--ivory); font-size: .98rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: -.25rem; padding-inline: .25rem; }
.hh-table, .money-table { width: 100%; border-collapse: separate; border-spacing: .4rem; min-width: 40rem; }
.hh-table th, .money-table th { text-align: left; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.money-table tbody th { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--navy); font-weight: 700; }
.hh-table input, .money-table input, .money-table select { min-height: 44px; padding: .55rem .7rem; }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; counter-reset: s; }
.steps li { counter-increment: s; font-size: .82rem; font-weight: 700; color: var(--slate); padding: .35rem .7rem .35rem .4rem; border-radius: 999px; background: var(--ivory); display: inline-flex; align-items: center; gap: .4rem; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sand); color: var(--navy); font-size: .75rem; }
.steps li.is-done::before { background: var(--forest); color: var(--ivory); content: "✓"; }
.wic-form--inline .inline-fields { display: flex; gap: .6rem; flex-wrap: wrap; }
.wic-form--inline .inline-fields .field { flex: 1 1 16rem; }
.wic-form--inline .field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wic-form--inline { gap: .8rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); padding-block: 4rem 2rem; }
.site-footer__pattern { z-index: -1; color: var(--gold-soft); opacity: .045; }
.site-footer__news { display: grid; gap: 1.5rem; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid rgb(248 245 237 / .12); }
@media (min-width: 1024px) { .site-footer__news { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; } }
.site-footer__title { margin-top: .6rem; font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--ivory); max-width: 26ch; }
.site-footer .wic-form .field__label, .site-footer .check { color: rgb(248 245 237 / .85); }
.site-footer .check a { color: var(--gold-soft); }
.site-footer .field input { background: rgb(248 245 237 / .06) !important; border-color: rgb(248 245 237 / .25) !important; color: var(--ivory) !important; }
.site-footer .field input::placeholder { color: rgb(248 245 237 / .5); }
.site-footer .wic-form__submit { background: var(--gold); color: var(--navy-deep); }
.site-footer .wic-form__submit:hover { background: var(--gold-soft); }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__ar { margin-top: .75rem; color: var(--gold-soft); font-size: 1.35rem; }
.site-footer address { display: grid; gap: .7rem; margin-top: 1.25rem; }
.site-footer address a, .site-footer__hours { display: flex; gap: .65rem; align-items: flex-start; color: rgb(248 245 237 / .85); text-decoration: none; }
.site-footer address a:hover { color: var(--ivory); }
.site-footer address .icon { color: var(--gold-soft); margin-top: .2rem; }
.site-footer__col h3 { font-family: var(--f-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--gold-soft); }
.site-footer__col ul { list-style: none; margin-top: 1rem; display: grid; gap: .6rem; }
.site-footer__col a { color: rgb(248 245 237 / .82); text-decoration: none; }
.site-footer__col a:hover { color: var(--ivory); text-decoration: underline; }
.social { list-style: none; display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(248 245 237 / .25); color: var(--ivory); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.social:not(.social--footer) a { border-color: var(--sand); color: var(--navy); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(248 245 237 / .12); font-size: .88rem; color: rgb(248 245 237 / .6); }
.site-footer__bottom ul { list-style: none; display: flex; gap: 1.25rem; }
.site-footer__bottom a { color: rgb(248 245 237 / .75); }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r); overflow: hidden; }
.table th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 800; padding: .85rem 1rem; border-bottom: 1px solid var(--sand); background: var(--ivory); }
.table td, .table tbody th { padding: .8rem 1rem; border-bottom: 1px solid var(--cream); vertical-align: top; text-align: left; }
.table tbody th { font-weight: 700; color: var(--navy); white-space: nowrap; }
.table tr.is-today { background: #f6f1e2; }
.table tr.is-today th::after { content: "Today"; margin-left: .5rem; font-size: .68rem; padding: .1rem .45rem; border-radius: 999px; background: var(--gold); color: var(--navy-deep); letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; }
.table tr.is-friday th { color: var(--forest); }
.table .iq { font-weight: 800; color: var(--navy); }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--sand); }

/* ---------- Misc components ---------- */
.stat-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .stat-cards { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }
.stat-card { padding: 1.4rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--sand); }
.stat-card strong { display: block; font-family: var(--f-display); font-size: 2.3rem; color: var(--navy); line-height: 1; font-weight: 600; }
.stat-card span { color: var(--slate); font-size: .95rem; }
.timeline { list-style: none; position: relative; display: grid; gap: 1.75rem; padding-left: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: .4rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(var(--gold), var(--sand)); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -1.75rem; top: .45rem; width: .85rem; height: .85rem; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); }
.timeline li:last-child::before { background: var(--gold); }
.timeline__period { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--gold-ink); text-transform: uppercase; }
.timeline h3 { font-size: 1.45rem; margin-top: .15rem; }
.timeline p { color: var(--slate); margin-top: .2rem; }
.phase { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--sand); }
@media (min-width: 900px) { .phase { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.phase.is-current { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-lift); }
.phase__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream); }
.phase__img img { width: 100%; height: 100%; object-fit: cover; }
.phase__n { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.phase h3 { font-size: 2rem; margin-top: .3rem; }
.phase__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.phase ul { list-style: none; display: grid; gap: .45rem; margin-top: 1rem; }
.phase li { display: flex; gap: .55rem; }
.phase li .icon { color: var(--forest); margin-top: .25rem; }
.leader { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--sand); }
@media (min-width: 900px) { .leader--feature { grid-template-columns: 18rem 1fr; } }
.leader__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader__role { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.board { display: grid; gap: 1rem; }
@media (min-width: 640px) { .board { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .board { grid-template-columns: repeat(3, 1fr); } }
.board__item { padding: 1.4rem 1.5rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--sand); display: flex; gap: 1rem; align-items: center; }
.board__mono { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--navy); color: var(--gold-soft); font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; flex: none; }
.board__item h3 { font-size: 1.35rem; }
.gallery-grid { columns: 1; column-gap: 1rem; }
@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; } }
.gallery-grid figure { break-inside: avoid; margin: 0 0 1rem; border-radius: var(--r); overflow: hidden; background: var(--cream); position: relative; }
.gallery-grid button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.gallery-grid button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery-grid img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1rem .8rem; background: linear-gradient(transparent, rgb(10 27 44 / .8)); color: var(--ivory); font-size: .9rem; font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(10 27 44 / .94); display: grid; grid-template-rows: auto 1fr auto; padding: 1rem; }
.lightbox__img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: .5rem; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; color: var(--ivory); gap: 1rem; }
.lightbox button { min-width: 48px; min-height: 48px; border-radius: 999px; border: 1px solid rgb(248 245 237 / .3); background: rgb(248 245 237 / .08); color: var(--ivory); display: inline-grid; place-items: center; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--sand); border: 1px solid var(--sand); border-radius: var(--r); overflow: hidden; }
.cal__dow { background: var(--ivory); padding: .5rem; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); text-align: center; }
.cal__day { background: var(--white); min-height: 6.5rem; padding: .45rem; font-size: .82rem; }
.cal__day.is-out { background: var(--ivory); color: #9aa3ab; }
.cal__day.is-today { box-shadow: inset 0 0 0 2px var(--gold); }
.cal__num { font-weight: 800; color: var(--navy); }
.cal__day a { display: block; margin-top: .25rem; padding: .2rem .35rem; border-radius: .35rem; background: #eef4f1; color: var(--forest-deep); text-decoration: none; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.cal__day a:hover { background: var(--forest); color: var(--ivory); }
@media (max-width: 720px) { .cal { display: none; } }
.list-view { display: grid; gap: 1rem; }
.list-row { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: start; padding: 1.1rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--sand); text-decoration: none; color: var(--ink); }
.list-row:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-soft); color: var(--ink); }
.list-row .date-chip { position: static; box-shadow: none; background: var(--ivory); }
.list-row h3 { font-size: 1.4rem; }
.list-row p { color: var(--slate); font-size: .95rem; margin-top: .2rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tabs a, .tabs button { padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--sand); background: var(--white); font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--navy); min-height: 44px; display: inline-flex; align-items: center; }
.tabs [aria-current], .tabs [aria-pressed="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.detail-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 1fr); align-items: start; } .detail-grid__side { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.facts { list-style: none; display: grid; gap: .9rem; padding: 1.5rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--sand); }
.facts > li { display: flex; gap: .75rem; align-items: flex-start; }
.facts .icon { color: var(--gold-ink); margin-top: .2rem; }
.facts__k { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.facts__v { display: block; font-weight: 600; color: var(--navy); }
.give-method { padding: 1.5rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--sand); display: flex; flex-direction: column; gap: .75rem; }
.give-method h3 { font-size: 1.6rem; display: flex; align-items: center; gap: .6rem; }
.give-method h3 .icon { color: var(--gold-ink); }
.give-method pre { margin: 0; font-family: inherit; white-space: pre-wrap; color: var(--ink); }
.give-method .btn { align-self: flex-start; margin-top: auto; }
.qr { width: 9rem; height: 9rem; padding: .5rem; background: var(--white); border-radius: .75rem; border: 1px solid var(--sand); }
.nights { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .6rem; }
.night { position: relative; }
.night input { position: absolute; opacity: 0; pointer-events: none; }
.night label, .night > div { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .85rem; border-radius: .9rem; border: 1.5px solid var(--sand); background: var(--white); min-height: 5.5rem; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.night label:hover { border-color: var(--gold); transform: translateY(-1px); }
.night input:checked + label { border-color: var(--forest); background: #eef6f2; box-shadow: 0 0 0 3px rgb(18 76 59 / .15); }
.night input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.night__n { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.night__d { font-weight: 800; color: var(--navy); }
.night__s { font-size: .78rem; color: var(--slate); }
.night--full > div, .night--masjid > div, .night--anonymous > div, .night--closed > div, .night--pending > div { cursor: default; background: var(--ivory); opacity: .85; }
.night--full .night__s, .night--masjid .night__s, .night--anonymous .night__s { color: var(--forest); font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .88rem; color: var(--slate); margin-top: 1rem; }
.legend span::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .4rem; vertical-align: middle; background: var(--white); border: 1.5px solid var(--sand); }
.legend .l-sel::before { background: #eef6f2; border-color: var(--forest); }
.legend .l-full::before { background: var(--ivory); }
.hold-timer { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; background: #fdf3dc; color: #5a4100; font-weight: 700; }
.service-tiles { display: grid; gap: 1rem; }
@media (min-width: 640px) { .service-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-tiles { grid-template-columns: repeat(4, 1fr); } }
.notice-block { padding: 1.25rem 1.4rem; border-radius: var(--r); background: var(--white); border-left: 4px solid var(--gold); box-shadow: var(--shadow-soft); }
.ann-list { display: grid; gap: 1rem; max-width: 52rem; }
.ann-item { padding: 1.5rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--sand); border-left: 4px solid var(--navy); }
.ann-item--gold { border-left-color: var(--gold); }
.ann-item--green { border-left-color: var(--forest); }
.ann-item--warning { border-left-color: #d29a1d; }
.ann-item--urgent { border-left-color: var(--error); }
.ann-item h2 { font-size: 1.7rem; }
.ann-item .prose { margin-top: .6rem; }
.hijri-strip { display: grid; gap: 1px; background: var(--sand); border-radius: var(--r); overflow: hidden; border: 1px solid var(--sand); }
@media (min-width: 640px) { .hijri-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hijri-strip { grid-template-columns: repeat(3, 1fr); } }
.hijri-strip div { background: var(--white); padding: 1.1rem 1.25rem; }
.hijri-strip strong { display: block; font-family: var(--f-display); font-size: 1.45rem; color: var(--navy); }

/* ---------- Motion ---------- */
/* Scroll reveal is pure CSS (tied to scroll position): content is never hidden if it isn't supported. */
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% entry 45%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .ann-bar, .mobile-menu, .no-print, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-hero { background: none; padding: 0 0 1rem; }
  .page-hero * { color: #000 !important; }
  .page-hero__img, .page-hero__pattern, .crumbs { display: none; }
  .section { padding-block: 1rem; }
  .table th, .table td { padding: .3rem .5rem; }
}

/* ---------- Page-specific additions ---------- */
.cover { width: 100%; height: 100%; object-fit: cover; }
.pillars { list-style: none; display: grid; gap: .9rem; margin-top: 1.5rem; font-size: 1.1rem; }
.pillars li { border-left: 2px solid var(--gold); padding-left: 1rem; }
.pillars strong, .check-list strong { color: var(--navy); }
.check-list { list-style: none; display: grid; gap: .55rem; margin-top: 1rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--forest); margin-top: .2rem; }
.lecture-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--sand); border-radius: var(--r); overflow: hidden; }
.lecture-card .yt { border-radius: 0; box-shadow: none; }
.lecture-card__body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .4rem; }
.lecture-card__body .program-card__title { font-size: 1.45rem; }
.give-methods { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .give-methods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .give-methods { grid-template-columns: repeat(4, 1fr); } }
.qr { display: inline-block; width: 9rem; height: 9rem; padding: .45rem; background: var(--white); border: 1px solid var(--sand); border-radius: .75rem; }
.qr svg { width: 100%; height: 100%; }
.fund-list { list-style: none; display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .fund-list { grid-template-columns: 1fr 1fr; } }
.fund { display: block; height: 100%; padding: 1rem 1.1rem; border-radius: .9rem; border: 1.5px solid var(--sand); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.fund:hover { border-color: var(--gold); color: var(--ink); }
.fund.is-on { border-color: var(--forest); background: #f1f7f4; box-shadow: 0 0 0 3px rgb(18 76 59 / .12); }
.fund__t { display: block; font-weight: 800; color: var(--navy); }
.fund__d { display: block; margin-top: .25rem; font-size: .9rem; color: var(--slate); }
.give-panel { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: var(--navy); box-shadow: var(--shadow-lift); }
.give-panel__pattern { z-index: -1; color: var(--gold-soft); opacity: .06; }
.trust-list { list-style: none; display: grid; gap: .6rem; margin-top: 2rem; font-size: .92rem; color: rgb(248 245 237 / .78); }
.trust-list li { display: flex; gap: .6rem; align-items: flex-start; }
.trust-list .icon { color: var(--gold); margin-top: .1rem; }
.page-hero--tall { padding-block: 6rem 6.5rem; }
.now-chip { display: inline-flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding: .5rem 1rem; border-radius: 999px; background: rgb(248 245 237 / .1); outline: 1px solid rgb(161 151 113 / .45); font-size: .95rem; }
.now-chip strong { color: var(--gold-soft); }
.facts-band { background: var(--white); border-bottom: 1px solid var(--sand); }
.facts-band__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding-block: 2rem; text-align: center; }
@media (min-width: 640px) { .facts-band__grid { grid-template-columns: repeat(5, 1fr); } }
.facts-band__grid div { display: flex; flex-direction: column; }
.facts-band dd { order: -1; }
.facts-band dd { margin: 0; font-family: var(--f-display); font-size: 2.6rem; color: var(--navy); font-weight: 600; line-height: 1; }
.facts-band dt { margin-top: .4rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.phases { display: grid; gap: 1.5rem; }
.phase__money { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 1rem; }
.phase__money dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.phase__money dd { margin: 0; font-family: var(--f-display); font-size: 1.6rem; color: var(--navy); font-weight: 600; }
.phase__outcome { margin-top: 1rem; padding: .8rem 1rem; border-radius: .8rem; background: var(--ivory); }
.phase__n .tag { margin-left: .5rem; vertical-align: middle; }
.figure-card { margin: 0; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--sand); }
.figure-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.figure-card--plan img { object-fit: contain; aspect-ratio: 5 / 4; padding: 1rem; background: var(--white); }
.figure-card figcaption { padding: 1rem 1.25rem 1.25rem; color: var(--slate); }
.figure-card figcaption strong { color: var(--navy); }
.star-divider--left { justify-content: flex-start; margin-top: 2.5rem; }
.star-divider--left span:first-child { display: none; }
.yt--live { aspect-ratio: auto; background: none; box-shadow: none; }
@media (max-width: 640px) {
  .day-arc__label { font-size: 24px; }
  .prayer-panel__meta { display: flex; flex-wrap: wrap; column-gap: .5rem; }
  .prayer-panel__dot { display: none; }
}
@media (max-width: 380px) {
  .logo__w1 { font-size: 1.25rem; }
  .logo__w2 { letter-spacing: .32em; }
  .site-header__cta .btn--gold { padding-inline: .85rem; }
}

/* ---------- Iftar sponsor sheet ---------- */
.sponsor-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: 2rem 0; counter-reset: st; }
.sponsor-steps li { counter-increment: st; position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.3rem 1.3rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--sand); }
.sponsor-steps li::before { content: counter(st); position: absolute; top: 1rem; right: 1.1rem; font-family: var(--f-display); font-size: 1.6rem; color: var(--gold-soft); }
.sponsor-steps .icon { width: 1.6rem; height: 1.6rem; color: var(--gold-ink); margin-bottom: .4rem; }
.sponsor-steps strong { font-size: 1.05rem; color: var(--navy); }
.sponsor-steps span { color: var(--slate); font-size: .94rem; }
.sponsor-sheet { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; align-items: start; }
.sponsor-sheet h3, .pay-box h3 { font-size: 1.45rem; }
.sponsor-sheet__menus { padding: 1.6rem; border-radius: var(--r); background: var(--ivory); border: 1px solid var(--sand); }
.menu-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; margin-top: 1rem; }
.menu-list li { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border-radius: calc(var(--r) * .7); background: var(--white); border-left: 3px solid var(--gold); }
.menu-list strong { color: var(--navy); }
.menu-list span { color: var(--slate); font-size: .92rem; }
.pay-box { padding: 1.6rem; border-radius: var(--r); background: var(--navy); color: var(--ivory); }
.pay-box h3 { color: var(--ivory); }
.pay-box__phone { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .7rem 1.1rem; min-height: 44px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.pay-box__phone:hover { background: var(--gold-soft); color: var(--navy); }
.pay-box__phone .icon { width: 1.15rem; height: 1.15rem; }
.pay-box__hint { margin-top: .5rem; font-size: .9rem; opacity: .85; }
.pay-box__k { margin-top: 1.25rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); }
.pay-box__note { margin-top: .4rem; white-space: pre-line; line-height: 1.6; }
@media (max-width: 760px) { .sponsor-sheet { grid-template-columns: 1fr; } }
