/* MULAN FCT Abuja Branch — "Light of Justice" */

:root {
  --night: #0A2416;
  --night-2: #0F2E1D;
  --night-3: #143826;
  --mulan: #1F6B3C;
  --mulan-deep: #17532E;
  --lime: #9BC53D;
  --gold: #C8A24B;
  --gold-soft: #E3CC8E;
  --stone: #EEF1EA;
  --paper: #F7F9F4;
  --ink: #10231A;
  --ink-soft: #3D5446;
  --mist: #CFDCCF;
  --on-night: #E8EFE6;
  --on-night-soft: #A9BCAE;
  --line: rgba(16, 35, 26, .14);
  --line-night: rgba(232, 239, 230, .14);

  --f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 14px;
  --arch: 999px 999px 14px 14px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--mulan) var(--stone); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01", "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--lime); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
input, textarea { caret-color: var(--mulan); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mulan); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.measure { max-width: 68ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Utility bar ---------- */
.util {
  background: var(--night);
  color: var(--on-night-soft);
  font-size: .8125rem;
  border-bottom: 1px solid var(--line-night);
}
.util .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 38px; }
.util-dates { display: flex; gap: 12px; align-items: center; white-space: nowrap; overflow: hidden; }
.util-dates .hijri { color: var(--gold-soft); }
.util-sep { width: 7px; height: 7px; flex: none; color: var(--gold); opacity: .8; }
.prayers { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.prayers li { display: flex; gap: 6px; align-items: baseline; }
.prayers li span { opacity: .75; }
.prayers li.next { color: var(--lime); }
.prayers li.next span { opacity: 1; }
.prayers-note { opacity: .6; }
@media (max-width: 860px) {
  .prayers li:not(.next) { display: none; }
  .prayers-note { display: none; }
  .util-dates .greg { display: none; }
  .util-dates .util-sep:first-of-type { display: none; }
}

/* ---------- Eid / Ramadan banner ---------- */
.season-banner { display: none; background: var(--gold); color: var(--night); font-weight: 600; font-size: .9rem; text-align: center; padding: 8px var(--gutter); }
.season-eid .season-banner, .season-ramadan .season-banner { display: block; }
.season-ramadan .season-banner { background: var(--night-3); color: var(--gold-soft); border-bottom: 1px solid var(--line-night); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--night) 94%, transparent);
  color: var(--on-night);
  border-bottom: 1px solid var(--line-night);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(10px) saturate(1.2); }
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin-right: auto; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; }
.brand-name small { font-size: .75rem; color: var(--on-night-soft); }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { color: var(--on-night); text-decoration: none; font-size: .9375rem; padding: 8px 12px; border-radius: 8px; position: relative; }
.nav a[aria-current="page"] { color: var(--lime); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .nav a { transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
  .nav a:hover { background: rgba(232, 239, 230, .07); }
}
.menu-btn { display: none; }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: transparent; color: var(--on-night); border: 1px solid var(--line-night);
    border-radius: 999px; padding: 9px 16px; font: 500 .9375rem var(--f-body); cursor: pointer;
  }
  .menu-btn .bars { width: 18px; height: 10px; position: relative; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 240ms var(--ease-out); }
  .menu-btn .bars::before { top: 0; }
  .menu-btn .bars::after { bottom: 0; }
  .menu-open .menu-btn .bars::before { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .menu-btn .bars::after { transform: translateY(-4.25px) rotate(-45deg); }
  .site-header .header-cta { display: none; }
}
.mobile-nav {
  position: fixed; inset: 0; top: var(--hdr, 110px); z-index: 39;
  background: var(--night); color: var(--on-night);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 420ms var(--ease-drawer), visibility 0s linear 420ms;
  overflow-y: auto;
}
.menu-open .mobile-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 420ms var(--ease-drawer), visibility 0s; }
.mobile-nav ul { list-style: none; margin: 0; padding: 24px var(--gutter) 48px; }
.mobile-nav li { border-bottom: 1px solid var(--line-night); }
.mobile-nav a { display: block; padding: 16px 0; color: inherit; text-decoration: none; font-family: var(--f-display); font-size: 1.9rem; }
.mobile-nav a[aria-current="page"] { color: var(--lime); }
.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--mulan); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font: 600 .975rem/1 var(--f-body);
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-lime { --bg: var(--lime); --fg: var(--night); }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn-ghost-light { --bg: transparent; --fg: var(--on-night); border-color: rgba(232, 239, 230, .4); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--mulan-deep); }
  .btn-lime:hover { --bg: #AFD456; }
  .btn-ghost:hover, .btn-ghost-light:hover { --bg: rgba(155, 197, 61, .12); }
}
.btn svg { width: 16px; height: 16px; }
.header-cta { padding: 11px 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 78% 40%, var(--night-3) 0%, var(--night) 62%);
  color: var(--on-night);
  overflow: hidden;
  isolation: isolate;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(86vh, 820px); padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { color: #F4F7F1; margin-bottom: .35em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--on-night-soft); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { margin-top: 40px; display: flex; gap: 28px; flex-wrap: wrap; color: var(--on-night-soft); font-size: .9rem; }
.hero-meta strong { display: block; color: var(--on-night); font-weight: 600; }
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.hero-art svg.pattern { position: absolute; inset: -12%; width: 124%; height: 124%; }
.pattern path { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .55; }
.pattern path.p-lime { stroke: var(--lime); opacity: .35; }
.pattern .halo { fill: url(#halo); stroke: none; opacity: 1; }
.hero-art .medallion { position: absolute; left: 50%; top: 50%; width: 58%; transform: translate(-50%, -50%); filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .45)); }
.hero-crescent { display: none; }
.season-ramadan .hero-crescent { display: block; position: absolute; right: 6%; top: 4%; width: 15%; color: var(--gold-soft); }
.iftar { display: none; }
.season-ramadan .iftar { display: inline-flex; gap: 8px; align-items: baseline; margin-top: 18px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(227, 204, 142, .35); color: var(--gold-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { order: -1; max-width: 340px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-night { background: var(--night); color: var(--on-night); }
.section-night a { color: var(--lime); }
.section-paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--ink-soft); margin: 0; max-width: 56ch; }
.section-night .section-head p { color: var(--on-night-soft); }
.section-head h2 { margin: 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

.page-hero { background: var(--night); color: var(--on-night); padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); color: #F4F7F1; max-width: 18ch; }
.page-hero p { color: var(--on-night-soft); max-width: 60ch; font-size: 1.125rem; margin: 0; }
.page-hero .crumbs { font-size: .875rem; color: var(--on-night-soft); margin-bottom: 20px; }
.page-hero .crumbs a { color: var(--on-night-soft); }
.page-hero-pattern { position: absolute; right: -80px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); opacity: .5; pointer-events: none; }
@media (max-width: 760px) { .page-hero-pattern { width: 300px; height: 300px; right: -140px; opacity: .3; } }

/* ---------- Handover band ---------- */
.handover { background: var(--paper); border-bottom: 1px solid var(--line); }
.handover .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding-block: 36px; }
.handover-date { font-family: var(--f-display); font-size: 1.25rem; color: var(--mulan); line-height: 1.2; }
.handover-date strong { display: block; font-size: 2.6rem; font-weight: 600; line-height: 1; }
.handover p { margin: 0; color: var(--ink-soft); max-width: 70ch; }
.handover p strong { color: var(--ink); }
@media (max-width: 860px) { .handover .wrap { grid-template-columns: 1fr; } }

/* ---------- Pillars (arches) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.pillar figure { margin: 0; }
.pillar .arch { border-radius: var(--arch); overflow: hidden; aspect-ratio: 3 / 4; background: var(--mist); }
.pillar .arch img { width: 100%; height: 100%; object-fit: cover; }
.pillar h3 { margin-top: 22px; }
.pillar p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar .arch { aspect-ratio: 4 / 3.4; }
}

/* Image clip reveal */
.js .reveal { clip-path: inset(100% 0 0 0); }
.js .reveal.in { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease-in-out); }
.js .reveal img { transform: scale(1.06); transition: transform 1400ms var(--ease-out); }
.js .reveal.in img { transform: none; }
.js .pillar:nth-child(2) .reveal.in { transition-delay: 80ms; }
.js .pillar:nth-child(3) .reveal.in { transition-delay: 160ms; }

