/* Dar Omar Al-Farooq — Design A (Classic). Colors and type carried over from the approved concept. */
:root {
  --green-900: oklch(0.22 0.04 165);
  --green-800: oklch(0.27 0.05 165);
  --green-700: oklch(0.32 0.06 165);
  --green-600: oklch(0.36 0.07 165);
  --green-line: oklch(0.4 0.06 165);
  --gold: oklch(0.74 0.11 80);
  --gold-soft: oklch(0.8 0.11 80);
  --gold-ink: oklch(0.2 0.03 70);
  --gold-text: oklch(0.55 0.11 75);
  --paper: oklch(0.975 0.01 85);
  --card: oklch(0.985 0.008 85);
  --sand: oklch(0.95 0.015 88);
  --sand-2: oklch(0.94 0.02 90);
  --line: oklch(0.9 0.015 85);
  --line-2: oklch(0.88 0.015 85);
  --ink: oklch(0.24 0.02 165);
  --body: oklch(0.38 0.03 165);
  --muted: oklch(0.47 0.03 165);
  --on-green: oklch(0.97 0.01 85);
  --on-green-soft: oklch(0.87 0.02 120);
  --serif: 'Marcellus', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, sans-serif;
  --arabic: 'Amiri', serif;
  --wrap: 1200px;
  --gutter: 24px;
  --shadow: 0 24px 60px oklch(0.2 0.04 165 / 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--green-800); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section--tight { padding: 88px 0 0; }
.section--sand { background: var(--sand); }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
.h-xl { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.1; }
.h-lg { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; }
.more-link { font-weight: 600; font-size: 15px; color: var(--green-600); white-space: nowrap; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.lede { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1; border-radius: 999px;
  padding: 15px 28px; border: 1.5px solid transparent; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.btn--green { background: var(--green-700); color: var(--on-green); }
.btn--green:hover { background: var(--green-800); }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-700); color: var(--on-green); }
.btn--ghost-light { border-color: oklch(0.97 0.01 85 / 0.7); color: var(--on-green); background: transparent; }
.btn--ghost-light:hover { background: oklch(0.97 0.01 85 / 0.14); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* Sample markers (review aid — not part of the final site) */
.sample-tag {
  display: inline-block; vertical-align: middle; font: 700 10px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  color: oklch(0.42 0.12 50); background: oklch(0.93 0.06 80); border: 1px dashed oklch(0.6 0.12 60); border-radius: 4px; padding: 4px 6px; margin-left: 8px; white-space: nowrap;
}

/* Notice banner */
.notice { background: var(--gold); color: var(--green-900); }
.notice .wrap { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.notice__tag { flex: none; font: 700 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; background: var(--green-800); color: var(--on-green); border-radius: 999px; padding: 8px 12px; }
.notice__text { flex: 1; font-weight: 500; line-height: 1.45; }
.notice__text a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.notice__close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; }
.notice__close:hover { background: oklch(0.22 0.04 165 / 0.12); }

/* Top bar and header */
.topbar { background: var(--green-800); color: oklch(0.9 0.02 120); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 8px 28px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.topbar__group { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { flex: none; width: 40px; height: 48px; border-radius: 20px 20px 3px 3px; background: var(--green-700); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.brand__mark::after { content: ""; width: 14px; height: 20px; border-radius: 7px 7px 1px 1px; background: var(--gold); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 23px; color: var(--green-800); white-space: nowrap; }
.brand__place { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn) { padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); background: transparent; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--green-800); border-radius: 2px; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Hero */
.hero { position: relative; min-height: 620px; background: oklch(0.3 0.04 165); color: var(--on-green); display: flex; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, oklch(0.2 0.04 165 / 0.9) 0%, oklch(0.2 0.04 165 / 0.6) 55%, oklch(0.2 0.04 165 / 0.12) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 104px; padding-bottom: 190px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero__salam { font-family: var(--arabic); font-size: 30px; line-height: 1.2; color: var(--gold-soft); }
.hero h1 { color: var(--on-green); font-size: clamp(42px, 6.4vw, 72px); line-height: 1.04; max-width: 11ch; }
.hero p { font-size: 18px; max-width: 520px; color: oklch(0.9 0.015 120); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hero .btn { padding: 16px 30px; }

/* Page header (inner pages) */
.page-head { background: var(--green-800); color: var(--on-green); }
.page-head .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; }
.page-head .eyebrow { color: var(--gold-soft); }
.page-head h1 { color: var(--on-green); font-size: clamp(38px, 5.4vw, 60px); line-height: 1.05; }
.page-head p { font-size: 18px; color: var(--on-green-soft); max-width: 60ch; }

/* Prayer card */
.prayer-card { position: relative; z-index: 3; margin-top: -110px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 32px 36px; display: flex; flex-direction: column; gap: 24px; }
.prayer-card--flat { margin-top: 0; }
.prayer-card__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.prayer-card__head h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 6px; }
.prayer-card__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 15px; color: var(--muted); }
.prayer-card__meta strong { color: var(--green-800); font-weight: 600; }
.pt-grid { display: grid; grid-template-columns: 120px repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pt-col { display: grid; grid-template-rows: 76px 52px 52px; text-align: center; border-left: 1px solid var(--line); background: var(--card); color: var(--green-800); }
.pt-col > * { display: flex; align-items: center; justify-content: center; }
.pt-col > * + * { border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.pt-col--label { text-align: left; border-left: 0; background: var(--sand); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pt-col--label > * { justify-content: flex-start; padding: 0 18px; font-size: 13px !important; font-weight: 700 !important; flex-wrap: wrap; gap: 4px; }
.pt-col--label .sample-tag { margin-left: 0; }
.pt-col--skip { background: var(--paper); color: var(--muted); }
.pt-col--next { background: var(--green-700); color: var(--on-green); }
.pt-col--next > * + * { border-top-color: var(--green-line); }
.pt-name { flex-direction: column; gap: 2px; }
.pt-name b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.pt-name i { font-family: var(--arabic); font-style: normal; font-size: 16px; opacity: 0.7; line-height: 1.2; }
.jumuah { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; background: var(--sand-2); border-radius: 14px; padding: 18px 24px; }
.jumuah__title { font-family: var(--serif); font-size: 24px; color: var(--green-800); }
.jumuah__pill { background: var(--card); border-radius: 999px; padding: 8px 18px; font-size: 15px; color: var(--muted); }
.jumuah__pill strong { color: var(--green-800); }
.jumuah__note { margin-left: auto; font-size: 14px; color: var(--muted); }

/* Announcements */
.ann-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.ann-top { background: var(--green-700); color: var(--on-green); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.ann-top__body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ann-top h3 { color: var(--on-green); font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.ann-top p { font-size: 17px; line-height: 1.65; color: oklch(0.88 0.02 120); }
.ann-top__foot { font-size: 14px; color: oklch(0.8 0.02 120); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.pill-gold { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold); color: var(--gold-ink); border-radius: 999px; padding: 6px 14px; }
.ann-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.ann-item:first-child { padding-top: 0; }
.ann-item__meta { display: flex; gap: 12px; font-size: 13px; align-items: center; flex-wrap: wrap; }
.ann-item__meta b { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.ann-item__meta span { color: var(--muted); }
.ann-item h3 { font-size: 23px; }
.ann-item p { font-size: 15px; color: var(--body); }
.ann-item a { font-weight: 600; color: var(--green-600); text-decoration: underline; text-underline-offset: 3px; }

/* Announcements: list and single post */
.ann-item h3 a, .post-card h2 a { color: inherit; font-weight: inherit; text-decoration: none; }
.ann-item h3 a:hover, .post-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex: 1; }
.post-card h2 { font-size: 28px; line-height: 1.2; }
.post-card p { color: var(--body); }
.post-card .more-link { margin-top: auto; }
.post { display: flex; flex-direction: column; gap: 32px; }
.post > * { max-width: 760px; }
.post__img { width: 100%; border-radius: 18px; }
.post__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.post-body { font-size: 18px; line-height: 1.75; color: var(--body); }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2, .post-body h3 { font-size: 28px; margin-top: 1.6em; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: 0.4em; }
.post-body a { color: var(--green-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-body img { border-radius: 14px; }
.post-body blockquote { margin-left: 0; border-left: 3px solid var(--gold); padding-left: 20px; font-family: var(--serif); font-size: 21px; color: var(--green-800); }

/* Events calendar */
.cal { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.cal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--sand); }
.cal__title { font-family: var(--serif); font-size: 24px; color: var(--green-800); min-width: 0; }
.cal__nav { display: flex; align-items: center; gap: 8px; }
.cal__btn { height: 40px; min-width: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font-weight: 600; font-size: 14px; color: var(--green-800); }
.cal__btn:hover { border-color: var(--green-700); }
.ev { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.ev:hover { border-color: var(--green-700); background: #fff; }
.ev__time { font-weight: 600; font-size: 15px; color: var(--green-800); white-space: nowrap; }
.ev__title { font-size: 16px; font-weight: 500; color: var(--ink); min-width: 0; }
.ev__cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); white-space: nowrap; }
.cal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cal-month { padding: 0; }
.cal-month__dow, .cal-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-month__dow span { padding: 10px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.cal-cell { min-height: 124px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; background: var(--card); text-align: left; min-width: 0; }
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell--out { background: var(--paper); }
.cal-cell--out .cal-cell__num { opacity: 0.4; }
.cal-cell__num { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--green-800); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.cal-cell--today .cal-cell__num { background: var(--green-700); color: var(--on-green); }
.chip { display: block; width: 100%; text-align: left; border: 0; border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; line-height: 1.3; background: var(--green-700); color: var(--on-green); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip:hover { background: var(--green-800); }
.chip--gold { background: var(--gold); color: var(--gold-ink); }
.chip--gold:hover { background: var(--gold-soft); }
.chip--line { background: var(--sand-2); color: var(--green-800); }
.chip--line:hover { background: var(--line-2); }
.chip-more { border: 0; background: transparent; padding: 2px 8px; font-size: 12px; font-weight: 600; color: var(--green-600); text-align: left; }
.cal-dots { display: none; gap: 3px; flex-wrap: wrap; padding: 0 2px; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-700); }
.cal-dots i.gold { background: var(--gold); }
.cal__hint--mobile { display: none; }

/* Dialogs */
dialog { border: 0; padding: 0; background: var(--card); color: var(--ink); border-radius: 22px; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-shadow: 0 30px 80px oklch(0.1 0.02 200 / 0.4); }
dialog::backdrop { background: oklch(0.15 0.02 200 / 0.55); }
.dlg { padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.dlg__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dlg__head h3 { font-size: 30px; line-height: 1.15; }
.dlg__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; font-size: 22px; line-height: 1; }
.dlg__close:hover { border-color: var(--green-700); }
.dlg__rows { display: flex; flex-direction: column; gap: 14px; }
.dlg__row { display: grid; grid-template-columns: 76px 1fr; gap: 12px; font-size: 16px; }
.dlg__row dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.dlg__row dd { margin: 0; }
.dlg__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dlg__note { font-size: 12px; color: var(--muted); }
.day-list { display: flex; flex-direction: column; gap: 8px; }
.day-list .ev { grid-template-columns: 1fr; gap: 2px; }

/* Donate form */
.field-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.amounts button, .freq button { font-weight: 600; font-size: 16px; padding: 14px 8px; border-radius: 12px; background: transparent; border: 1.5px solid var(--line-2); color: var(--ink); }
.amounts button[aria-pressed="true"], .freq button[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: var(--on-green); }
.freq { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.input, .select, .textarea { width: 100%; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px oklch(0.74 0.11 80 / 0.35); }
.textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green-700); flex: none; }
.donate-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 20px; }
.donate-total small { display: block; font-size: 13px; color: var(--muted); }
.donate-total b { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.donate-total .btn { padding: 16px 30px; font-size: 16px; }
.thanks { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.thanks__ar { font-family: var(--arabic); font-size: 30px; line-height: 1.3; color: var(--green-700); }
.thanks p { color: var(--body); }
.mock-note { font-size: 13px; background: oklch(0.93 0.06 80); border: 1px dashed oklch(0.6 0.12 60); color: oklch(0.35 0.08 60); border-radius: 10px; padding: 10px 14px; }

/* Ways to give */
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.method { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--paper); min-width: 0; transition: border-color .15s, background .15s; }
.method:hover { border-color: var(--green-700); background: #fff; }
.method--wide { grid-column: 1 / -1; }
.method__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.method__icon svg { width: 24px; height: 24px; fill: #fff; }
.method__text { display: flex; flex-direction: column; min-width: 0; }
.method__text b { font-weight: 600; font-size: 16px; color: var(--ink); }
.method__text small { font-size: 13px; line-height: 1.35; color: var(--muted); }
.back-link { align-self: flex-start; border: 0; background: transparent; padding: 0; font-weight: 600; font-size: 14px; color: var(--green-600); margin-bottom: -8px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pay-title { display: flex; align-items: center; gap: 14px; }
.handle { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 16px 18px; background: var(--paper); }
.handle small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.handle b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--green-800); }
.band__also { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: oklch(0.85 0.02 120); }
.band__also > span { margin-right: 4px; }
.paychip { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid oklch(0.5 0.05 165); background: transparent; color: oklch(0.96 0.01 100); border-radius: 999px; padding: 5px 12px 5px 5px; font-size: 13px; font-weight: 600; }
.paychip:hover { background: var(--green-700); }
.paychip__icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px oklch(1 0 0 / 0.25); }
.paychip__icon svg { width: 13px; height: 13px; fill: #fff; }
@media (max-width: 420px) { .methods { grid-template-columns: 1fr; } }

/* Programs / cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--sand); border-radius: 18px; overflow: hidden; }
.card__img { height: 240px; background: var(--green-700); position: relative; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body h3 { font-size: 26px; line-height: 1.2; }
.card__body p { font-size: 15px; color: var(--body); }
.card__when { margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 700; color: var(--gold-text); }
.simple-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.simple-list li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.simple-list b { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--green-800); }
.simple-list span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.service__n { font-family: var(--serif); font-size: 15px; color: var(--gold-text); letter-spacing: 0.08em; }
.service h3 { font-size: 24px; }
.service p { font-size: 15px; color: var(--body); }
.service a { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14px; color: var(--green-600); }
.service a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Donate band */
.band { background: var(--green-800); color: oklch(0.96 0.01 100); }
.band .wrap { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.band__text { display: flex; flex-direction: column; gap: 16px; }
.band .eyebrow { color: oklch(0.78 0.11 80); }
.band h2 { color: inherit; }
.band p { font-size: 17px; line-height: 1.65; color: oklch(0.85 0.02 120); }
.band__quick { display: flex; flex-direction: column; gap: 14px; }
.band__amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.band__amounts button { font-weight: 600; font-size: 18px; padding: 18px 0; border-radius: 14px; border: 1.5px solid oklch(0.5 0.05 165); background: transparent; color: inherit; }
.band__amounts button:hover { background: var(--green-700); }
.band .btn--gold { padding: 18px; font-size: 16px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(transparent, oklch(0.15 0.03 165 / 0.75)); }

/* Visit / contact */
.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: stretch; }
.visit__info { display: flex; flex-direction: column; gap: 22px; }
.facts { display: flex; flex-direction: column; gap: 18px; color: var(--body); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-800); }
.facts dd { margin: 2px 0 0; }
.facts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.visit__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.visit__media { display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.visit__photo { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 35%; border-radius: 20px; }
.visit__media .map, .visit__media .map iframe { min-height: 280px; }
.map { min-height: 420px; border-radius: 20px; overflow: hidden; background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.form { display: flex; flex-direction: column; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; }
.form label > span { display: block; font-size: 14px; font-weight: 600; color: var(--green-800); margin-bottom: 8px; }

/* About */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.two-col__img img { width: 100%; height: 100%; object-fit: cover; }
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--body); }
.goals { counter-reset: goal; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.goals li { counter-increment: goal; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; color: var(--body); }
.goals li::before { content: counter(goal, decimal-leading-zero); font-family: var(--serif); font-size: 20px; color: var(--gold-text); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--green-800); }
.quote footer { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--gold-text); }
.cta { background: var(--green-700); color: var(--on-green); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta h2 { color: inherit; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin-bottom: 12px; }
.cta p { color: oklch(0.88 0.02 120); font-size: 17px; max-width: 58ch; }

/* Donate page */
.donate-layout { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 64px; align-items: start; }
.donate-panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.verse { border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; display: flex; flex-direction: column; gap: 10px; }
.verse p { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--green-800); }
.verse cite { font-style: normal; font-size: 14px; font-weight: 600; color: var(--gold-text); }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.way { background: var(--sand); border-radius: 14px; padding: 22px; }
.way h3 { font-size: 21px; margin-bottom: 6px; }
.way p { font-size: 15px; color: var(--body); }

/* Timetable */
.tt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.tt-bar h2 { font-size: clamp(26px, 3vw, 34px); }
.tt-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
table.tt { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tt th, .tt td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tt th { background: var(--sand); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); position: sticky; top: 0; }
.tt th:first-child, .tt td:first-child { text-align: left; }
.tt td:first-child { font-weight: 600; color: var(--green-800); }
.tt td:first-child span { font-weight: 400; color: var(--muted); margin-left: 8px; }
.tt tr:last-child td { border-bottom: 0; }
.tt tr.is-fri td { background: var(--paper); }
.tt tr.is-today td { background: var(--green-700); color: var(--on-green); }
.tt tr.is-today td:first-child, .tt tr.is-today td:first-child span { color: var(--on-green); }
.tt .dim { color: var(--muted); }
.tt tr.is-today .dim { color: var(--on-green-soft); }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 80ch; }

/* Footer */
.site-footer { background: var(--green-900); color: oklch(0.82 0.02 120); font-size: 14px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { font-family: var(--serif); font-size: 26px; color: var(--on-green); }
.footer-ar { font-family: var(--arabic); font-size: 20px; color: var(--gold-soft); margin-top: 2px; text-align: left; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-green); margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-base { border-top: 1px solid oklch(0.34 0.04 165); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .site-nav ul { gap: 20px; }
  .site-nav { gap: 20px; }
  .ann-grid, .band .wrap, .visit, .two-col, .donate-layout { grid-template-columns: 1fr; gap: 36px; }
  .donate-layout .donate-panel { order: -1; max-width: 520px; }
  .cards-3, .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; padding: 36px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 0 12px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; font-size: 17px; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--green-600); font-weight: 700; }
  .section { padding: 72px 0; }
  .section--tight { padding-top: 64px; }
  .prayer-card { padding: 24px 20px; }
  /* Prayer table turns into rows */
  .pt-grid { grid-template-columns: 1fr; }
  .pt-col { grid-template-rows: none; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .pt-col:first-child { border-top: 0; }
  .pt-col > * { min-height: 56px; }
  .pt-col > * + * { border-top: 0; }
  .pt-col--label > * { min-height: 44px; }
  .pt-col--label > *:nth-child(n+2) { justify-content: center; padding: 0 4px; }
  .pt-name { flex-direction: row; justify-content: flex-start !important; gap: 10px; padding: 0 18px; }
  .pt-col--next > * + * { border-top: 0; }
  .jumuah__note { margin-left: 0; flex-basis: 100%; }
  .ev { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .ev__time { grid-column: 1 / -1; font-size: 14px; }
  .goals, .quotes, .simple-list, .ways, .post-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  /* Month grid: dots instead of chips */
  .cal-cell { min-height: 64px; padding: 6px 4px; align-items: center; }
  .cal-cell .chip, .cal-cell .chip-more { display: none; }
  .cal-cell__num { align-self: center; }
  .cal-dots { display: flex; justify-content: center; }
  .cal-cell--has { cursor: pointer; }
  .cal__hint--desktop { display: none; }
  .cal__hint--mobile { display: inline; }
  .cal-month__dow span { padding: 8px 2px; text-align: center; font-size: 11px; letter-spacing: 0.04em; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .brand__name { font-size: 20px; }
  .brand__place { font-size: 10px; }
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 170px; }
  .hero::before { background: linear-gradient(180deg, oklch(0.2 0.04 165 / 0.78), oklch(0.2 0.04 165 / 0.88)); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .prayer-card__meta { align-items: flex-start; }
  .cards-3, .services, .gallery, .form__row { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 220px; }
  .ann-top { padding: 28px; }
  .band__amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal__bar { padding: 14px 16px; }
  .cal__foot { padding: 14px 16px; }
  .dlg { padding: 24px; }
  .dlg__head h3 { font-size: 26px; }
  .form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .notice .wrap { align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; }
  .notice__text { flex-basis: calc(100% - 52px); order: 3; font-size: 15px; }
  .notice__close { margin-left: auto; order: 2; }
  .page-head .wrap { padding-top: 48px; padding-bottom: 48px; }
  .visit__actions .btn, .dlg__actions .btn { flex: 1 1 100%; }
  .donate-total .btn { flex: 1 1 100%; }
}
@media print {
  .notice, .topbar, .site-nav, .nav-toggle, .site-footer, .tt-bar .cal__nav, .no-print { display: none !important; }
  body { background: #fff; }
  .page-head { background: none; color: #000; }
  .page-head h1 { color: #000; }
  .tt tr.is-today td { background: none; color: inherit; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Mailing-list sign-up and form messages */
.signup { padding-top: 0; }
.signup__card { background: var(--sand-2); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px 48px; align-items: center; }
.signup__text h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin-bottom: 8px; }
.signup__text p { font-size: 16px; line-height: 1.6; color: var(--body); }
.signup__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.signup__form label > span { display: block; font-size: 14px; font-weight: 600; color: var(--green-800); margin-bottom: 8px; }
.signup__form .btn { min-height: 52px; }
.form__result { grid-column: 1 / -1; margin: 0; font-size: 15px; line-height: 1.5; border-radius: 10px; padding: 12px 14px; }
.form__result.is-ok { background: oklch(0.94 0.04 160); border: 1px solid oklch(0.8 0.06 160); color: var(--green-800); }
.form__result.is-error { background: oklch(0.95 0.03 30); border: 1px solid oklch(0.82 0.07 30); color: oklch(0.4 0.12 30); }
.form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .signup__card { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 640px) { .signup__form { grid-template-columns: 1fr; } .signup__card { padding: 22px; } }

/* Volunteer guide (/admin/) */
.guide { max-width: 760px; display: flex; flex-direction: column; gap: 36px; }
.guide h2 { font-size: 28px; line-height: 1.2; margin-bottom: 12px; }
.guide ol, .guide ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.6; color: var(--body); }
.guide ol { list-style: decimal; }
.guide ul { list-style: disc; }
.guide li::marker { color: var(--gold-text); font-weight: 600; }
.guide__open { margin-top: 10px; }
.guide p { font-size: 17px; line-height: 1.6; color: var(--body); }
.guide p + p, .guide ol + p, .guide ul + p { margin-top: 12px; }
.guide code { font: 600 15px/1 var(--sans); background: var(--sand-2); border-radius: 6px; padding: 3px 7px; white-space: nowrap; }
@media print { .guide__open { display: none; } }
