/* al-Yaqeen · ontwerp "Beeld + glas" (concept november 2026)
   Basis: groot, filmisch, eigen foto's, Bricolage Grotesque, wit (licht) of diepblauw (donker), rood als accent.
   Glas alleen als detail: gebedstijden-lens, menubalk bij scrollen, zoekvenster, leesbalk, speler, tabbalk, vensters. */

:root {
  --bg: #ffffff; --bg-2: #f6f4ef; --bg-3: #eef1f6; --card: #ffffff; --ink: #0B203D; --ink-2: #13294a; --text: #2E3B4E; --muted: #66708a;
  --line: #e6e8ee; --line-2: #d4d9e2; --red: #CA4A4F; --red-d: #b8393e; --red-t: #b63c41; --red-l: #f0676c; --red-soft: #fbeeee; --ok: #1d7a47; --ok-soft: #e8f5ee;
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, system-ui, sans-serif; --ar: "Amiri", "Geeza Pro", serif;
  --ease: cubic-bezier(.2, .7, .2, 1); --wrap: 1480px; --fs: 1;
  --glass-bg: rgba(255, 255, 255, .62); --glass-line: rgba(255, 255, 255, .7);
  --red-text: var(--red-t); --navy: #0B203D; --navy-2: #1F3453;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0B203D; --bg-2: #0f2748; --bg-3: #10294c; --card: #112b4d; --ink: #ffffff; --ink-2: #183560; --text: #d7deea; --muted: #a2b1c8;
  --line: #1f3b62; --line-2: #2c4d7a; --red-t: #f4868a; --red-soft: rgba(240, 103, 108, .14); --ok: #7ad6a2; --ok-soft: rgba(122, 214, 162, .12);
  --glass-bg: rgba(17, 43, 77, .62); --glass-line: rgba(255, 255, 255, .16); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0B203D; --bg-2: #0f2748; --bg-3: #10294c; --card: #112b4d; --ink: #ffffff; --ink-2: #183560; --text: #d7deea; --muted: #a2b1c8;
  --line: #1f3b62; --line-2: #2c4d7a; --red-t: #f4868a; --red-soft: rgba(240, 103, 108, .14); --ok: #7ad6a2; --ok-soft: rgba(122, 214, 162, .12);
  --glass-bg: rgba(17, 43, 77, .62); --glass-line: rgba(255, 255, 255, .16); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.62 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; font-variation-settings: "opsz" 96; }
p { margin: 0; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red-soft); color: var(--ink); }
[hidden] { display: none !important; }
[lang="ar"] { font-family: var(--ar); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 12px; }
.w { width: min(var(--wrap), 100% - 96px); margin-inline: auto; }
.narrow { width: min(900px, 100% - 96px); margin-inline: auto; }
.i { flex: none; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.lab { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-t); }
.h2 { font-size: clamp(40px, 5vw, 84px); line-height: .95; letter-spacing: -.04em; font-weight: 800; margin-top: 16px; }
.link { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; font-size: 17px; color: var(--ink); padding-bottom: 5px; border-bottom: 2px solid var(--red); transition: gap .3s var(--ease), color .2s; white-space: nowrap; }
.link:hover { gap: 18px; color: var(--red-t); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }

/* glass, used as a detail only */
.glass { background: var(--glass-bg); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px -22px rgba(11, 32, 61, .35); }
.glass-dark { background: rgba(8, 24, 46, .42); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .14); border-top-color: rgba(255, 255, 255, .28); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .5); }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 4px; font-weight: 700; font-size: 16px; background: var(--ink); color: var(--bg); border: 1.5px solid var(--ink); transition: background .25s, color .25s, border-color .25s, transform .15s; }
.btn:hover { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.btn-red:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-white { background: #fff; color: #0B203D; border-color: #fff; }
.btn-white:hover { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.btn-wide { width: 100%; }
/* aliases used by the editor demo */
.btn-primary { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-t); }
.h-sec { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; }
.prose-q { color: var(--ink); font-weight: 500; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; transition: background .2s; }
.icon-btn:hover { background: rgba(127, 140, 160, .14); }

/* ------------------------------------------------------------------ header */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--ink); background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 1px 0 var(--line); transition: background .35s, color .35s, box-shadow .35s; }
body.over .bar:not(.solid) { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cstrip { font-size: 12.5px; border-bottom: 1px solid var(--line); transition: margin .35s, opacity .35s; }
body.over .bar:not(.solid) .cstrip { border-color: rgba(255, 255, 255, .16); }
.cstrip .w { display: flex; gap: 6px 18px; align-items: center; min-height: 32px; flex-wrap: wrap; }
.cstrip b { color: var(--red-t); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
body.over .bar:not(.solid) .cstrip b { color: var(--red-l); }
.cstrip span { opacity: .8; margin-right: auto; }
.cstrip a { font-weight: 600; border-bottom: 1px solid currentColor; }
.bar.solid .cstrip { margin-top: -33px; opacity: 0; pointer-events: none; }
.bar-in { display: flex; align-items: center; gap: 34px; height: 84px; transition: height .35s; }
.bar.solid .bar-in { height: 70px; }
.brand { display: inline-flex; color: inherit; flex: none; }
.brand svg { width: 132px; height: auto; }
.mainnav { display: flex; gap: 28px; flex: 1; font-size: 16px; font-weight: 500; }
.mainnav a { position: relative; padding: 6px 0; white-space: nowrap; }
.mainnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.mainnav a:hover::after, .mainnav a[aria-current="page"]::after { transform: scaleX(1); }
.tools-top { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pt-pill { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums;
  background: rgba(127, 140, 160, .12); border: 1px solid transparent; transition: background .3s; }
body.over .bar:not(.solid) .pt-pill { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pt-pill b { font-weight: 700; }
.pt-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--red-l); box-shadow: 0 0 0 0 rgba(240, 103, 108, .5); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(240, 103, 108, 0); } }
.give { height: 46px; padding: 0 22px; border-radius: 4px; display: inline-flex; align-items: center; font-weight: 700; font-size: 15.5px; background: var(--ink); color: var(--bg); margin-left: 6px; transition: background .25s; }
.give:hover { background: var(--red-d); color: #fff; }
body.over .bar:not(.solid) .give { background: #fff; color: #0B203D; }
.menu-b { display: none; }
main { display: block; }
body:not(.over) main { padding-top: 117px; }

/* full-screen menu */
.menu { position: fixed; inset: 0; z-index: 90; background: #0B203D; color: #fff; overflow-y: auto; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.menu-in { padding: 18px 0 120px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.menu .brand svg { width: 120px; }
.menu-search { display: flex; margin: 26px 0 40px; border-bottom: 2px solid rgba(255, 255, 255, .5); }
.menu-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 26px; font-weight: 600; padding: 16px 0; color: #fff; }
.menu-search input::placeholder { color: rgba(255, 255, 255, .45); }
.menu-search button { font-weight: 700; color: var(--red-l); }
.menu-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.menu-cols h2 { color: var(--red-l); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.menu-cols ul { list-style: none; margin: 0; padding: 0; }
.menu-cols a { display: block; padding: 8px 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.menu-cols a:hover { color: var(--red-l); }

/* mobile tab bar (glass) */
.tabbar { display: none; }

/* ------------------------------------------------------------------ hero (home) */
.hero { position: relative; min-height: max(780px, 100svh); color: #fff; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.hero .ph { position: absolute; inset: -40px 0 0; z-index: -2; background: #13294a var(--img) 64% 50% / cover no-repeat; transform: translateY(calc(var(--sy, 0) * .3px)); will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 32, 61, .6) 0%, rgba(11, 32, 61, .1) 26%), linear-gradient(0deg, rgba(8, 24, 46, .95) 0%, rgba(8, 24, 46, .7) 42%, rgba(8, 24, 46, .15) 78%), linear-gradient(90deg, rgba(8, 24, 46, .78) 0%, rgba(8, 24, 46, .45) 38%, transparent 62%); }
.hero-in { padding-bottom: 54px; }
.hero .lab { color: rgba(255, 255, 255, .8); }
.display { color: #fff; margin: 22px 0 0; font-size: clamp(56px, 8.4vw, 150px); line-height: .9; letter-spacing: -.038em; font-weight: 800; }
.display .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.display .ln > i { display: block; font-style: normal; transform: translateY(105%); animation: up 1.1s cubic-bezier(.76, 0, .24, 1) forwards; }
.display .ln:nth-child(2) > i { animation-delay: .12s; }
@keyframes up { to { transform: none; } }
.display em { font-style: normal; color: var(--red-l); }
.hero-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; align-items: center; margin-top: 44px; }
.hero-row p { grid-column: 9 / span 4; grid-row: 1; font-size: 18.5px; color: rgba(255, 255, 255, .92); }
.search-xl { grid-column: 1 / span 7; grid-row: 1; display: flex; align-items: center; height: 72px; border-radius: 6px; background: #fff; color: #0B203D; padding: 0 8px 0 26px; gap: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.search-xl .i { color: #66708a; }
.search-xl input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 18px; height: 100%; color: #0B203D; }
.search-xl input::placeholder { color: #7d879b; }
.search-xl button { height: 56px; padding: 0 30px; border-radius: 4px; background: var(--red-d); color: #fff; font-weight: 700; transition: background .25s; }
.search-xl button:hover { background: #0B203D; }
.quick { grid-column: 1 / span 7; grid-row: 2; display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.quick a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); padding: 3px 0; }
.quick a:hover { border-color: var(--red-l); }

/* prayer strip: glass, the current prayer is a lens */
.strip { color: #fff; border-top: 1px solid rgba(255, 255, 255, .16); background: rgba(8, 24, 46, .38); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.strip .w { display: grid; grid-template-columns: 1.5fr repeat(6, 1fr); }
.strip .w > * { padding: 22px 20px; border-left: 1px solid rgba(255, 255, 255, .1); position: relative; }
.strip .w > :first-child { border-left: 0; padding-left: 0; }
.strip .now { font-size: 14px; color: rgba(255, 255, 255, .72); }
.strip .now b { display: block; font-size: 19px; color: #fff; font-weight: 700; margin-top: 2px; }
.strip .now a { font-size: 13.5px; color: rgba(255, 255, 255, .85); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.strip [data-i] span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.strip [data-i] b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.strip .past { opacity: .45; }
.strip .on { background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(255, 255, 255, .08); }
.strip .on::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 3px; background: var(--red-l); }
.strip .on span::after { content: " · nu"; color: var(--red-l); font-weight: 600; }

/* ------------------------------------------------------------------ sections */
.sec { padding: 150px 0; }
.sec-tight { padding: 100px 0; }
.sh { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 60px; }
.paper { background: var(--bg-2); }

/* question of the day */
.qotd { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 90px; align-items: center; padding-right: max(48px, (100vw - 1480px) / 2); }
.qotd .img { aspect-ratio: 5 / 6; overflow: hidden; background: var(--bg-3); }
.qotd .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.qotd:hover .img img { transform: scale(1.03); }
.quote { position: relative; margin: 32px 0 26px; font-size: clamp(23px, 1.85vw, 30px); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.quote::before { content: "“"; position: absolute; left: -.55em; top: -.12em; font-size: 2.6em; line-height: 1; color: var(--red); font-weight: 800; }
.by { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 16px; margin-bottom: 32px; }
.by::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* topic cards (calligraphy) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tgrid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tc { scroll-snap-align: start; position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; background: #0B203D; isolation: isolate; }
.tc.alt { background: #13294a; }
.tc::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07'%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E"); }
.tc .cal { position: absolute; z-index: -1; top: 18%; right: -6%; font-size: 150px; line-height: 1; color: rgba(255, 255, 255, .14); white-space: nowrap; transition: transform 1s var(--ease), color .6s; }
.tc:hover .cal { transform: translateX(-14px); color: rgba(240, 103, 108, .28); }
.tc .num { position: absolute; top: 28px; left: 30px; font-size: 14px; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.tc .arr { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.tc:hover .arr { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.tc b { font-size: 30px; letter-spacing: -.035em; line-height: 1; font-weight: 800; }
.tc small { display: block; font-size: 15px; color: rgba(255, 255, 255, .74); margin-top: 10px; line-height: 1.45; }
.tc::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: 22px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tc:hover::after { transform: scaleX(1); }
.railnav { display: flex; gap: 10px; }
.railnav button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: border-color .2s; }
.railnav button:hover { border-color: var(--ink); }

/* rows: the universal list */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.row-t { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.02em; transition: color .2s; }
.row-t:hover { color: var(--red-t); }
.row p { color: var(--muted); font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 62em; }
.row-m { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.row-m > * + *::before { content: "·"; margin-right: 10px; opacity: .6; }
.row-m a { color: var(--red-t); font-weight: 600; }
.rows-compact .row { padding: 16px 0; gap: 4px; }
.rows-compact .row-t { font-size: 18px; }
.rows-compact .row p { display: none; }
.two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 90px; }

/* news cards */
.ncards { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.ncard { display: grid; gap: 16px; align-content: start; position: relative; }
.ncard .im { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.ncard:first-child .im { aspect-ratio: 5 / 4; }
.ncard .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ncard:hover .im img { transform: scale(1.04); }
.ncard .lab { font-size: 12px; }
.ncard h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.ncard:first-child h3 { font-size: clamp(26px, 2.4vw, 36px); }
.ncard h3 a::after { content: ""; position: absolute; inset: 0; }
.ncard p { color: var(--muted); font-size: 16px; }
.ncard time { font-size: 14px; color: var(--muted); }

/* books */
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.books-rail { grid-auto-flow: column; grid-auto-columns: 220px; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
.books-rail::-webkit-scrollbar { display: none; }
.book { scroll-snap-align: start; aspect-ratio: 5 / 7; padding: 26px 22px 24px 30px; display: flex; flex-direction: column; gap: 10px; color: #fff; position: relative; overflow: hidden; background: #0B203D; isolation: isolate; transition: transform .5s var(--ease); }
.book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: rgba(0, 0, 0, .22); }
.book .cal { position: absolute; z-index: -1; right: -12px; top: 30%; font-size: 90px; line-height: 1.2; color: rgba(255, 255, 255, .1); white-space: nowrap; }
.book:hover { transform: translateY(-6px); }
.book-t { margin-top: auto; font-size: 21px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.book-n { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .82; }
.b0 { background: #0B203D; } .b1 { background: #b8393e; } .b2 { background: #13294a; } .b3 { background: #8f3337; } .b4 { background: #1d3a64; } .b5 { background: #2E3B4E; }

/* media */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 24px; }
.vtile { display: grid; gap: 12px; align-content: start; }
.vtile-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0B203D; }
.vtile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.vtile:hover img { transform: scale(1.05); }
.vplay { position: absolute; left: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .4); transition: background .3s; }
.vtile:hover .vplay { background: var(--red-d); border-color: var(--red-d); }
.vtile b { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.01em; }
.vtile .muted { font-size: 14px; }
.alist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.arow { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.arow a { font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.3; }
.arow a:hover { color: var(--red-t); }
.arow .muted { font-size: 13.5px; white-space: nowrap; }
.aplay { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--ink); display: grid; place-items: center; transition: all .25s; }
.aplay:hover, .aplay.on { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.aplay.off { opacity: .35; cursor: default; }
.media-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; }
.dock { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(760px, 100% - 24px); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; border-radius: 22px; }
.dock-btn { width: 50px; height: 50px; border-radius: 50%; background: var(--red-d); color: #fff; display: grid; place-items: center; flex: none; }
.dock-b { flex: 1; min-width: 0; display: grid; gap: 4px; }
.dock-b b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; color: var(--ink); }
.dock audio { width: 100%; height: 34px; }

/* mosque photo + services band */
.mosque-ph { position: relative; height: min(78vh, 760px); overflow: hidden; isolation: isolate; background: #0B203D; }
.mosque-ph img { position: absolute; inset: -50px 0 0; width: 100%; height: calc(100% + 50px); object-fit: cover; object-position: center 45%; transform: translateY(calc(var(--my, 0) * 1px)); will-change: transform; }
.mosque-ph::after { content: ""; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(0deg, #0B203D 0%, rgba(11, 32, 61, .7) 30%, rgba(11, 32, 61, 0) 100%); }
.mosque-ph .w { position: absolute; left: 0; right: 0; bottom: 56px; z-index: 1; color: #fff; }
.mosque-ph h2 { color: #fff; max-width: 12ch; text-shadow: 0 2px 30px rgba(8, 24, 46, .55); }
.mosque-ph .lab { color: var(--red-l); }
.services { background: #0B203D; color: #fff; }
.services .w { display: grid; grid-template-columns: repeat(4, 1fr); }
.services.s3 .w { grid-template-columns: repeat(3, 1fr); }
.services.s3 a:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.services a { padding: 44px 32px 56px; border-left: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 8px; align-content: start; transition: background .3s; }
.services a:first-child { border-left: 0; padding-left: 0; }
.services a:hover { background: rgba(255, 255, 255, .04); }
.services b { font-size: 25px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.services span { color: rgba(255, 255, 255, .74); font-size: 16px; }
.services i { font-style: normal; color: var(--red-l); font-weight: 700; margin-top: 10px; }

/* events */
.agenda { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; }
.evc { display: grid; gap: 20px; align-content: start; position: relative; }
.evc .im { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.evc:nth-child(2) .im { aspect-ratio: 4 / 5; }
.evc .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.evc:hover .im img { transform: scale(1.04); }
.evc .d { display: flex; gap: 14px; align-items: baseline; font-size: 15px; color: var(--muted); }
.evc .d b { font-size: 42px; font-weight: 800; color: var(--red-t); letter-spacing: -.04em; line-height: 1; }
.evc h3 { font-size: clamp(25px, 2.2vw, 36px); letter-spacing: -.03em; line-height: 1.08; }
.evc h3 a::after { content: ""; position: absolute; inset: 0; }
.evc .go { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--red); justify-self: start; padding-bottom: 4px; }
.spots { position: absolute; left: 16px; top: 16px; z-index: 1; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.evlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.evrow { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.evrow .dd { font-size: 44px; font-weight: 800; color: var(--red-t); letter-spacing: -.04em; line-height: .9; }
.evrow .dd small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.evrow b { display: block; font-size: 21px; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.evrow span { color: var(--muted); font-size: 15px; }
.evrow.past { opacity: .6; }

/* give */
.give-s .w { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.give-s p.lead { font-size: 22px; line-height: 1.5; max-width: 26em; margin-top: 22px; }
.amts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--ink); }
.amts button { height: 80px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); border-left: 1.5px solid var(--ink); transition: background .25s, color .25s; }
.amts button:first-child { border-left: 0; }
.amts button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.note { font-size: 14.5px; color: var(--muted); margin: 14px 0 22px; }
.cta-bar { display: flex; justify-content: space-between; align-items: center; padding: 24px 30px; background: var(--red-d); color: #fff; font-weight: 700; font-size: 19px; transition: background .25s; }
.cta-bar:hover { background: var(--ink); color: var(--bg); }

/* ------------------------------------------------------------------ page heads */
.pband { padding: 70px 0 60px; border-bottom: 1px solid var(--line); }
.pband h1 { font-size: clamp(46px, 6.4vw, 108px); line-height: .92; letter-spacing: -.04em; margin-top: 16px; max-width: 15ch; }
.pband .ar { font-size: clamp(30px, 3vw, 46px); color: var(--red-t); margin-top: 10px; line-height: 1.3; }
.pband .sub { font-size: clamp(18px, 1.5vw, 21px); max-width: 40em; margin-top: 22px; color: var(--text); }
.pband .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.phero { position: relative; min-height: min(78vh, 720px); color: #fff; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.phero .ph { position: absolute; inset: -40px 0 0; z-index: -2; background: #13294a var(--img) center / cover no-repeat; transform: translateY(calc(var(--sy, 0) * .25px)); }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 32, 61, .5), rgba(11, 32, 61, 0) 30%), linear-gradient(0deg, rgba(8, 24, 46, .92), rgba(8, 24, 46, .2) 60%), linear-gradient(90deg, rgba(8, 24, 46, .6), transparent 60%); }
.phero .w { padding: 160px 0 64px; }
.phero .lab { color: rgba(255, 255, 255, .8); }
.phero h1 { color: #fff; font-size: clamp(50px, 7vw, 120px); line-height: .9; letter-spacing: -.04em; margin-top: 16px; max-width: 13ch; }
.phero .ar { font-size: clamp(30px, 3vw, 46px); color: var(--red-l); margin-top: 10px; }
.phero .sub { font-size: clamp(18px, 1.5vw, 21px); max-width: 38em; margin-top: 22px; color: rgba(255, 255, 255, .9); }
.phero .search-xl { margin-top: 34px; max-width: 760px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pager a { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; color: var(--ink); }
.pager a:hover { border-color: var(--ink); }
.pager span { align-self: center; padding: 0 2px; color: var(--muted); }
.pager a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .45; }
.crumbs a:hover { color: var(--red-t); }
.crumbs [aria-current] { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* hubs */
.hub { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 80px; }
.hub-side { display: grid; gap: 40px; align-content: start; }
.side-h { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-t); margin-bottom: 14px; }
.cnt { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cnt li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cnt a { font-weight: 600; color: var(--ink); } .cnt a:hover { color: var(--red-t); }
.cnt b { font-weight: 500; color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 50px; }
.group { scroll-margin-top: 110px; }
.group h2 { font-size: 34px; letter-spacing: -.035em; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.group h2 span { font-family: var(--ar); font-size: 30px; color: var(--red-t); font-weight: 700; letter-spacing: 0; }
.group .cnt { border-top: 0; }
.askbox { padding: 34px; background: #0B203D; color: #fff; display: grid; gap: 14px; }
.askbox h3 { color: #fff; font-size: 28px; letter-spacing: -.03em; }
.askbox p { color: rgba(255, 255, 255, .8); }
.years { display: flex; flex-wrap: wrap; gap: 8px; }
.years a { padding: 8px 14px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 600; color: var(--ink); }
.years a b { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.years a:hover, .years a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.list-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin: 0 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 600; color: var(--ink); transition: all .2s; }
.chip b { color: var(--muted); font-weight: 500; font-size: 13px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] b { color: inherit; opacity: .7; }
.sorter { display: inline-flex; border: 1px solid var(--line-2); }
.sorter button { height: 40px; padding: 0 16px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.sorter [aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.part a { display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.part-n { font-size: 28px; font-weight: 800; color: var(--red-t); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.part-t { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.015em; line-height: 1.3; }
.part a:hover .part-t { color: var(--red-t); }

/* ------------------------------------------------------------------ reading pages */
.post-top { padding: 54px 0 0; }
.post-head { max-width: 1060px; }
.post-head .lab { margin-top: 30px; display: block; }
.post-head h1 { font-size: clamp(40px, 5.2vw, 84px); line-height: .98; letter-spacing: -.04em; margin-top: 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 26px; font-size: 15.5px; color: var(--muted); }
.post-meta b { color: var(--ink); font-weight: 700; }
.post-meta a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--red); }
.post { display: grid; grid-template-columns: minmax(0, 720px) 340px; justify-content: space-between; gap: 80px; padding: 60px 0 140px; }
.post.solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
.post-main { min-width: 0; }
.qa-q { position: relative; padding: 36px 40px 38px 44px; background: var(--bg-2); margin-bottom: 54px; }
.qa-q { padding-left: 74px; }
.qa-q::before { content: "“"; position: absolute; left: 22px; top: 62px; font-size: 76px; line-height: 1; color: var(--red); font-weight: 800; }
.qa-q .prose { font-size: calc(21px * var(--fs)); line-height: 1.55; color: var(--ink); font-weight: 500; }
.lbl { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-t); margin: 0 0 18px; display: flex; align-items: center; gap: 16px; }
.qa-a .lbl::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prose { font-size: calc(19px * var(--fs)); line-height: 1.78; color: var(--text); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.8em; letter-spacing: -.025em; }
.prose h2 { font-size: 1.5em; } .prose h3 { font-size: 1.25em; } .prose h4 { font-size: 1.05em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--red-t); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li + li { margin-top: .45em; }
.prose blockquote { margin-left: 0; padding: 18px 26px; border-left: 4px solid var(--red); background: var(--bg-2); color: var(--ink); }
.prose .c { text-align: center; } .prose .r { text-align: right; color: var(--muted); font-size: .92em; } .prose .i { padding-left: 1.5em; }
.prose [lang="ar"] { font-family: var(--ar); font-size: 1.45em; line-height: 2.05; text-align: right; color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .86em; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.prose figure { margin: 1.8em 0; }
.prose-page > .lab { margin-top: 2.6em; }
.lead-img { margin: 0 0 44px; } .lead-img img { width: 100%; }
.notice { padding: 18px 22px; background: var(--bg-2); color: var(--muted); margin-bottom: 30px; }
.side { display: grid; gap: 34px; align-content: start; position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow: auto; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
.side-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.side-list li { border-bottom: 1px solid var(--line); }
.side-list a { display: block; padding: 13px 0; font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.35; }
.side-list a:hover { color: var(--red-t); }
.side-list .cur a { color: var(--red-t); }
.side-list b { color: var(--red-t); margin-right: 10px; font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.tags a { padding: 6px 12px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.tags a:hover { color: var(--ink); border-color: var(--ink); }
.wpcats { margin-top: 18px; font-size: 14px; color: var(--muted); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 60px; }
.pn { display: grid; gap: 8px; padding: 24px 26px; background: var(--bg); font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.3; letter-spacing: -.01em; transition: background .25s; }
.pn span { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-t); }
.pn:hover { background: var(--bg-2); }
.pn.next { text-align: right; }
/* floating reading bar (glass) */
.readbar { position: fixed; z-index: 55; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 999px; transition: transform .45s var(--ease), opacity .45s; }
.readbar.away { transform: translate(-50%, 160%); opacity: 0; }
@media (min-width: 1101px) { .readbar { left: max(48px, calc((100vw - 1480px) / 2)); transform: none; } .readbar.away { transform: translateY(160%); } }
.readbar button, .readbar a { height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s; }
.readbar button:hover, .readbar a:hover { background: rgba(127, 140, 160, .16); }
.readbar [aria-pressed="true"] { color: var(--red-t); }
.readbar [aria-pressed="true"] .i { fill: currentColor; }
.readbar .sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; }
.progress { position: fixed; z-index: 61; top: 0; left: 0; height: 3px; width: calc(var(--rp, 0) * 100%); background: var(--red); }
.player { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 18px; background: #0B203D; color: #fff; margin-bottom: 44px; }
.player-art { width: 120px; aspect-ratio: 1; object-fit: cover; }
.player .lab { color: var(--red-l); margin-bottom: 12px; }
.player audio { width: 100%; }

/* embeds: thumbnail until clicked */
.embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0B203D center / cover no-repeat; margin: 0 0 40px; }
.embed button { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(0deg, rgba(11, 32, 61, .55), rgba(11, 32, 61, .05)); }
.embed button span { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .5); transition: transform .25s, background .25s; }
.embed button:hover span { transform: scale(1.06); background: var(--red-d); }
.embed button small { position: absolute; left: 0; right: 0; bottom: 14px; font-size: 12.5px; opacity: .85; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------------ forms & flows */
.form { display: grid; gap: 20px; }
.fld { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; align-content: start; }
.fld > label, .fld legend { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; }
.fld small, .help { font-size: 14px; color: var(--muted); }
.req { color: var(--red-t); }
.inp, .form input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .form select, .form textarea, .fld select, .fld input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .fld textarea { width: 100%; min-height: 56px; padding: 14px 16px; border: 1.5px solid var(--line-2); background: var(--bg); border-radius: 4px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.inp:focus, .form input:focus, .form select:focus, .form textarea:focus, .fld select:focus, .fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--red-soft); }
.form .bad { border-color: var(--red) !important; }
.err { color: var(--red-t); font-size: 14px; font-weight: 600; }
.frow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.choice { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; cursor: pointer; line-height: 1.45; }
.choice input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red-d); flex: none; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.opt { position: relative; display: grid; gap: 4px; padding: 20px 20px 20px 54px; border: 1.5px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.opt input { position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; accent-color: var(--red-d); }
.opt b { font-size: 17px; color: var(--ink); }
.opt span { font-size: 14.5px; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--bg-2); }
.seg { display: inline-grid; grid-auto-flow: column; border: 1.5px solid var(--ink); }
.seg button { height: 50px; padding: 0 20px; font-weight: 700; font-size: 15.5px; color: var(--ink); border-left: 1.5px solid var(--ink); }
.seg button:first-child { border-left: 0; }
.seg [aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 70px; align-items: start; padding: 50px 0 140px; }
.steps { display: flex; gap: 0; list-style: none; margin: 0 0 40px; padding: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.steps li { padding: 0 0 16px; margin-right: 34px; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; position: relative; }
.steps li b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 13px; margin-right: 8px; }
.steps li.done { color: var(--ink); } .steps li.done b { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.steps li.now { color: var(--ink); } .steps li.now::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); }
.step h2 { font-size: clamp(30px, 3vw, 46px); letter-spacing: -.035em; margin-bottom: 24px; }
.step-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; align-items: center; }
.summary { position: sticky; top: 110px; padding: 30px; background: var(--bg-2); display: grid; gap: 14px; }
.summary h3 { font-size: 22px; letter-spacing: -.02em; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15.5px; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; text-align: right; color: var(--ink); font-weight: 600; }
.summary .tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px solid var(--ink); padding-top: 14px; font-weight: 800; font-size: 22px; color: var(--ink); }
.demo-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--red-soft); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.demo-note b { color: var(--red-t); }
.okbox { padding: 40px; background: var(--ok-soft); display: grid; gap: 14px; }
.okbox h2 { font-size: clamp(32px, 3.4vw, 52px); letter-spacing: -.04em; }
.okbox .answer { overflow-wrap: anywhere; }
.okbox .answer a { text-decoration: underline; text-underline-offset: 3px; }
.okmark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.mail { border: 1px solid var(--line-2); background: var(--bg); font-size: 15.5px; }
.mail header { padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.mail header b { color: var(--ink); }
.mail div { padding: 18px; display: grid; gap: 10px; }
/* ticket */
.ticket { display: grid; grid-template-columns: 1fr 230px; background: #0B203D; color: #fff; position: relative; overflow: hidden; }
.ticket .tl { padding: 34px; display: grid; gap: 10px; align-content: start; border-right: 2px dashed rgba(255, 255, 255, .25); }
.ticket .tl .lab { color: var(--red-l); }
.ticket h3 { color: #fff; font-size: 30px; letter-spacing: -.03em; line-height: 1.08; }
.ticket dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.ticket dt { color: rgba(255, 255, 255, .6); } .ticket dd { margin: 0; font-weight: 600; }
.ticket .tr { display: grid; place-items: center; align-content: center; gap: 10px; padding: 24px; background: #fff; color: #0B203D; }
.ticket .tr svg, .ticket .tr img { width: 170px; height: 170px; }
.ticket .code { font-family: ui-monospace, Menlo, monospace; font-size: 15px; letter-spacing: .12em; font-weight: 700; }
/* sheet (modal) */
.sheet-bg { position: fixed; inset: 0; z-index: 95; background: rgba(8, 24, 46, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .2s ease; }
.sheet { width: min(680px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 22px; padding: 34px; background: var(--glass-bg); }
/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; padding-bottom: 6px; }
.cal button { aspect-ratio: 1; border: 1.5px solid var(--line-2); font-weight: 700; font-size: 17px; color: var(--ink); display: grid; place-items: center; transition: all .2s; }
.cal button:hover:not([disabled]) { border-color: var(--ink); }
.cal button[disabled] { opacity: .3; cursor: not-allowed; border-style: dashed; }
.cal button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 700; font-size: 19px; color: var(--ink); }
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slots button { height: 52px; padding: 0 22px; border: 1.5px solid var(--line-2); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.slots button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.slots button[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
/* demo payment screen */
.sheet .bankpage, .sheet .ticket, .sheet .okbox { clear: both; }
.bankpage { max-width: 520px; margin: 0 auto; border: 1.5px solid var(--line-2); padding: 34px; display: grid; gap: 16px; text-align: center; background: var(--bg); }
.bankpage .amt { font-size: 52px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }

/* prayer page */
.pt-hero .w { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 50px 80px; align-items: end; }
.pt-panel { padding: 28px; border-radius: 22px; }
.pt-panel .times { list-style: none; margin: 0; padding: 0; }
.pt-panel .times li { display: flex; justify-content: space-between; padding: 13px 4px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 17px; color: rgba(255, 255, 255, .85); }
.pt-panel .times li:first-child { border-top: 0; }
.pt-panel .times b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 20px; }
.pt-panel .times li.past { opacity: .5; }
.pt-panel .times li.on { background: rgba(255, 255, 255, .14); margin: 0 -12px; padding: 13px 16px; border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); color: #fff; font-weight: 700; }
.pt-panel .times li.on + li { border-top-color: transparent; }
.pt-panel .big { font-size: 15px; color: rgba(255, 255, 255, .8); margin-bottom: 18px; }
.pt-panel .big strong { display: block; font-size: 48px; letter-spacing: -.04em; line-height: 1; color: #fff; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pt-city { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.pt-city select { height: 52px; padding: 0 16px; border-radius: 4px; border: 0; background: #fff; color: #0B203D; font-weight: 700; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); }
.pt-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 16px; }
.pt-table th, .pt-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pt-table thead th { background: var(--bg-2); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pt-table tr.today td { background: var(--red-soft); color: var(--ink); font-weight: 700; }
.pt-table tr.today td:first-child { box-shadow: inset 4px 0 0 var(--red); }

/* search */
.search-ov { position: fixed; inset: 0; z-index: 96; background: rgba(8, 24, 46, .35); -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%); display: grid; justify-items: center; align-items: start; padding: 11vh 16px 16px; animation: fade .2s ease; }
.search-box { width: min(760px, 100%); border-radius: 22px; overflow: hidden; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 24px; border-bottom: 1px solid var(--line); }
.search-field input { flex: 1; height: 58px; border: 0; background: none; outline: none; font-size: 21px; font-weight: 600; min-width: 0; color: var(--ink); }
.search-res { max-height: 58vh; overflow: auto; }
.sr-item { display: grid; gap: 4px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.sr-item b { font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.sr-item p { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-item small { color: var(--red-t); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sr-item[aria-selected="true"], .sr-item:hover { background: rgba(127, 140, 160, .1); }
.sr-all { display: block; padding: 16px 24px; color: var(--red-t); font-weight: 700; }
.search-hint { padding: 14px 24px; font-size: 13.5px; color: var(--muted); }
.row mark, .sr-item mark { background: var(--red-soft); color: var(--ink); padding: 0 2px; }
.search-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 70px; padding: 60px 0 140px; }
.search-filters { display: grid; gap: 30px; align-content: start; position: sticky; top: 110px; }
.search-filters h2 { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-t); margin-bottom: 10px; }
.search-filters label { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 15.5px; cursor: pointer; }
.search-filters label span { margin-left: auto; color: var(--muted); font-size: 13.5px; }
.search-filters input { accent-color: var(--red-d); width: 18px; height: 18px; }
.search-count { color: var(--muted); margin-bottom: 18px; }

/* ------------------------------------------------------------------ footer */
.foot { background: #0B203D; color: rgba(255, 255, 255, .74); }
:root[data-theme="dark"] .foot { background: #071629; }
.foot-cta { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-cta a { padding: 70px 0 64px; display: grid; gap: 10px; }
.foot-cta a + a { padding-left: 50px; border-left: 1px solid rgba(255, 255, 255, .12); }
.foot-cta .lab { color: var(--red-l); }
.foot-cta b { font-size: clamp(32px, 3.4vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; transition: color .25s; }
.foot-cta a:hover b { color: var(--red-l); }
.foot-in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 64px 0 50px; }
.foot .brand { color: #fff; }
.foot-brand p { margin-top: 18px; max-width: 28em; font-size: 15.5px; }
.foot h2 { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; }
.foot a:hover { color: #fff; }
.news-f { display: flex; margin-top: 22px; border-bottom: 1.5px solid rgba(255, 255, 255, .4); max-width: 380px; }
.news-f input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; padding: 12px 0; font-size: 16px; }
.news-f input::placeholder { color: rgba(255, 255, 255, .5); }
.news-f button { color: var(--red-l); font-weight: 700; }
.news-ok { margin-top: 12px; color: #9fe0b8; font-size: 15px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 36px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }

/* concept page */
.metric { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 30px 0 60px; }
.metric div { padding: 28px; background: var(--bg); }
.metric b { display: block; font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.metric .bad { color: var(--red-t); } .metric .good { color: var(--ok); }
.metric span { color: var(--muted); font-size: 15px; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 30px 0 60px; }
.cbox { padding: 30px; background: var(--bg); display: grid; gap: 10px; align-content: start; }
.cbox h3 { font-size: 22px; }
.cbox p { color: var(--muted); font-size: 16px; }
a.cbox { transition: background .2s; } a.cbox:hover { background: var(--bg-2); } a.cbox:hover h3 { color: var(--red-t); }
.concept-prose { font-size: 18px; max-width: 760px; } .concept-prose p + p { margin-top: 14px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) { .mainnav { gap: 20px; font-size: 15px; } }
@media (max-width: 1100px) {
  .w { width: calc(100% - 48px); } .narrow { width: calc(100% - 48px); }
  .mainnav, .tools-top .sb, .tools-top [data-theme-toggle] { display: none; } .menu-b { display: inline-grid; }
  .hero-row p { grid-column: 1 / -1; } .search-xl { grid-column: 1 / -1; grid-row: 2; margin-top: 26px; } .quick { grid-column: 1 / -1; grid-row: 3; }
  .strip .w { display: flex; overflow-x: auto; scrollbar-width: none; } .strip .w > * { flex: none; min-width: 124px; } .strip .w > :first-child { min-width: 220px; }
  .qotd { grid-template-columns: 1fr; gap: 44px; padding: 0 24px; } .qotd .img { aspect-ratio: 16 / 11; margin: 0 -24px; }
  .rail { grid-auto-columns: 46%; } .tgrid4 { grid-template-columns: repeat(2, 1fr); }
  .services .w, .services.s3 .w { grid-template-columns: 1fr 1fr; } .services a { padding: 32px 22px 40px !important; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .agenda, .give-s .w, .two, .media-split, .hub, .flow, .pt-hero .w { grid-template-columns: minmax(0, 1fr); gap: 56px; } .evc:nth-child(2) .im { aspect-ratio: 16 / 10; }
  .ncards { grid-template-columns: 1fr 1fr; } .ncard:first-child { grid-column: 1 / -1; }
  .post { grid-template-columns: 1fr; gap: 60px; } .side { position: static; max-height: none; }
  .groups { grid-template-columns: 1fr; } .search-layout { grid-template-columns: 1fr; gap: 30px; } .search-filters { position: static; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .summary { position: static; } .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 58; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); border-radius: 22px; padding: 6px; }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 16px; font-size: 11.5px; font-weight: 600; color: var(--ink); }
  .tabbar [aria-current="page"] { color: var(--red-t); background: rgba(127, 140, 160, .14); }
  body { padding-bottom: 92px; } .dock { bottom: 96px; } .readbar { bottom: 96px; }
  .hero .ph, .phero .ph { background-image: var(--img-m, var(--img)); }
}
@media (max-width: 640px) {
  body { font-size: 17px; } .w, .narrow { width: calc(100% - 32px); }
  .bar-in { height: 66px; gap: 12px; } .bar.solid .bar-in { height: 62px; } .brand svg { width: 112px; } .give { display: none; } .pt-pill { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .cstrip span { display: none; } body:not(.over) main { padding-top: 99px; }
  .hero { min-height: 100svh; } .display { font-size: 54px; line-height: .98; } .hero-row { margin-top: 26px; } .hero-row p { font-size: 17px; }
  .search-xl { height: 62px; padding-left: 18px; } .search-xl button { height: 48px; padding: 0 18px; } .search-xl input { font-size: 16px; }
  .strip [data-i] b { font-size: 22px; } .strip .w > * { padding: 16px 14px; min-width: 100px; } .strip .w > :first-child { min-width: 190px; padding-left: 0; }
  .sec { padding: 100px 0; } .sec-tight { padding: 70px 0; } .sh { flex-direction: column; align-items: flex-start; margin-bottom: 40px; } .railnav { display: none; }
  .qotd { padding: 0 16px; } .qotd .img { margin: 0 -16px; } .quote::before { position: static; display: block; margin-bottom: -.35em; }
  .rail { grid-auto-columns: 78%; gap: 14px; } .tc { padding: 24px; } .tc .cal { font-size: 120px; } .tgrid4 { grid-template-columns: 1fr 1fr; gap: 12px; } .tgrid4 .tc { aspect-ratio: 4 / 5; padding: 18px; } .tgrid4 .tc b { font-size: 21px; } .tgrid4 .tc .cal { font-size: 80px; } .tgrid4 .tc .arr, .tgrid4 .tc .num { display: none; }
  .mosque-ph { height: 70vh; } .services .w, .services.s3 .w { grid-template-columns: 1fr; } .services a { padding: 26px 0 30px !important; }
  .seg { display: grid; grid-auto-columns: 1fr; width: 100%; } .seg button { height: auto; min-height: 54px; padding: 8px 6px; font-size: 14px; line-height: 1.2; }
  .pt-table th:nth-child(2), .pt-table td:nth-child(2) { display: none; } .pt-table th, .pt-table td { padding: 11px 3px; font-size: 13.5px; } .pt-table th:first-child, .pt-table td:first-child { padding-left: 8px; } .pt-table th:last-child, .pt-table td:last-child { padding-right: 8px; }
  .pt-table thead th { font-size: 9.5px; letter-spacing: 0; } .tablewrap { margin-inline: -6px; }
  .amts button { height: 66px; font-size: 21px; } .ncards { grid-template-columns: 1fr; }
  .pband { padding: 40px 0 40px; } .phero .w { padding: 130px 0 44px; } .post-top { padding-top: 34px; } .post { padding-top: 40px; }
  .qa-q { padding: 28px 22px 28px 26px; margin: 0 -16px 44px; } .qa-q::before { position: static; display: block; height: 34px; font-size: 64px; margin-bottom: 4px; }
  .readbar span:not(.sr) { display: none; } .prevnext { grid-template-columns: 1fr; } .pn.next { text-align: left; }
  .evrow { grid-template-columns: 70px 1fr; } .evrow > :last-child { grid-column: 2; justify-self: start; } .evrow .dd { font-size: 34px; }
  .part a { grid-template-columns: 50px 1fr; } .part a > :last-child { display: none; }
  .ticket { grid-template-columns: 1fr; } .ticket .tl { border-right: 0; border-bottom: 2px dashed rgba(255, 255, 255, .25); padding: 26px; }
  .sheet-bg { padding: 10px; } .sheet { padding: 20px 16px; max-height: calc(100vh - 20px); } .bankpage { padding: 24px 18px; } .bankpage .amt { font-size: 44px; } .okbox { padding: 26px; } .foot-cta { grid-template-columns: 1fr; } .foot-cta a + a { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); } .foot-cta a { padding: 44px 0; }
  .foot-in { grid-template-columns: 1fr; gap: 30px; } .metric { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero .ph, .phero .ph, .mosque-ph img { transform: none !important; } .display .ln > i { transform: none; } .reveal, [data-stagger] > * { opacity: 1; transform: none; }
}
@media print {
  .bar, .foot, .tabbar, .readbar, .side, .prevnext, .dock, .menu, .search-ov, .progress, .tags { display: none !important; }
  body { padding: 0; background: #fff; color: #000; } main { padding-top: 0 !important; } .post { display: block; padding: 0; } .prose { font-size: 12pt; }
}

/* formulieren uit het eigen aanmeldsysteem (api/) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-sec { font-size: 20px; letter-spacing: -.02em; color: var(--ink); margin-top: 10px; }
.form-help { color: var(--muted); font-size: 15.5px; }
.form [hidden] { display: none !important; }
.form .fld > .err { margin: 0; }
.tot-line { display: flex; justify-content: space-between; max-width: 420px; padding: 14px 0; border-top: 1.5px solid var(--ink); font-size: 19px; color: var(--ink); }
.amts button[data-amt] { height: 60px; font-size: 22px; }
fieldset.fld legend { margin-bottom: 4px; }
.lab.st-bevestigd, .lab.st-afgehandeld { color: var(--ok); }
.lab.st-wachtlijst, .lab.st-nieuw, .lab.st-in_behandeling { color: var(--ink); }
.lab.st-afgemeld, .lab.st-afgewezen { color: var(--muted); }
.okbox, [data-yq-form], [data-flow] { scroll-margin-top: 120px; }
.mine-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.spots-b { top: auto; bottom: 16px; }
.ev-social img { width: 100%; max-width: 280px; border-radius: 14px; margin: 6px 0 10px; display: block; }
