/* ═══════════════════════════════════════════════════════════════════════
   site.css — base + chrome + components for www.blrjmt.com.
   Desktop-first; breakpoints at 1024 / 768 / 480. Sections alternate
   ivory / warm bands; symmetry is non-negotiable.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x on the SCROLL ROOT only (html) — putting it on body would force
   body's overflow-y to auto and break the sticky header. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
.hero__title { overflow-wrap: break-word; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    /* sticky footer: a short page must still seat the footer at the viewport
       bottom — otherwise bare page-background shows beneath it */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
/* block-level images centre themselves by default — every standalone image on
   this site is a centred mark or photograph, and a left-hugging block image is
   never what we want */
img { max-width: 100%; height: auto; display: block; margin-inline: auto; }
a { color: var(--emerald); text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
a:hover { color: var(--emerald-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.14; margin: 0 0 var(--sp-4); color: var(--ink); letter-spacing: -.015em; }
p { margin: 0 0 var(--sp-4); }
::selection { background: var(--gold-soft); color: var(--ink); }
dl, dd { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container--prose  { max-width: 760px; }
.container--narrow { max-width: 560px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--emerald-deep); color: #fff; padding: var(--sp-2) var(--sp-4); z-index: 100; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

/* ── member bar ── */
.member-bar { background: var(--emerald-deep); color: var(--paper); font-size: var(--fs-small); }
.member-bar__inner { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-1); padding-bottom: var(--sp-1); }
.member-bar__me { color: var(--gold); }
.member-bar__me:hover { color: var(--gold-soft); }

/* ── header ── */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand__logo { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.0625rem; color: var(--ink); }
.brand__city { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .18em; color: var(--gold-deep); }

.site-nav { display: flex; align-items: center; gap: var(--sp-5); }
.site-nav a { color: var(--ink-soft); font-size: var(--fs-small); font-weight: 500; padding: var(--sp-1) 0; border-bottom: 2px solid transparent; transition: color var(--t-fast), border-color var(--t-fast); }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.site-nav__cta { color: var(--emerald) !important; border: 1px solid var(--emerald) !important; border-radius: var(--r-pill); padding: var(--sp-1) var(--sp-4) !important; }
.site-nav__cta:hover { background: var(--emerald); color: #fff !important; }

.nav-toggle { display: none; background: none; border: 0; padding: var(--sp-2); cursor: pointer; }
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform var(--t-normal) var(--ease-out), opacity var(--t-fast); }

/* ── hero — layered: emerald ground · star tessellation · glow · gold frame ── */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    color: var(--paper);
    background:
        radial-gradient(140% 120% at 50% 0%, var(--emerald) 0%, var(--emerald-deep) 42%, var(--emerald-night) 100%);
}
/* layer 1 — the community's own eight-point-star tessellation, faint gold */
.hero__pattern {
    position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background-image: var(--pat-gold);
    background-size: 62px 62px;
    opacity: .10;
    -webkit-mask-image: radial-gradient(130% 100% at 50% 8%, #000 30%, transparent 78%);
            mask-image: radial-gradient(130% 100% at 50% 8%, #000 30%, transparent 78%);
}
/* layer 2 — warm gold glow behind the medallion + cool depth at the base */
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(46% 40% at 50% 20%, rgba(201,162,75,.22), transparent 62%),
        radial-gradient(60% 50% at 50% 120%, rgba(8,43,26,.9), transparent 70%);
}
.hero__inner { position: relative; padding: var(--sp-10) var(--sp-5) var(--sp-9); text-align: center; }

/* seal in a gold ring medallion */
.hero__medallion {
    width: 128px; height: 128px; margin: 0 auto var(--sp-5);
    display: grid; place-items: center; border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, rgba(230,197,120,.16), rgba(8,43,26,.4));
    box-shadow: 0 0 0 1px var(--gold-line), 0 0 0 8px rgba(201,162,75,.06), var(--shadow-3);
}
.hero__medallion img { width: 82px; height: 82px; }

.hero__kicker {
    display: inline-flex; align-items: center; gap: var(--sp-3);
    color: var(--gold-bright); font-size: var(--kicker); font-weight: 500;
    letter-spacing: .32em; text-transform: uppercase; margin-bottom: var(--sp-4);
}
.hero__kicker::before, .hero__kicker::after { content: ''; width: 28px; height: 1px; background: var(--gold-line); }
.hero__title { font-size: var(--fs-hero); font-weight: 600; color: #fff; letter-spacing: -.02em; line-height: 1.02; margin: 0; }
.hero__title-city { display: block; font-size: .3em; font-weight: 500; color: var(--gold-bright); letter-spacing: .5em; text-transform: uppercase; margin-top: var(--sp-4); }
.hero__sub { color: rgba(246,243,236,.82); font-size: 1.0625rem; letter-spacing: .01em; margin: var(--sp-5) auto 0; max-width: 40ch; }
.hero__actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-7); }
.hero__today {
    margin-top: var(--sp-7); padding-top: var(--sp-5);
    border-top: 1px solid var(--line-on-dark);
    display: inline-flex; gap: var(--sp-5); flex-wrap: wrap; justify-content: center;
    color: rgba(246,243,236,.7); font-size: var(--fs-small);
}
.hero__today b { color: var(--gold-bright); font-weight: 600; }
/* scalloped gold hairline seam into the page */
.hero__seam { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent); }

/* ── page hero (inner pages) ── */
.page-hero { background: var(--emerald-deep); color: var(--paper); padding: var(--sp-7) 0; }
.page-hero__kicker { color: var(--gold); font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.page-hero__title { color: #fff; font-size: var(--fs-h1); margin-bottom: var(--sp-1); }
.page-hero__sub { color: rgba(247, 245, 240, .75); margin: 0; }

/* ── bands & section heads ── */
.band { padding: var(--sp-9) 0; position: relative; }
.band--alt { background: var(--paper-deep); }
.band--center { text-align: center; }
.band--notice { background: var(--gold-soft); padding: var(--sp-6) 0; }
/* faint star-and-cross texture washed into a band's corners for depth */
.band--pattern { position: relative; isolation: isolate; }
.band--pattern::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: var(--pat-emerald); background-size: 62px 62px; opacity: .05;
    -webkit-mask-image: radial-gradient(80% 70% at 100% 0%, #000, transparent 60%);
            mask-image: radial-gradient(80% 70% at 100% 0%, #000, transparent 60%);
}

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-7); }
.section-head h2 { font-size: var(--fs-h2); margin: 0; position: relative; padding-bottom: var(--sp-3); }
.section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--gold); }
.section-head__more { font-size: var(--fs-small); font-weight: 600; white-space: nowrap; color: var(--emerald); }
.section-head__more:hover { color: var(--gold-deep); }
.section-head__note { font-size: var(--fs-small); color: var(--ink-faint); white-space: nowrap; }

