/* Mohamed Abbas — homepage.
   Night + gold from his brand book; Comfortaa (his name font) carries the headings, light and wide,
   so the page reads as an extension of the MA mark. One bold element: the living gold wave.
   Two looks: Night (default) and Day. Token roles: --night page ground, --night-2 raised ground,
   --ivory text, --smoke quiet text, --gold fills, --gold-text gold used as text, --ink dark text on gold. */
:root {
  --night: #101011; --night-2: #17150F; --gold: #d4af37; --gold-deep: #8A6A1F; --gold-text: #d4af37;
  --ivory: #EFE6D2; --smoke: #A39C8D; --line: rgba(212, 175, 55, .22); --line-strong: rgba(239, 230, 210, .45);
  --ink: #101011; --glass: rgba(16, 16, 17, .86); --shadow: rgba(0, 0, 0, .5); --track: rgba(239, 230, 210, .16);
  color-scheme: dark;
  --display: 'Comfortaa', 'Manrope', sans-serif;
  --body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --arabic: 'Gulzar', 'Noto Nastaliq Urdu', serif;
}
/* Day: pearl paper, ink type, gold that stays legible as text */
:root[data-look="light"] {
  --night: #F7F3EA; --night-2: #EEE6D5; --gold-text: #6F5517; --gold-deep: #6F5517;
  --ivory: #16140F; --smoke: #5B5446; --line: rgba(127, 97, 27, .24); --line-strong: rgba(22, 20, 15, .35);
  --glass: rgba(247, 243, 234, .88); --shadow: rgba(60, 45, 10, .18); --track: rgba(22, 20, 15, .38);
  color-scheme: light;
}
/* screens stay night in both looks: the film, the video wall, the viewer and the phone mock */
:root[data-look="light"] :is(#film, .vids, .cinema, .device-stage, .albums .album-cover, .desk-pop, .desk-pill) {
  --night: #101011; --night-2: #17150F; --gold-text: #d4af37; --ivory: #EFE6D2; --smoke: #A39C8D;
  --line: rgba(212, 175, 55, .22); --line-strong: rgba(239, 230, 210, .45); --glass: rgba(16, 16, 17, .86); --shadow: rgba(0, 0, 0, .5);
  --track: rgba(239, 230, 210, .16);
  color-scheme: dark; color: var(--ivory);   /* inherited text must turn light too, not keep the day ink */
}
.look-ink { display: none; }
:root[data-look="light"] .look-ink { display: block; }
:root[data-look="light"] .look-gold { display: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ivory); font: 400 17px/1.7 var(--body); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2 { margin: 0; font-weight: 300; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.eyebrow { text-wrap: balance; font: 600 12px/1.7 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); }
.lede { color: var(--smoke); max-width: 52ch; margin-top: 14px; text-wrap: pretty; }
.note { margin-top: 18px; font-size: 13px; color: var(--smoke); }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px max(20px, calc((100% - 1160px) / 2)); transition: background .5s, top .3s; }
.nav.solid { background: var(--glass); backdrop-filter: blur(10px); top: 0; }
.nav-brand img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 14px; letter-spacing: .06em; }
.nav-links a { text-decoration: none; color: var(--smoke); transition: color .3s; }
.nav-links a:hover { color: var(--ivory); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--body); letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; transition: transform .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-line { border-color: var(--line-strong); color: var(--ivory); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-text); }
.btn-ink { background: var(--ink); color: var(--gold); }
.btn-line-ink { border-color: var(--ink); color: var(--ink); }

/* hero: the stage */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; padding: clamp(250px, 36vh, 420px) 0 9vh; }
#wave { position: absolute; top: 80px; left: 0; width: 100%; height: 50%;
  -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: min(1160px, 100% - 40px); margin: 0 auto; }
/* no scrim needed: the stage ends above the eyebrow, so nothing sits behind the name */
.name { display: flex; flex-direction: column; gap: 6px; margin: 22px 0 34px; }
.name-en { font: 300 clamp(44px, 7.2vw, 104px)/.95 var(--display); letter-spacing: -.01em; }   /* balanced with the Arabic name (Mohamed, 8 Oct) */
.name-ar { font: 400 clamp(40px, 6.4vw, 92px)/1.45 var(--arabic); color: var(--gold-text); align-self: flex-start; }   /* Gulzar reads small: sized up to sit as an equal */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: 22px; height: 36px; border: 1px solid rgba(212, 175, 55, .55); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 2.2s infinite; }
/* the hero's quiet third door: his open dates on The Desk */
.hero-film { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: var(--ivory); text-decoration: none; font: 600 15px/1 var(--body); }
.hero-film i { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); }
.hero-film i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold); }   /* an open date, glowing */
.hero-film { margin-left: 10px; }
.hero-film i::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); animation: halo 2.6s ease-out infinite; }
@keyframes halo { from { transform: scale(1); opacity: .7; } to { transform: scale(1.38); opacity: 0; } }
.hero-film:hover { color: var(--gold-text); }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* sections */
section:not(.hero) { padding: clamp(80px, 12vw, 150px) 0; }
.sec-head h2, .about-copy h2, .invite h2 { font: 300 clamp(36px, 5.2vw, 68px)/1.08 var(--display); margin-top: 18px; }

/* listen: cinematic frames */
.films { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 22px; margin-top: 48px; }
.film { margin: 0; }
.film-lead { grid-row: span 2; }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--night-2) var(--poster) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px var(--line); }
.film-lead .frame { aspect-ratio: 4 / 3.15; background-size: auto 132%; background-position: 0% 40%; }   /* the mic alone; the brand-book mark stays out of frame */
.frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,16,17,.05), rgba(16,16,17,.7)); }
.frame-wave.alt { background: radial-gradient(50% 70% at 30% 40%, rgba(212,175,55,.22), transparent 70%), var(--night); }
.frame-wave.alt::after { left: 22%; right: 22%; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 22px); animation-duration: 2.8s; }
.frame-wave { background: radial-gradient(60% 80% at 50% 60%, rgba(212,175,55,.18), transparent 70%), var(--night-2); }
.frame-wave::after { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 40%; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 14px);
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent); mask: radial-gradient(closest-side, #000 40%, transparent); opacity: .55; }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; cursor: pointer;
  background: rgba(16,16,17,.45); border: 1px solid var(--gold); backdrop-filter: blur(6px); transition: transform .35s, background .35s; }
