/* ════════════════════════  HERO  ════════════════════════ */
/* ════════════════════════════════════════════════ */
:root {
  --hero-side-offset: 1.95rem;
  --hero-nav-edge: 4rem;
  --hero-logo-size: 64px;
  --hero-rail-top: calc(var(--nav-push, 0px) - 181px - .72rem);
  --hero-cloth-gap: 8px;
  --prayer-section-width: clamp(44rem, 72vw, 66rem);
}

.ticker {
  position: fixed;
  top: calc(var(--nav-push, 0px) - 100px);
  left: 0;
  width: 100%;
  z-index: 825;
  background: transparent;
  height: 65px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 45s linear infinite;
}
.t-item {
  font-family: var(--jura);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--frost);
  padding-inline: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}
.t-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mid-slate);
  opacity: .8;
  flex-shrink: 0;
  margin-left: 2rem;
}

.prayer-copy {
  --prayer-copy-inner-x: 2.7rem;
  background: transparent;
  padding: .1rem 0 .25rem;
}
.prayer-copy .inner {
  padding: 0 var(--prayer-copy-inner-x);
}
.prayer-copy-shell {
  position: relative;
  margin-inline: calc(-1 * var(--prayer-copy-inner-x));
  padding: 2.5rem 0 2.25rem;
  border: 1px solid rgb(65 78 86 / .1);
  box-shadow: 0 28px 60px rgb(30 40 60 / .07);
  overflow: hidden;
}
.prayer-copy-shell::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgb(160 180 220 / .18), rgb(140 165 210 / .38), rgb(180 200 235 / .18));
}
.prayer-copy-shell::after {
  content: '';
  position: absolute;
  top: -8%;
  right: -2%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(200 215 240 / .30), transparent 70%);
  pointer-events: none;
}
.prayer-copy-top {
  margin-bottom: 1.5rem;
  padding: 0 2.4rem 0 calc(2.4rem + .8rem);
  position: relative;
  z-index: 1;
}
/* Context relocated below the schedule (was the 4th column of the top row) */
.prayer-copy-context {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 0 2.4rem;
  text-align: center;
}
.prayer-copy-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .78rem;
}
.prayer-copy-chapter {
  font-family: 'Jura', sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .06em;
  color: rgb(32 24 70 / .3);
  margin-bottom: .35rem;
}
.prayer-copy-kicker {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgb(120 109 92 / .9);
}
.prayer-copy-title {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.1rem, 3vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: rgb(49 43 35 / .96);
}
.prayer-copy-title em {
  font-style: italic;
  color: rgb(122 108 91 / .95);
}
.prayer-copy-lead {
  margin: 0;
  max-width: 62ch;
  font-size: .95rem;
  line-height: 1.8;
  color: rgb(90 79 64 / .92);
}
.prayer-copy-primer-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.prayer-copy-legend {
  position: relative;
  flex-shrink: 0;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'EB Garamond', Merriweather, serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(242 237 227 / .82);
  appearance: none;
  background: rgb(15 30 45 / .52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgb(242 237 227 / .14);
  border-radius: 9px;
  padding: .45rem .9rem .45rem .75rem;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.prayer-copy-legend-label {
  display: inline-flex;
  align-items: center;
}
.prayer-copy-info-panel {
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 1rem 1.2rem;
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.prayer-copy-info-panel-prompt {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'EB Garamond', Merriweather, serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.prayer-copy-info-panel-prompt[hidden] {
  display: none;
}
.prayer-copy-info-panel-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  width: 100%;
}
/* folded "Salah, the 2nd Pillar…" intro, shown only when context is opened */
.prayer-copy-pillar {
  margin: 0;
  font-family: 'EB Garamond', Merriweather, serif;
  font-size: .95rem;
  line-height: 1.7;
  text-align: center;
  color: var(--navy-deep);
}
.prayer-copy-info-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 5.5rem;
}

.prayer-copy-info-panel-body[hidden] {
  display: none;
}
.prayer-copy-info-nav {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--navy-deep);
  border-radius: 999px;
  background: var(--navy-deep);
  color: var(--frost-pure);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  transition: opacity .2s ease;
}
.prayer-copy-info-nav:hover,
.prayer-copy-info-nav:focus-visible {
  opacity: .82;
  outline: none;
}
.prayer-copy-info-entry {
  flex: 1;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  color: var(--navy-deep);
}
.prayer-copy-info-panel strong {
  color: var(--navy-deep);
}
.prayer-copy-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
  border: 1px solid rgb(140 126 108 / .26);
  border-radius: 999px;
  background: rgb(250 247 242 / .98);
  color: rgb(120 109 92 / .92);
  font-family: 'EB Garamond', Merriweather, serif;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.prayer-copy-info:hover,
.prayer-copy-info:focus-visible,
.prayer-copy-info[aria-expanded='true'],
.prayer-copy-legend:hover .prayer-copy-info,
.prayer-copy-legend[aria-expanded='true'] .prayer-copy-info {
  background: rgb(120 109 92 / .92);
  border-color: rgb(120 109 92 / .92);
  color: rgb(249 246 241 / .96);
  outline: none;
}
.prayer-copy-info--inline {
  width: 1.12rem;
  height: 1.12rem;
  font-size: .64rem;
}
.prayer-copy-guide-toggle .prayer-copy-info {
  animation: prayer-copy-pulse 1.9s ease-in-out infinite;
}
.prayer-copy-guide-toggle[aria-expanded='true'] .prayer-copy-info {
  animation: none;
}
@keyframes prayer-copy-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgb(242 237 227 / 0);
    transform: scale(1);
  }
  40% {
    box-shadow: 0 0 0 8px rgb(242 237 227 / .08);
    transform: scale(1.08);
  }
  70% {
    box-shadow: 0 0 0 12px rgb(242 237 227 / 0);
    transform: scale(1);
  }
}
.prayer-copy-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.prayer-copy-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding: 0 2.4rem 0 calc(2.4rem + .8rem);
  position: relative;
  z-index: 1;
}
.prayer-copy-note {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 300;
  letter-spacing: -.01em;
  color: rgb(98 85 68 / .9);
}
/* ── Boarding-pass redesign (eval build) ── */

