/* DORRA members-app proposal — editorial luxury: espresso ink, warm ivory, gold used sparingly.
   RTL: logical properties; physical offsets only for the diagram geometry and centring. */

:root {
  --ink: #14100F;
  --ink-2: #1E1A1B;
  --brand: #231F20;
  --ivory: #F6F3ED;
  --bone: #EEE9DF;
  --sand: #DED6C5;
  --stone: #8C847C;
  --gold: #FFCE31;
  --gold-2: #E6B420;
  --bronze: #A27300;
  --text: #231F20;
  --text-2: #5A534E;
  --on-dark: #F4F0E8;
  --on-dark-2: rgba(244, 240, 232, .72);
  --hair: rgba(35, 31, 32, .1);
  --hair-d: rgba(244, 240, 232, .12);
  --f-ar: 'Tajawal', system-ui, sans-serif;
  --f-display: 'Alexandria', 'Tajawal', system-ui, sans-serif;
  --f-lat: 'Montserrat', system-ui, sans-serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-expo: cubic-bezier(.19, 1, .22, 1);
  --e-drawer: cubic-bezier(.32, .72, 0, 1);
  --gutter: clamp(20px, 5vw, 76px);
  --maxw: 1360px;
  --sec: clamp(96px, 12vw, 190px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font-family: var(--f-ar); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.lat { font-family: var(--f-lat); }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
::selection { background: var(--gold); color: var(--brand); }

/* ---------- texture, progress, loader ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 95; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--gold); transform-origin: right; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress i { animation: prog linear both; animation-timeline: scroll(root); }
  @keyframes prog { to { transform: scaleX(1); } }
}

.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--e-expo) .1s;
}
.loader img { width: min(240px, 52vw); animation: lmark 1.4s var(--e-expo) both; }
.loader-line { width: 0; height: 1px; background: var(--gold); animation: lline 1.2s var(--e-expo) forwards .3s; }
.loader-cap { font-family: var(--f-lat); font-size: 10.5px; letter-spacing: .6em; text-transform: uppercase; color: rgba(244, 240, 232, .55); animation: lfade 1s var(--e-out) both .6s; }
.loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes lmark { from { opacity: 0; transform: scale(.96); filter: blur(8px); } }
@keyframes lline { to { width: 90px; } }
@keyframes lfade { from { opacity: 0; transform: translateY(8px); } }

/* ---------- type ---------- */
.display { font-family: var(--f-display); font-weight: 200; font-size: clamp(38px, 5.2vw, 82px); line-height: 1.14; letter-spacing: -.012em; color: var(--text); }
.display.light, .light { color: var(--on-dark); }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.9; color: var(--text-2); max-width: 60ch; margin-top: 24px; }
.lead.light { color: var(--on-dark-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding-inline: 15px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--hair); margin-bottom: 26px;
}
.eyebrow.glass { color: rgba(244, 240, 232, .86); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.eyebrow.lat { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
.sec-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 84px); }

/* ---------- buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 16px; height: 58px; padding-inline: 28px 9px; border-radius: 999px;
  font-weight: 700; font-size: 16px; white-space: nowrap; position: relative;
  transition: transform .18s var(--e-out), background .3s, box-shadow .3s, color .3s;
}
.btn-pill:active { transform: scale(.975); }
.btn-pill.gold { background: var(--gold); color: #1A1617; box-shadow: 0 18px 40px -18px rgba(230, 180, 32, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-pill.ghost { color: #fff; padding-inline: 26px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.btn-pill.dark { background: var(--brand); color: var(--ivory); }
.btn-pill.sm { height: 46px; padding-inline: 20px 7px; font-size: 14.5px; gap: 12px; }
.dot-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(26, 22, 23, .1); transition: transform .35s var(--e-out); }
.btn-pill.sm .dot-ic { width: 32px; height: 32px; }
.dot-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .btn-pill.gold:hover { box-shadow: 0 22px 50px -16px rgba(230, 180, 32, 1), inset 0 1px 0 rgba(255, 255, 255, .5); }
  .btn-pill:hover .dot-ic { transform: translateX(-4px) scale(1.06); }
  .btn-pill.ghost:hover { background: rgba(255, 255, 255, .08); }
}

/* ---------- floating nav ---------- */
.nav {
  position: fixed; z-index: 80; top: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); height: 62px; padding-inline: 24px 8px; border-radius: 999px;
  background: rgba(20, 16, 15, .55); color: var(--on-dark);
  -webkit-backdrop-filter: saturate(1.4) blur(22px); backdrop-filter: saturate(1.4) blur(22px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 50px -24px rgba(0, 0, 0, .6);
  transition: background .5s var(--e-out), color .5s, box-shadow .5s, transform .6s var(--e-drawer), opacity .4s;
  opacity: 0;
}
.loaded .nav { opacity: 1; }
.nav.hide { transform: translate(-50%, -140%); }
.nav-mark { position: relative; display: block; height: 18px; width: 87px; flex: none; }
.nav-mark img { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity .4s; }
.nav-mark .on-light { opacity: 0; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav-links a { font-size: 14.5px; color: rgba(244, 240, 232, .72); transition: color .25s; position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-links a.on::after { content: ''; position: absolute; bottom: -7px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
.nav.light { background: rgba(246, 243, 237, .78); color: var(--text); box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .08), 0 20px 50px -24px rgba(35, 31, 32, .35); }
.nav.light .on-light { opacity: 1; }
.nav.light .on-dark { opacity: 0; }
.nav.light .nav-links a { color: var(--text-2); }
.nav.light .nav-links a:hover, .nav.light .nav-links a.on { color: var(--text); }

/* ---------- phone frame ---------- */
.phone-wrap { --s: 1; position: relative; flex: none; width: calc(414px * var(--s)); height: calc(866px * var(--s)); }
.phone {
  position: absolute; top: 0; left: 0; width: 414px; height: 866px; transform-origin: 0 0; transform: scale(var(--s));
  border-radius: 68px; padding: 12px;
  background: linear-gradient(145deg, #4B4441 0%, #191414 34%, #2E2927 66%, #0B0909 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18), inset 0 0 0 4px #0B0909, 0 60px 120px -40px rgba(0, 0, 0, .75), 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.phone::before, .phone::after { content: ''; position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(#3a3432, #1a1616); }
.phone::before { left: -3px; top: 190px; height: 64px; box-shadow: 0 90px 0 #2a2524; }
.phone::after { right: -3px; top: 250px; height: 100px; }
.phone-screen { position: absolute; inset: 12px; border-radius: 56px; overflow: hidden; background: #F6F3ED; isolation: isolate; }
.phone-screen iframe { position: absolute; inset: 0; width: 390px; height: 842px; border: 0; opacity: 0; transition: opacity .6s ease; background: transparent; }
.phone-wrap.ready iframe { opacity: 1; }
.phone-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.phone-wrap.live .phone-shield { pointer-events: none; }
.phone-island { position: absolute; z-index: 3; top: 23px; left: 50%; transform: translateX(-50%); width: 124px; height: 36px; border-radius: 20px; background: #050404; pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; background: var(--ink); color: var(--on-dark); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.reel { position: absolute; inset: 0; z-index: -2; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 1.6s ease; }
.reel video.on { opacity: 1; transform: scale(1); transition: opacity 1.6s ease, transform 8s linear; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to left, rgba(14, 10, 9, .9) 0%, rgba(14, 10, 9, .66) 38%, rgba(14, 10, 9, .28) 68%, rgba(14, 10, 9, .52) 100%),
  linear-gradient(to top, rgba(14, 10, 9, .92) 0%, rgba(14, 10, 9, 0) 42%),
  linear-gradient(to bottom, rgba(14, 10, 9, .6) 0%, rgba(14, 10, 9, 0) 22%); }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(30px, 4vw, 70px); padding-top: 124px; padding-bottom: 40px; width: 100%; }
.hero-title { font-family: var(--f-display); font-weight: 200; font-size: clamp(52px, 6.2vw, 102px); line-height: 1.06; letter-spacing: -.02em; }
.hero-copy { min-width: 0; position: relative; z-index: 2; }
.hero-title .ln > span { white-space: nowrap; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; transform: translateY(108%); transition: transform 1.3s var(--e-expo); }
.hero-title .ln:nth-child(2) > span { transition-delay: .12s; }
.hero-title em { font-style: normal; color: var(--gold); font-weight: 300; }
.in .hero-title .ln > span { transform: none; }
.hero-sub { font-size: clamp(17px, 1.35vw, 20.5px); line-height: 1.9; color: rgba(244, 240, 232, .8); max-width: 34em; margin-top: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-facts { display: flex; margin-top: clamp(40px, 5vw, 64px); max-width: 640px; }
.hero-facts li { flex: 1; padding-inline: 20px; border-inline-start: 1px solid var(--hair-d); line-height: 1.5; }
.hero-facts li:first-child { padding-inline-start: 0; border: 0; }
.hero-facts b { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.hero-facts span { font-size: 13px; color: rgba(244, 240, 232, .6); }
.hero-copy > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--e-out), transform 1.2s var(--e-expo); }
.hero-copy > .hero-title { opacity: 1; transform: none; }
.in .hero-copy > * { opacity: 1; transform: none; }
.in .hero-copy > .hero-sub { transition-delay: .35s; }
.in .hero-copy > .hero-cta { transition-delay: .5s; }
.in .hero-copy > .hero-facts { transition-delay: .65s; }

.hero-device { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; perspective: 1800px; opacity: 0; transform: translateY(60px); transition: opacity 1.2s var(--e-out) .3s, transform 1.4s var(--e-expo) .3s; }
.in .hero-device { opacity: 1; transform: none; }
.hero-device .phone-wrap { transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform 1s var(--e-out); transform-style: preserve-3d; }
.hero-device .phone-wrap.flat { transform: none; }
.device-hint { margin-top: 22px; font-size: 13px; color: rgba(244, 240, 232, .6); display: flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34C27A; box-shadow: 0 0 0 0 rgba(52, 194, 122, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 194, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 194, 122, 0); } }

.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 22px;
  background: rgba(246, 243, 237, .94); color: var(--text); font-size: 13px; line-height: 1.4; white-space: nowrap;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .8);
  animation: bob 7s ease-in-out infinite alternate;
}
.float-card b { display: block; font-size: 14px; font-weight: 700; }
.float-card small { color: var(--stone); font-size: 12px; }
.float-card img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.fc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.fc-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fc-ic.ok { background: #E4F1EA; color: #2E7D5B; }
.fc-ic.gold { background: rgba(255, 206, 49, .25); color: #7F6000; }
.float-card { pointer-events: none; }
.fc-1 { top: 11%; inset-inline-start: -16%; animation-delay: -2s; }
.fc-2 { top: 46%; inset-inline-end: -12%; animation-delay: -4s; }
.fc-3 { bottom: 15%; inset-inline-start: -12%; }
@keyframes bob { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
.paused .float-card, .paused .mq-track { animation-play-state: paused; }

.reel-bars { position: relative; display: flex; gap: clamp(14px, 3vw, 36px); padding-bottom: 34px; width: 100%; }
.reel-bars span { flex: 1; max-width: 170px; font-size: 12.5px; color: rgba(244, 240, 232, .5); transition: color .4s; }
.reel-bars span.on { color: #fff; }
.reel-bars i { display: block; height: 2px; background: rgba(255, 255, 255, .18); margin-bottom: 10px; position: relative; overflow: hidden; border-radius: 1px; }
.reel-bars i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: right; }
.reel-bars span.done i::after { transform: scaleX(1); }
.reel-bars span.on i::after { animation: rbar var(--dur, 5.5s) linear forwards; }
@keyframes rbar { to { transform: scaleX(1); } }

/* ---------- marquee ---------- */
.marquee { padding-block: clamp(56px, 7vw, 96px); overflow: hidden; display: flex; flex-direction: column; gap: clamp(14px, 2vw, 26px); }
.mq-row { display: flex; width: max-content; }
.mq-track { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); padding-inline-end: clamp(18px, 2.4vw, 34px); flex: none; animation: mq 60s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 70s; }
@keyframes mq { to { transform: translateX(100%); } }
.mq-word { font-family: var(--f-display); font-weight: 200; font-size: clamp(46px, 6.4vw, 104px); line-height: 1.1; white-space: nowrap; color: var(--text); }
.mq-word.lat { font-family: var(--f-serif); font-style: italic; font-weight: 300; color: var(--bronze); }
.mq-pic { width: clamp(120px, 14vw, 220px); height: clamp(72px, 8vw, 124px); border-radius: 999px; overflow: hidden; flex: none; box-shadow: 0 16px 40px -20px rgba(35, 31, 32, .5); }
.mq-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- manifesto ---------- */
.manifesto { padding-block: var(--sec) calc(var(--sec) * .6); background: var(--ivory); }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.manifesto .display { font-size: clamp(34px, 3.9vw, 62px); }
.fill-text { margin-top: 36px; font-family: var(--f-display); font-weight: 300; font-size: clamp(20px, 1.9vw, 29px); line-height: 1.85; color: var(--text); }
.fill-text .w { opacity: .16; transition: opacity .5s ease; }
.fill-text .w.on { opacity: 1; }
.collage { position: relative; height: clamp(460px, 44vw, 660px); }
.cl { position: absolute; padding: 8px; border-radius: 30px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .06), 0 40px 80px -40px rgba(35, 31, 32, .5); }
.cl img { width: 100%; height: 100%; object-fit: cover; border-radius: 23px; }
.cl-1 { inset-inline-end: 0; top: 0; width: 76%; height: 64%; }
.cl-2 { inset-inline-start: 0; bottom: 4%; width: 46%; height: 46%; transform: rotate(3deg); }
.cl-3 { inset-inline-end: 8%; bottom: 0; width: 40%; height: 34%; transform: rotate(-4deg); }
.cl figcaption { position: absolute; bottom: 22px; inset-inline-start: 22px; font-size: 12.5px; color: #fff; background: rgba(20, 16, 15, .5); padding: 6px 12px; border-radius: 999px; }
@supports (animation-timeline: view()) {
  .cl-1 { animation: par-a linear both; animation-timeline: view(); }
  .cl-2 { animation: par-b linear both; animation-timeline: view(); }
  .cl-3 { animation: par-c linear both; animation-timeline: view(); }
  @keyframes par-a { from { translate: 0 40px; } to { translate: 0 -40px; } }
  @keyframes par-b { from { translate: 0 110px; } to { translate: 0 -70px; } }
  @keyframes par-c { from { translate: 0 160px; } to { translate: 0 -110px; } }
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--hair); }
.stats .stat { padding: 34px 0 0; padding-inline-end: 20px; }
.stats b { display: block; font-family: var(--f-display); font-weight: 200; font-size: clamp(46px, 5vw, 80px); line-height: 1; color: var(--text); }
.stats span { display: block; margin-top: 12px; font-size: 14.5px; color: var(--text-2); }

/* ---------- a day at dorra ---------- */
.day { position: relative; background: var(--ink); color: var(--on-dark); }
.day-bg { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; overflow: hidden; z-index: 0; }
.day-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s var(--e-out); }
.day-bg img.on { opacity: 1; transform: scale(1); }
.day-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgba(14, 10, 9, .94) 0%, rgba(14, 10, 9, .78) 45%, rgba(14, 10, 9, .55) 100%), linear-gradient(to top, rgba(14, 10, 9, .6), transparent 30%); }
.day-head { position: relative; z-index: 1; padding-top: var(--sec); padding-bottom: 20px; }
.day-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); }
.chapter { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; max-width: 540px; opacity: .22; transition: opacity .7s ease; }
.chapter.on { opacity: 1; }
.chapter .time { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(66px, 7vw, 112px); line-height: 1; color: var(--gold); direction: ltr; text-align: right; }
.chapter h3 { font-family: var(--f-display); font-weight: 300; font-size: clamp(28px, 2.7vw, 42px); line-height: 1.3; margin-top: 18px; }
.chapter p { font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.9; color: var(--on-dark-2); margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags li { font-size: 13px; padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-d); color: rgba(244, 240, 232, .85); }
.ch-shot { display: none; }
.day-device { position: relative; }
.day-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.clock { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.clock span { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(160px, 20vw, 320px); line-height: 1; color: rgba(255, 206, 49, .07); letter-spacing: -.02em; transition: opacity .5s; }
.day-sticky .phone-wrap { z-index: 1; }
.day-sticky iframe { pointer-events: none; }
.day-end { height: 12vh; }

/* ---------- try it ---------- */
.try { position: relative; padding-block: var(--sec); background: var(--bone); overflow: hidden; }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.hints { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
.hints button {
  display: flex; align-items: center; gap: 14px; height: 60px; padding-inline: 18px; border-radius: 18px; text-align: start;
  font-size: 15.5px; font-weight: 500; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--hair);
  transition: background .25s, color .25s, transform .16s var(--e-out), box-shadow .25s;
}
.hints button span { font-family: var(--f-lat); font-size: 11px; letter-spacing: .15em; color: var(--bronze); }
.hints button:active { transform: scale(.98); }
.hints button.on { background: var(--brand); color: var(--ivory); box-shadow: none; }
.hints button.on span { color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .hints button:hover { background: #fff; } .hints button.on:hover { background: var(--brand); } }
.qr-card { display: flex; gap: 20px; align-items: center; margin-top: 30px; padding: 18px; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -40px rgba(35, 31, 32, .5); max-width: 520px; }
.qr-card .qr { width: 112px; height: 112px; flex: none; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-card b { display: block; font-size: 17px; }
.qr-card span { display: block; font-size: 14px; color: var(--text-2); line-height: 1.7; margin-top: 4px; }
.qr-card a { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--bronze); }
.try-device { position: relative; display: flex; flex-direction: column; align-items: center; }
.halo { position: absolute; width: 130%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 206, 49, .35) 0%, rgba(222, 214, 197, .3) 35%, transparent 65%); filter: blur(10px); pointer-events: none; }
.restart { position: relative; margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 16px; border-radius: 999px; font-size: 14px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--hair); background: rgba(255, 255, 255, .5); }
.restart svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- features bento ---------- */
.features { padding-block: var(--sec); background: var(--ivory); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(250px, 21vw, 300px); grid-auto-flow: dense; gap: 16px; }
.bx { padding: 7px; border-radius: 34px; background: rgba(35, 31, 32, .035); box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .06); }
.bx-xl { grid-column: span 2; grid-row: span 2; }
.bx-tall { grid-row: span 2; }
.bx-wide { grid-column: span 2; }
.bx-in {
  position: relative; height: 100%; border-radius: 27px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: clamp(20px, 2vw, 28px);
  background: #fff; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 24px 50px -30px rgba(35, 31, 32, .35);
}
.bx-in.photo { color: #fff; background: var(--ink); }
.bx-in.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--e-expo); }
.bx-in.photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 10, 9, .86) 0%, rgba(14, 10, 9, .3) 50%, rgba(14, 10, 9, 0) 75%); }
@media (hover: hover) and (pointer: fine) { .bx:hover .bx-in.photo > img { transform: scale(1.05); } }
.bx-dark .bx-in { background: radial-gradient(120% 80% at 90% 0%, rgba(255, 206, 49, .2), transparent 55%), linear-gradient(160deg, #2A2423, #141111 70%); color: var(--on-dark); }
.bx-txt .n { font-family: var(--f-lat); font-size: 11px; letter-spacing: .26em; color: var(--bronze); }
.bx-in.photo .n, .bx-dark .n { color: var(--gold); }
.bx-txt h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.3; margin-top: 6px; }
.bx-xl .bx-txt h3 { font-size: clamp(30px, 2.8vw, 44px); font-weight: 300; }
.bx-txt p { font-size: 14.5px; line-height: 1.75; opacity: .78; margin-top: 6px; max-width: 42ch; }
.bx-ui { position: absolute; }
.slots-ui { top: 26px; inset-inline-start: 26px; display: flex; gap: 8px; flex-wrap: wrap; max-width: 70%; }
.slots-ui span { font-size: 13px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); color: #fff; }
.slots-ui span.on { background: var(--gold); color: #1A1617; box-shadow: none; font-weight: 700; }
.slots-ui span.busy { text-decoration: line-through; opacity: .5; }
.slots-ui span.peak { position: relative; }
.slots-ui span.peak::after { content: ''; position: absolute; top: 6px; inset-inline-end: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.mini-qr { width: 104px; height: 104px; padding: 10px; border-radius: 18px; background: #F6F3ED; margin-bottom: auto; }
.balance small { display: block; font-size: 13px; color: var(--stone); }
.balance b { font-family: var(--f-display); font-weight: 200; font-size: clamp(38px, 3.4vw, 54px); line-height: 1.1; }
.balance span { font-size: 15px; color: var(--stone); margin-inline-start: 6px; }
.balance { margin-bottom: auto; }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-row span { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--bone); color: var(--text-2); }
.ring-ui { top: 24px; inset-inline-start: 24px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 16, 15, .45); text-align: center; line-height: 1.1; }
.ring-ui svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transform: rotate(-90deg); }
.ring-ui circle { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 4; }
.ring-ui circle.fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; transition: stroke-dashoffset 1.6s var(--e-expo) .3s; }
.in .ring-ui circle.fg { stroke-dashoffset: 12; }
.ring-ui b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; }
.ring-ui small { display: block; font-size: 11px; opacity: .75; }
.notif-stack { justify-content: space-between; background: var(--bone); }
.nt-mini { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -16px rgba(35, 31, 32, .4); font-size: 12.5px; line-height: 1.35; }
.nt-mini + .nt-mini { margin-top: -6px; transform: scale(.96); opacity: .85; }
.nt-mini img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.nt-mini .fc-ic { width: 32px; height: 32px; border-radius: 10px; }
.nt-mini b { display: block; font-size: 13px; }
.nt-mini small { color: var(--stone); }
.ticket-mini { display: flex; align-items: center; gap: 10px; margin-bottom: auto; font-size: 13px; }
.ticket-mini span:first-child { font-family: var(--f-lat); letter-spacing: .06em; direction: ltr; }
.ticket-mini i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--hair) 0 6px, transparent 6px 12px); }
.ticket-mini span:last-child { padding: 4px 10px; border-radius: 999px; background: rgba(255, 206, 49, .25); color: #7F6000; }

/* ---------- membership card ---------- */
.pass { position: relative; padding-block: var(--sec); background: radial-gradient(90% 70% at 25% 50%, #2A2220 0%, var(--ink) 60%); color: var(--on-dark); overflow: hidden; }
.pass-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.checks { margin-top: 34px; display: grid; gap: 14px; }
.checks li { position: relative; padding-inline-start: 36px; font-size: 16.5px; }
.checks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 206, 49, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCE31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks.light li { color: rgba(244, 240, 232, .88); }
.card-stage { position: relative; perspective: 1800px; display: grid; place-items: center; min-height: 460px; }
.card3d { position: relative; width: min(520px, 86%); aspect-ratio: 1.586; transform-style: preserve-3d; transform: rotateY(-18deg) rotateX(10deg); transition: transform 1.2s var(--e-expo); }
.card-stage:hover .card3d { transform: rotateY(-6deg) rotateX(4deg); }
@supports (animation-timeline: view()) {
  .card3d { animation: cardspin linear both; animation-timeline: view(); animation-range: cover 18% cover 82%; }
  @keyframes cardspin { 0% { transform: rotateY(-24deg) rotateX(12deg); } 45% { transform: rotateY(-4deg) rotateX(4deg); } 100% { transform: rotateY(172deg) rotateX(6deg); } }
}
.card3d.flip { transform: rotateY(180deg); }
.c-face { position: absolute; inset: 0; border-radius: 28px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.c-front {
  padding: 30px 32px; display: flex; flex-direction: column; color: var(--on-dark);
  background: radial-gradient(120% 90% at 90% -10%, rgba(255, 206, 49, .26), transparent 58%), radial-gradient(80% 70% at 0% 110%, rgba(162, 115, 0, .3), transparent 60%), linear-gradient(155deg, #2C2625 0%, #171313 55%, #0C0A0A 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 220, 140, .24), 0 60px 100px -40px rgba(0, 0, 0, .9);
}
.c-front::before { content: ''; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(255, 230, 170, .14) 49%, rgba(255, 255, 255, .05) 53%, transparent 60%); animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { transform: translateX(-30%); } 50% { transform: translateX(30%); } }
.c-hd { display: flex; justify-content: space-between; align-items: center; position: relative; }
.c-hd img { height: 24px; width: auto; }
.c-emb { width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #E9C766, #9C7A24 60%, #D8B55B); box-shadow: inset 0 0 0 .6px rgba(0, 0, 0, .3); }
.c-no { position: relative; margin-top: auto; font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(34px, 3.2vw, 48px); color: rgba(255, 230, 170, .92); direction: ltr; text-align: left; }
.c-who { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.c-who img { width: 52px; height: 52px; border-radius: 15px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 220, 140, .4); }
.c-who b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 19px; }
.c-who small { color: #D9C9A0; font-size: 13px; }
.c-ft { position: relative; display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: .5px solid rgba(255, 255, 255, .14); }
.c-ft small { display: block; font-size: 11px; color: #9A9086; }
.c-ft b { font-size: 14px; font-weight: 500; }
.c-back { transform: rotateY(180deg); background: #F7F4EE; color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .9); }
.c-qr { width: 42%; aspect-ratio: 1; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .3); margin-bottom: 8px; transition: opacity .3s, filter .3s; }
.c-qr.renew { opacity: .2; filter: blur(3px); }
.c-back b { font-size: 17px; }
.c-back small { font-size: 13px; color: var(--stone); }
.card-shadow { position: absolute; bottom: 4%; left: 50%; width: 60%; height: 40px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(0, 0, 0, .7), transparent 70%); filter: blur(14px); z-index: -1; }

/* ---------- parents ---------- */
.parents { padding-block: var(--sec); background: var(--ivory); }
.parents-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.parents-media { position: relative; padding: 8px; border-radius: 38px; background: rgba(35, 31, 32, .04); box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .06); }
.parents-media video { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 31px; background: var(--ink); }
.pm-card { position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 22px; background: rgba(246, 243, 237, .95); box-shadow: 0 30px 60px -24px rgba(35, 31, 32, .6); max-width: 300px; font-size: 14px; line-height: 1.55; animation: bob 8s ease-in-out infinite alternate; }
.pm-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.pm-card small { display: block; color: var(--stone); font-size: 12px; margin-top: 4px; }
.pm-1 { bottom: 12%; inset-inline-start: -8%; }
.pm-2 { top: 10%; inset-inline-end: -6%; animation-delay: -3s; }
.medal-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #5A4300; background: radial-gradient(circle at 30% 25%, #FFE9A3, #E6B634 55%, #A27300); }
.medal-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.rows { margin-top: 38px; border-top: 1px solid var(--hair); }
.rw { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.rw > span { font-size: 11px; letter-spacing: .2em; color: var(--bronze); padding-top: 6px; }
.rw b { display: block; font-size: 18px; font-weight: 700; }
.rw p { font-size: 15.5px; color: var(--text-2); margin-top: 4px; line-height: 1.75; }

/* ---------- admin ---------- */
.admin { position: relative; padding-block: var(--sec); background: var(--ink); color: var(--on-dark); overflow: hidden; }
.admin::before { content: ''; position: absolute; top: -20%; left: 50%; width: 900px; height: 900px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 206, 49, .09), transparent 60%); pointer-events: none; }
.sec-head.light .lead { color: var(--on-dark-2); }
.flow { position: relative; height: 440px; margin-bottom: 70px; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-lines path { fill: none; stroke: rgba(255, 206, 49, .35); stroke-width: 1.3; stroke-dasharray: 6 8; animation: dash 3s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.node { position: absolute; transform: translate(-50%, -50%); padding: 16px 20px; border-radius: 20px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); text-align: center; min-width: 190px; }
.node b { display: block; font-size: 16px; }
.node small { display: block; font-size: 12.5px; color: rgba(244, 240, 232, .55); margin-top: 2px; }
.node.hub { left: 50%; top: 50%; padding: 28px 32px; border-radius: 30px; background: linear-gradient(160deg, #2A2423, #161212); box-shadow: inset 0 0 0 1px rgba(255, 220, 140, .25), 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 10px rgba(255, 206, 49, .04); }
.node.hub img { height: 20px; width: auto; margin: 0 auto 10px; }
.node.hub span { font-size: 14px; color: var(--gold); }
.n1 { left: 17%; top: 14%; } .n2 { left: 17%; top: 50%; } .n3 { left: 17%; top: 86%; }
.n4 { left: 83%; top: 14%; } .n5 { left: 83%; top: 50%; } .n6 { left: 83%; top: 86%; box-shadow: inset 0 0 0 1px rgba(255, 206, 49, .5); }
.admin-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.at { padding: 28px 24px; border-radius: 26px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.at b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; }
.at p { font-size: 14.5px; line-height: 1.8; color: rgba(244, 240, 232, .62); margin-top: 10px; }

/* ---------- craft ---------- */
.craft { padding-block: var(--sec); background: var(--bone); }
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.cf { padding: 38px 0 38px; padding-inline-end: 30px; border-bottom: 1px solid var(--hair); }
.cf > span { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; }
.cf > span.lat { font-family: var(--f-lat); font-weight: 300; letter-spacing: -.01em; }
.cf p { font-size: 15.5px; line-height: 1.8; color: var(--text-2); margin-top: 12px; max-width: 34ch; }

/* ---------- scope + delivery ---------- */
.scope { padding-block: var(--sec); background: var(--ivory); }
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sc { padding: 32px 30px; border-radius: 30px; background: #fff; box-shadow: 0 30px 60px -44px rgba(35, 31, 32, .5), inset 0 0 0 1px rgba(35, 31, 32, .04); }
.sc h3 { font-family: var(--f-display); font-weight: 400; font-size: 22px; margin-bottom: 18px; }
.sc li { position: relative; padding-inline-start: 26px; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.sc li + li { margin-top: 12px; }
/* a checkmark is a glyph, not a direction: physical borders on purpose */
.sc li::before { content: ''; position: absolute; inset-inline-start: 0; top: 7px; width: 12px; height: 7px; border-left: 1.8px solid var(--bronze); border-bottom: 1.8px solid var(--bronze); transform: rotate(-45deg); }
.next { margin-top: 16px; padding: 30px; border-radius: 30px; box-shadow: inset 0 0 0 1px var(--hair); display: flex; gap: 24px; align-items: baseline; }
.next .eyebrow { margin: 0; flex: none; }
.next p { color: var(--text-2); font-size: 16px; line-height: 1.85; }
.delivery { padding-block: 0 var(--sec); background: var(--ivory); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding-top: 30px; border-top: 1px solid var(--hair); }
.steps li::before { content: ''; position: absolute; top: -5px; inset-inline-start: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--ivory); }
.steps span { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 58px; line-height: 1; color: var(--bronze); }
.steps b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 21px; margin-top: 14px; }
.steps p { font-size: 15px; line-height: 1.8; color: var(--text-2); margin-top: 8px; padding-inline-end: 12px; }

/* ---------- close ---------- */
.close { position: relative; min-height: 100vh; min-height: 100dvh; background: var(--ink); color: var(--on-dark); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.close-bg { position: absolute; inset: 0; z-index: -1; }
.close-bg video { width: 100%; height: 100%; object-fit: cover; }
.close-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 10, 9, .95) 0%, rgba(14, 10, 9, .55) 50%, rgba(14, 10, 9, .75) 100%); }
.close-in { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-block: 140px 60px; }
.close-mark { width: 150px; opacity: .9; margin-bottom: 40px; }
.close .display { font-size: clamp(46px, 6.6vw, 110px); }
.close .lead { margin-inline: auto; }
.close-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; margin-top: 44px; }
.qr-mini { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(244, 240, 232, .75); text-align: start; }
.qr-mini .qr { width: 84px; height: 84px; padding: 8px; background: #fff; border-radius: 14px; }
.foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-block: 30px 36px; border-top: 1px solid var(--hair-d); width: 100%; }
.foot small { display: block; font-size: 12px; color: rgba(244, 240, 232, .45); }
.foot b { font-weight: 500; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.foot .by img { height: 22px; width: auto; }

/* ---------- language switch ---------- */
.nav-lang { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; color: rgba(244, 240, 232, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: background .25s, color .25s; white-space: nowrap; }
.nav-lang[lang="en"] { font-family: var(--f-lat); letter-spacing: .06em; }
.nav-lang[lang="ar"] { font-family: 'Tajawal', sans-serif; }
.nav-lang:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav.light .nav-lang { color: var(--text-2); box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .14); }
.nav.light .nav-lang:hover { background: rgba(35, 31, 32, .05); color: var(--text); }

/* ---------- English page: brand serif display, Montserrat text, left-to-right ---------- */
html[lang="en"] { --f-ar: 'Montserrat', system-ui, sans-serif; --f-display: 'Cormorant Garamond', Georgia, serif; }
html[lang="en"] body { font-size: 16.5px; letter-spacing: -.003em; }
html[lang="en"] .display { font-weight: 300; font-size: clamp(44px, 5.6vw, 92px); line-height: 1.03; letter-spacing: -.022em; }
html[lang="en"] .manifesto .display { font-size: clamp(38px, 4.1vw, 66px); line-height: 1.06; }
html[lang="en"] .close .display { font-size: clamp(56px, 7.4vw, 124px); }
html[lang="en"] .hero-title { font-weight: 300; font-size: clamp(62px, 7.6vw, 128px); line-height: .96; letter-spacing: -.028em; }
html[lang="en"] .hero-title .ln > span { white-space: normal; }
html[lang="en"] .hero-title em { font-style: italic; }
html[lang="en"] .hero-sub, html[lang="en"] .lead { line-height: 1.75; }
html[lang="en"] .fill-text { font-weight: 400; font-size: clamp(24px, 2.2vw, 35px); line-height: 1.45; letter-spacing: -.01em; }
html[lang="en"] .mq-word { font-weight: 300; letter-spacing: -.02em; }
html[lang="en"] .mq-word.ar { font-family: 'Alexandria', 'Tajawal', sans-serif; font-weight: 200; font-style: normal; color: var(--bronze); letter-spacing: 0; }
html[lang="en"] .chapter h3 { font-weight: 400; font-size: clamp(32px, 3vw, 50px); line-height: 1.08; letter-spacing: -.015em; }
html[lang="en"] .chapter .time { text-align: left; }
html[lang="en"] .clock span { font-style: italic; }
html[lang="en"] .stats b, html[lang="en"] .balance b { font-weight: 300; letter-spacing: -.02em; }
html[lang="en"] .balance > span { margin-inline: 0 6px; }
html[lang="en"] .bx-txt h3 { font-weight: 500; font-size: clamp(25px, 2vw, 31px); letter-spacing: -.01em; line-height: 1.15; }
html[lang="en"] .bx-xl .bx-txt h3 { font-weight: 400; font-size: clamp(38px, 3.3vw, 56px); }
html[lang="en"] .sc h3, html[lang="en"] .at b, html[lang="en"] .steps b, html[lang="en"] .node b { font-weight: 500; font-size: 1.25em; letter-spacing: -.01em; }
html[lang="en"] .cf > span { font-weight: 400; font-size: clamp(28px, 2.4vw, 36px); }
html[lang="en"] .c-who b { font-weight: 500; font-size: 21px; }
html[lang="en"] .rw b { font-size: 17px; }
html[lang="en"] .btn-pill { font-size: 15px; font-weight: 600; letter-spacing: -.005em; }
html[lang="en"] .nav-links a { font-size: 13.5px; }
html[dir="ltr"] .hero-scrim { background:
  linear-gradient(to right, rgba(14, 10, 9, .9) 0%, rgba(14, 10, 9, .66) 38%, rgba(14, 10, 9, .28) 68%, rgba(14, 10, 9, .52) 100%),
  linear-gradient(to top, rgba(14, 10, 9, .92) 0%, rgba(14, 10, 9, 0) 42%),
  linear-gradient(to bottom, rgba(14, 10, 9, .6) 0%, rgba(14, 10, 9, 0) 22%); }
html[dir="ltr"] .day-bg::after { background: linear-gradient(to right, rgba(14, 10, 9, .94) 0%, rgba(14, 10, 9, .78) 45%, rgba(14, 10, 9, .55) 100%), linear-gradient(to top, rgba(14, 10, 9, .6), transparent 30%); }
html[dir="ltr"] .progress i, html[dir="ltr"] .reel-bars i::after { transform-origin: left; }
html[dir="ltr"] .mq-track { animation-name: mq-ltr; }
@keyframes mq-ltr { to { transform: translateX(-100%); } }
@media (hover: hover) and (pointer: fine) { html[dir="ltr"] .btn-pill:hover .dot-ic { transform: translateX(4px) scale(1.06); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--e-out), transform 1.2s var(--e-expo); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .fc-2 { inset-inline-end: -4%; }
  .admin-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav { padding-inline: 20px 7px; gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-device { margin-top: 20px; }
  .fc-1 { inset-inline-start: 2%; }
  .fc-2 { inset-inline-end: 2%; }
  .fc-3 { inset-inline-start: 6%; }
  .manifesto-grid, .try-grid, .pass-grid, .parents-grid { grid-template-columns: 1fr; }
  .collage { order: -1; }
  .day-bg { display: none; }
  .day { background: var(--ink); }
  .day-grid { grid-template-columns: 1fr; }
  .day-device { display: none; }
  .chapter { min-height: 0; opacity: 1; padding-block: 50px; max-width: none; border-top: 1px solid var(--hair-d); }
  .chapter .time { text-align: start; }
  .ch-shot { display: block; width: min(300px, 78%); margin-top: 30px; border-radius: 34px; box-shadow: 0 0 0 8px #1E1919, 0 0 0 9px rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .8); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .bx-xl { grid-column: span 2; grid-row: span 2; }
  .bx-wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .craft-grid, .scope-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
  .flow-lines { display: none; }
  .node { position: static; transform: none; min-width: 0; }
  .node.hub { grid-column: span 2; }
  .try-device { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-facts { flex-direction: column; gap: 14px; }
  .hero-facts li { padding: 0; border: 0; }
  .reel-bars { display: none; }
  .float-card { display: none; }
  .hints { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .bx-xl, .bx-wide { grid-column: span 1; }
  .bx-xl { grid-row: span 2; }
  .bx-tall { grid-row: span 1; }
  .craft-grid, .scope-grid, .steps, .admin-tiles, .foot { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .node.hub { grid-column: span 1; }
  .pm-1 { inset-inline-start: 4%; bottom: -30px; }
  .pm-2 { inset-inline-end: 4%; top: -24px; }
  .next { flex-direction: column; gap: 10px; }
  .qr-card .qr { width: 88px; height: 88px; }
  .card-stage { min-height: 300px; }
  .cl-1 { width: 80%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-copy > *, .hero-device, .hero-title .ln > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mq-track, .float-card, .pm-card, .c-front::before, .flow-lines path { animation: none !important; }
  .reel video { transition: none !important; }
}