.play span { position: absolute; left: 31px; top: 25px; border-left: 20px solid var(--gold); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.film:hover .play { transform: scale(1.08); background: rgba(212,175,55,.18); }
.slot { position: absolute; z-index: 2; left: 18px; bottom: 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  background: rgba(16,16,17,.7); padding: 6px 10px; border-radius: 6px; }
figcaption { display: flex; flex-direction: column; margin-top: 14px; }
figcaption b { font: 600 17px/1.3 var(--body); }
figcaption span { font-size: 14px; color: var(--smoke); }

/* about: the portrait under a mihrab arch */
.about { background: var(--night-2); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.arch { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 0 0 14px var(--night-2), 0 0 0 15px var(--line); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.9) contrast(1.04); }
.about-copy > p:not(.eyebrow):not(.stat):not(.note) { margin-top: 22px; color: var(--ivory); max-width: 46ch; font-size: 18px; }
.stat { display: flex; align-items: baseline; gap: 16px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--smoke); }
.stat .num { font: 300 64px/1 var(--display); color: var(--gold-text); font-variant-numeric: tabular-nums; }

/* where: dates hang on a gold line */
.dates { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dates li { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.dates li:hover { background: rgba(212,175,55,.04); }
.dates time { display: flex; align-items: baseline; gap: 10px; color: var(--smoke); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.dates time b { font: 300 46px/1 var(--display); color: var(--gold-text); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.dates .t { display: block; font: 400 24px/1.25 var(--display); }
.dates .c { display: block; color: var(--smoke); font-size: 15px; margin-top: 4px; }

/* invite: the one gold room */
.invite-panel { background: var(--gold); color: var(--ink); border-radius: 28px; padding: clamp(40px, 7vw, 90px); }
.invite-panel p { max-width: 54ch; margin: 22px 0 34px; font-size: 18px; }
.invite h2 { margin-top: 0; }
.invite-panel :focus-visible { outline-color: var(--ink); }

.foot { text-align: center; padding: 70px 20px 60px; border-top: 1px solid var(--line); }
.foot img { height: 64px; width: auto; margin: 0 auto; }
.foot-ar { font: 400 30px/1.8 var(--arabic); color: var(--gold-text); margin-top: 8px; }
.foot-small { font-size: 13px; color: var(--smoke); margin-top: 10px; }

/* motion: reveals are quiet; the wave carries the drama */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.name-en, .name-ar { opacity: 0; transform: translateY(30px); animation: rise 1.4s cubic-bezier(.2,.7,.2,1) forwards; }
.name-en { animation-delay: .5s; } .name-ar { animation-delay: .85s; }
.rise { opacity: 0; transform: translateY(20px); animation: rise 1.2s cubic-bezier(.2,.7,.2,1) forwards; }   /* the hero plays once on load, not on scroll */
.rise-1 { animation-delay: .3s; } .rise-3 { animation-delay: 1.15s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .films { grid-template-columns: 1fr; }
  .film-lead { grid-row: auto; }
  .scroll-cue { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .arch { max-width: 360px; }
  .dates li { grid-template-columns: 84px 1fr; gap: 14px; }
  .dates time b { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .rise, .name-en, .name-ar { opacity: 1; transform: none; animation: none; transition: none; }
  .scroll-cue span, .hero-film i::before { animation: none; }
}

/* the Taraweeh frame breathes too: a quiet echo of the hero wave */
.frame-wave::after { animation: hum 3.6s ease-in-out infinite; transform-origin: center; }
@keyframes hum { 0%, 100% { transform: translateY(-50%) scaleY(.7); opacity: .4; } 50% { transform: translateY(-50%) scaleY(1); opacity: .62; } }
@media (prefers-reduced-motion: reduce) { .frame-wave::after { animation: none; } }

/* the second film frame: the star pattern from his brand book, in gold line */
.frame-pattern { background:
  radial-gradient(70% 90% at 70% 30%, rgba(212,175,55,.16), transparent 70%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1' opacity='.38'%3E%3Cpath d='M32 6l7.6 18.4L58 32l-18.4 7.6L32 58l-7.6-18.4L6 32l18.4-7.6z'/%3E%3Crect x='17' y='17' width='30' height='30' transform='rotate(45 32 32)'/%3E%3Crect x='17' y='17' width='30' height='30'/%3E%3C/g%3E%3C/svg%3E") center / 64px 64px,
  var(--night-2); }
.frame-pattern::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(16,16,17,.85) 75%); }
.slot { text-wrap: balance; max-width: calc(100% - 36px); }

/* nav: The Desk gets its own glow */
.nav-links .nav-desk { color: var(--gold-text); position: relative; padding-left: 14px; }
.nav-links .nav-desk::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212,175,55,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(212,175,55,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(212,175,55,0); } }

/* for organizers: proof first, then the path */
.organizers { position: relative; }
.proof { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { padding: 34px 0 30px; display: flex; flex-direction: column; gap: 10px; }
.proof-item + .proof-item { border-left: 1px solid var(--line); padding-left: clamp(20px, 4vw, 48px); }
.proof-item b { font: 300 clamp(64px, 9vw, 120px)/.9 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.proof-item span { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--smoke); }

.journey-wrap { margin-top: clamp(64px, 9vw, 110px); }
.journey-title { font: 400 clamp(22px, 2.4vw, 30px)/1.3 var(--display); }
.journey { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 150px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(212,175,55,.25));
  transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.journey.in::before { transform: scaleX(1); }
.step { position: relative; display: flex; flex-direction: column; }
.step .bar { display: block; width: 22px; height: 150px; position: relative; margin-bottom: 26px; }
.step .bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) * 100%); border-radius: 11px;
  background: linear-gradient(180deg, #F1D77A, var(--gold) 45%, var(--gold-deep)); box-shadow: 0 0 24px rgba(212,175,55,.25);
  transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.journey.in .step .bar::before { transform: scaleY(1); }
.journey.in .step:nth-child(2) .bar::before { transition-delay: .25s; }
.journey.in .step:nth-child(3) .bar::before { transition-delay: .5s; }
.journey.in .step:nth-child(4) .bar::before { transition-delay: .75s; }
.step-done .bar::after { content: "✓"; position: absolute; left: 50%; top: -34px; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font: 600 13px/1 var(--body); color: var(--night); background: var(--gold); opacity: 0; transition: opacity .6s 1.6s; }
.journey.in .step-done .bar::after { opacity: 1; }
.step-no { font: 600 11px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.step b { font: 400 22px/1.25 var(--display); margin-top: 12px; }
.step p { color: var(--smoke); font-size: 15px; margin-top: 8px; max-width: 26ch; }
.step { opacity: 0; transform: translateY(18px); transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
.journey.in .step { opacity: 1; transform: none; }
.journey.in .step:nth-child(2) { transition-delay: .2s; } .journey.in .step:nth-child(3) { transition-delay: .4s; } .journey.in .step:nth-child(4) { transition-delay: .6s; }

/* The Desk: copy beside a working phone */
.desk { background: radial-gradient(60% 70% at 78% 50%, rgba(212,175,55,.10), transparent 70%), var(--night-2); overflow: hidden; }
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.desk-copy h2 { font: 300 clamp(36px, 5.2vw, 68px)/1.08 var(--display); margin-top: 18px; }
.desk-lede { margin-top: 22px; font-size: 18px; max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ivory); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font: 600 12px/1 var(--body); color: var(--ink); background: var(--gold); }

.device-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.device { width: min(300px, 100%); height: 610px; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #2a2720, #0b0b0c 60%);
  box-shadow: 0 0 0 1px rgba(212,175,55,.35), 0 40px 80px rgba(0,0,0,.6), 0 0 120px rgba(212,175,55,.12); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(-.5deg); } }
.screen { height: 100%; border-radius: 36px; background: #F6F1E6; color: var(--ink); padding: 26px 18px; overflow: hidden; font-size: 13px; }
.s-head { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid rgba(16,16,17,.1); }
.s-head img { height: 26px; width: auto; }   /* the official ink mark on light, never a filtered gold */
.s-head span { font: 600 13px/1.2 var(--display); }
.s-label { margin-top: 16px; font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #6B5A2A; }
.s-card { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(16,16,17,.08);
  animation: pick 9s infinite; }
.s-card i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.s-card b { display: block; font: 600 14px/1.2 var(--body); }
.s-card span { font-size: 12px; color: #5C574D; }
.s-card.c2 { animation-delay: 3s; } .s-card.c3 { animation-delay: 6s; }
@keyframes pick { 0%, 28% { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(212,175,55,.35); } 34%, 100% { border-color: rgba(16,16,17,.08); box-shadow: none; } }
.s-kinds { display: flex; gap: 8px; margin-top: 10px; }
.s-kinds span { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; border: 1px solid rgba(16,16,17,.14); font-weight: 600; font-size: 12px; }
.s-kinds .on { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.s-btn { margin-top: 18px; text-align: center; padding: 14px 0; border-radius: 999px; background: var(--gold); font-weight: 600; }
.s-sample { font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #6E685C; }

.float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; min-width: 230px;
  background: rgba(23,21,15,.92); border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.5); backdrop-filter: blur(8px); }
.float b { display: block; font: 600 14px/1.3 var(--body); }
.float span { font-size: 12px; color: var(--smoke); }
.float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.float .ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 13px; flex: none; }
.f1 { top: 190px; left: -24px; animation: pop 9s infinite; }   /* below the mock's header: the MA mark is never covered */
.f2 { bottom: 14px; right: -20px; animation: pop 9s 4.5s infinite; }
@keyframes pop { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 6%, 44% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-8px); } }



@media (max-width: 860px) {
  .proof { grid-template-columns: 1fr; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .proof-item { flex-direction: row; align-items: baseline; gap: 18px; padding: 22px 0; }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before { left: 10px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--gold), rgba(212,175,55,.25)); }
  .journey.in::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 22px 1fr; column-gap: 22px; padding: 0 0 34px; }
  .step .bar { grid-row: 1 / span 3; height: 96px; margin: 0; }
  .step-done .bar::after { top: auto; bottom: -34px; }
  .desk-grid { grid-template-columns: 1fr; }
  .device-stage { min-height: 560px; }
  .device { transform-origin: top center; }
  .f1 { left: 0; top: 190px; } .f2 { right: 0; bottom: 30px; }
}
@media (max-width: 560px) {
  .hero-film { display: none; }
  .float { min-width: 0; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey::before, .step, .step .bar::before, .step-done .bar::after { transition: none; transform: none; opacity: 1; }
  .device, .s-card, .float, .nav-links .nav-desk::before { animation: none; }
  .float { opacity: 1; }
}

/* the invitation film: a cinema frame on the page */
.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; }
#film { position: relative; margin-top: 56px; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: var(--night);
  box-shadow: 0 0 0 1px rgba(212,175,55,.4), 0 50px 100px rgba(0,0,0,.55), 0 0 160px rgba(212,175,55,.08); isolation: isolate; }
#film canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-veil { position: absolute; inset: 0; background: var(--night); pointer-events: none; opacity: 0; }
.film-caps { position: absolute; left: 0; top: 0; right: 0; padding: clamp(22px, 3.4vw, 44px); pointer-events: none;
  background: linear-gradient(180deg, rgba(16,16,17,.78), rgba(16,16,17,0) 100%); min-height: 40%; }
.cap { position: absolute; left: clamp(22px, 3.4vw, 44px); top: clamp(22px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; }   /* the outgoing caption leaves first */
.cap.on { opacity: 1; transform: none; transition: opacity .7s .3s, transform .7s .3s cubic-bezier(.2,.7,.2,1); }
.cap.cap-steps strong { font-size: clamp(18px, 2vw, 26px); max-width: none; }
.cap-num { flex-direction: row; align-items: baseline; gap: 18px; }
.cap-num b { font: 300 clamp(64px, 9vw, 128px)/.9 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(212,175,55,.35); }
.cap-num span { font-size: clamp(12px, 1.2vw, 15px); letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); }
.cap-eye { font: 600 12px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.cap strong { font: 300 clamp(24px, 3.2vw, 44px)/1.15 var(--display); max-width: 18ch; }
.film-cta { position: absolute; right: clamp(22px, 3.4vw, 44px); bottom: 96px; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none;
  transition: opacity .6s, transform .6s; box-shadow: 0 0 0 0 rgba(212,175,55,.5); }
#film.cta-on .film-cta, #film.paused[data-ch="2"] .film-cta { opacity: 1; visibility: visible; transform: none; pointer-events: auto; animation: ping 2.4s infinite; }

.film-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 16px; padding: 16px clamp(16px, 3vw, 32px) 18px;
  background: linear-gradient(0deg, rgba(16,16,17,.9), rgba(16,16,17,0)); }
.film-play { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(16,16,17,.6); cursor: pointer; }
.film-play span, .film-play span::before { position: absolute; top: 16px; width: 4px; height: 16px; border-radius: 2px; background: var(--gold); }
.film-play span { left: 17px; } .film-play span::before { content: ""; left: 10px; top: 0; }
#film.paused .film-play span { left: 19px; top: 14px; width: 0; height: 0; border-radius: 0; background: none; border-left: 15px solid var(--gold); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
#film.paused .film-play span::before { display: none; }
.film-chapters { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.film-chapters button { white-space: nowrap; position: relative; min-height: 44px; padding: 0 0 12px; border: 0; background: none; color: var(--smoke); text-align: left; cursor: pointer;
  font: 600 13px/1 var(--body); letter-spacing: .08em; }
.film-chapters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 2px; background: rgba(239,230,210,.18); }
.film-chapters button i { position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 2px; background: var(--gold); transform-origin: left; transform: scaleX(0); z-index: 1; }
.film-chapters button.on { color: var(--ivory); }
.film-chapters button:hover { color: var(--gold); }
#film :focus-visible { outline-offset: 3px; }
#film.film-flat .film-caps .cap:first-child { opacity: 1; transform: none; }
#film.film-flat .film-bar, #film.film-flat canvas { display: none; }
#film.film-flat { background: radial-gradient(60% 70% at 50% 60%, rgba(212,175,55,.16), transparent 70%), var(--night); }

@media (max-width: 860px) {
  #film { aspect-ratio: 9 / 16; max-height: 82svh; border-radius: 22px; margin-top: 40px; margin-inline: auto; }   /* a story-shaped frame on phones */
  .film-cta { left: 16px; right: 16px; bottom: 80px; }
  .film-chapters button { font-size: 12px; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
  .cap, .film-cta { transition: none; }
  #film.cta-on .film-cta, #film.paused[data-ch="2"] .film-cta { animation: none; }
}

.cap-desk strong { max-width: 14ch; }

/* the four steps, also as plain text under the film: readable at any pace, on any screen */
.steps-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); counter-reset: s; }
.steps-list li { counter-increment: s; padding-top: 16px; border-top: 1px solid var(--line); color: var(--smoke); font-size: 15px; }
.steps-list li::before { content: "Step " counter(s); display: block; margin-bottom: 8px; font: 600 11px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); }
.steps-list b { display: block; margin-bottom: 4px; font: 400 19px/1.3 var(--display); color: var(--ivory); }
@media (max-width: 860px) { .steps-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .steps-list { grid-template-columns: 1fr; } .film-chapters button { font-size: 11px; letter-spacing: 0; } }
@media (max-height: 600px) { .hero { padding-top: 130px; padding-bottom: 20px; } .name-en { font-size: clamp(38px, 6vw, 60px); } .name-ar { font-size: 28px; line-height: 1.4; } .name { margin: 8px 0 14px; } }