/* ══ PRAYER RESTRUCTURE — airy minaret field + horizontal timeline ══════
   Replaces the boarding-pass card. The section breathes over a softly washed
   minaret backdrop; the decorated shell is dissolved so content floats on the
   field; the 5 daily prayers read as a horizontal timeline (echoing the
   minaret's horizon) and Jumu'ah gets its own navy-accented panel so it's
   never lost. IDs (#bp-pt-*, #bp-pi-*, #bp-stub-*, #bp-date-*) are preserved
   so masjid.js still populates times unchanged. (The old boarding-pass .bp-*
   CSS was removed when this replaced it.)
   KNOBS: backdrop wash alphas + position; band gap/rules; jumuah accent. */
.prayer-copy {
  background:
    linear-gradient(90deg, rgb(249 245 239 / .82) 0%, rgb(249 245 239 / .66) 50%, rgb(249 245 239 / .5) 100%),
    url('../assets/images/minaret.jpg') center 28% / cover no-repeat;
  padding: 3rem 0 3.25rem;
}
.prayer-copy-shell {
  border: none;
  box-shadow: none;
  background: transparent;
}
.prayer-copy-shell::before,
.prayer-copy-shell::after {
  display: none;
}

.pt-wrap {
  margin-top: 1.6rem;
  padding: 0 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.pt-next {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  width: fit-content;
  padding: .5rem .95rem;
  background: rgb(255 255 255 / .55);
  border-left: 3px solid var(--navy);
  font-family: var(--jura);
  font-size: 1rem;
  letter-spacing: .03em;
}
.pt-next[hidden] {
  display: none;
}
.pt-next-label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .16em;
  font-size: .68rem;
  color: var(--steel-slate);
}
.pt-next-name,
.pt-next-time-value {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
}
.pt-next-time-label {
  color: rgb(32 24 70 / .55);
  margin-right: .2rem;
}
.pt-next-loc {
  color: rgb(32 24 70 / .6);
}

.pt-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem;
  align-items: stretch;
}
.pt-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgb(65 78 86 / .3);
}
.pt-slot {
  padding: 1.05rem .6rem;
  text-align: center;
  border-right: 1px solid rgb(65 78 86 / .14);
}
.pt-slot:last-child {
  border-right: none;
}
.pt-slot-name {
  font-family: var(--jura);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(49 43 35 / .95);
  margin-bottom: .5rem;
}
.pt-slot-adhan {
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  margin-bottom: .4rem;
}
.pt-slot-iqamah {
  font-size: .76rem;
  font-weight: 600;
  color: rgb(49 43 35 / .82);
}
.pt-slot-iqamah span {
  font-weight: 800;
  color: var(--navy);
}
.pt-jumuah {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-width: 9rem;
  padding: 1rem 1.6rem;
  border-top: 3px solid var(--navy);
  background: rgb(32 24 70 / .06);
}
.pt-jumuah-day {
  font-family: var(--jura);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-slate);
  margin-bottom: .3rem;
}
.pt-jumuah-name {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.pt-jumuah-time {
  font-family: var(--sans);
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--navy);
}
.pt-jumuah-note {
  font-size: .68rem;
  letter-spacing: .03em;
  color: rgb(90 79 64 / .7);
}
.pt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--jura);
  font-size: .84rem;
}
.pt-date {
  color: rgb(49 43 35 / .9);
  font-weight: 600;
  letter-spacing: .03em;
}
.pt-app-link {
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--navy);
  text-decoration: none;
  padding: .5rem 1rem;
  border: 1.5px solid var(--navy);
  background: rgb(32 24 70 / .05);
  transition: background .18s ease, color .18s ease;
}
.pt-app-link:hover {
  background: var(--navy);
  color: var(--sand);
}
/* ══ END PRAYER RESTRUCTURE ═══════════════════════════════════════════ */

/* ── Standalone eval build: editorial Programs layout (.pe-*) ──────────────
   Sticky title/intro on the left, a scrolling numbered lane list on the
   right. Each row's photo stays fixed; only the text panel flips to reveal
   the back face. */
.pe-section {
  position: relative;
  padding: 5rem 0 6rem;
  /* warmed off the cool bright --frost-pure (#f3f7fd) to a soft warm white
     so it stops glaring after the dark hero and matches the cream surface */
  background: var(--sand);
}
.pe-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}
/* cols 2+3 rotated 90deg into stacked rows (spine over stage), both to
   the right of col 1. Text orientation flips with them — spine titles go
   vertical, ghost words go horizontal. */