/* centred editorial header: eyebrow kicker · big title · star ornament rule */
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: var(--sp-2); }
.section-head--center h2 { padding-bottom: 0; }
.section-head--center h2::after { display: none; }
.section-kicker { color: var(--gold-deep); font-size: var(--kicker); font-weight: 600; letter-spacing: .28em; text-transform: uppercase; margin: 0; }
.section-lead { color: var(--ink-soft); max-width: 56ch; margin: var(--sp-1) auto 0; }
/* gold rule with a centred eight-point star — the recurring divider ornament */
.ornament { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); margin: var(--sp-3) auto 0; width: min(240px, 60%); color: var(--gold); }
.ornament::before, .ornament::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold-line)); }
.ornament::after { background: linear-gradient(90deg, var(--gold-line), transparent); }
.ornament__star { width: 14px; height: 14px; flex: none;
    background: var(--gold);
    -webkit-mask: var(--pat-star-mask) center/contain no-repeat; mask: var(--pat-star-mask) center/contain no-repeat; }
:root { --pat-star-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%3E%3Cpath%20d='M16%200l3.8%208.36L28.5%206.5l-2.86%208.7L32%2016l-6.36%200.8L28.5%2025.5l-8.7-2.86L16%2032l-3.8-8.36L3.5%2025.5l2.86-8.7L0%2016l6.36-.8L3.5%206.5l8.7%202.86z'/%3E%3C/svg%3E"); }

/* centred link/button under a grid — replaces the old top-right "more" link */
.band-more { text-align: center; margin: var(--sp-7) 0 0; }
.ornament--left { justify-content: flex-start; margin-left: 0; width: 180px; }
.ornament--left::before { display: none; }

/* ── about split: arch-framed photograph + editorial column ── */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-8); align-items: center; }
.about-frame { position: relative; padding: var(--sp-3); }
/* gold hairline that echoes the keel arch, offset behind the photo for depth */
.about-frame::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    border: 1px solid var(--gold-line); border-radius: 140px 140px var(--r-md) var(--r-md);
    transform: translate(14px, 14px);
}
.about-frame img {
    position: relative; z-index: 1; width: 100%;
    border-radius: 140px 140px var(--r-md) var(--r-md);
    box-shadow: var(--shadow-3);
}
.about-split__title { font-size: var(--fs-h1); color: var(--ink); margin: var(--sp-2) 0 0; }
.about-split__body p { color: var(--ink-soft); }
.about-split__body .btn { margin-top: var(--sp-3); }

/* ── tehfeez: real figures from the member register.
      A dark band, as on the old site — the one dramatic moment on the page. ── */