/* Listen · the audio deck */
.deck { position: relative; isolation: isolate; display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 48px;
  padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: linear-gradient(135deg, rgba(212,175,55,.10), rgba(23,21,15,.9) 45%), var(--night-2);
  box-shadow: inset 0 0 0 1px var(--line); }
.deck-art { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.deck-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s linear; }
.deck.playing .deck-art img { transform: scale(1.06); }
.deck-art::after { content: ""; position: absolute; inset: 0; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(212,175,55,.35); }
.deck-title { margin: 12px 0 0; font: 300 clamp(34px, 4.6vw, 60px)/1.05 var(--display); }
.deck-meta { margin-top: 8px; color: var(--smoke); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.deck-title:lang(ar) { font: 400 clamp(30px, 4vw, 50px)/1.3 'Segoe UI', 'Geeza Pro', 'Noto Naskh Arabic', sans-serif; text-align: left; }
.deck-ar { font: 400 20px/1.4 'Segoe UI', 'Geeza Pro', 'Noto Naskh Arabic', sans-serif; color: var(--gold); }
.deck-bars { display: flex; align-items: center; gap: 4px; height: 56px; margin: 24px 0 18px; }
.deck-bars i { flex: 1; max-width: 6px; height: 22%; border-radius: 3px; background: linear-gradient(180deg, #F1D77A, var(--gold)); opacity: .45; transition: opacity .4s; }
.deck.playing .deck-bars i { opacity: 1; animation: eq 1.1s ease-in-out infinite; }
.deck-bars i:nth-child(3n) { animation-delay: .2s; height: 46%; } .deck-bars i:nth-child(4n+1) { animation-delay: .45s; height: 70%; }
.deck-bars i:nth-child(5n+2) { animation-delay: .1s; height: 92%; } .deck-bars i:nth-child(7n) { animation-delay: .65s; height: 58%; }
.deck-ctrl { display: flex; align-items: center; gap: 14px; }
.deck-play { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--gold); cursor: pointer; box-shadow: 0 0 0 0 rgba(212,175,55,.5); transition: transform .25s; }
.deck-play:hover { transform: scale(1.05); }
.deck-play span { position: absolute; left: 25px; top: 21px; border-left: 18px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.deck.playing .deck-play { animation: ping 2.4s infinite; }
.deck.playing .deck-play span { left: 23px; top: 22px; width: 6px; height: 20px; border: 0; background: var(--ink); box-shadow: 12px 0 0 var(--ink); }
.deck-btn { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; }
.deck-btn:hover { border-color: var(--gold); }
.ico-prev, .ico-next { position: absolute; top: 15px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ico-next { left: 17px; border-left: 10px solid var(--ivory); } .ico-next::after { content: ""; position: absolute; left: 0; top: -7px; width: 2px; height: 14px; background: var(--ivory); }
.ico-prev { left: 15px; border-right: 10px solid var(--ivory); } .ico-prev::after { content: ""; position: absolute; left: -2px; top: -7px; width: 2px; height: 14px; background: var(--ivory); }
.deck-time { flex: 1; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--smoke); font-variant-numeric: tabular-nums; min-width: 0; }
.deck-track { position: relative; flex: 1; height: 24px; cursor: pointer; }
.deck-track::before, .deck-track i { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: var(--track); }
.deck-track i { background: var(--gold); transform-origin: left; transform: scaleX(0); }
.deck-link { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--smoke); }
.deck-link:hover { color: var(--gold); }
.deck-sc { position: fixed; z-index: -1; width: 300px; height: 166px; opacity: 0; pointer-events: none; border: 0; right: 0; bottom: 0; }   /* pinned to the viewport: taking focus can never scroll the page */   /* real size, so the official widget initialises; invisible behind the deck */
.deck.offline .deck-ctrl, .deck.offline .deck-bars { display: none; }

/* Listen · the video wall */
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.vid { position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; text-align: left; color: var(--ivory);
  background: var(--night-2) var(--t) center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.vid::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--t) center / cover no-repeat; filter: saturate(.75) contrast(1.05); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.vid::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,16,17,0) 25%, rgba(16,16,17,.72) 58%, rgba(16,16,17,.96)); }