.pe-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.pe-sticky {
  position: sticky;
  top: 7rem;
  align-self: start;
}
.pe-eyebrow {
  font-family: var(--cond);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}
.pe-title {
  font-family: var(--cond);
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--navy-deep);
  margin-bottom: 1.2rem;
}
.pe-sub {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--steel-slate);
  max-width: 30ch;
}
/* Top row: spine (open lane, or all lanes at rest) on the left, plus a
   right-hand column holding the open-numbers strip (the OTHER, collapsed
   lanes' number chips) with the stage stacked directly below it. The
   stage element itself is moved into/out of that column in JS
   (reflowPeSpine) so it's never wider than the space right of the open
   lane — it must not span back under the open lane. */
.pe-top-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.pe-spine {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  flex: 0 0 auto;
}
.pe-open-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1 1 auto;
  min-width: 0;
}
.pe-open-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.pe-open-numbers .pe-spine-lane {
  border-left: none;
  padding-left: 0;
}
.pe-open-numbers .pe-spine-title,
.pe-open-numbers .pe-spine-subs {
  display: none;
}
.pe-open-stage-slot {
  width: 100%;
}
.pe-open-numbers .pe-spine-head {
  flex-direction: row;
  align-items: center;
  padding-block: 0;
}
.pe-spine-lane {
  flex: 0 0 auto;
  border-left: 1px solid rgb(65 78 86 / .18);
  padding-left: 1.25rem;
  min-width: 0;
}
.pe-spine-lane:first-child {
  border-left: 1px solid rgb(65 78 86 / .18);
}
.pe-spine-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  padding-block: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}
.pe-spine-num {
  font-family: var(--cond);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--blue-slate-lt);
}
.pe-spine-title {
  writing-mode: vertical-rl;
  transform: rotate(0deg);
  font-family: var(--cond);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--blue-slate);
  white-space: nowrap;
  transition: color .2s ease;
}
.pe-spine-lane.is-open .pe-spine-title,
.pe-spine-head:hover .pe-spine-title,
.pe-spine-head:focus-visible .pe-spine-title {
  color: var(--navy-deep);
}
.pe-spine-subs {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  max-width: 0;
  max-height: none;
  overflow: hidden;
  transition: max-width .35s ease;
}
.pe-spine-lane.is-open .pe-spine-subs {
  width: 17rem;           /* fixed (not just max) so the open lane — and thus the
                             stage/image width — is constant across every category */
  max-width: 17rem;
  padding-top: .5rem;
}
/* Hard-edged chip, not bare text — a visible box signals "tap me" the way
   plain color-shift text never did. Matches the site's other brutalist
   chips (see .pt-app-link, .pt-next): square corners, border, condensed caps. */
.pe-spine-sub {
  border: 1px solid rgb(65 78 86 / .35);
  border-radius: 0;
  background: none;
  padding: .5rem .75rem;
  font-family: var(--cond);
  font-size: .95rem;         /* matches .pe-stage-body — was .78rem and barely readable */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: left;
  white-space: normal;
  line-height: 1.25;
  color: rgba(1, 43, 63, 0.65);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pe-spine-sub:hover,
.pe-spine-sub:focus-visible {
  border-color: var(--navy-deep);
  color: var(--navy-deep);
}
.pe-spine-sub.is-active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--cream, #fff);
}
/* Stage: full-width viewport below the top row. Rest state shows
   abbreviated sub titles drifting; selecting a sub swaps in a generous
   image with heading+body stacked below it. */
.pe-stage {
  position: relative;
  min-height: 20rem;
}
.pe-stage-ghosts {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .3s ease;
}
.pe-stage-ghosts.is-hidden {
  opacity: 0;
}
/* The "n / total" indicator is a mobile swipe-between-subs cue (re-shown in
   the max-width:720px block below). On desktop the subs are clickable in the
   spine, so it's redundant here — and left in the stage flow it pushed every
   multi-sub image 24px lower than single-sub ones (Outreach). Hide it so all
   program images start at the same top gap. */