.tehfeez { position: relative; overflow: hidden; background: var(--emerald-night); color: var(--paper); }
.tehfeez__bg {
    position: absolute; inset: 0; pointer-events: none;
    background: url('/assets/img/quran.jpg') center / cover no-repeat;
    opacity: .22;
}
.tehfeez::after {   /* darken toward the edges so the figures always read */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(13,46,29,.55), rgba(13,46,29,.9));
}
.tehfeez > .container { position: relative; z-index: 1; }
.tehfeez__head { max-width: 780px; margin: 0 auto var(--sp-6); text-align: center; }
.tehfeez__kicker { color: var(--gold); font-size: var(--fs-small); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--sp-1); }
.tehfeez__title { font-size: var(--fs-h1); color: #fff; margin-bottom: var(--sp-4); }
.tehfeez__text { color: rgba(247,245,240,.82); font-size: var(--fs-small); }
/* tiles sit on the dark ground */
.tehfeez .stat-tile { background: rgba(247,245,240,.06); border-color: rgba(247,245,240,.16); backdrop-filter: blur(2px); }
.tehfeez .stat-tile__value { color: #fff; }
.tehfeez .stat-tile__label { color: var(--paper); }
.tehfeez .stat-tile__note  { color: rgba(247,245,240,.6); }
.tehfeez__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--emerald); border-radius: var(--r-md); padding: var(--sp-5); text-align: center; display: flex; flex-direction: column; gap: var(--sp-1); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast); }
.stat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.stat-tile--gold    { border-top-color: var(--gold); }
.stat-tile--emerald { border-top-color: var(--emerald); }
.stat-tile--violet  { border-top-color: var(--aubergine); }
.stat-tile--cream   { border-top-color: var(--gold-deep); }
.stat-tile__value { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.1; color: var(--ink); }
.stat-tile__label { font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.stat-tile__note  { font-size: var(--fs-micro); color: var(--ink-faint); }

/* ── buttons & chips ── */
.btn { display: inline-block; font-family: var(--font-body); font-size: var(--fs-small); font-weight: 600; border-radius: var(--r-pill); padding: 10px 24px; border: 1px solid transparent; cursor: pointer; transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), background var(--t-fast); }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--emerald); color: #fff; }
.btn--primary:hover { background: var(--emerald-deep); color: #fff; box-shadow: var(--shadow-2); }
.btn--gold { background: var(--gold); color: var(--emerald-deep); }
.btn--gold:hover { background: var(--gold-deep); color: #fff; }
.btn--outline { border-color: var(--emerald); color: var(--emerald); background: transparent; }
.btn--outline:hover { background: var(--emerald-soft); }
.btn--ghost { background: transparent; color: var(--ink-soft); }
.btn--ghost:hover { color: var(--danger); }
.btn--ghost-light { border-color: rgba(247, 245, 240, .4); color: var(--paper); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 13px 32px; font-size: var(--fs-body); }

.chip { display: inline-block; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .05em; border-radius: var(--r-pill); padding: 1px 10px; }
.chip--members { background: var(--gold-soft); color: var(--gold-deep); border: 1px solid var(--gold); }

/* ── cards: posts ── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); box-shadow: var(--shadow-1); transition: transform var(--t-normal) var(--ease-out), box-shadow var(--t-normal), border-color var(--t-fast); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.post-card__meta { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-micro); color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.post-card__title { font-size: var(--fs-h3); margin: 0; color: var(--ink); }
.post-card__excerpt { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── cards: jamaat (keel-arch top) ── */
.jamaat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.jamaat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-6) var(--sp-5) var(--sp-5); text-align: center; position: relative; box-shadow: var(--shadow-1); transition: transform var(--t-normal) var(--ease-out), box-shadow var(--t-normal), border-color var(--t-fast); }
.jamaat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--gold); }
.jamaat-card__arch {
    /* a proper keel arch — pointed apex, gently bulged shoulders, gold-lined */
    width: 64px; height: 76px; margin: 0 auto var(--sp-4);
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 76'><path d='M32 3 C27 12 14 20 14 42 L14 73 L50 73 L50 42 C50 20 37 12 32 3 Z' fill='%231B5E3B' stroke='%23CE9C08' stroke-width='2.5' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.jamaat-card__masjid { font-size: var(--fs-h3); margin-bottom: var(--sp-1); }
.jamaat-card__anjuman { color: var(--gold-deep); font-size: var(--fs-small); margin-bottom: var(--sp-1); }
.jamaat-card__area { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: var(--sp-3); }
.jamaat-card__note { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: var(--sp-3); }
.jamaat-card__ifteta { display: inline-block; font-size: var(--fs-micro); color: var(--gold-deep); background: var(--gold-soft); border-radius: var(--r-pill); padding: 2px 12px; margin-bottom: var(--sp-3); }
/* cards in this grid stretch to equal height; the CTA always sits on the baseline */
.jamaat-card { display: flex; flex-direction: column; }
.jamaat-card__go { color: var(--emerald); font-size: var(--fs-small); font-weight: 600; margin-top: auto; }

/* ── umoor grid — hub-tile grammar: polychrome left accents that GROW on hover ── */
.umoor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.umoor-tile {
    background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--emerald);
    border-radius: var(--r-sm); padding: var(--sp-4); padding-left: calc(var(--sp-4) + 3px);
    display: flex; flex-direction: column;
    transition: border-left-width var(--t-fast) var(--ease-out), padding-left var(--t-fast) var(--ease-out),
                transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
/* accent bar grows 3px → 6px while padding gives the 3px back — text never shifts */
.umoor-tile:hover { border-left-width: 6px; padding-left: var(--sp-4); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.umoor-tile:nth-child(4n+1) { border-left-color: var(--emerald); }
.umoor-tile:nth-child(4n+2) { border-left-color: var(--gold); }
.umoor-tile:nth-child(4n+3) { border-left-color: var(--aubergine); }
.umoor-tile:nth-child(4n)   { border-left-color: var(--midnight, #2E2745); }
.umoor-tile__icon { width: 110px; height: 110px; object-fit: contain; margin: 0 auto var(--sp-2); }
.umoor-tile__ld { font-family: var(--font-display); font-size: 1.0625rem; }
.umoor-tile__en { font-size: var(--fs-micro); color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
/* tiles carrying an emblem centre their text under it */
.umoor-tile:has(.umoor-tile__icon) { text-align: center; }

/* ── miqaat calendar: the Hijri date leads, Gregorian supports ── */
.miqaat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.miqaat-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), border-color var(--t-fast);
}
.miqaat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.miqaat-card__hijri {
    background: linear-gradient(160deg, var(--emerald) 0%, var(--emerald-deep) 100%);
    color: var(--paper); padding: var(--sp-4) var(--sp-3); text-align: center;
    display: flex; flex-direction: column; gap: 2px;
}
.miqaat-card__day   { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: #fff; }
.miqaat-card__month { font-size: var(--fs-micro); color: var(--gold); letter-spacing: .04em; }
.miqaat-card__year  { font-size: var(--fs-micro); color: rgba(247,245,240,.6); }
.miqaat-card__body  { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-1); flex: 1; }
.miqaat-card__name  { font-size: 1.0625rem; margin: 0; line-height: 1.3; }
.miqaat-card__desc  { font-size: var(--fs-micro); color: var(--ink-faint); margin: 0; }
.miqaat-card__when  { font-size: var(--fs-small); color: var(--ink-soft); margin: var(--sp-1) 0 0; }
.miqaat-card__phase { display: inline-block; font-size: var(--fs-micro); color: var(--aubergine); border: 1px solid var(--aubergine); border-radius: var(--r-pill); padding: 0 8px; margin-left: 4px; }
.miqaat-card__cat   { font-size: var(--fs-micro); color: var(--gold-deep); background: var(--gold-soft); border-radius: var(--r-pill); padding: 2px 10px; align-self: flex-start; margin-top: auto; }
.miqaat-note { text-align: center; font-size: var(--fs-micro); color: var(--ink-faint); margin: var(--sp-6) 0 0; }
.miqaat-em { color: var(--aubergine); font-weight: 600; }  /* roman, not italic (house rule) */

/* ── depth polish: cards read as objects, not outlines ────────────────────
   a hairline gold seam appears at the top edge on hover, and white cards get a
   whisper of warmth so they don't sit flat on the ivory ground. */
.post-card, .miqaat-card, .visit-card, .biz-mini, .jamaat-card {
    background: linear-gradient(180deg, #fff, #FCFBF7);
}
.post-card, .jamaat-card, .miqaat-card, .visit-card, .biz-mini { position: relative; }
.post-card::after, .jamaat-card::after, .miqaat-card::after, .biz-mini::after {
    content: ''; position: absolute; left: 18px; right: 18px; top: 0; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity var(--t-normal) var(--ease-out);
}
.post-card:hover::after, .jamaat-card:hover::after, .miqaat-card:hover::after, .biz-mini:hover::after { opacity: 1; }
/* the miqaat card's accent belongs under its emerald date block, not the top */
.miqaat-card { overflow: hidden; }
.miqaat-card::after { display: none; }

/* ── faiz thali strip (members only) ── */
.band--faiz { background: var(--emerald-soft); padding: var(--sp-6) 0; }
.faiz-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-3); }
.faiz-day {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
    padding: var(--sp-4) var(--sp-3); display: flex; flex-direction: column; gap: 2px; text-align: center;
}
.faiz-day.is-today { border-color: var(--emerald); box-shadow: 0 0 0 2px var(--emerald-soft); }
.faiz-day__dow  { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .1em; color: var(--emerald); font-weight: 600; }
.faiz-day__date { font-size: var(--fs-micro); color: var(--ink-faint); }
.faiz-day__main { font-weight: 600; font-size: var(--fs-small); color: var(--ink); margin-top: var(--sp-2); line-height: 1.35; }
.faiz-day__full { font-size: var(--fs-micro); color: var(--ink-soft); line-height: 1.4; }

/* ── business rail on the home page ── */
.biz-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.biz-mini {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: var(--sp-4); display: flex; flex-direction: column; align-items: center;
    gap: var(--sp-2); text-align: center;
    transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), border-color var(--t-fast);
}
.biz-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.biz-mini__logo { width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; }
.biz-mini__logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-mini__logo.is-monogram { color: #fff; font-family: var(--font-display); font-size: 1.5rem; }
.biz-mini__name { font-weight: 600; font-size: var(--fs-small); color: var(--ink); line-height: 1.35; }
.biz-mini__type { font-size: var(--fs-micro); color: var(--ink-faint); }
.biz-rail__note { text-align: center; font-size: var(--fs-small); color: var(--ink-soft); margin: var(--sp-5) 0 0; }

/* ── visit-us cards ── */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.visit-card { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--emerald); border-radius: var(--r-md); padding: var(--sp-5); display: flex; flex-direction: column; }
.visit-card:nth-child(2) { border-left-color: var(--gold); }
.visit-card:nth-child(3) { border-left-color: var(--aubergine); }
.visit-card__masjid { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.visit-card__addr { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: var(--sp-3); }
.visit-card__contact { font-size: var(--fs-small); margin-bottom: var(--sp-4); }
.visit-card__actions { display: flex; gap: var(--sp-2); margin: auto 0 0; flex-wrap: wrap; }
.btn--sm { padding: 6px 16px; font-size: var(--fs-micro); }

/* ── news archive rows ── */
.news-list { display: flex; flex-direction: column; }
.news-row { display: grid; grid-template-columns: 110px 1fr auto; gap: var(--sp-5); align-items: baseline; padding: var(--sp-4) var(--sp-2); border-bottom: 1px solid var(--line); transition: background var(--t-fast); }
.news-row:hover { background: var(--surface); }
.news-row__date { font-size: var(--fs-small); color: var(--ink-faint); }
.news-row__title { display: block; font-weight: 600; color: var(--ink); }
.news-row__excerpt { display: block; font-size: var(--fs-small); color: var(--ink-soft); }
.news-row__tags { display: flex; gap: var(--sp-2); align-items: center; }
.news-row__sector { font-size: var(--fs-micro); color: var(--emerald); border: 1px solid var(--emerald-soft); background: var(--emerald-soft); border-radius: var(--r-pill); padding: 1px 10px; }

/* ── notice blocks & prose ── */
.notice-block { max-width: 860px; margin: 0 auto; text-align: center; }
.notice-block__title { font-size: var(--fs-h2); }
.prose { font-size: var(--fs-body); color: var(--ink); }
.prose h2, .prose h3 { margin-top: var(--sp-6); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.prose img { border-radius: var(--r-md); margin: var(--sp-5) auto; }
.prose blockquote { border-left: 3px solid var(--gold); margin: var(--sp-5) 0; padding: var(--sp-2) var(--sp-5); color: var(--ink-soft); font-style: italic; }

.post-page__meta { font-size: var(--fs-small); color: var(--ink-faint); margin-bottom: var(--sp-4); }
.post-page__title { font-size: var(--fs-h1); margin-bottom: var(--sp-5); }

/* ── sector page ── */
.sector-contact__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); max-width: 640px; margin: 0 auto; box-shadow: var(--shadow-1); }
.sector-contact__head { font-size: var(--fs-h2); }
.fact-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.fact-list > div { display: grid; grid-template-columns: 130px 1fr; gap: var(--sp-4); align-items: baseline; }
.fact-list dt { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); }
.fact-list dd { color: var(--ink); }