.vid:hover::before, .vid:focus-visible::before { transform: scale(1.06); filter: saturate(1) contrast(1.05); }
.vid-lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.vid-ring { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 1px solid var(--gold);
  background: rgba(16,16,17,.45); backdrop-filter: blur(6px); transition: transform .35s, background .35s; }
.vid-ring::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid var(--gold); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vid-lead .vid-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.vid-lead .vid-ring::after { left: 38px; top: 31px; border-left-width: 22px; border-top-width: 15px; border-bottom-width: 15px; }
.vid:hover .vid-ring { transform: scale(1.08); background: rgba(212,175,55,.2); }
.vid-text { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.vid-text b { font: 400 19px/1.2 var(--display); }
.vid-text span { font: 400 13px/1.35 var(--body); color: var(--ivory); opacity: .86; }
.vid-lead .vid-text { left: 28px; bottom: 26px; }
.vid-lead .vid-text b { font-size: clamp(30px, 3.6vw, 46px); }
.vid-lead .vid-text span { font-size: 15px; }

/* the cinema viewer */
.cinema { width: min(1100px, 94vw, calc((100svh - 40px) * 16 / 9)); padding: 0; border: 0; border-radius: 18px; background: #000; overflow: visible; box-shadow: 0 40px 120px rgba(0,0,0,.8), 0 0 0 1px rgba(212,175,55,.35); }
.cinema::backdrop { background: rgba(8,8,9,.88); backdrop-filter: blur(8px); }
.cinema-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.cinema-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.cinema-x { position: absolute; z-index: 2; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(16,16,17,.8); color: var(--gold); font-size: 24px; cursor: pointer; }

@media (max-width: 860px) {
  .deck { grid-template-columns: 1fr; }
  .deck-art { max-width: 260px; }
  .vids { grid-template-columns: 1fr 1fr; }
  .vid-lead { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .vid-text b { font-size: 16px; } .vid-text span { font-size: 12px; }
  .vid-ring { width: 52px; height: 52px; margin: -26px 0 0 -26px; } .vid-ring::after { left: 21px; top: 16px; border-left-width: 13px; border-top-width: 9px; border-bottom-width: 9px; }
}
@media (max-width: 520px) {
  .vids { grid-template-columns: 1fr; } .vid-lead { grid-column: auto; }
  .deck-time { flex-basis: 100%; order: 4; } .deck-ctrl { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .deck.playing .deck-bars i, .deck.playing .deck-play { animation: none; }
  .vid::before, .deck-art img { transition: none; }
}

@media (max-width: 860px) {
  .vids .vid-lead .vid-ring { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .vids .vid-lead .vid-ring::after { left: 21px; top: 16px; border-left-width: 13px; border-top-width: 9px; border-bottom-width: 9px; }
  .vids .vid-lead .vid-text { left: 18px; bottom: 16px; }
  .vids .vid-lead .vid-text b { font-size: 22px; }
  .vids .vid-lead .vid-text span { font-size: 12px; }
}

/* Watch & listen · the nasheed shelf: covers first, a quiet gold bar beside them */
.albums { position: relative; isolation: isolate; margin-top: clamp(56px, 7vw, 96px); display: grid;   /* holds the hidden player in place */
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.albums-title { margin: 14px 0 0; font: 300 clamp(30px, 3.6vw, 48px)/1.1 var(--display); text-wrap: balance; }
.albums-note { margin-top: 14px; color: var(--smoke); max-width: 40ch; }
.deck-bar { margin-top: 30px; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; row-gap: 10px; align-items: center;
  padding: 16px 20px 16px 16px; border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); }
.deck-bar .deck-play { grid-row: span 2; }
.deck-now { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.deck-eye { font: 600 11px/1.4 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.deck-now .deck-title { font: 400 22px/1.2 var(--display); margin: 0; }
.deck-bar .deck-time { grid-column: 2; }
#deck.offline .deck-bar { display: none; }
.album-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.album { border: 0; padding: 0; background: none; color: var(--ivory); text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 14px; font: inherit; }
.album-cover { position: relative; display: block; aspect-ratio: 1; max-width: 100%; border-radius: 22px; overflow: hidden; background: var(--night-2);
  box-shadow: 0 30px 60px var(--shadow), inset 0 0 0 1px var(--line); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.album:hover .album-cover, .album:focus-visible .album-cover { transform: translateY(-6px); }
.album:hover .album-cover img { transform: scale(1.05); }
.album.on .album-cover { box-shadow: 0 30px 60px var(--shadow), 0 0 0 2px var(--gold); }
.album-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,.4); opacity: 0; transform: scale(.85); transition: opacity .35s, transform .35s; }
.album-play::after { content: ""; position: absolute; left: 28px; top: 23px; border-left: 20px solid var(--ink); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.album:hover .album-play, .album:focus-visible .album-play { opacity: .96; transform: none; }
.album.playing .album-play { opacity: 0; }
.album-eq { position: absolute; left: 16px; bottom: 16px; display: none; gap: 4px; align-items: flex-end; height: 26px; padding: 6px 8px; border-radius: 10px; background: rgba(16,16,17,.7); }
.album-eq i { width: 4px; height: 100%; border-radius: 2px; background: var(--gold); animation: eq 1s ease-in-out infinite; }
.album-eq i:nth-child(2) { animation-delay: .2s; } .album-eq i:nth-child(3) { animation-delay: .4s; } .album-eq i:nth-child(4) { animation-delay: .1s; }
.album.playing .album-eq { display: flex; }
.album-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; }
.album-meta b { font: 300 clamp(24px, 2.4vw, 32px)/1.15 var(--display); }
.album-ar { grid-column: 1; font: 400 19px/1.5 'Geeza Pro', 'Segoe UI', 'Noto Naskh Arabic', sans-serif; color: var(--gold-text); justify-self: start; }
.album-time { grid-column: 2; grid-row: 1; color: var(--ivory); opacity: .8; font-variant-numeric: tabular-nums; font-size: 14px; }
.album-out { grid-column: 1 / -1; font-size: 13px; color: var(--gold-text); }
@media (max-width: 860px) {
  .albums { grid-template-columns: 1fr; }
  .album-play { opacity: .9; transform: none; width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .album-play::after { left: 22px; top: 18px; border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
}
@media (prefers-reduced-motion: reduce) { .album-eq i { animation: none; } .album-cover, .album-cover img { transition: none; } }

/* the look switch: a moon for night, a sun for day */
.look-toggle { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
.look-toggle:hover { border-color: var(--gold); }
.look-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  box-shadow: inset -5px -3px 0 0 var(--gold-text); transition: box-shadow .4s, background .4s; }
:root[data-look="light"] .look-toggle::before { background: var(--gold); box-shadow: 0 0 0 3px var(--night), 0 0 0 4px var(--gold); width: 12px; height: 12px; margin: -6px 0 0 -6px; }
.nav-end { display: flex; align-items: center; gap: 12px; }

/* The Desk invitation · a night card in a slowly turning gold frame (Night in both looks) */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.desk-pop { position: fixed; z-index: 40; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: min(410px, calc(100% - 32px)); padding: 1.5px; border-radius: 28px;
  background: conic-gradient(from var(--spin), rgba(212,175,55,.12) 0deg, #F1D77A 40deg, #d4af37 70deg, rgba(212,175,55,.12) 120deg, rgba(212,175,55,.12) 220deg, #d4af37 270deg, rgba(212,175,55,.12) 320deg);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 70px rgba(212,175,55,.18);
  opacity: 0; transform: translateY(36px) scale(.96); transition: opacity .5s, transform .8s cubic-bezier(.2,1.25,.3,1); animation: spin 7s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }
.desk-pop.show { opacity: 1; transform: none; }
.pop-card { position: relative; overflow: hidden; border-radius: 26.5px; padding: 24px 24px 22px; color: var(--ivory);
  background: radial-gradient(120% 90% at 100% 0%, rgba(212,175,55,.20), transparent 55%), radial-gradient(80% 60% at 0% 100%, rgba(212,175,55,.08), transparent 60%), #121110; }
.pop-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(239,230,210,.06); color: var(--smoke); font-size: 22px; cursor: pointer; }
.pop-x:hover { color: var(--ivory); background: rgba(239,230,210,.12); }
.pop-head { display: flex; align-items: center; gap: 12px; padding-right: 44px; }
.pop-wave { display: flex; gap: 3px; align-items: center; height: 22px; }
.pop-wave i { width: 3px; border-radius: 2px; background: var(--gold); height: 45%; animation: eq 1.3s ease-in-out infinite; }
.pop-wave i:nth-child(2) { animation-delay: .15s; height: 75%; } .pop-wave i:nth-child(3) { animation-delay: .3s; height: 100%; } .pop-wave i:nth-child(4) { animation-delay: .45s; height: 70%; } .pop-wave i:nth-child(5) { animation-delay: .6s; }
.pop-eye { font: 600 11px/1.3 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.pop-title { margin: 16px 0 0; font: 300 clamp(24px, 3vw, 30px)/1.15 var(--display); text-wrap: balance; }
.pop-text { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--smoke); }
.pop-dates { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.pop-dates li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px;
  background: rgba(239,230,210,.04); box-shadow: inset 0 0 0 1px rgba(212,175,55,.16); opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); }
.desk-pop.show .pop-dates li { opacity: 1; transform: none; }
.desk-pop.show .pop-dates li:nth-child(1) { transition-delay: .25s; } .desk-pop.show .pop-dates li:nth-child(2) { transition-delay: .38s; } .desk-pop.show .pop-dates li:nth-child(3) { transition-delay: .51s; }
.pop-dates i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: ping 2.4s infinite; }
.pop-dates b { font: 600 15px/1.2 var(--body); }
.pop-dates span { font-size: 14px; color: var(--smoke); font-variant-numeric: tabular-nums; }
.pop-dates em { font-style: normal; font-size: 12px; font-weight: 600; color: #101011; background: var(--gold); padding: 3px 9px; border-radius: 999px; }
.pop-sample { margin: 8px 0 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.pop-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.pop-cta { flex: 1; gap: 10px; min-height: 52px; font-size: 16px; color: #101011; }
.pop-cta span { transition: transform .3s; } .pop-cta:hover span { transform: translateX(4px); }
.pop-later { border: 0; background: none; color: var(--smoke); font: 500 14px/1 var(--body); cursor: pointer; min-height: 44px; padding: 0 6px; white-space: nowrap; }
.pop-later:hover { color: var(--ivory); }

/* folded: a gold-edged pill that opens the card again */
.desk-pill { position: fixed; z-index: 39; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; min-height: 52px;
  padding: 8px 18px 8px 14px; border-radius: 999px; border: 1px solid rgba(212,175,55,.6); background: #121110; color: var(--ivory); cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 0 rgba(212,175,55,.45); font: 600 14px/1 var(--body);
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s cubic-bezier(.2,1.2,.3,1); animation: pillglow 3s ease-out infinite; }
.desk-pill.show { opacity: 1; transform: none; }
.desk-pill:hover { border-color: var(--gold); }
@keyframes pillglow { 0% { box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 0 rgba(212,175,55,.45); } 70%, 100% { box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 12px rgba(212,175,55,0); } }
.pill-wave { display: flex; gap: 3px; align-items: center; height: 18px; }
.pill-wave i { width: 3px; height: 60%; border-radius: 2px; background: var(--gold); animation: eq 1.2s ease-in-out infinite; }
.pill-wave i:nth-child(2) { height: 100%; animation-delay: .2s; } .pill-wave i:nth-child(3) { animation-delay: .4s; }
.desk-pill em { font-style: normal; font-weight: 500; color: var(--gold); }

@media (max-width: 560px) {
  .desk-pop { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; }
  .pop-card { padding: 20px 18px 18px; }
  .pop-text { display: none; }
  .pop-dates li { padding: 9px 12px; gap: 10px; }
  .pop-dates li:nth-child(3) { display: none; }
  .desk-pill { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .desk-pop, .desk-pill, .pop-dates li { transition: none; animation: none; }
  .pop-wave i, .pill-wave i, .pop-dates i { animation: none; }
}

/* hidden means gone: a folded card or pill must never catch a tap or a Tab */
.desk-pop[hidden], .desk-pill[hidden] { display: none; }
.desk-pop { --spin: 0deg; }   /* without @property the frame still shows, just still */
.pop-card { max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-height: 760px) and (max-width: 560px) { .pop-dates li:nth-child(2) { display: none; } }
@media (max-height: 600px) { .pop-text, .pop-dates li:nth-child(n+2) { display: none; } .pop-card { padding: 16px 18px; } .pop-title { margin-top: 10px; font-size: 22px; } .pop-actions { margin-top: 12px; } }

/* About · roles and credentials: a quiet two-column ledger under the story */
.creds { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.creds li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.creds b { font: 600 15px/1.35 var(--body); color: var(--ivory); }
.creds span { font-size: 14px; line-height: 1.45; color: var(--smoke); }
@media (max-width: 560px) { .creds { grid-template-columns: 1fr; } }

/* About · the name communities give him, set apart as a quote (a nickname, never a title) */
.nickname { margin: 28px 0 4px; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); }
.nickname p { margin: 0; font: 300 clamp(24px, 2.6vw, 32px)/1.25 var(--display); color: var(--gold-text); text-wrap: balance; }
.nickname footer { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--smoke); max-width: 52ch; }

/* Watch & listen · the featured broadcast: a wide screen with its story beside it */
.feature { margin: 48px 0 22px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 44px); align-items: center; }
.feature-frame { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 1008 / 576; max-width: 100%;
  box-shadow: 0 40px 90px var(--shadow), inset 0 0 0 1px var(--line), 0 0 0 1px rgba(212,175,55,.35); }
.feature-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.feature-cap { display: flex; flex-direction: column; gap: 10px; }
.feature-eye { font: 600 12px/1.4 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); }
.feature-cap b { font: 300 clamp(28px, 3.2vw, 42px)/1.12 var(--display); color: var(--ivory); text-wrap: balance; }
.feature-cap span:not(.feature-eye) { color: var(--smoke); font-size: 16px; line-height: 1.6; max-width: 38ch; }
.feature-cap small { font-size: 12px; color: var(--smoke); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* the name as one lockup: Arabic centred under the English, joined by a fine gold rule (Mohamed, 8 Oct) */
.name { display: inline-flex; align-items: center; max-width: 100%; }
.name-ar { align-self: center; position: relative; margin-top: 10px; padding-top: 30px; font-size: clamp(38px, 5.6vw, 80px); line-height: 1.35; }
.name-ar::before { content: ""; position: absolute; top: 0; left: 50%; width: clamp(140px, 22vw, 300px); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: .75; }
.name-ar::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; transform: translateX(-50%) rotate(45deg);
  background: var(--gold); box-shadow: 0 0 0 4px var(--night); }

/* the hero centred under the wave: eyebrow, name lockup and actions on one axis (8 Oct) */
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .name { align-items: center; }
.hero-copy .name-en { text-align: center; }
.hero-actions { justify-content: center; }
@media (max-width: 560px) { .hero-actions { flex-direction: column; align-items: center; } }

/* no rule between the names: negative space does the joining (8 Oct) */
.name-ar::before, .name-ar::after { content: none; }
.name-ar { margin-top: 0; padding-top: clamp(14px, 1.6vw, 22px); }

/* About · the medicine chapter opens with a small gold lead-in */
.story .lead-in { color: var(--gold-text); }

/* privacy page: the same night, gold and type, set as a quiet reading column */
.legal { padding: clamp(130px, 18vh, 180px) 0 clamp(70px, 10vh, 110px); }
.legal-wrap { max-width: 720px; }
.legal-title { font: 300 clamp(36px, 5.2vw, 60px)/1.08 var(--display); margin-top: 18px; }
.legal h2 { font: 400 22px/1.3 var(--display); color: var(--gold-text); margin-top: 44px; }
.legal p:not(.eyebrow):not(.lede):not(.note) { margin-top: 12px; color: var(--ivory); max-width: 62ch; }
.legal .note { margin-top: 48px; }
.legal-page .nav .btn { min-height: 40px; padding: 0 20px; font-size: 14px; }
.foot-small a { color: inherit; text-underline-offset: 3px; }
.foot-small a:hover { color: var(--gold-text); }

/* ---------- Who is Mohamed Abbas (14 Oct): statement, record, four pillars with samples, milestones ---------- */
.intro { padding: clamp(84px, 11vw, 150px) 0; background: radial-gradient(70% 60% at 85% 0%, rgba(212,175,55,.08), transparent 70%), var(--night); }
.intro-head { max-width: 1040px; }
.intro-head h2 { font: 300 clamp(36px, 5vw, 68px)/1.1 var(--display); margin-top: 18px; letter-spacing: -.01em; text-wrap: balance; }
.intro-head h2 em { font-style: normal; color: var(--gold-text); }
.intro-head .lede { margin-top: 24px; max-width: 64ch; font-size: 19px; color: var(--smoke); text-wrap: pretty; }
.record { list-style: none; margin: clamp(44px, 5vw, 70px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record li { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 10px; }
.record li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.record b { font: 300 clamp(46px, 5.6vw, 80px)/.95 var(--display); color: var(--gold-text); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.record span { font-size: 15px; line-height: 1.5; color: var(--ivory); max-width: 24ch; }
.pillars { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { display: flex; flex-direction: column; }
.pillar-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: var(--t) var(--pos, center) / var(--size, cover) no-repeat, var(--night-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pillar-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,16,17,0) 45%, rgba(16,16,17,.82)); }
.pillar-media:hover, .pillar-media:focus-visible { transform: translateY(-4px); }
.pillar-media:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pillar-play { position: absolute; z-index: 1; left: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212,175,55,.5); animation: pillarPulse 2.6s ease-out infinite; }
.pillar-play::before { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid #101011; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.pillar-tag { position: absolute; z-index: 1; left: 76px; bottom: 30px; font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #EFE6D2; }
@keyframes pillarPulse { 0% { box-shadow: 0 0 0 0 rgba(212,175,55,.45); } 70% { box-shadow: 0 0 0 14px rgba(212,175,55,0); } 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); } }
.pillar-k { margin-top: 22px; font: 600 11px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); }
.pillar h3 { margin: 12px 0 0; font: 400 clamp(21px, 1.9vw, 26px)/1.25 var(--display); color: var(--ivory); }
.pillar > p:last-child { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--smoke); }
.milestones { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.milestones::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line-strong)); }
.milestones li { position: relative; padding: 30px 16px 0 0; }
.milestones li::before { content: ""; position: absolute; top: 1px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212,175,55,.16); }
.milestones b { display: block; font: 300 clamp(26px, 2.6vw, 36px)/1 var(--display); color: var(--ivory); }
.milestones span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--smoke); }
.intro-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .record { grid-template-columns: 1fr 1fr; }
  .record li:nth-child(3) { padding-left: 0; border-left: 0; }
  .record li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .milestones { grid-template-columns: 1fr; }
  .milestones::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--line-strong)); }
  .milestones li { padding: 0 0 22px 32px; }
  .milestones li::before { top: 6px; left: 0; }
}
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .record li { padding-right: 14px; } .record li + li { padding-left: 14px; } .record span { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .pillar-play { animation: none; } .pillar-media { transition: none; } }