.pe-stage-indicator {
  display: none;
}
/* injected by JS into .pe-right; only surfaced inside the mobile takeover */
.pe-mobile-close {
  display: none;
}
.pe-ghost-lane {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  width: 100%;
}
.pe-stage-ghost {
  font-family: var(--cond);
  font-size: 1.56rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--steel-slate);
  opacity: .5;
  white-space: nowrap;
  margin-right: var(--gap, 4px);
}
.pe-viewport-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  animation: pe-stage-fade-in .35s ease;
}
@keyframes pe-stage-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.pe-stage-image {
  display: block;
  width: 100%;
  max-width: 640px;        /* one size fits all — caps the wider open-slot so every image is the same box */
  aspect-ratio: 1.88;      /* uniform 640 x 340 box regardless of which slot the stage sits in */
  height: auto;
  margin: 0;               /* left-align with the numbers above and the text below — no stray offset */
  object-fit: cover;       /* fill the box edge-to-edge (center-crops mismatched ratios) */
  object-position: center;
  border-radius: .5rem;
  background: rgb(65 78 86 / .1);
}
.pe-stage-heading {
  font-family: var(--cond);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--navy-deep);
}
.pe-stage-body {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--steel-slate);
  max-width: 56ch;
}
.pe-stage-flip {
  position: relative;
  display: grid;
}
.pe-stage-face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.pe-stage-face--back {
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
}
.pe-stage-flip.is-flipped .pe-stage-face--front {
  opacity: 0;
  transform: scale(1.015);
  pointer-events: none;
}
.pe-stage-flip.is-flipped .pe-stage-face--back {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.pe-stage-back-body {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--steel-slate);
  max-width: 56ch;
}
.pe-stage-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.pe-stage-intro-body {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--steel-slate);
  max-width: 56ch;
}
.pe-stage-intro-body p + p {
  margin-top: 1em;
}
.pe-stage-readmore,
.pe-stage-readless {
  align-self: flex-start;
  font-family: var(--cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  color: var(--navy-deep);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.pe-stage-readmore:hover,
.pe-stage-readless:hover {
  color: var(--steel-slate);
}

/* ══ DARK BRUTALIST SLAB — programs-editorial ══════════════════════════
   Overrides the light base above. Sits between two dark photo bridges, so
   it reads as one continuous dark passage instead of a light block strobing
   between them. Base pass: dark ground + light text (nothing invisible) +
   gold accents + hard image edges. Follow-ups: mono type, thicker rules,
   starker ghosts, anchoring bg image. Delete this block to revert. */
.pe-section {
  background-color: var(--abyss);
  background-image:
    linear-gradient(105deg, rgb(17 21 20 / .95) 35%, rgb(17 21 20 / .8) 100%),
    url('../assets/images/pillar-01.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.pe-title {
  color: var(--sand);
}
.pe-sub {
  color: rgb(249 245 239 / .62);
}
.pe-spine-num {
  color: var(--gold-bright);
}
.pe-spine-title {
  color: rgb(249 245 239 / .78);
}
.pe-spine-lane.is-open .pe-spine-title,
.pe-spine-head:hover .pe-spine-title,
.pe-spine-head:focus-visible .pe-spine-title {
  color: var(--sand);
}
.pe-spine-sub {
  border-color: rgb(249 245 239 / .32);
  color: rgb(249 245 239 / .55);
}
.pe-spine-sub:hover,
.pe-spine-sub:focus-visible {
  border-color: var(--sand);
  color: var(--sand);
}
.pe-spine-sub.is-active {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--abyss);
}
.pe-spine-lane,
.pe-spine-lane:first-child {
  border-left: 2px solid rgb(249 245 239 / .32);
}
.pe-stage-ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgb(249 245 239 / .3);
  opacity: 1;
}
.pe-stage-heading {
  color: var(--sand);
}
.pe-stage-body,
.pe-stage-back-body,
.pe-stage-intro-body {
  color: rgb(249 245 239 / .68);
}
.pe-stage-readmore,
.pe-stage-readless {
  color: var(--gold-bright);
}
.pe-stage-readmore:hover,
.pe-stage-readless:hover {
  color: var(--sand);
}
.pe-stage-image {
  border-radius: 0;
}
/* Programs display/structural type keeps the site condensed voice (var(--cond),
   Saira Condensed) — the earlier terminal-mono stack read as the wrong font and
   diverged from every other section, so it was dropped. Base rules already set
   --cond on these; body copy stays sans (--sans). */
@media (max-width: 900px) {
  .pe-inner {
    grid-template-columns: 1fr;
  }
  .pe-sticky {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
  .pe-stage {
    min-height: 20rem;
  }
}

/* ── programs-editorial — mobile: vertical spine list, horizontal ghost
   marquee at rest, full-screen takeover with subnav-on-top when a lane
   is open. Reuses the existing spine/stage DOM and JS (reflowPeSpine,
   selectPeItem) — no markup or script changes, CSS-only adaptation. ── */
@media (max-width: 720px) {
  .pe-top-row {
    flex-direction: column;
  }
  .pe-spine {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .pe-spine-lane,
  .pe-spine-lane:first-child {
    width: 100%;
    border-left: 0;
    padding-left: 0;
    border-bottom: 1px solid rgb(65 78 86 / .18);
    padding-block: .65rem;
  }
  .pe-spine-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    width: 100%;
  }
  /* rest state: subs list is clipped to 0 width but was still occupying
     its full natural height (uneven lane-to-lane spacing since each
     program has a different sub count) — clip height too until open */
  .pe-spine-subs {
    max-height: 0;
  }
  .pe-spine-lane.is-open .pe-spine-subs {
    max-height: 20rem;
  }
  .pe-spine-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.4rem;
    flex: 1;
    text-align: right;
  }
  .pe-open-col {
    display: none;
  }

  /* rest-state ghost rows: animate the existing horizontal word rows into
     a slow ambient marquee instead of a static block. */
  .pe-ghost-lane {
    animation: pe-ghost-marquee-mobile 18s linear infinite;
  }
  .pe-ghost-lane:nth-child(even) {
    animation-direction: reverse;
  }
  @keyframes pe-ghost-marquee-mobile {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

  /* full-screen takeover, slides in from the left, when a lane is open */
  .pe-section.pe-lane-open .pe-right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 950;
    /* dark slab to match the home section — every text/sub color in .pe-* is a
       LIGHT tone (built for the black slab), so a frost-white panel rendered
       them white-on-white (invisible subs, "blank white panel"). */
    background: var(--abyss);
    padding: 4.2rem 1.2rem 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    /* fade in (opacity only) — a one-shot translateX keyframe with
       fill:forwards could leave the panel parked off-screen on re-render,
       reading as a blank white view. opacity can never strand it. */
    animation: pe-mobile-takeover-in .28s ease both;
  }
  @keyframes pe-mobile-takeover-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .pe-section.pe-lane-open .pe-spine-lane:not(.is-open) {
    display: none;
  }
  .pe-section.pe-lane-open .pe-spine-lane.is-open {
    border-bottom: 0;
  }
  .pe-section.pe-lane-open .pe-spine-lane.is-open .pe-spine-num::before {
    content: '\2190  ';
  }
  .pe-section.pe-lane-open .pe-spine-lane.is-open .pe-spine-subs {
    display: flex;
    flex-direction: row;
    /* override the desktop `width:14rem` sub-rail pin — at 14rem (224px) the
       row clipped every sub past the second ("other subs not showing"). Wraps
       into a chip grid instead of one blind horizontal-scroll strip, so long
       program names (After-School Girls Qur'an Class, etc.) stay legible. */
    flex-wrap: wrap;
    width: 100% !important;
    max-width: none !important;
    overflow-x: visible;
    gap: .5rem;
    position: sticky;
    top: 0;
    background: var(--abyss);
    padding: .8rem 0 1rem !important;
    z-index: 2;
  }
  .pe-section.pe-lane-open .pe-spine-sub {
    flex: 0 1 auto;
    white-space: normal;
  }
  .pe-section.pe-lane-open .pe-open-col {
    display: flex;
  }
  .pe-section.pe-lane-open .pe-open-numbers {
    display: none;
  }
  /* obvious exit from the full-screen takeover, pinned to the viewport corner */
  .pe-section.pe-lane-open .pe-mobile-close {
    display: grid;
    place-items: center;
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    z-index: 960;
    border: 1px solid rgb(65 78 86 / .28);
    border-radius: 999px;
    background: var(--frost-pure);
    color: var(--steel-slate);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }

  /* "n / total" position indicator — swipe-between-subs orientation cue */
  .pe-stage-indicator:not([hidden]) {
    display: inline-block;
    margin-bottom: .8rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgb(65 78 86 / .08);
    font-family: var(--cond);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--steel-slate);
  }
}