/* ---------- Programmes timeline ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 44px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 1px; background: var(--line-night); }
.timeline { --rail: 0; }
.timeline::after { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--lime), var(--gold)); transform-origin: top; transform: scaleY(var(--rail)); }
.no-js .timeline, .reduced .timeline { --rail: 1; }
.timeline > li { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 260px); gap: 12px 40px; padding-block: 28px; border-bottom: 1px solid var(--line-night); }
.timeline > li:last-child { border-bottom: 0; }
.timeline .node { position: absolute; left: -44px; top: 36px; width: 23px; height: 23px; color: var(--gold); background: var(--night); }
.timeline .when { font-family: var(--f-display); font-size: 1.35rem; color: var(--gold-soft); line-height: 1.25; }
.timeline h3 { margin-bottom: 6px; color: #F4F7F1; }
.timeline p { margin: 0; color: var(--on-night-soft); }
.timeline .thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; align-self: start; }
.timeline .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .timeline > li { grid-template-columns: 1fr; }
  .timeline .thumb { max-width: 420px; }
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.lead-story a { color: inherit; text-decoration: none; display: block; }
.lead-story .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.lead-story img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.lead-story h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 500; margin: 20px 0 10px; }
.lead-story p { color: var(--ink-soft); }
.story-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.story-list li { border-bottom: 1px solid var(--line); }
.story-list a { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 18px 0; color: inherit; text-decoration: none; align-items: center; }
.story-list .t { width: 92px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--mist); }
.story-list .t.mono { display: grid; place-items: center; background: var(--night); }
.story-list .t.mono svg { width: 70%; }
.story-list .t img { width: 100%; height: 100%; object-fit: cover; }
.story-list h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; line-height: 1.35; margin: 4px 0 0; letter-spacing: 0; }
time, .date { font-size: .8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.section-night time { color: var(--on-night-soft); }
@media (hover: hover) and (pointer: fine) {
  .lead-story a:hover img { transform: scale(1.03); }
  .story-list a h4 { transition: color 160ms var(--ease-out); }
  .story-list a:hover h4 { color: var(--mulan); }
}
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }

/* News archive cards */
.archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.archive article a { color: inherit; text-decoration: none; display: block; }
.archive .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.archive .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.archive .frame.mono { display: grid; place-items: center; background: var(--night); }
.archive .frame.mono svg { width: 38%; opacity: .9; }
.archive h3 { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; margin: 14px 0 6px; letter-spacing: 0; }
.archive .cat { display: inline-block; font-size: .8125rem; color: var(--mulan); font-weight: 600; margin-right: 10px; }
@media (hover: hover) and (pointer: fine) { .archive a:hover .frame img { transform: scale(1.03); } }
@media (max-width: 960px) { .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .archive { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font: 500 .9rem var(--f-body); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.filters button:active { transform: scale(.97); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Article */
.article { padding-block: clamp(48px, 7vw, 96px); }
.article .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; }
.article-body { font-size: 1.125rem; max-width: 70ch; }
.article-body h2 { font-size: 1.9rem; margin-top: 1.6em; }
.article-body blockquote { margin: 1.6em 0; padding: 0 0 0 24px; border-left: 1px solid var(--gold); font-family: var(--f-display); font-size: 1.5rem; line-height: 1.35; color: var(--mulan-deep); font-style: italic; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: .35em; }
.article-hero-img { border-radius: var(--radius); overflow: hidden; margin: 0 0 40px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 40px 0; }
.gallery img { border-radius: 10px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.article aside { font-size: .9375rem; color: var(--ink-soft); }
.article aside .box { position: sticky; top: 110px; border-top: 1px solid var(--line); padding-top: 20px; }
.article aside h4 { font-family: var(--f-body); font-size: .9375rem; font-weight: 600; color: var(--ink); margin: 0 0 10px; letter-spacing: 0; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.share a { font-size: .875rem; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 28px; }
.prevnext a { color: inherit; text-decoration: none; }
.prevnext small { display: block; color: var(--ink-soft); }
.prevnext strong { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.prevnext .next { text-align: right; }
@media (max-width: 900px) { .article .wrap { grid-template-columns: 1fr; gap: 32px; } .article aside .box { position: static; } }

/* ---------- Felicitations marquee ---------- */
.marquee-band { background: var(--mulan); color: #F4F7F1; padding-block: 28px; position: relative; }
.marquee-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; font-size: .9rem; }
.marquee-head h2 { font-size: 1.4rem; margin: 0; }
.marquee-toggle { font: 500 .875rem var(--f-body); color: inherit; background: transparent; border: 1px solid rgba(244, 247, 241, .45); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee-band.paused .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; gap: 18px; padding-right: 18px; white-space: nowrap; font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.65rem); }
.marquee li small { font-family: var(--f-body); font-size: .9rem; opacity: .8; }
.marquee li svg { width: 14px; height: 14px; color: var(--gold-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 8px 0; counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: block; font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--mulan); margin-bottom: 14px; }
.steps h3 { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); font-size: .975rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding-block: clamp(64px, 8vw, 110px); }
.cta-band h2 { color: #F4F7F1; margin-bottom: .3em; }
.cta-band p { color: var(--on-night-soft); margin: 0; max-width: 58ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.person { perspective: 900px; }
.person .card { transform-style: preserve-3d; will-change: transform; }
.person .ph { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.person .ph.mono { display: grid; place-items: center; background: linear-gradient(160deg, var(--night-3), var(--night)); color: var(--gold-soft); font-family: var(--f-display); font-size: 3rem; }
.person .ph.awaiting { background: repeating-linear-gradient(135deg, var(--paper) 0 10px, var(--stone) 10px 20px); color: var(--ink-soft); font-family: var(--f-body); font-size: .9rem; text-align: center; padding: 20px; border: 1px dashed var(--mist); }
.person h3 { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin: 16px 0 2px; line-height: 1.35; }
.person p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.person.lead { grid-column: span 2; }
.person.lead .ph { aspect-ratio: 5 / 4.4; }
@media (max-width: 960px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } .person.lead { grid-column: span 2; } }

.tbc { display: inline-block; font-size: .75rem; font-weight: 600; color: #7A5A12; background: #F5ECD3; border-radius: 999px; padding: 2px 9px; vertical-align: middle; }
.section-night .tbc { background: rgba(227, 204, 142, .16); color: var(--gold-soft); }

/* ---------- Content pages ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.photo-arch { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; }
.photo-arch img, .photo-round img { width: 100%; height: 100%; object-fit: cover; }
.photo-round { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--line); padding-top: 32px; }
.values h3 { font-size: 1.6rem; }
.values p { color: var(--ink-soft); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.committee { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.committee li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.committee li span { color: var(--ink-soft); }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.note h3 { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
.note p:last-child { margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; color: var(--ink-soft); font-size: .875rem; margin-bottom: 4px; }
.contact-list a, .contact-list address { font-style: normal; font-size: 1.125rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Form placeholder */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9375rem; font-weight: 500; }
.form input, .form select, .form textarea { font: 400 1rem var(--f-body); padding: 13px 14px; border-radius: 10px; border: 1px solid var(--mist); background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--mulan); outline-offset: 1px; border-color: transparent; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.form fieldset[disabled] { opacity: .65; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; color: var(--mulan); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-soft); font-size: .9375rem; border-top: 1px solid var(--line-night); }
.site-footer .wrap { padding-block: 64px 28px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-top h2 { font-family: var(--f-body); font-size: .9375rem; font-weight: 600; color: var(--on-night); margin-bottom: 14px; letter-spacing: 0; }
.foot-top ul { list-style: none; margin: 0; padding: 0; }
.foot-top li { margin-bottom: 8px; }
.site-footer a { color: var(--on-night-soft); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.motto { font-family: var(--f-display); font-size: 1.5rem; color: var(--gold-soft); font-style: italic; margin: 18px 0 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-night); font-size: .8125rem; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Ramadan theme tweaks ---------- */
.season-ramadan .hero { background: radial-gradient(90% 80% at 80% 10%, #1B3A2C 0%, #061A10 70%); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { clip-path: none; }
  .js .reveal img { transform: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; row-gap: 8px; }
  .marquee-toggle { display: none; }
  .timeline { --rail: 1; }
}
.page-hero time { color: var(--on-night-soft); }

/* ================= High-motion layer ================= */
.curtain { position: fixed; inset: 0; z-index: 200; background: radial-gradient(70% 60% at 50% 50%, var(--night-3), var(--night)); display: grid; place-items: center; clip-path: inset(0 0 0 0); }
.no-js .curtain, .reduced .curtain { display: none; }
.curtain svg { width: min(28vw, 150px); filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--lime), var(--gold)); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero, .page-hero, .section-night, .cta-band, .marquee-band, .site-footer { position: relative; isolation: isolate; }
.hero > .wrap, .page-hero > .wrap, .section-night > .wrap, .cta-band > .wrap, .marquee-band > *:not(.dust), .site-footer > .wrap { position: relative; z-index: 1; }
.float-star { position: absolute; fill: var(--gold); pointer-events: none; z-index: 2; filter: drop-shadow(0 0 8px rgba(200,162,75,.6)); }
.float-star.lime { fill: var(--lime); filter: drop-shadow(0 0 8px rgba(155,197,61,.6)); }
.float-crescent { position: absolute; right: 2%; top: 0; width: 13%; fill: var(--gold-soft); z-index: 2; filter: drop-shadow(0 0 18px rgba(227,204,142,.45)); pointer-events: none; }
.hero-art { perspective: 1000px; }
.hero-art .medallion { transform-style: preserve-3d; }
.motion .reveal { clip-path: none; }
.motion .reveal img { transform: none; transition: none; }
.motion .reveal.in { transition: none; }
.motion .marquee-track { animation: none; }
.motion .lead-story img, .motion .archive .frame img { transition: none; }
.sl { padding-bottom: .08em; margin-bottom: -.08em; }
.steps { --line: 1; border-top: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--mulan), var(--gold)); transform-origin: left; transform: scaleX(var(--line)); }
.handover { background-image: linear-gradient(110deg, var(--paper) 0%, var(--paper) 40%, #EEF5E2 50%, var(--paper) 60%, var(--paper) 100%); background-size: 300% 100%; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 150; opacity: 0; transition: opacity 200ms var(--ease-out); }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--lime); mix-blend-mode: difference; }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(200,162,75,.8); display: grid; place-items: center; }
.cursor-ring span { font: 600 5px/1 var(--f-body); letter-spacing: .04em; color: var(--night); opacity: 0; }
.cursor-ring.label { background: var(--lime); border-color: var(--lime); }
.cursor-ring.label span { opacity: 1; }
.site-header { will-change: transform; }
.mobile-nav { z-index: 41; }