/* ---- Who is Mohamed Abbas: B portrait index + D name wall (Mohamed's choice, 15 Oct) ---- */
/* ---- intro options for review (B portrait index · C cinematic reel · D press kit) ---- */
.introB .b-grid { display: grid; grid-template-columns: 460px 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.b-portrait { margin: 0; position: relative; }
.b-portrait img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: var(--op, 78% 30%); border-radius: 230px 230px 18px 18px; box-shadow: 0 0 0 1px var(--line); display: block; }
.b-portrait figcaption { position: absolute; left: -24px; right: 40px; bottom: 34px; padding: 20px 24px; border-radius: 14px; background: rgba(16,16,17,.92); box-shadow: 0 0 0 1px var(--line); }
.b-portrait figcaption span { display: block; font: 400 21px/1.35 var(--display); color: #EFE6D2; }
.b-portrait figcaption small { display: block; margin-top: 8px; font: 600 11px/1.4 var(--body); letter-spacing: .22em; text-transform: uppercase; color: #d4af37; }
.b-list { list-style: none; margin: 36px 0 0; padding: 0; }
.b-list li { display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); }
.b-list li:last-child { border-bottom: 1px solid var(--line); }
.b-list i { font: 300 36px/1 var(--display); font-style: normal; color: var(--gold-text); }
.b-list b { display: block; margin-top: 8px; font: 400 25px/1.2 var(--display); }
.b-list p:not(.pillar-k) { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--smoke); max-width: 52ch; }
.b-play, .d-play, .c-play { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #101011; background: #d4af37; padding: 12px 16px; border-radius: 999px; white-space: nowrap; }
.b-play span, .d-play i { width: 0; height: 0; border-left: 10px solid #101011; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.introB .record, .introD .record { margin-top: clamp(56px, 7vw, 90px); }
.introC { padding: 0; }
.c-stage { position: relative; height: min(88vh, 820px); min-height: 640px; overflow: hidden; background: #101011; }
.c-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.c-slide::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 58%; background: var(--bg) var(--pos) / var(--size) no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.c-slide.on { opacity: 1; }
.c-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,16,17,.92), transparent 30%); }
@media (max-width: 560px) { .c-stage { height: 980px; } .c-slide::before { width: 100%; top: 58%; bottom: 90px; -webkit-mask-image: linear-gradient(0deg, #000 60%, transparent); mask-image: linear-gradient(0deg, #000 60%, transparent); } .c-shade { background: linear-gradient(0deg, #101011 0, #101011 150px, rgba(16,16,17,0) 290px); } .c-slide::before { bottom: 150px; } }
.c-copy { position: relative; z-index: 1; padding-top: clamp(110px, 14vh, 160px); color: #EFE6D2; }
.c-copy .eyebrow { color: #d4af37; }
.c-big { margin: 18px 0 0; font: 300 clamp(72px, 10vw, 150px)/1 var(--display); color: #d4af37; letter-spacing: -.02em; }
.c-copy h2 { margin: 12px 0 0; max-width: 15ch; font: 300 clamp(34px, 4.4vw, 58px)/1.1 var(--display); color: #EFE6D2; }
.c-text { margin-top: 18px; max-width: 52ch; font-size: 17px; line-height: 1.65; color: #CFC6B4; }
.c-play { margin-top: 28px; }
.c-play i { width: 0; height: 0; border-left: 11px solid #101011; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.c-tabs { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.c-tab { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: 600 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #B8AF9C; }
.c-tab.on { color: #EFE6D2; }
.c-bar { display: block; height: 2px; margin-bottom: 14px; background: rgba(239,230,210,.25); overflow: hidden; }
.c-bar i { display: block; height: 100%; width: 0; background: #d4af37; }
.c-tab.on .c-bar i { width: 100%; transition: width 6s linear; }
.c-tab.done .c-bar i { width: 100%; }
.c-below { padding-top: clamp(40px, 5vw, 70px); padding-bottom: clamp(70px, 9vw, 120px); }
.introD .d-wall { margin-top: clamp(44px, 5vw, 70px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.d-cell { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 210px; display: flex; flex-direction: column; }
.d-cell span { font: 600 11px/1.4 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.d-cell b { margin-top: 14px; font: 400 28px/1.2 var(--display); }
.d-cell p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--smoke); }
.d-play { margin-top: auto; align-self: flex-start; padding: 10px 14px; font-size: 12px; }
.d-cell .d-play { margin-top: 18px; }
.d-sig { margin-top: 44px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.d-sig span { font: 400 clamp(44px, 5vw, 64px)/1.4 'Gulzar', serif; color: var(--gold-text); }
.d-sig p { color: var(--smoke); }
@media (max-width: 980px) { .b-portrait figcaption { left: 12px; right: 12px; } .introB .b-grid { grid-template-columns: 1fr; } .b-portrait { max-width: 420px; } .introD .d-wall { grid-template-columns: 1fr 1fr; } .c-tabs { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 560px) { .c-stage { height: 980px !important; } .b-list li { grid-template-columns: 40px 1fr; } .b-play { grid-column: 2; justify-self: start; } .introD .d-wall { grid-template-columns: 1fr; } .d-cell { min-height: 0; } .c-stage { height: 760px; } .c-copy h2 { max-width: none; } .b-portrait figcaption { left: 12px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .c-slide { transition: none; } .c-tab.on .c-bar i { transition: none; } }