/* ══ EVENTS — béton brut, dark, horizontal poster scroll ══════════════════
   Posters float on a near-black ground under a spotlight (no frame/box). Newest
   is the biggest hero on the left; older posters shrink rightward while their
   rotated "rhythm" word-stack grows taller until it overtops the flyer. The
   rhythm is a static, evergreen, ambient vocabulary field (masjid.js) — the
   load-bearing texture so the section never looks thin. Own voice: --cond +
   Jura mono meta, NOT the programs ghost. --rs scales the rhythm for mobile. */
.evx {
  position: relative; --rs: 1rem;
  background: #0c0d0e; color: #f0ebe2;
  padding: 3rem 0 3.6rem; overflow: hidden;
  font-family: 'Poppins', sans-serif;
}
.evx__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgb(240 235 226 / .10) 1px, transparent 1px);
  background-size: 16.66% 100%; opacity: .7;
}
.evx__grid::after {
  content: ""; position: absolute; inset: 0;
  border-top: 1px solid rgb(240 235 226 / .10);
  border-bottom: 1px solid rgb(240 235 226 / .10);
}
.evx__top {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.4rem 1.8rem; font-family: 'Jura', ui-monospace, monospace;
}
.evx__top span {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgb(240 235 226 / .95);
}
.evx__paren {
  color: #f0ebe2;
}
.evx__paren b {
  font-weight: 600;
  padding: 0 .5em;
}

.evx__scroller {
  position: relative; display: flex; align-items: flex-end; gap: 2.4rem;
  overflow-x: auto; padding: 0 2.4rem 1rem;
  scroll-snap-type: x proximity; scrollbar-width: none;
}
.evx__scroller::-webkit-scrollbar {
  display: none;
}