.rep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.rep-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--sp-4); }
.rep-card__umoor { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-deep); margin-bottom: var(--sp-1); }
.rep-card__umoor-en { color: var(--ink-faint); text-transform: none; letter-spacing: 0; }
.rep-card__name { font-weight: 600; margin-bottom: var(--sp-1); }
.rep-card__contact { font-size: var(--fs-small); margin: 0; }

/* ── login / me / error cards ── */
.login-card, .me-card, .error-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-7) var(--sp-6); text-align: center; box-shadow: var(--shadow-1); }
.login-card__seal { width: 96px; height: 96px; margin: 0 auto var(--sp-4); display: block; }
.login-card__title { font-size: var(--fs-h1); color: var(--emerald-deep); }
.login-card__text { color: var(--ink-soft); margin-bottom: var(--sp-5); }
.login-card__foot { font-size: var(--fs-micro); color: var(--ink-faint); margin: var(--sp-4) 0 0; }
.me-card { text-align: left; }
.me-card__name { font-size: var(--fs-h2); }
.me-card__note { font-size: var(--fs-small); color: var(--ink-faint); }
.me-card__links { display: flex; gap: var(--sp-3); margin: var(--sp-4) 0; flex-wrap: wrap; }
.me-card__logout { margin-top: var(--sp-4); }
.error-card__code { font-family: var(--font-display); font-size: 4rem; color: var(--gold); margin: 0; line-height: 1; }
.error-card__title { font-size: var(--fs-h2); }
.error-card__text { color: var(--ink-soft); margin-bottom: var(--sp-5); }

.empty-note { color: var(--ink-soft); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-md); padding: var(--sp-5); text-align: center; }

/* ── footer ── */
.site-footer { background: var(--emerald-deep); color: rgba(247, 245, 240, .85); margin-top: var(--sp-8); }
/* the seal sits INLINE with the colophon, not floating above the columns */
.site-footer__colophon { display: flex; align-items: center; gap: var(--sp-3); }
.site-footer__mark { width: 34px; height: 34px; margin: 0; flex: none; opacity: .9; }
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); padding: var(--sp-7) 0 var(--sp-6); }
.footer-office__name { color: #fff; font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.footer-office__masjid { color: var(--gold); font-size: var(--fs-small); margin-bottom: var(--sp-2); }
.footer-office__addr, .footer-office__contact { font-size: var(--fs-small); margin-bottom: var(--sp-1); }
.footer-office__more { font-size: var(--fs-small); font-weight: 600; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); border-top: 1px solid var(--line-on-dark); padding: var(--sp-4) 0; font-size: var(--fs-small); }
.site-footer__bottom p { margin: 0; }
.site-footer__links { display: flex; gap: var(--sp-5); }

/* ── instagram grid ── */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.ig-cell { display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.ig-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-normal) var(--ease-out); }
.ig-cell:hover img { transform: scale(1.06); }
@media (max-width: 1024px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } .ig-cell--x3hide { display: none; } }
@media (max-width: 480px)  { .ig-grid { grid-template-columns: repeat(2, 1fr); } .ig-cell--x3hide { display: block; } }

/* ── formkit: the public face of the form builder.
      One control height across every input type — the form-symmetry law. ── */
.fk-intro { color: var(--ink-soft); margin-bottom: var(--sp-6); }
.fk-updating { background: var(--gold-soft); color: var(--gold-deep); border-radius: var(--r-sm); padding: var(--sp-3) var(--sp-4); font-size: var(--fs-small); margin-bottom: var(--sp-5); }
.fk-error { background: #FDECEA; color: var(--danger); border: 1px solid #F5C6C0; border-radius: var(--r-sm); padding: var(--sp-3) var(--sp-4); font-size: var(--fs-small); margin-bottom: var(--sp-3); }
.fk-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.fk-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.fk-label { font-weight: 600; font-size: var(--fs-small); color: var(--ink); }
.fk-req { color: var(--danger); }
.fk-hint { font-size: var(--fs-micro); color: var(--ink-faint); }
.fk-input {
    --control-height: 46px;
    font: inherit; color: var(--ink); background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-sm);
    height: var(--control-height); padding: 0 var(--sp-4); width: 100%;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea.fk-input { height: auto; min-height: 110px; padding: var(--sp-3) var(--sp-4); resize: vertical; }
.fk-input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); }
.fk-choices { display: flex; flex-direction: column; gap: var(--sp-2); }
.fk-choice { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-body); color: var(--ink); cursor: pointer; }
.fk-choice input { width: 18px; height: 18px; accent-color: var(--emerald); }
.fk-heading { font-size: var(--fs-h3); margin: var(--sp-4) 0 0; padding-bottom: var(--sp-2); border-bottom: 1px solid var(--line); }
.fk-info { color: var(--ink-soft); font-size: var(--fs-small); margin: 0; }
.fk-actions { padding-top: var(--sp-2); }
.fk-hp { position: absolute; left: -9999px; top: -9999px; height: 1px; overflow: hidden; }
.fk-done { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-7) var(--sp-6); text-align: center; box-shadow: var(--shadow-1); }
.fk-done__mark { width: 56px; height: 56px; margin: 0 auto var(--sp-4); border-radius: 50%; background: var(--emerald-soft); color: var(--emerald); font-size: 1.75rem; display: flex; align-items: center; justify-content: center; }
.fk-done__title { font-size: var(--fs-h2); }
.fk-done__text { color: var(--ink-soft); margin-bottom: var(--sp-5); }

/* ── reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn:hover, .post-card:hover, .jamaat-card:hover, .umoor-tile:hover { transform: none; }
}

/* ── responsive ── */
@media (max-width: 1024px) {
    .post-grid, .rep-grid { grid-template-columns: repeat(2, 1fr); }
    /* three masjids stay a symmetric row of 3, never 2+1 */
    .jamaat-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
    .umoor-grid { grid-template-columns: repeat(3, 1fr); }
    .tehfeez__stats, .biz-rail, .miqaat-grid { grid-template-columns: repeat(2, 1fr); }
    .faiz-strip { grid-template-columns: repeat(3, 1fr); }
    .visit-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
    .about-split { gap: var(--sp-5); }
    .site-footer__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
}
@media (max-width: 768px) {
    .band { padding: var(--sp-7) 0; }
    .about-split { grid-template-columns: 1fr; }
    .about-split__media { order: -1; }
    .jamaat-grid, .visit-grid { grid-template-columns: 1fr; }
    .section-head { flex-wrap: wrap; }
    .section-head__note { white-space: normal; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-3) var(--sp-5) var(--sp-5); display: none; box-shadow: var(--shadow-2); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
    .site-nav__cta { margin-top: var(--sp-3); text-align: center; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .news-row { grid-template-columns: 1fr; gap: var(--sp-1); }
    .news-row__tags { order: -1; }
    .fact-list > div { grid-template-columns: 1fr; gap: 2px; }
    .site-footer__bottom { flex-direction: column; text-align: center; }
    .site-footer__colophon { justify-content: center; }
    .site-footer__links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
    .post-grid, .jamaat-grid, .rep-grid { grid-template-columns: 1fr; }
    .umoor-grid, .tehfeez__stats, .biz-rail, .miqaat-grid { grid-template-columns: repeat(2, 1fr); }
    .faiz-strip { grid-template-columns: repeat(2, 1fr); }
    .miqaat-card__day { font-size: 1.75rem; }
    .umoor-tile__icon { width: 84px; height: 84px; }
    .hero__inner { padding: var(--sp-7) var(--sp-4); }
    .hero__seal { width: 96px; height: 96px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   2026-08-10 experience elevation
   A photography-led, interaction-rich public surface built on the existing
   tokens.  The calendar, hero and quick dock are homepage-native; the chrome,
   focus, card and button refinements improve every public page.
   ═══════════════════════════════════════════════════════════════════════════ */

html { overflow-x: clip; }
body { background: #f8f6f0; }
main, section, .container, .site-header__inner { min-width: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-header {
    background: rgba(248, 246, 240, .88);
    border-bottom-color: rgba(30, 43, 36, .08);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: box-shadow var(--t-normal) var(--ease-out), background var(--t-normal) var(--ease-out);
}
.site-header.is-scrolled { background: rgba(248, 246, 240, .96); box-shadow: 0 12px 35px rgba(15, 59, 37, .08); }
.site-header__inner { min-height: 72px; padding-top: 10px; padding-bottom: 10px; }
.brand { gap: 10px; }
.brand__logo { width: 42px; height: 42px; transition: transform var(--t-normal) var(--ease-spring); }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.04); }
.brand__name { font-weight: 560; letter-spacing: -.01em; }
.site-nav { gap: clamp(14px, 1.7vw, 26px); }
.site-nav a {
    position: relative; border: 0; padding: 11px 0; color: #3f4f46;
    transition: color var(--t-fast) var(--ease-out);
}
.site-nav a::after {
    content: ''; position: absolute; left: 50%; right: 50%; bottom: 5px; height: 2px;
    border-radius: 2px; background: var(--gold);
    transition: left var(--t-normal) var(--ease-out), right var(--t-normal) var(--ease-out);
}
.site-nav a:hover::after, .site-nav a.is-current::after { left: 0; right: 0; }
.site-nav a.is-current { color: var(--emerald-deep); font-weight: 650; }
.site-nav__cta { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 18px !important; }
.site-nav__cta::after { display: none; }
.nav-toggle { min-width: 44px; min-height: 44px; border-radius: 50%; }
.nav-toggle:hover { background: var(--emerald-soft); }

.btn {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    line-height: 1.2; text-align: center; box-shadow: 0 0 0 rgba(15, 59, 37, 0);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--gold { background: #d6ad4b; }
.btn--gold:hover { background: var(--gold-bright); color: var(--emerald-night); box-shadow: var(--shadow-gold); }
.btn--glass { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .09); backdrop-filter: blur(12px); }
.btn--glass:hover { color: #fff; border-color: rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .16); }
.post-card:active, .jamaat-card:active, .umoor-tile:active, .biz-mini:active, .quick-link:active { transform: translateY(1px) scale(.99); }
.site-footer { margin-top: 0; }

/* ── photography-led hero ──────────────────────────────────────────────── */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 270px; padding: clamp(70px, 8vw, 112px) 0 58px;
    display: flex; align-items: flex-end;
    background:
        radial-gradient(circle at 82% 18%, rgba(201,162,70,.22), transparent 24%),
        linear-gradient(135deg, #0B3522, var(--emerald-deep) 58%, #145B3A);
}
.page-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: .15;
    background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 4 47 25 68 36 47 47 36 68 25 47 4 36 25 25Z' fill='none' stroke='%23C9A246' stroke-width='.7'/%3E%3C/svg%3E");
    background-size: 72px 72px;
}
.page-hero__kicker { font-weight: 700; }
.page-hero__title { font-size: clamp(2.65rem, 6vw, 5.5rem); letter-spacing: -.045em; line-height: .95; }
.page-hero__sub { max-width: 650px; font-size: clamp(1rem, 1.6vw, 1.2rem); }

.about-editorial { padding-top: clamp(56px, 8vw, 104px); }
.about-editorial__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(42px, 7vw, 96px); align-items: start; }
.about-editorial__visual { position: sticky; top: 112px; margin: 0; }
.about-editorial__visual::before { content: ''; position: absolute; inset: 20px -18px -20px 18px; border: 1px solid rgba(201,162,70,.65); border-radius: 48% 48% 22px 22px; z-index: -1; }
.about-editorial__visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 48% 48% 22px 22px; box-shadow: 0 30px 60px rgba(15,59,37,.18); }
.about-editorial__visual figcaption { margin-top: 30px; color: var(--gold-deep); font-family: var(--font-display); font-size: 1.15rem; text-align: center; }
.about-editorial__copy { font-size: 1.05rem; line-height: 1.9; }
.about-editorial__lead { color: var(--emerald-deep); font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: -.025em; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(56px, 8vw, 100px); }
.about-fact { min-height: 150px; padding: 28px; border-radius: 20px; background: var(--paper-deep); display: flex; flex-direction: column; justify-content: space-between; border-top: 3px solid var(--gold); }
.about-fact strong { color: var(--emerald-deep); font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.about-fact span { color: var(--ink-soft); font-size: var(--fs-small); }

.home-hero {
    --pointer-x: 72%; --pointer-y: 24%;
    position: relative; isolation: isolate; overflow: hidden; color: #fff;
    min-height: min(760px, calc(100svh - 72px));
    background: linear-gradient(135deg, var(--emerald-night), var(--emerald-deep) 54%, #174f35);
}
.home-hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(340px circle at var(--pointer-x) var(--pointer-y), rgba(230, 197, 120, .17), transparent 72%);
}
.home-hero__pattern {
    position: absolute; z-index: -1; left: -8%; top: -20%; width: 62%; aspect-ratio: 1;
    background-image: var(--pat-gold); background-size: 72px; opacity: .065;
    -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 70%); mask-image: radial-gradient(circle, #000 10%, transparent 70%);
}
.home-hero__photo {
    position: absolute; z-index: -2; inset: 0 0 0 auto; width: 58%; overflow: hidden;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
.home-hero__photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: 48% center; margin: 0;
    transform: scale(1.025); transition: transform 1.1s var(--ease-out); filter: saturate(.9) contrast(1.02);
}
.home-hero:hover .home-hero__photo img { transform: scale(1.055); }
.home-hero__photo-shade {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--emerald-deep) 0%, rgba(15, 59, 37, .78) 16%, rgba(8, 43, 26, .10) 58%, rgba(8, 43, 26, .28));
}
.home-hero__layout {
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(290px, .72fr); align-items: center;
    gap: clamp(32px, 6vw, 92px); min-height: inherit; padding-top: 70px; padding-bottom: 92px;
}
.home-hero__copy { max-width: 680px; position: relative; z-index: 1; }
.home-hero__eyebrow {
    display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--gold-bright);
    font-size: var(--kicker); font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
}
.home-hero__eyebrow span { width: 32px; height: 1px; background: currentColor; }
.home-hero__identity { margin: 0 0 10px; font-size: .95rem; color: rgba(255, 255, 255, .76); letter-spacing: .02em; }
.home-hero__identity b { color: #fff; font-weight: 650; }
.home-hero h1 {
    color: #fff; max-width: 10.8ch; margin: 0; font-size: clamp(3.25rem, 5.6vw, 5.9rem);
    font-weight: 540; line-height: .97; letter-spacing: -.055em; overflow-wrap: normal;
}
.home-hero h1 span { display: block; margin-top: .32em; color: var(--gold-bright); font-size: .32em; font-weight: 700; letter-spacing: .28em; line-height: 1.15; text-transform: uppercase; }
.home-hero__lead { max-width: 58ch; margin: 30px 0 0; color: rgba(255, 255, 255, .76); font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.72; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.home-hero__live {
    align-self: end; justify-self: end; width: min(100%, 350px); margin-bottom: 22px; padding: 22px;
    border: 1px solid rgba(255, 255, 255, .24); border-radius: 24px; color: #fff;
    background: linear-gradient(145deg, rgba(8, 43, 26, .72), rgba(15, 59, 37, .48));
    box-shadow: 0 26px 60px rgba(3, 22, 13, .28); backdrop-filter: blur(18px) saturate(125%);
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform .16s ease-out, border-color var(--t-normal), background var(--t-normal);
}
.home-hero__live:hover { border-color: rgba(230, 197, 120, .55); }
.home-hero__live-head { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: rgba(255,255,255,.76); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.live-pulse { width: 8px; height: 8px; border-radius: 50%; background: #7ed89e; box-shadow: 0 0 0 5px rgba(126,216,158,.12); animation: live-pulse 2.2s ease-in-out infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 9px rgba(126,216,158,0); } }
.home-hero__hijri { margin: 0; color: #fff; font-family: var(--font-display); font-size: 1.6rem; font-weight: 560; line-height: 1.18; }
.home-hero__gregorian { margin: 7px 0 0; color: rgba(255,255,255,.65); font-size: .84rem; }
.home-hero__next { display: grid; gap: 3px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.home-hero__next-label { color: var(--gold-bright); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.home-hero__next strong { color: #fff; font-size: .94rem; line-height: 1.35; }
.home-hero__next > span:last-child { color: rgba(255,255,255,.72); font-size: .875rem; }
.home-hero__caption { position: absolute; right: 28px; bottom: 24px; z-index: 1; display: flex; align-items: center; gap: 9px; margin: 0; color: rgba(255,255,255,.7); font-size: .8125rem; letter-spacing: .11em; text-transform: uppercase; }
.home-hero__caption span { width: 28px; height: 1px; background: var(--gold); }

/* ── popular-service dock ──────────────────────────────────────────────── */
.quick-dock { position: relative; z-index: 5; margin-top: -40px; }
.quick-dock__grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: var(--sp-5); padding-right: var(--sp-5);
    filter: drop-shadow(0 20px 38px rgba(15,59,37,.13));
}
.quick-link {
    min-height: 104px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px;
    padding: 20px 22px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid #e7e1d6; border-right: 0;
    transition: color var(--t-fast), background var(--t-normal), transform var(--t-normal) var(--ease-out);
}
.quick-link:first-child { border-radius: 18px 0 0 18px; }
.quick-link:last-child { border-right: 1px solid #e7e1d6; border-radius: 0 18px 18px 0; }
.quick-link:hover { z-index: 1; color: var(--emerald-deep); background: #fff; transform: translateY(-5px); }
.quick-link__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--emerald); background: var(--emerald-soft); }
.quick-link__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quick-link > span:nth-child(2) { display: grid; min-width: 0; }
.quick-link b { font-size: .95rem; font-weight: 700; }
.quick-link small { color: var(--ink-soft); font-size: .8125rem; line-height: 1.45; }
.quick-link i { color: var(--gold-deep); font-style: normal; transition: transform var(--t-fast); }
.quick-link:hover i { transform: translateX(4px); }
.quick-link--accent .quick-link__icon { color: var(--gold-deep); background: var(--gold-soft); }
.ig-grid--six { grid-template-columns: repeat(3, 1fr); }

/* ── full Hijri calendar ───────────────────────────────────────────────── */
.calendar-section { padding: 124px 0 112px; background: #f3eee4; scroll-margin-top: 78px; }
.calendar-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); align-items: end; gap: 72px; margin-bottom: 38px; }
.calendar-intro h2 { max-width: 14ch; margin: 6px 0 0; font-size: clamp(2.25rem, 4vw, 4rem); font-weight: 540; line-height: 1.02; letter-spacing: -.045em; }
.calendar-intro > p { max-width: 54ch; margin: 0 0 5px; color: var(--ink-soft); }
.calendar-shell { border: 1px solid #ded6c7; border-radius: 26px; overflow: hidden; background: rgba(255,255,255,.91); box-shadow: 0 30px 80px rgba(42,55,46,.1); }
.calendar-toolbar { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 20px 24px 20px 30px; border-bottom: 1px solid var(--line); background: #fff; }
.calendar-toolbar__date { display: flex; flex-direction: column-reverse; }
.calendar-toolbar__date span { color: var(--ink-soft); font-size: .8125rem; }
.calendar-toolbar__date strong { color: var(--emerald-deep); font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.25; }
.calendar-toolbar__actions { display: flex; align-items: center; gap: 9px; }
.calendar-today, .calendar-arrow {
    min-width: 44px; min-height: 44px; border: 1px solid var(--line); color: var(--ink); background: #fff;
    border-radius: 13px; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.calendar-today { padding: 0 16px; font: 650 .77rem var(--font-body); }
.calendar-arrow { display: grid; place-items: center; padding: 0; }
.calendar-arrow svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.calendar-today:hover, .calendar-arrow:hover { color: var(--emerald); border-color: var(--emerald); background: var(--emerald-soft); }
.calendar-arrow:active { transform: scale(.94); }
.calendar-arrow:disabled { opacity: .35; pointer-events: none; }
.calendar-count { min-width: 52px; text-align: center; color: var(--ink-soft); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.calendar-month { display: none; }
.calendar-month.is-active { display: block; animation: calendar-in .28s var(--ease-out); }
@keyframes calendar-in { from { opacity: .3; transform: translateX(10px); } }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekday { padding: 13px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-soft); background: #faf8f3; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-align: right; text-transform: uppercase; }
.calendar-weekday:nth-child(7) { border-right: 0; }
.calendar-day { position: relative; min-height: 128px; padding: 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); transition: background var(--t-fast); }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:hover { background: #fff; }
.calendar-day--blank { background: #f8f5ef; }
.calendar-day__date { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.calendar-day__date b { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); font-size: .9rem; font-weight: 680; }
.calendar-day__date span { color: var(--ink-soft); font-size: .8125rem; text-transform: uppercase; }
.calendar-day.is-today { box-shadow: inset 0 0 0 2px var(--gold); }
.calendar-day.is-today .calendar-day__date b { color: #fff; background: var(--emerald); }
.calendar-day.has-event { background: linear-gradient(155deg, #fff, #fbf5e8); }
.calendar-event { position: relative; margin-top: 8px; }
.calendar-event summary {
    display: -webkit-box; overflow: hidden; padding: 7px 8px; border-left: 3px solid var(--gold); border-radius: 7px;
    color: var(--emerald-deep); background: var(--gold-soft); cursor: pointer; font-size: .8125rem; font-weight: 650; line-height: 1.4;
    -webkit-box-orient: vertical; -webkit-line-clamp: 2; list-style: none;
}
.calendar-event summary::-webkit-details-marker { display: none; }
.calendar-event summary:hover { background: #efe0bd; }
.calendar-event[open] summary { -webkit-line-clamp: unset; }
.calendar-event__detail { padding: 8px; color: var(--ink-soft); background: #faf7ef; border-radius: 0 0 7px 7px; font-size: .8rem; line-height: 1.5; }
.calendar-event__detail p { margin: 0 0 5px; }
.calendar-event__detail small { color: var(--gold-deep); }
.calendar-agenda { display: none; }
.calendar-foot { min-height: 68px; display: flex; align-items: center; gap: 20px; padding: 15px 28px; color: var(--ink-soft); background: #faf8f3; font-size: .8rem; }
.calendar-foot > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.calendar-foot p { margin: 0 0 0 auto; text-align: right; }
.calendar-key { width: 11px; height: 11px; display: inline-block; border-radius: 50%; }
.calendar-key--today { background: var(--emerald); }
.calendar-key--miqaat { border-radius: 3px; background: var(--gold); }

/* ── editorial image moments ───────────────────────────────────────────── */
.about-split__media { position: relative; padding: 0 52px 44px 0; }
.about-split__detail {
    position: absolute; z-index: 3; right: 0; bottom: 0; width: 38%; aspect-ratio: 1; object-fit: cover; margin: 0;
    border: 8px solid var(--paper-deep); border-radius: 50% 50% 14px 14px; box-shadow: var(--shadow-3);
}
.community-story { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--emerald-night); }
.community-story__image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; margin: 0; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.community-story:hover .community-story__image { transform: scale(1.055); }
.community-story__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8,43,26,.92) 0%, rgba(8,43,26,.73) 42%, rgba(8,43,26,.13) 76%), linear-gradient(0deg, rgba(8,43,26,.55), transparent 55%); }
.community-story__content { color: #fff; }
.community-story__content > * { max-width: 560px; }
.community-story__content .section-kicker { color: var(--gold-bright); }
.community-story h2 { margin: 12px 0 24px; color: #fff; font-size: clamp(2.6rem, 5vw, 5.2rem); font-weight: 520; line-height: .98; letter-spacing: -.05em; }
.community-story p:not(.section-kicker) { color: rgba(255,255,255,.74); }
.text-link-light { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: #fff; font-size: .88rem; font-weight: 700; }
.text-link-light:hover { color: var(--gold-bright); }
.text-link-light span { transition: transform var(--t-fast); }
.text-link-light:hover span { transform: translateY(3px); }

/* ── less repetitive cards, stronger hierarchy ─────────────────────────── */
.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { min-height: 188px; padding: 28px; border-radius: 18px; }
.post-card:first-child { grid-row: span 2; min-height: 400px; justify-content: flex-end; overflow: hidden; color: #fff; background: linear-gradient(145deg, var(--emerald), var(--emerald-night)); border-color: transparent; }
.post-card:first-child::before { content: ''; position: absolute; inset: 0; background-image: var(--pat-gold); background-size: 68px; opacity: .07; -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }
.post-card:first-child .post-card__title { color: #fff; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.05; }
.post-card:first-child .post-card__excerpt { color: rgba(255,255,255,.72); font-size: .92rem; }
.post-card:first-child .post-card__meta { color: var(--gold-bright); }
.post-card:hover, .jamaat-card:hover, .biz-mini:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(15,59,37,.12); }
.masjid-showcase { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); min-height: 610px; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(15,59,37,.1); }
.masjid-showcase__photo { position: relative; min-height: 610px; margin: 0; overflow: hidden; background: var(--emerald-deep); }
.masjid-showcase__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,43,26,.72), transparent 55%); }
.masjid-showcase__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; transition: transform 1.1s var(--ease-out); }
.masjid-showcase:hover .masjid-showcase__photo img { transform: scale(1.035); }
.masjid-showcase__photo figcaption { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 1; color: #fff; font-family: var(--font-display); font-size: 1.45rem; }
.masjid-list { display: grid; grid-template-rows: repeat(3, 1fr); }
.masjid-list__item { display: grid; grid-template-columns: 52px minmax(0, 1fr) 32px; align-items: center; gap: 20px; padding: 28px 32px; color: var(--ink); border-bottom: 1px solid var(--line); transition: background var(--t-normal), color var(--t-normal); }
.masjid-list__item:last-child { border-bottom: 0; }
.masjid-list__item:hover { color: var(--ink); background: var(--emerald-soft); }
.masjid-list__number { color: var(--gold-deep); font-family: var(--font-display); font-size: 1.1rem; }
.masjid-list__copy { display: grid; gap: 6px; }
.masjid-list__copy strong { color: var(--emerald-deep); font-family: var(--font-display); font-size: 1.45rem; }
.masjid-list__copy > span { color: var(--ink-soft); font-size: var(--fs-small); }
.masjid-list__copy small { color: var(--gold-deep); font-size: var(--fs-micro); }
.masjid-list__arrow { color: var(--emerald); font-size: 1.3rem; transition: transform var(--t-fast); }
.masjid-list__item:hover .masjid-list__arrow { transform: translateX(5px); }
.umoor-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.umoor-tile { min-height: 180px; padding: 18px 10px; border: 1px solid rgba(27,94,59,.12); border-radius: 16px; background: rgba(255,255,255,.72); }
.umoor-tile:hover { padding-left: 10px; border-left-width: 1px; background: #fff; box-shadow: 0 16px 34px rgba(15,59,37,.1); transform: translateY(-6px); }
.umoor-tile__icon { width: 84px; height: 84px; transition: transform var(--t-normal) var(--ease-spring); }
.umoor-tile:hover .umoor-tile__icon { transform: scale(1.09) rotate(-2deg); }
.umoor-tile__learn { margin-top: auto; padding-top: 10px; color: var(--emerald); font-size: var(--fs-micro); font-weight: 700; }
.band-more--actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.tehfeez { padding-top: 112px; padding-bottom: 112px; }
.tehfeez__bg { opacity: .32; transform: scale(1.03); }
.tehfeez .stat-tile { border-radius: 18px; backdrop-filter: blur(10px); }
.biz-rail { container-type: inline-size; }
.biz-mini { border-radius: 18px; }
.visit-card { border-left-width: 1px; border-top: 4px solid var(--emerald); border-radius: 18px; transition: transform var(--t-normal), box-shadow var(--t-normal); }
.visit-card:nth-child(2) { border-left-color: var(--line); border-top-color: var(--gold); }
.visit-card:nth-child(3) { border-left-color: var(--line); border-top-color: var(--aubergine); }
.visit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }

/* ── adaptive states ───────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; top: 100%; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0;
        max-height: calc(100svh - 96px); overflow-y: auto; padding: 12px 18px 20px; border: 1px solid var(--line); border-radius: 0 0 18px 18px;
        background: rgba(248,246,240,.98); box-shadow: var(--shadow-3); backdrop-filter: blur(20px);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { min-height: 46px; display: flex; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); }
    .site-nav a::after { display: none; }
    .site-nav__cta { margin-top: 12px; border-bottom: 1px solid var(--emerald) !important; }
    .home-hero__layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 26px; }
    .home-hero h1 { font-size: clamp(3.15rem, 6.6vw, 5rem); }
    .quick-link { grid-template-columns: 40px 1fr; padding: 18px; }
    .quick-link > i { display: none; }
    .umoor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .page-hero { min-height: 230px; padding: 64px 0 44px; }
    .about-editorial__grid { grid-template-columns: 1fr; }
    .about-editorial__visual { position: relative; top: auto; max-width: 520px; }
    .home-hero { min-height: 780px; }
    .home-hero__photo { width: 100%; clip-path: none; opacity: .52; }
    .home-hero__photo-shade { background: linear-gradient(90deg, rgba(8,43,26,.96), rgba(8,43,26,.75)), linear-gradient(0deg, rgba(8,43,26,.85), transparent 70%); }
    .home-hero__layout { grid-template-columns: 1fr; align-content: center; gap: 34px; padding-top: 62px; padding-bottom: 70px; }
    .home-hero__copy { max-width: 650px; }
    .home-hero h1 { max-width: 11ch; }
    .home-hero__live { justify-self: start; align-self: auto; width: min(100%, 430px); margin: 0; }
    .home-hero__caption { display: none; }
    .quick-dock__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; filter: drop-shadow(0 16px 28px rgba(15,59,37,.12)); }
    .quick-link, .quick-link:first-child, .quick-link:last-child { border: 1px solid #e7e1d6; border-radius: 14px; }
    .calendar-section { padding: 94px 0 84px; }
    .calendar-intro { grid-template-columns: 1fr; gap: 20px; }
    .calendar-intro h2 { max-width: 12ch; }
    .calendar-grid { display: none; }
    .calendar-agenda { display: block; }
    .calendar-agenda__item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 88px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
    .calendar-agenda__date { width: 54px; height: 58px; display: grid; place-content: center; text-align: center; border-radius: 14px; color: #fff; background: var(--emerald); }
    .calendar-agenda__date b { font: 650 1.2rem/1 var(--font-display); }
.calendar-agenda__date small { margin-top: 4px; color: rgba(255,255,255,.78); font-size: .8125rem; text-transform: uppercase; }
    .calendar-agenda__copy { display: grid; min-width: 0; }
    .calendar-agenda__copy strong { color: var(--ink); font-size: .84rem; line-height: 1.35; }
.calendar-agenda__copy small { margin-top: 3px; color: var(--ink-soft); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-agenda__night { color: var(--aubergine); background: #f1eafa; border-radius: 999px; padding: 3px 9px; font-size: .8125rem; white-space: nowrap; }
    .calendar-agenda__empty { margin: 0; padding: 44px 22px; color: var(--ink-faint); text-align: center; }
    .calendar-foot { flex-wrap: wrap; }
    .calendar-foot p { flex-basis: 100%; margin: 0; text-align: left; }
    .community-story { min-height: 560px; }
    .community-story__shade { background: linear-gradient(90deg, rgba(8,43,26,.9), rgba(8,43,26,.52)), linear-gradient(0deg, rgba(8,43,26,.72), transparent); }
    .umoor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .post-grid { grid-template-columns: 1fr; }
    .post-card:first-child { grid-row: auto; min-height: 340px; }
}

@media (max-width: 560px) {
    .container { padding-left: 18px; padding-right: 18px; }
    .page-hero { min-height: 210px; }
    .page-hero__title { font-size: 3rem; }
    .about-editorial__copy { font-size: 1rem; }
    .about-facts { grid-template-columns: 1fr; }
    .about-fact { min-height: 120px; }
    .site-header__inner { min-height: 66px; }
    .brand__logo { width: 38px; height: 38px; }
    .brand__name { font-size: .95rem; }
    .brand__city { font-size: .8125rem; }
    .home-hero { min-height: auto; }
    .home-hero__layout { min-height: 790px; padding: 54px 18px 64px; gap: 30px; }
    .home-hero__eyebrow { margin-bottom: 18px; }
    .home-hero h1 { max-width: 100%; font-size: clamp(2.75rem, 13.6vw, 4rem); line-height: .98; letter-spacing: -.052em; overflow-wrap: break-word; }
    .home-hero__lead { margin-top: 24px; font-size: .95rem; }
    .home-hero__actions { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
    .home-hero__actions .btn { width: 100%; }
    .home-hero__live { padding: 18px; border-radius: 19px; }
    .home-hero__hijri { font-size: 1.35rem; }
    .quick-dock { margin-top: -26px; }
    .quick-dock__grid { padding-left: 12px; padding-right: 12px; }
    .quick-link { min-height: 92px; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 13px; }
    .quick-link__icon { width: 36px; height: 36px; border-radius: 11px; }
    .quick-link__icon svg { width: 18px; height: 18px; }
    .quick-link b { font-size: .9rem; line-height: 1.25; }
    .quick-link small { font-size: .8rem; }
    .calendar-section { padding: 82px 0 70px; }
    .calendar-intro h2 { font-size: 2.65rem; }
    .calendar-shell { border-radius: 20px; }
    .calendar-toolbar { align-items: flex-start; flex-direction: column; gap: 16px; padding: 20px; }
    .calendar-toolbar__actions { width: 100%; justify-content: space-between; }
    .calendar-today { margin-right: auto; }
    .calendar-agenda__item { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 13px 15px; }
    .calendar-agenda__date { width: 50px; }
    .calendar-agenda__night { grid-column: 2; justify-self: start; }
    .calendar-foot { padding: 15px 18px; }
    .community-story { min-height: 520px; }
    .community-story__image { object-position: 58% center; }
    .community-story h2 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
    .masjid-showcase { grid-template-columns: 1fr; min-height: auto; }
    .masjid-showcase__photo { min-height: 430px; }
    .about-split__media { padding: 0 28px 30px 0; }
    .about-split__detail { border-width: 5px; }
    .umoor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .umoor-tile { min-height: 164px; }
    .umoor-tile__icon { width: 72px; height: 72px; }
    .tehfeez { padding-top: 82px; padding-bottom: 82px; }
}

@media (max-width: 560px) {
    .masjid-showcase__photo { min-height: 320px; }
    .masjid-list__item { grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 10px; padding: 23px 18px; }
    .masjid-list__copy strong { font-size: 1.2rem; }
    .ig-grid.ig-grid--six { grid-template-columns: repeat(2, 1fr); }
}

@media (hover: none), (pointer: coarse) {
    .home-hero:hover .home-hero__photo img, .community-story:hover .community-story__image { transform: scale(1.025); }
    .home-hero__live { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .live-pulse { animation: none; }
    .home-hero__photo img, .community-story__image, .brand__logo, .calendar-month.is-active { transition: none; animation: none; transform: none; }
    .home-hero__live { transform: none !important; }
}