.evx__item {
  flex: 0 0 auto; display: flex; align-items: flex-end; gap: .9rem;
  scroll-snap-align: start; padding-top: 6.5rem;
}
.evx__poster {
  position: relative;
  flex: 0 0 auto;
}
.evx__poster::before {
  content: ""; position: absolute; z-index: 0; inset: -38% -30% -14% -30%;
  background: radial-gradient(60% 55% at 50% 42%, rgb(255 250 240 / .14), transparent 70%);
}
.evx__img {
  position: relative; z-index: 1; display: block; width: auto; height: var(--ph, 26rem);
  box-shadow: 0 30px 60px rgb(0 0 0 / .55), 0 8px 20px rgb(0 0 0 / .4);
}
.evx__meta {
  position: absolute; z-index: 2; top: -2.3rem; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'Jura', ui-monospace, monospace; color: rgba(247, 234, 209, 0.926);
}
.evx__idx {
  font-size: .72rem;
  letter-spacing: .2em;
  color: #c9a040;
}
.evx__date {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.evx__rhythm {
  flex: 0 0 auto; display: flex; flex-direction: row; align-items: flex-end; gap: .02em;
  font-family: var(--cond); font-weight: 700; text-transform: uppercase;
}
.evx__word {
  writing-mode: vertical-rl; text-orientation: mixed;
  line-height: .82; letter-spacing: .03em; color: rgb(240 235 226 / .13);
  font-size: calc(var(--rs, 1rem) * var(--wsz, 1));
}
.evx__word.is-mid {
  color: rgb(240 235 226 / .17);
}
.evx__word.is-faint {
  color: rgb(240 235 226 / .22);
}
/* Arabic terms in the field: rotate the whole word as one run (sideways)
   so the cursive joins hold; Latin uses per-glyph "mixed" above. Never
   letter-space Arabic — it severs the joins. */
.evx__word--ar {
  text-orientation: sideways;
  font-family: 'Amiri', serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}

.evx__seeall {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  margin: 1.8rem 2.4rem 0; font-family: 'Jura', ui-monospace, monospace;
  font-weight: 600; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: #c9a040; text-decoration: none; transition: color .2s, gap .2s;
}
.evx__seeall:hover {
  color: #d4a017;
  gap: .85rem;
}

@media (max-width: 720px) {
  .evx {
    --rs: .5rem;
  }
  /* Preserve the recency ladder on mobile: keep the tiered heights (just
     scaled down) + width:auto so the bottom-aligned step-down survives,
     rather than flattening every poster to a uniform width. */
  .evx__img {
    height: calc(var(--ph, 26rem) * .62);
    width: auto;
  }
  .evx__item {
    padding-top: 4.5rem;
    gap: .5rem;
  }
  .evx__word.is-faint {
    display: none;
  }
  .evx__grid {
    background-size: 33.33% 100%;
  }
}
/* ══ END EVENTS ═══════════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  .prayer-copy {
    --prayer-copy-inner-x: 1rem;
    padding: 1.8rem 0 .15rem;
  }
  .prayer-copy .inner {
    padding: 0 var(--prayer-copy-inner-x);
  }
  .prayer-copy-shell {
    padding: 1.65rem 0 1.35rem;
  }
  .prayer-copy-top,
  .prayer-copy-foot {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .prayer-copy-foot {
    justify-content: flex-start;
  }
  .prayer-copy-top {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .prayer-copy-primer-toggle {
    justify-content: flex-start;
  }
  .prayer-copy-legend {
    transform: none;
  }
  .prayer-copy-info-panel {
    align-self: stretch;
    max-width: none;
    height: auto;
    min-height: 100px;
  }
  .prayer-copy-info-carousel {
    /* Fixed (not min-) height so the panel — and the .prayer-copy background
       behind it — never changes size as entries are browsed. Longer entries
       are clamped to fit instead of growing the box. */
    height: 9rem;
  }
  .prayer-copy-info-entry {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* prayer timeline → stack on narrow screens (daily band 2-up, Jumu'ah below) */
  /* Lighter, more even wash on mobile: the desktop L→R gradient (.82→.5) plus
     `cover` on a tall narrow viewport blew the minaret out to a near-solid
     cream field ("image not showing"). Ease the wash and top-anchor so the
     minaret silhouette reads. */
  .prayer-copy {
    /* minaret.jpg is a wide 3:2 landscape with the minaret subject sitting in
       the LEFT third (rest is empty sky) -- on a tall narrow mobile viewport,
       `cover` scales the image up so much that "center" lands in the mostly-
       empty right two-thirds, cropping the subject out entirely. Anchor left
       so the minaret stays in frame. */
    background:
      linear-gradient(180deg, rgb(249 245 239 / .60) 0%, rgb(249 245 239 / .48) 55%, rgb(249 245 239 / .40) 100%),
      url('../assets/images/minaret.jpg') left top / cover no-repeat;
  }
  .pt-wrap {
    padding: 0 1rem;
    gap: 1.1rem;
  }
  .pt-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pt-band {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgb(65 78 86 / .3);
  }
  .pt-slot {
    border-right: 1px solid rgb(65 78 86 / .14);
    border-bottom: 1px solid rgb(65 78 86 / .14);
    padding: .85rem .5rem;
  }
  .pt-slot:nth-child(2n) {
    border-right: none;
  }
  /* 5 slots in a 2-col grid leaves Isha (5th) alone with a dead gap beside it
     on its own row -- span it full-width as a closing bar instead. */
  .pt-slot:last-child {
    grid-column: 1 / -1;
    border-right: none;
  }
  .pt-slot-adhan {
    font-size: 1.5rem;
  }
  .pt-jumuah {
    min-width: 0;
  }
  .pt-foot {
    justify-content: flex-start;
    gap: .8rem;
  }
}

/* ════════════════════════  DONATE  ════════════════════════ */
.donate {
  background: rgb(32 28 24 / .68);
  padding: 6rem 0 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.donate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 75% at 22% 45%, rgb(212 160 23 / .13) 0%, transparent 72%);
  pointer-events: none;
}
.donate .inner {
  padding: 4rem 2.7rem 3.6rem;
  width: 100%;
  max-width: 1180px;
  background: rgb(255 255 255 / .025);
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(520px, 1.18fr);
  align-items: stretch;
  gap: 3.5rem;
}
.donate-header {
  position: relative;
  text-align: left;
  max-width: 470px;
  margin: 0;
  align-self: center;
  padding-top: 2.4rem;
  border-top: 1px solid rgb(255 255 255 / .08);
}
.donate-section-tag {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-50%);
  font-family: var(--cond);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0;
}
.donate-h2 {
  font-family: var(--cond);
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  color: var(--silver);
  letter-spacing: .01em;
  margin-bottom: 1.4rem;
}
.donate-h2 em {
  font-style: normal;
  color: var(--gold-bright);
}
.donate-h2 .arabic {
  font-family: var(--serif);
  color: var(--gold-bright);
  font-weight: 700;
}
.donate-sub {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgb(242 237 227 / .65);
}
.donate-cards {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: .4rem;
  background: rgb(65 78 86 / .1);
}
.donate-card {
  position: relative;
  padding: 1.2rem 1.45rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: none;
  transition: filter .25s, transform .25s, background .25s;
  color: inherit;
  text-decoration: none;
}
.donate-card:first-child {
  min-height: 220px;
  padding: 2.4rem 2.2rem;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
}
.donate-card:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
}
.donate-card--gold {
  background: var(--steel-slate);
}
.donate-card--teal {
  background: var(--mid-slate);
}
.donate-card--dark {
  background: var(--dark-plain);
}
.donate-card--darker {
  background: var(--abyss);
}
.donate-card--gold::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--gold-bright);
}
.donate-card--dark,
.donate-card--darker {
  opacity: .86;
}
.donate-card--dark:hover,
.donate-card--darker:hover {
  opacity: 1;
}
.donate-card-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 0;
  color: rgb(242 237 227 / .6);
  flex-shrink: 0;
}
.donate-card:first-child .donate-card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
}
.donate-card--gold .donate-card-icon {
  color: rgb(228 235 246 / .5);
}
.donate-card-name {
  font-family: var(--cond);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--frost-lt);
  margin-bottom: 0;
  min-width: 160px;
}
.donate-card:first-child .donate-card-name {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: .95;
  min-width: 0;
  margin-bottom: .55rem;
}
.donate-card--gold .donate-card-name {
  color: var(--frost-lt);
}
.donate-card-desc {
  font-size: .85rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgb(242 237 227 / .6);
  margin: 0;
  flex: 1;
}
.donate-card:first-child .donate-card-desc {
  max-width: 34ch;
  margin-bottom: 1rem;
}
.donate-card--gold .donate-card-desc {
  color: rgb(228 235 246 / .72);
}
.donate-card-detail {
  font-family: var(--cond);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgb(242 237 227 / .35);
  margin-bottom: 1.2rem;
}
.donate-card--gold .donate-card-detail {
  color: rgb(228 235 246 / .4);
}
.donate-card-cta {
  font-family: var(--cond);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-bottom: 1px solid rgb(212 160 23 / .55);
  padding-bottom: 2px;
  display: inline-block;
  align-self: center;
  margin-left: auto;
  transition: color .2s, border-color .2s;
}
.donate-card:first-child .donate-card-cta {
  align-self: flex-start;
  margin-left: 0;
}
.donate-card--gold .donate-card-cta {
  color: var(--gold-bright);
  border-color: rgb(212 160 23 / .55);
}
.donate-card-cta:hover {
  color: var(--frost);
  border-color: var(--frost);
}
.donate-card--gold .donate-card-cta:hover {
  color: #fff;
  border-color: #fff;
}

/* ── donate cards — mobile: 2-col equal-height grid, no featured-card
   treatment (provisional per Sarah, may revise once visible) ── */
@media (max-width: 720px) {
  .donate .inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.2rem 2.5rem;
    gap: 2rem;
  }
  .donate-header {
    max-width: none;
    padding-top: 1.4rem;
  }
  .donate-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
    background: transparent;
  }
  .donate-card,
  .donate-card:first-child {
    min-height: 0;
    padding: 1.4rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .donate-card-icon,
  .donate-card:first-child .donate-card-icon {
    width: 22px;
    height: 22px;
    margin-bottom: .8rem;
  }
  .donate-card-name,
  .donate-card:first-child .donate-card-name {
    font-size: 1rem;
    line-height: 1.2;
    min-width: 0;
    margin-bottom: .4rem;
  }
  .donate-card-desc,
  .donate-card:first-child .donate-card-desc {
    font-size: .78rem;
    max-width: none;
    margin-bottom: .8rem;
  }
  .donate-card-cta,
  .donate-card:first-child .donate-card-cta {
    align-self: flex-start;
    margin-left: 0;
    margin-top: auto;
  }
}




/* ════════════════════════  SITE CONTENT BACKGROUND (between hero and footer)  ════════════════════════ */
.site-content-bg {
  position: relative;
  isolation: isolate;
  background-color: #ece7e1;
  background-image:
    radial-gradient(ellipse 70% 40% at 12% 8%, rgb(255 255 255 / .95), transparent 75%),
    radial-gradient(ellipse 55% 80% at 78% 22%, rgb(120 108 92 / .35), transparent 78%),
    radial-gradient(ellipse 90% 50% at 30% 48%, rgb(255 255 255 / .85), transparent 74%),
    radial-gradient(ellipse 60% 65% at 88% 62%, rgb(130 118 102 / .32), transparent 76%),
    radial-gradient(ellipse 75% 45% at 15% 82%, rgb(255 255 255 / .8), transparent 76%),
    radial-gradient(ellipse 65% 55% at 60% 95%, rgb(115 102 86 / .32), transparent 78%),
    linear-gradient(125deg,
      rgb(255 255 255 / .7) 0%,
      rgb(150 138 122 / .25) 30%,
      rgb(255 255 255 / .65) 60%,
      rgb(140 128 112 / .25) 100%),
    linear-gradient(180deg, #f2efe9 0%, #e7e1d8 50%, #ece7e1 100%);
  background-attachment: fixed;
}
.site-content-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Temporarily disabled — cross-hatch texture
  background-image:
    repeating-linear-gradient(125deg, rgb(255 255 255 / .12) 0px, transparent 2px, transparent 14px),
    repeating-linear-gradient(35deg, rgb(0 0 0 / .03) 0px, transparent 2px, transparent 18px);
  */
  pointer-events: none;
}

/* ── Section bridge: parallax interstitial between major topic sections ── */
.section-bridge {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.section-bridge__img {
  position: absolute;
  inset: -20% 0;
  height: 140%;
  width: 100%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.section-bridge__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / .25) 50%, rgb(0 0 0 / .45) 100%);
}
.section-bridge__copy {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  padding: 0 1.5rem;
}
.section-bridge__num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--gold-bright);
  margin-bottom: .5rem;
}
.section-bridge__kicker {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: .6rem;
}
.section-bridge__line {
  font-family: 'EB Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.3;
}
@media (max-width: 720px) {
  .section-bridge {
    height: 280px;
  }
  .section-bridge__line {
    font-size: 1.25rem;
  }
}

.section-bridge__watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'AAL Maghribi', 'Amiri', serif;
  font-size: 13rem;
  line-height: 1;
  color: rgb(255 255 255 / .3);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 720px) {
  .section-bridge__watermark {
    font-size: 5.5rem;
  }
}

/* ══ BÉTON BRUT IN DAYLIGHT — prayer departure board ══════════════════════
   The corrected translation: béton brut is a POSTURE not a palette. The
   prayer section keeps its dawn register (airy minaret field, ink-on-light)
   and receives the events section's STRUCTURE: monumental condensed times,
   a hard top rule, hairline seams, numbered slots, mono meta, hollow ghost
   furniture. No darkening. No gold (per the section's no-gold rule).
   Single additive block — delete to revert to the soft timeline. */

.prayer-copy .inner {
  position: relative;
}

/* ghost furniture — hollow vertical word on the field's right edge */
.prayer-copy .inner::after {
  content: "FAJR TO ISHA";
  position: absolute;
  top: .5rem;
  right: -1rem;
  writing-mode: vertical-rl;
  font-family: var(--cond);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 7vh, 5.2rem);
  line-height: .82;
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(32 24 70 / .14);
  pointer-events: none;
}

/* chapter numeral becomes monumental hollow structure */
.prayer-copy-chapter {
  font-family: var(--cond);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: 800;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(32 24 70 / .3);
  margin-bottom: .1rem;
}

/* mono parenthetical kicker */
.prayer-copy-kicker {
  font-family: 'Jura', ui-monospace, monospace;
  letter-spacing: .26em;
  color: rgb(49 43 35 / .62);
}
.prayer-copy-kicker::before {
  content: "(  ";
}
.prayer-copy-kicker::after {
  content: "  )";
}

/* monumental condensed title; the emphasis is the HEAVIEST thing on the
   field (beton logic: importance = mass), set solid navy against the ink */
.prayer-copy-title {
  font-family: var(--cond);
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.prayer-copy-title em {
  font-style: normal;
  font-weight: 900;
  color: var(--navy);
}

/* NOW chip — hard-edged mono */
.pt-next {
  background: rgb(255 255 255 / .72);
  border-left: 4px solid var(--navy);
  font-family: 'Jura', ui-monospace, monospace;
}
.pt-next-label {
  letter-spacing: .26em;
}

/* the board — hard top rule, numbered slots, monumental times */
.pt-band {
  border-top: 2px solid rgb(49 43 35 / .85);
  counter-reset: ptslot;
}
.pt-slot {
  counter-increment: ptslot;
}
.pt-slot-name {
  font-family: 'Jura', ui-monospace, monospace;
  letter-spacing: .2em;
}
.pt-slot-name::before {
  content: counter(ptslot, decimal-leading-zero) "  ";
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .12em;
  color: rgb(32 24 70 / .45);
}
.pt-slot-adhan {
  font-family: var(--cond);
  font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: .01em;
}

/* Jumu'ah — the board's framed panel */
.pt-jumuah {
  border: 1px solid rgb(32 24 70 / .22);
  border-top: 3px solid var(--navy);
}
.pt-jumuah-day {
  font-family: 'Jura', ui-monospace, monospace;
  letter-spacing: .26em;
}
.pt-jumuah-time {
  font-family: var(--cond);
  font-size: clamp(2.1rem, 2.8vw, 2.7rem);
  font-weight: 800;
}

/* foot — mono meta + hard-edged app link */
.pt-date {
  font-family: 'Jura', ui-monospace, monospace;
}
.pt-app-link {
  border-width: 1px;
  border-radius: 0;
  font-family: 'Jura', ui-monospace, monospace;
  letter-spacing: .14em;
}
/* ══ END BÉTON BRUT IN DAYLIGHT ═══════════════════════════════════════ */

/* ══ LIGHTBOX + EASTER EGG (moved off inline style attributes for CSP) ═ */
#ev-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgb(0 0 0 / .88);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.ev-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgb(0 0 0 / .6);
}
#ee-tagline {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
}
.ee-tagline-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 2px 40px rgb(0 0 0 / .6);
  pointer-events: none;
  user-select: none;
}
.ee-tagline-text em {
  font-style: normal;
  color: var(--alice-blue, #e4ebf6);
}
/* ══ END LIGHTBOX + EASTER EGG ══════════════════════════════════════ */
