/* =====================================================================
   AL GAWEESH — THE THIRD FOUNDING · Presentation site styles
   Requires tokens.css
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink-950); }
body {
  font-family: var(--font-latin);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}
html[dir="rtl"] body { font-family: var(--font-arabic); }
html[dir="rtl"] * { letter-spacing: 0 !important; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; }
::selection { background: var(--ink-50); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--stone-300); outline-offset: 3px; border-radius: 6px; }

/* ---------------- Header ---------------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 0 var(--gutter); color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.brand-word { font-family: var(--font-brand); font-size: 15px; letter-spacing: var(--track-brand); line-height: 1; white-space: nowrap; }
.brand-word small { display: block; font-family: var(--font-latin); font-size: 8px; letter-spacing: .5em; margin-top: 5px; opacity: .8; text-align: center; }
.hdr-mid { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.dots3 { display: inline-flex; gap: 4px; }
.dots3 i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; display: block; }
.hdr-label { border: 1px solid currentColor; border-radius: var(--r-pill); padding: 3px 12px 4px; white-space: nowrap; transition: opacity .3s; }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.counter { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .8; min-width: 54px; text-align: center; }
.lang {
  display: inline-flex; border: 1px solid currentColor; border-radius: var(--r-pill); padding: 3px; gap: 2px; font-size: 12px;
}
.lang button { padding: 5px 11px; border-radius: var(--r-pill); line-height: 1; transition: background .3s, color .3s; }
.lang button[aria-pressed="true"] { background: #fff; color: #000; }
.lang button[data-l="ar"] { font-family: var(--font-arabic); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.icon-btn svg { width: 16px; height: 16px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: transparent; mix-blend-mode: difference; }
.progress i { display: block; height: 100%; width: 0; background: #fff; transition: width .6s var(--ease-out); }
html[dir="rtl"] .progress i { margin-inline-start: 0; }

/* side rail (section ticks) */
.rail { position: fixed; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 7px; mix-blend-mode: difference; }
.rail button { width: 14px; height: 2px; background: #fff; opacity: .3; transition: opacity .3s, width .3s; justify-self: end; }
.rail button.on { opacity: 1; width: 26px; }
.rail button:hover { opacity: .8; }

/* ---------------- Deck & slides ---------------- */
.deck { position: fixed; inset: 0; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; scroll-behavior: smooth; overscroll-behavior: contain; }
.deck::-webkit-scrollbar { width: 0; height: 0; }
.slide {
  position: relative; min-height: 100vh; min-height: 100svh; width: 100%;
  scroll-snap-align: start; background: var(--bg); color: var(--fg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 56px; display: flex; flex-direction: column; overflow: hidden;
}
.slide-in { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.foot {
  position: absolute; inset: auto var(--gutter) 18px; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); z-index: 3;
}
html[dir="rtl"] .foot { font-size: 11px; text-transform: none; }

/* ---------------- Atoms ---------------- */
.tag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 5px 14px 6px; font-size: 11px; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--fg); width: max-content; }
html[dir="rtl"] .tag { font-size: 13px; text-transform: none; }
.tag.solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tag.soft { background: var(--card-2); border-color: transparent; }
.btn-c { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease-out); flex: none; }
.btn-c svg { width: 18px; height: 18px; }
.btn-c:hover { background: var(--fg); color: var(--bg); transform: rotate(-45deg); }
html[dir="rtl"] .btn-c svg { transform: scaleX(-1); }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: var(--r-pill); background: var(--fg); color: var(--bg); font-weight: 500; text-decoration: none; transition: transform .3s var(--ease-out), opacity .3s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-2); }
.btn svg { width: 16px; height: 16px; }
.h-mega { font-size: var(--fs-mega); line-height: .92; letter-spacing: var(--track-tight); font-weight: 300; margin: 0; }
.h-d1 { font-size: var(--fs-d1); line-height: var(--lh-tight); letter-spacing: var(--track-tight); font-weight: 300; margin: 0; }
.h-d2 { font-size: var(--fs-d2); line-height: 1.02; letter-spacing: var(--track-tight); font-weight: 300; margin: 0; }
.h1 { font-size: var(--fs-h1); line-height: var(--lh-head); letter-spacing: var(--track-head); font-weight: 400; margin: 0; }
.h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: var(--track-head); font-weight: 400; margin: 0; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 500; margin: 0; }
html[dir="rtl"] .h-mega, html[dir="rtl"] .h-d1, html[dir="rtl"] .h-d2 { font-weight: 500; line-height: 1.15; }
html[dir="rtl"] .h1, html[dir="rtl"] .h2 { font-weight: 500; line-height: 1.3; }
.lead { font-size: var(--fs-lead); color: var(--fg-2); max-width: 60ch; margin: 0; }
.muted { color: var(--fg-3); }
.grey { color: var(--fg-3); }
.num { font-variant-numeric: tabular-nums; }
.mark-svg path { stroke: currentColor; }
.hair { height: 1px; background: var(--line); border: 0; margin: 0; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-8); margin-bottom: clamp(20px, 3.5vh, 40px); flex-wrap: wrap; }
.head-row .lead { max-width: 46ch; }
.stack { display: flex; flex-direction: column; gap: var(--s-4); }
.card { background: var(--card); color: var(--card-fg); border-radius: var(--r-lg); padding: clamp(18px, 2vw, 28px); position: relative; }
.card.inv { background: var(--invert-bg); color: var(--invert-fg); }
.card.line { background: transparent; border: 1px solid var(--line); }
.star { position: absolute; inset-inline-end: 18px; bottom: 16px; width: 14px; height: 14px; opacity: .8; }

/* ---------------- Reveal animation system ---------------- */
[data-a] { opacity: 0; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), filter var(--t-slow) var(--ease-out), clip-path var(--t-slow) var(--ease-out); transition-delay: var(--d, 0ms); will-change: transform, opacity; }
[data-a="up"] { transform: translateY(42px); }
[data-a="down"] { transform: translateY(-30px); }
[data-a="left"] { transform: translateX(-60px); }
[data-a="right"] { transform: translateX(60px); }
html[dir="rtl"] [data-a="left"] { transform: translateX(60px); }
html[dir="rtl"] [data-a="right"] { transform: translateX(-60px); }
[data-a="scale"] { transform: scale(.92); }
[data-a="blur"] { filter: blur(14px); transform: translateY(10px); }
[data-a="mask"] { clip-path: inset(0 0 100% 0); transform: translateY(20px); }
[data-a="fade"] { }
.slide.in [data-a] { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.line-mask > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0ms); }
.slide.in .line-mask > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-a], .line-mask > span { transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .deck { scroll-behavior: auto; }
}

/* ---------------- HERO ---------------- */
.hero { background: var(--ink-1000); }
.hero .glow { position: absolute; width: 120vmax; height: 120vmax; left: 50%; top: 55%; transform: translate(-50%, -50%); background: var(--silver-glow); filter: blur(10px); animation: breathe 9s var(--ease-in-out) infinite alternate; z-index: 0; pointer-events: none; }
.hero .swoosh { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9;
  background: radial-gradient(80% 40% at 85% 75%, rgba(255,255,255,.35), rgba(255,255,255,0) 60%), radial-gradient(70% 30% at 70% 80%, rgba(160,160,160,.25), rgba(0,0,0,0) 70%);
  animation: drift 14s var(--ease-in-out) infinite alternate; }
@keyframes breathe { from { opacity: .55; transform: translate(-50%, -50%) scale(.92); } to { opacity: 1; transform: translate(-50%, -48%) scale(1.05); } }
@keyframes drift { from { transform: translate3d(-3%, 2%, 0) scale(1); } to { transform: translate3d(3%, -2%, 0) scale(1.08); } }
.hero .bigmark { position: absolute; inset-inline-end: -8vmin; top: 50%; transform: translateY(-50%); width: min(78vmin, 820px); height: auto; color: #fff; opacity: .07; z-index: 1; }
.hero .slide-in { justify-content: flex-end; padding-bottom: 7vh; }
.hero-mark { width: clamp(64px, 7vw, 104px); color: #fff; margin-bottom: clamp(20px, 4vh, 40px); }
.draw path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset var(--t-draw) var(--ease-in-out); }
.draw path + path { transition-delay: 450ms; }
.slide.in .draw path { stroke-dashoffset: 0; }
.hero h1 { font-weight: 300; color: #fff; }
.hero h1 .grey { color: var(--ink-500); }
.hero .sub { margin-top: 22px; max-width: 52ch; color: var(--ink-300); font-size: var(--fs-lead); }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.seal { width: 112px; height: 112px; position: relative; color: #fff; flex: none; }
.seal svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal .core { position: absolute; inset: 0; display: grid; place-items: center; }
.seal .core svg { width: 26px; height: 26px; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.ticker { position: absolute; inset: auto 0 0 0; border-top: 1px solid rgba(255,255,255,.12); overflow: hidden; z-index: 3; height: 44px; display: flex; align-items: center; }
.ticker-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 40s linear infinite; padding-inline-start: 48px; font-size: 13px; color: var(--ink-400); }
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; }
.ticker-track span::after { content: ""; width: 8px; height: 8px; border: 1px solid var(--ink-500); transform: rotate(45deg); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .ticker-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-400); letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .scroll-cue { text-transform: none; letter-spacing: 0; font-size: 13px; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--ink-400), transparent); display: block; animation: cue 2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------------- WELCOME (ref 1) ---------------- */
.welcome .slide-in { align-items: center; text-align: center; }
.welcome .bigtext { font-size: clamp(30px, 3.9vw, 66px); line-height: 1.12; letter-spacing: var(--track-head); max-width: 22ch; margin: 0 auto; font-weight: 400; }
html[dir="rtl"] .welcome .bigtext { font-weight: 500; line-height: 1.45; max-width: 26ch; }
.welcome .bigtext .grey { color: var(--fg-3); }
.welcome .corner-tl { position: absolute; top: calc(var(--header-h) + 8px); inset-inline-start: var(--gutter); }
.welcome .corner-br { position: absolute; bottom: 48px; inset-inline-end: var(--gutter); display: flex; align-items: center; gap: 12px; }
.welcome .thumb { position: absolute; bottom: 48px; inset-inline-start: var(--gutter); width: clamp(140px, 16vw, 240px); aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; background: var(--ink-900); }
.welcome .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1) contrast(1.05); }
.welcome .thumb2 { position: absolute; top: calc(var(--header-h) + 24px); inset-inline-end: calc(var(--gutter) + 40px); width: clamp(120px, 13vw, 200px); aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background: var(--ink-950); display: grid; place-items: center; color: #fff; }
.welcome .thumb2 svg { width: 40%; }

/* ---------------- SECTION DIVIDER (ref 1) ---------------- */
.divider { background: var(--ink-1000); }
.divider .slide-in { justify-content: space-between; }
.divider .numeral { position: absolute; inset-inline-end: 0; top: -2vh; font-size: clamp(160px, 26vw, 420px); font-weight: 200; line-height: .8; letter-spacing: -.06em; color: var(--ink-200); font-family: var(--font-latin); }
.divider .title { font-size: var(--fs-d1); font-weight: 400; line-height: 1; letter-spacing: var(--track-tight); max-width: 10ch; margin: 0; }
html[dir="rtl"] .divider .title { font-weight: 500; line-height: 1.2; }
.divider .bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.divider .note { max-width: 34ch; font-size: 13px; color: var(--ink-400); }
.divider .lines { position: absolute; inset: 0; z-index: 0; opacity: .06; pointer-events: none; }

/* ---------------- TIMELINE ---------------- */
.tl-wrap { position: relative; margin-top: 8px; }
.tl-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 56px 2px 12px; scrollbar-width: none; cursor: grab; }
.tl-track::-webkit-scrollbar { display: none; }
.tl-track.drag { cursor: grabbing; scroll-snap-type: none; }
.tl-line { position: absolute; top: 27px; inset-inline: 0; height: 1px; background: var(--line); }
.tl-line i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--fg); transition: width 2.4s var(--ease-in-out) .3s; }
.slide.in .tl-line i { width: 100%; }
.tl-item { scroll-snap-align: start; position: relative; border-radius: var(--r-lg); background: var(--card); padding: 24px 24px 28px; min-height: clamp(260px, 40vh, 420px); display: flex; flex-direction: column; gap: 10px; user-select: none; }
.tl-item::before { content: ""; position: absolute; top: -34px; inset-inline-start: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--fg); }
.tl-item.hl { background: var(--invert-bg); color: var(--invert-fg); }
.tl-item.hl::before { background: var(--fg); }
.tl-item .yr { font-size: clamp(30px, 2.8vw, 46px); font-weight: 200; letter-spacing: -.03em; line-height: 1; }
html[dir="rtl"] .tl-item .yr { font-weight: 300; font-size: clamp(24px, 2.2vw, 36px); }
.tl-item .tt { font-weight: 500; font-size: clamp(17px, 1.4vw, 22px); margin-top: auto; }
.tl-item .dd { font-size: 15px; opacity: .72; line-height: 1.5; }
.tl-hint { display: flex; align-items: center; gap: 10px; color: var(--fg-3); font-size: 12px; margin-top: 14px; }
.tl-nav { display: flex; gap: 8px; }

/* ---------------- TODAY (bento ref 1) ---------------- */
.today-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.stats4 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.stat { border-radius: var(--r-lg); padding: 18px 20px; background: var(--card-2); display: flex; flex-direction: column; gap: 6px; min-height: 120px; justify-content: space-between; }
.stat b { font-size: clamp(34px, 3.4vw, 56px); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
html[dir="rtl"] .stat b { font-weight: 400; }
.stat span { font-size: 13px; color: var(--fg-2); }
.stat.inv { background: var(--invert-bg); color: var(--invert-fg); }
.stat.inv span { color: var(--ink-400); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(120px, auto); gap: 12px; }
.co { border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; background: var(--card); position: relative; overflow: hidden; transition: transform .5s var(--ease-out); }
.co:hover { transform: translateY(-4px); }
.co .logo { height: 22px; width: auto; object-fit: contain; object-position: left; }
html[dir="rtl"] .co .logo { object-position: right; }
.co.dark { background: var(--ink-950); color: var(--ink-50); }
.co.stone { background: var(--stone-200); color: var(--ink-950); }
.co.stone .logo, .co.light .logo { filter: invert(1); }
.co.light { background: #fff; }
.co .nm { font-weight: 600; font-size: 18px; line-height: 1.1; }
.co .rl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
html[dir="rtl"] .co .rl { font-size: 12px; text-transform: none; }
.co .ds { font-size: 13px; line-height: 1.45; opacity: .8; }
.co.c-gmc { grid-column: span 3; grid-row: span 2; }
.co.c-larz { grid-column: span 3; }
.co.c-isc { grid-column: span 3; }
.co.c-marble { grid-column: span 2; }
.co.c-hws { grid-column: span 2; }
.co.c-pov { grid-column: span 2; }
.co.c-gms { grid-column: span 6; flex-direction: row; align-items: center; }
.co.c-gmc .big { font-size: clamp(56px, 6vw, 110px); font-weight: 200; letter-spacing: -.05em; line-height: .9; opacity: .9; }

/* ---------------- FOOTPRINT ---------------- */
.fp-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.globe-box { position: relative; aspect-ratio: 1; width: min(100%, 72vh); margin-inline: auto; }
.globe-box canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.globe-box .halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), rgba(255,255,255,0) 65%); pointer-events: none; }
.places { display: grid; gap: 0; border-top: 1px solid var(--line); }
.place { display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; cursor: default; }
.place:hover, .place.on { background: rgba(255,255,255,.04); padding-inline: 12px; }
.place .pin { width: 10px; height: 10px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 5px rgba(255,255,255,.1); }
.place b { font-weight: 500; font-size: 17px; }
.place span { font-size: 12px; color: var(--fg-3); }
.fp-card { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; background: rgba(255,255,255,.02); }

/* ---------------- PEOPLE (ref 2) ---------------- */
.people-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; }
.person { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, var(--ink-850), var(--ink-900)); border: 1px solid var(--line); aspect-ratio: 3/4.6; max-height: 52vh; cursor: pointer; transition: transform .6s var(--ease-out), border-color .4s; text-align: start; display: block; width: 100%; padding: 0; }
.person img { position: absolute; inset: 6% 0 0 0; width: 100%; height: 94%; object-fit: cover; object-position: 50% 0; filter: grayscale(1) contrast(1.06) brightness(.92); transition: filter .6s, transform .9s var(--ease-out); }
.person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.92) 100%); }
.person .meta { position: absolute; inset: auto 14px 14px 14px; z-index: 2; color: #fff; }
.person .meta b { display: block; font-weight: 500; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.2; }
.person .meta span { display: block; font-size: 11px; color: var(--ink-300); margin-top: 4px; line-height: 1.35; }
.person .badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 3px 9px; backdrop-filter: blur(6px); }
html[dir="rtl"] .person .badge { font-size: 12px; text-transform: none; }
.person:hover { transform: translateY(-6px); border-color: var(--line-2); }
.person:hover img, .person.on img { filter: grayscale(.2) contrast(1.05); transform: scale(1.03); }
.person.on { border-color: rgba(255,255,255,.6); }
.person.on::after { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.95) 100%); }
.person.ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--ink-900) 0 10px, var(--ink-850) 10px 20px); }
.person.ph svg { width: 40%; opacity: .25; color: #fff; }
.person-detail { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; min-height: 86px; border-top: 1px solid var(--line); padding-top: 18px; }
.person-detail .k { font-size: clamp(30px, 3vw, 52px); font-weight: 300; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
html[dir="rtl"] .person-detail .k { font-weight: 500; }
.person-detail p { margin: 0; color: var(--fg-2); max-width: 70ch; font-size: var(--fs-lead); }

/* ---------------- MARKET (ref 3 stats) ---------------- */
.mk-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.tabs { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.tabs button { padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 13px; transition: background .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.mk-tiles { display: grid; gap: 10px; }
.mk-tile { background: var(--card-2); border-radius: var(--r-lg); padding: 14px 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; min-height: 96px; animation: tileIn .8s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes tileIn { from { opacity: 0; transform: translateY(16px); } }
.mk-tile .lbl { background: var(--card); border-radius: 10px; padding: 4px 10px; font-size: 13px; width: max-content; max-width: 100%; }
.mk-tile .note { font-size: 12px; color: var(--fg-3); grid-column: 1; }
.mk-tile b { grid-row: 1 / span 2; grid-column: 2; font-size: clamp(40px, 4.4vw, 76px); font-weight: 500; letter-spacing: -.04em; line-height: 1; text-align: end; white-space: nowrap; }
html[dir="rtl"] .mk-tile b { font-weight: 600; }
.mk-line { margin-top: 20px; font-size: 15px; color: var(--fg-2); max-width: 46ch; }
.src { margin-top: 14px; font-size: 11px; color: var(--fg-3); }
.src summary { cursor: pointer; width: max-content; }
.src ol { margin: 8px 0 0; padding-inline-start: 18px; columns: 2; column-gap: 24px; }
.src a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------------- OPPORTUNITIES (ref 2 cards) ---------------- */
.opp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.opp { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 40px; min-height: 210px; display: flex; flex-direction: column; gap: 8px; position: relative; transition: background .5s, border-color .5s, transform .5s var(--ease-out); background: rgba(255,255,255,.015); }
.opp .n { font-size: clamp(30px, 2.6vw, 42px); font-weight: 200; line-height: 1; letter-spacing: -.03em; }
.opp .k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
html[dir="rtl"] .opp .k { font-size: 12px; text-transform: none; }
.opp .t { font-weight: 500; font-size: 17px; line-height: 1.2; }
.opp .d { font-size: 13px; color: var(--fg-2); line-height: 1.45; }
.opp .m { font-size: 12px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); color: var(--fg); }
.opp:hover, .opp.on { background: linear-gradient(160deg, #3b3b39 0%, #161616 70%); border-color: rgba(255,255,255,.3); transform: translateY(-4px); }

/* ---------------- CHAIN ---------------- */
.chain-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin: 0 0 18px; }
.chain-row::before { content: ""; position: absolute; top: 34px; inset-inline: 10%; height: 1px; background: var(--line-2); }
.chain-row .flow { position: absolute; top: 33px; inset-inline-start: 10%; width: 80%; height: 3px; overflow: hidden; }
.chain-row .flow i { position: absolute; top: 0; width: 80px; height: 3px; background: linear-gradient(90deg, transparent, var(--ink-950), transparent); animation: flow 2.8s linear infinite; }
html[dir="rtl"] .chain-row .flow i { animation-name: flow-rtl; }
@keyframes flow { from { left: -80px; } to { left: 100%; } }
@keyframes flow-rtl { from { right: -80px; } to { right: 100%; } }
.node { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 1; text-align: center; }
.node .o { width: 68px; height: 68px; border-radius: 50%; background: var(--ink-950); color: var(--ink-50); display: grid; place-items: center; font-weight: 600; font-size: 13px; letter-spacing: .02em; box-shadow: 0 0 0 8px var(--bg); transition: transform .4s var(--ease-spring); }
.node:hover .o { transform: scale(1.08); }
.node small { font-size: 12px; color: var(--fg-2); }
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); background: var(--card); border-radius: var(--r-xl); padding: clamp(18px, 2.4vw, 32px); }
.sim h3 { margin: 0 0 14px; }
.sl { display: grid; gap: 2px; margin-bottom: 8px; }
.sl label { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg-2); gap: 12px; }
.sl label b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); }
input[type=range]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--fg); margin-top: -8px; border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--fg); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--fg); border: 3px solid var(--card); }
.sim-out { display: grid; gap: 10px; align-content: start; }
.out { border-radius: var(--r-lg); padding: 16px 20px; background: var(--bg-2); }
.out.inv { background: var(--ink-950); color: var(--ink-50); }
.out span { font-size: 12px; opacity: .7; display: block; }
.out b { font-size: clamp(32px, 3.2vw, 54px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
html[dir="rtl"] .out b { font-weight: 500; }
.fine { font-size: 11px; color: var(--fg-3); margin-top: 6px; line-height: 1.4; }

/* ---------------- IDEA (ref 3 problem/solution) ---------------- */
.idea .statement { font-size: clamp(28px, 3.6vw, 60px); line-height: 1.1; letter-spacing: var(--track-head); font-weight: 500; max-width: 24ch; margin: 0 0 clamp(20px, 4vh, 44px); }
html[dir="rtl"] .idea .statement { line-height: 1.45; max-width: 30ch; }
.idea .statement .grey { color: var(--ink-0); }
.idea[data-theme="light"] .statement .grey { color: var(--ink-300); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pillar { background: var(--card); border-radius: var(--r-md); padding: 22px; min-height: clamp(250px, 36vh, 380px); display: flex; flex-direction: column; gap: 10px; position: relative; transition: transform .5s var(--ease-out), background .4s, color .4s; }
.pillar::after { content: ""; position: absolute; top: 18px; inset-inline-end: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--fg); }
.pillar .pn { font-size: 13px; color: var(--fg-3); }
.pillar .pt { font-size: clamp(22px, 2vw, 32px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; margin-top: auto; }
.pillar .ps { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
html[dir="rtl"] .pillar .ps { font-size: 13px; text-transform: none; }
.pillar .pd { font-size: 13px; color: var(--fg-2); line-height: 1.5; }
.pillar:hover { background: var(--ink-950); color: var(--ink-50); transform: translateY(-6px); }
.pillar:hover::after { background: var(--ink-50); }
.pillar:hover .pd, .pillar:hover .pn, .pillar:hover .ps { color: var(--ink-300); }

/* ---------------- STRUCTURE ---------------- */
.st-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 3vw, 56px); align-items: center; }
.layers { display: grid; gap: 10px; position: relative; }
.layer { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 2px 14px; padding: 12px 18px; border-radius: var(--r-md); border: 1px solid var(--line); text-align: start; transition: background .4s, color .4s, transform .5s var(--ease-out), border-color .4s; width: 100%; }
.layer .ix { font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.layer .lt { font-size: clamp(17px, 1.4vw, 22px); font-weight: 500; }
.layer .lw { grid-column: 2; font-size: 12px; color: var(--fg-3); }
.layer svg { width: 18px; height: 18px; grid-row: 1 / span 2; grid-column: 3; opacity: .4; transition: transform .4s; }
html[dir="rtl"] .layer svg { transform: scaleX(-1); }
.layer.on { background: var(--ink-50); color: var(--ink-950); border-color: var(--ink-50); }
.layer.on .ix, .layer.on .lw { color: var(--ink-500); }
.layer.on svg { opacity: 1; }
.layer:nth-child(1) { margin-inline: 0; } .layer:nth-child(2) { margin-inline: 3%; width: 94%; } .layer:nth-child(3) { margin-inline: 6%; width: 88%; } .layer:nth-child(4) { margin-inline: 9%; width: 82%; } .layer:nth-child(5) { margin-inline: 12%; width: 76%; }
.st-detail { border-radius: var(--r-xl); background: var(--card); padding: clamp(20px, 2.6vw, 36px); min-height: 320px; }
.st-detail h3 { font-size: clamp(26px, 2.6vw, 42px); font-weight: 300; letter-spacing: -.02em; margin: 6px 0 4px; }
html[dir="rtl"] .st-detail h3 { font-weight: 500; }
.st-detail ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.st-detail li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; font-size: 15px; animation: tileIn .6s var(--ease-out) both; animation-delay: var(--d); }
.st-detail li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; background: var(--fg); flex: none; }

/* ---------------- STRENGTHS MATRIX ---------------- */
.mx { display: grid; grid-template-columns: 220px repeat(6, 1fr); border-top: 1px solid var(--line); }
.mx > div { padding: 12px 12px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.mx .ch { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding-top: 10px; padding-bottom: 10px; }
html[dir="rtl"] .mx .ch { font-size: 13px; text-transform: none; }
.mx .rh { display: flex; align-items: center; gap: 10px; cursor: pointer; transition: background .3s; border-radius: 10px; }
.mx .rh img, .mx .rh .av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; filter: grayscale(1); background: var(--card-2); flex: none; display: grid; place-items: center; }
.mx .rh b { display: block; font-weight: 600; font-size: 14px; }
.mx .rh small { display: block; font-size: 11px; color: var(--fg-3); line-height: 1.25; }
.mx .cell { color: var(--fg-3); transition: color .4s, background .4s; }
.mx .row-on { background: var(--ink-950); color: var(--ink-50) !important; }
.mx .rh.row-on small { color: var(--ink-400); }
.mx .cell.row-on { animation: cellOn .6s var(--ease-out) both; animation-delay: var(--d); }
@keyframes cellOn { from { background: var(--ink-50); color: var(--fg-3); } }

/* ---------------- BOARD ---------------- */
.bd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 56px); align-items: center; }
.table-svg { width: min(100%, 64vh); margin-inline: auto; display: block; overflow: visible; }
.seat { cursor: pointer; }
.seat circle.s { transition: r .4s var(--ease-spring), fill .3s, stroke .3s; }
.seat:hover circle.s { r: 31; }
.seat text { font-size: 11px; font-weight: 500; fill: currentColor; text-anchor: middle; pointer-events: none; font-family: var(--font-latin); }
html[dir="rtl"] .seat text { font-family: var(--font-arabic); }
.seat.on circle.ring { opacity: 1; }
.seat circle.ring { opacity: 0; transition: opacity .3s; }
.bd-panel { display: grid; gap: 14px; }
.seat-card { border-radius: var(--r-xl); background: var(--card); padding: clamp(18px, 2.2vw, 30px); min-height: 190px; }
.seat-card .ty { margin-bottom: 14px; }
.seat-card h3 { font-size: clamp(24px, 2.4vw, 38px); font-weight: 300; letter-spacing: -.02em; margin: 0; line-height: 1.1; }
html[dir="rtl"] .seat-card h3 { font-weight: 500; line-height: 1.3; }
.seat-card .rr { font-size: 15px; margin-top: 8px; }
.seat-card p { color: var(--fg-2); margin: 12px 0 0; font-size: 14px; }
.subtabs { display: flex; gap: 6px; flex-wrap: wrap; }
.subpanel { border-top: 1px solid var(--line); }
.subpanel .r { display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.subpanel .r b { font-weight: 500; }
.subpanel .r span { color: var(--fg-2); }
.subpanel .r3 { grid-template-columns: 1.2fr .8fr 1fr; }
.subpanel small { font-size: 11px; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--fg-2); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 6px; vertical-align: -1px; }

/* ---------------- VOTING ---------------- */
.vt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 56px); align-items: center; }
.vt-type { display: grid; gap: 8px; margin: 18px 0; }
.vt-type button { text-align: start; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px; transition: background .3s, color .3s; }
.vt-type button b { font-size: 17px; font-weight: 600; }
.vt-type button span { grid-column: 1 / -1; font-size: 13px; color: var(--fg-2); }
.vt-type button em { font-style: normal; font-size: 12px; color: var(--fg-3); }
.vt-type button[aria-selected="true"] { background: var(--ink-950); color: var(--ink-50); border-color: var(--ink-950); }
.vt-type button[aria-selected="true"] span, .vt-type button[aria-selected="true"] em { color: var(--ink-300); }
.vt-ex { font-size: 13px; color: var(--fg-2); padding-inline-start: 18px; margin: 6px 0 0; }
.vt-box { background: var(--card); border-radius: var(--r-xl); padding: clamp(18px, 2.4vw, 32px); }
.vt-seats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 14px 0; }
.vseat { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; text-align: center; padding: 4px; line-height: 1.1; transition: background .25s, color .25s, transform .3s var(--ease-spring); position: relative; }
.vseat:hover { transform: scale(1.05); }
.vseat[data-v="yes"] { background: var(--ink-950); color: #fff; border-color: var(--ink-950); }
.vseat[data-v="no"] { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 7px); }
.vseat[data-v="abs"] { opacity: .35; }
.vseat .t { position: absolute; top: 5px; inset-inline-start: 6px; font-size: 8px; opacity: .6; letter-spacing: .08em; }
.vbar { height: 10px; border-radius: 99px; background: var(--card-2); overflow: hidden; position: relative; margin-top: 10px; }
.vbar i { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--fg); border-radius: 99px; transition: width .5s var(--ease-out); }
.vbar u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--fg-3); }
.vres { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.vres .verdict { font-size: clamp(22px, 2vw, 32px); font-weight: 500; }
.vres .verdict.ok::before { content: "● "; }
.vres .verdict.no { color: var(--fg-3); }
.vt-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 16px; font-size: 12px; color: var(--fg-2); }
.vt-rules div { border-top: 1px solid var(--line); padding-top: 8px; }

/* ---------------- RULES ---------------- */
.rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rule { border-radius: var(--r-md); background: var(--card); padding: 16px 16px 18px; min-height: 150px; display: flex; flex-direction: column; gap: 6px; transition: background .4s, color .4s, transform .4s var(--ease-out); }
.rule .rn { font-size: 26px; font-weight: 200; line-height: 1; color: var(--fg-3); }
.rule .rt { font-weight: 600; font-size: 15px; line-height: 1.25; }
.rule .rd { font-size: 12.5px; color: var(--fg-2); line-height: 1.45; }
.rule:hover { background: var(--ink-50); color: var(--ink-950); transform: translateY(-4px); }
.rule:hover .rd, .rule:hover .rn { color: var(--ink-600); }

/* ---------------- ACHIEVES ---------------- */
.ac-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(20px, 3vw, 56px); align-items: start; }
.switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 99px; padding: 4px; position: relative; }
.switch button { position: relative; z-index: 1; padding: 8px 18px; border-radius: 99px; font-size: 13px; transition: color .4s; }
.switch .knob { position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc(50% - 4px); background: var(--fg); border-radius: 99px; transition: transform .5s var(--ease-out); }
.switch[data-s="after"] .knob { transform: translateX(100%); }
html[dir="rtl"] .switch[data-s="after"] .knob { transform: translateX(-100%); }
.switch button[aria-pressed="true"] { color: var(--bg); }
.pairs { margin-top: 18px; display: grid; }
.pair { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pair .pk { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
html[dir="rtl"] .pair .pk { font-size: 14px; text-transform: none; }
.pair .pv { font-size: clamp(18px, 1.6vw, 26px); font-weight: 400; letter-spacing: -.01em; position: relative; min-height: 1.3em; }
.pair .pv span { display: block; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.pair .pv .b { position: absolute; inset: 0; color: var(--fg-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.pairs[data-s="before"] .pv .a { opacity: 0; transform: translateY(10px); }
.pairs[data-s="after"] .pv .b { opacity: 0; transform: translateY(-10px); }
.who { display: grid; gap: 10px; }
.who .card { padding: 16px 18px; }
.who .card b { display: block; font-weight: 600; margin-bottom: 4px; }
.who .card span { font-size: 13px; color: var(--fg-2); }

/* ---------------- CASES ---------------- */
.cs-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.cs-list { display: grid; gap: 6px; align-content: start; }
.cs-list button { text-align: start; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.cs-list button b { display: block; font-weight: 600; font-size: 15px; }
.cs-list button span { font-size: 12px; color: var(--fg-3); }
.cs-list button[aria-selected="true"] { background: var(--ink-50); color: var(--ink-950); border-color: var(--ink-50); }
.cs-list button[aria-selected="true"] span { color: var(--ink-500); }
.cs-detail { border-radius: var(--r-xl); background: var(--card); padding: clamp(20px, 2.6vw, 36px); display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(16px, 2.5vw, 40px); min-height: 440px; }
.cs-detail .bigstat { font-size: clamp(54px, 6vw, 104px); font-weight: 200; letter-spacing: -.05em; line-height: .95; }
html[dir="rtl"] .cs-detail .bigstat { font-weight: 300; font-size: clamp(44px, 5vw, 84px); }
.cs-detail .bl { font-size: 13px; color: var(--fg-2); margin-top: 10px; max-width: 28ch; }
.cs-detail h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; margin: 0 0 4px; letter-spacing: -.02em; }
html[dir="rtl"] .cs-detail h3 { font-weight: 600; }
.cs-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
.cs-steps li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; counter-increment: st; animation: tileIn .6s var(--ease-out) both; animation-delay: var(--d); }
html[dir="rtl"] .cs-steps li { padding: 10px 34px 10px 0; }
.cs-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 11px; font-size: 11px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.lesson { margin-top: 18px; background: var(--ink-50); color: var(--ink-950); border-radius: var(--r-md); padding: 16px 18px; }
.lesson small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
html[dir="rtl"] .lesson small { font-size: 12px; text-transform: none; }
.lesson b { font-weight: 500; font-size: 16px; }
.cs-src { font-size: 11px; color: var(--fg-3); margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.cs-src a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------------- GLOBAL ---------------- */
.gl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gl { background: var(--card); border-radius: var(--r-xl); padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.gl h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; margin: 0; letter-spacing: -.02em; }
html[dir="rtl"] .gl h3 { font-weight: 600; }
.gl .mt { font-size: 12px; color: var(--fg-3); }
.gl p { font-size: 14px; color: var(--fg-2); margin: 0; line-height: 1.55; }
.gl .idea-box { margin-top: auto; background: var(--ink-950); color: var(--ink-50); border-radius: var(--r-md); padding: 14px 16px; font-weight: 500; }

/* ---------------- NUMBERS ---------------- */
.nb-top { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: 18px; }
.nb-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; align-items: stretch; }
.chart-box { background: var(--card); border-radius: var(--r-xl); padding: clamp(14px, 2vw, 26px); position: relative; min-height: 380px; display: flex; flex-direction: column; }
.chart-box svg { width: 100%; height: 100%; flex: 1; overflow: visible; direction: ltr; }
.chart-box .cap { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--fg-3); }
.kpis { display: grid; gap: 10px; }
.kpi { border-radius: var(--r-lg); padding: 16px 20px; background: var(--card); }
.kpi.inv { background: var(--ink-50); color: var(--ink-950); }
.kpi span { display: block; font-size: 12px; opacity: .65; }
.kpi b { display: block; font-size: clamp(30px, 3vw, 52px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
html[dir="rtl"] .kpi b { font-weight: 500; }
.sc-tabs button { display: grid; text-align: start; gap: 2px; padding: 10px 16px; border-radius: var(--r-md); }
.sc-tabs button small { font-size: 11px; opacity: .7; max-width: 30ch; }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(440px, 100vw); background: var(--ink-50); color: var(--ink-950); z-index: 80; transform: translateX(105%); transition: transform .6s var(--ease-out); padding: 26px; overflow-y: auto; box-shadow: var(--shadow-2); }
html[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.open { transform: none !important; }
.drawer h3 { margin: 0 0 6px; font-size: 22px; font-weight: 500; }
.drawer .grp { margin-top: 20px; }
.drawer .grp h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 8px; font-weight: 500; }
html[dir="rtl"] .drawer .grp h4 { font-size: 13px; text-transform: none; }
.fld { display: grid; grid-template-columns: 1fr 110px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.08); font-size: 14px; }
.fld input, .fld select { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(0,0,0,.18); font: inherit; background: #fff; text-align: end; }
.drawer .x { position: absolute; top: 18px; inset-inline-end: 18px; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 75; opacity: 0; pointer-events: none; transition: opacity .4s; }
.scrim.open { opacity: 1; pointer-events: auto; }

/* ---------------- ROADMAP (ref 3) ---------------- */
.roadmap { background: var(--ink-1000); }
.rm-title { font-size: clamp(48px, 7.5vw, 132px); font-weight: 600; letter-spacing: -.045em; line-height: .95; margin: 0 0 6px; }
html[dir="rtl"] .rm-title { font-weight: 700; line-height: 1.2; }
.rm-line { position: relative; height: 1px; background: rgba(255,255,255,.7); margin: 22px 0 22px; }
.rm-line i { position: absolute; top: -7px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .6s var(--ease-spring); transition-delay: var(--d); }
.slide.in .rm-line i { transform: scale(1); }
.rm-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rm-card { display: flex; flex-direction: column; gap: 10px; }
.rm-card .yr { background: var(--ink-200); color: var(--ink-950); border-radius: 8px; text-align: center; font-size: 13px; font-weight: 600; padding: 3px 0; }
.rm-card .bx { background: #fff; color: var(--ink-950); border-radius: var(--r-md); padding: 16px; min-height: 210px; display: flex; flex-direction: column; gap: 10px; }
.rm-card .bx b { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.rm-card ul { margin: auto 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-600); display: grid; gap: 6px; }
.rm-card li { border-top: 1px solid var(--ink-150); padding-top: 6px; }

/* ---------------- 100 DAYS ---------------- */
.d100 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 10px; }
.d100 .bar { position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--card-2); border-radius: 99px; overflow: hidden; }
.d100 .bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--fg); transition: width 2.6s var(--ease-in-out) .3s; }
.slide.in .d100 .bar i { width: 100%; }
.d100 .st { padding: 30px 18px 0 0; border-inline-end: 1px solid var(--line); padding-inline: 0 18px; }
html[dir="rtl"] .d100 .st { padding-inline: 0 18px; }
.d100 .st + .st { padding-inline-start: 18px; }
.d100 .st:last-child { border: 0; }
.d100 .dd { font-size: 12px; color: var(--fg-3); }
.d100 .tt { font-size: clamp(22px, 2vw, 30px); font-weight: 500; line-height: 1.1; margin: 8px 0 10px; letter-spacing: -.02em; }
.d100 .xx { font-size: 14px; color: var(--fg-2); }
.d100 .big { font-size: clamp(70px, 8vw, 140px); font-weight: 200; letter-spacing: -.06em; line-height: .9; color: var(--card-2); margin-top: 14px; }
.shadow-note { margin-top: 28px; background: var(--ink-950); color: var(--ink-50); border-radius: var(--r-lg); padding: 18px 22px; display: flex; align-items: center; gap: 18px; }
.shadow-note b { font-weight: 500; }

/* ---------------- DOCS ---------------- */
.docs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.doc { background: var(--card); border-radius: var(--r-md); padding: 16px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; position: relative; overflow: hidden; transition: transform .4s var(--ease-out); }
.doc::before { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 26px; height: 26px; background: linear-gradient(225deg, var(--bg) 50%, var(--card-2) 50%); }
html[dir="rtl"] .doc::before { background: linear-gradient(135deg, var(--bg) 50%, var(--card-2) 50%); }
.doc:hover { transform: translateY(-5px) rotate(-.5deg); }
.doc .dn { font-size: 28px; font-weight: 200; color: var(--fg-3); line-height: 1; }
.doc .dt { font-weight: 500; font-size: 15px; line-height: 1.3; }

/* ---------------- CLOSE ---------------- */
.close { background: var(--ink-1000); text-align: center; }
.close .slide-in { align-items: center; }
.close .cl1 { font-size: var(--fs-d2); font-weight: 300; letter-spacing: var(--track-tight); line-height: 1; margin: 0; color: var(--ink-500); }
.close .cl2 { font-size: var(--fs-d2); font-weight: 300; letter-spacing: var(--track-tight); line-height: 1.02; margin: 6px 0 0; }
html[dir="rtl"] .close .cl1, html[dir="rtl"] .close .cl2 { font-weight: 500; line-height: 1.3; }
.close .tg { font-family: var(--font-arabic); font-size: clamp(22px, 2.4vw, 36px); margin-top: 26px; color: var(--ink-200); font-weight: 400; }
.close .sub { color: var(--ink-400); max-width: 52ch; margin: 22px auto 0; }
.close .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.close .logo-full { width: min(240px, 50vw); margin: 0 auto 26px; opacity: .95; }
.close .glow { position: absolute; width: 90vmax; height: 90vmax; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--silver-glow); animation: breathe 9s var(--ease-in-out) infinite alternate; pointer-events: none; }

/* ---------------- MENU ---------------- */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--ink-950); color: var(--ink-50); display: grid; grid-template-columns: 1fr; padding: calc(var(--header-h) + 10px) var(--gutter) 40px; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-out); overflow-y: auto; }
.menu.open { opacity: 1; pointer-events: auto; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 40px; max-width: 1400px; width: 100%; margin: 0 auto; align-content: start; }
.menu a { display: grid; grid-template-columns: 34px 1fr; gap: 8px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: clamp(16px, 1.4vw, 22px); transition: padding .3s, color .3s; color: var(--ink-300); }
.menu a:hover, .menu a.on { color: #fff; padding-inline-start: 8px; }
.menu a small { font-size: 11px; color: var(--ink-500); padding-top: 6px; font-variant-numeric: tabular-nums; }
.menu .mclose { position: fixed; top: 16px; inset-inline-end: var(--gutter); color: #fff; z-index: 91; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
  .opp-grid, .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .people-row { grid-template-columns: repeat(3, 1fr); }
  .mx { grid-template-columns: 170px repeat(6, minmax(110px, 1fr)); overflow-x: auto; }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-cards { grid-template-columns: repeat(2, 1fr); }
  .rm-line { display: none; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px), (max-height: 620px) {
  body { overflow: auto; }
  .deck { scroll-snap-type: y proximity; }
  .slide { min-height: 100svh; padding-bottom: 72px; }
  .today-grid, .fp-grid, .mk-grid, .st-grid, .bd-grid, .vt-grid, .ac-grid, .cs-grid, .nb-grid, .sim, .cs-detail { grid-template-columns: 1fr; }
  .gl-grid { grid-template-columns: 1fr; }
  .gl { min-height: 0; }
  .d100 { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .d100 .big { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .co.c-gmc, .co.c-larz, .co.c-isc, .co.c-marble, .co.c-hws, .co.c-pov { grid-column: span 1; grid-row: auto; }
  .co.c-gms { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .rail { display: none; }
  .hdr-mid { display: none; }
  .counter { display: none; }
  .brand-word { display: none; }
  .divider .numeral { font-size: 42vw; top: 6vh; }
  .vt-rules { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; gap: 4px; }
  .src ol { columns: 1; }
}
@media (max-width: 560px) {
  .opp-grid, .rules-grid, .pillars, .docs-grid, .rm-cards { grid-template-columns: 1fr; }
  .people-row { grid-template-columns: repeat(2, 1fr); }
  .stats4 { grid-template-columns: 1fr 1fr; }
  .chain-row .node small { font-size: 10px; }
  .node .o { width: 52px; height: 52px; font-size: 11px; }
  .chain-row::before, .chain-row .flow { top: 26px; }
  .vt-seats { grid-template-columns: repeat(4, 1fr); }
  .menu-grid { grid-template-columns: 1fr; }
  .welcome .thumb, .welcome .thumb2 { display: none; }
  .mk-tile { grid-template-columns: 1fr; }
  .mk-tile b { grid-row: auto; grid-column: 1; text-align: start; }
}

/* ---- refinements ---- */
html[dir="rtl"] .mk-tile b { font-size: clamp(26px, 2.5vw, 44px); font-weight: 500; }
html[dir="rtl"] .stat b { font-size: clamp(26px, 2.4vw, 42px); }
html[dir="rtl"] .kpi b, html[dir="rtl"] .out b { font-size: clamp(24px, 2.4vw, 40px); }
.chain .head-row { margin-bottom: 14px; }
.chain .sim { padding: clamp(16px, 2vw, 26px); }
.chain .out { padding: 12px 18px; }
.chain .out b { font-size: clamp(28px, 2.6vw, 46px); }

/* =====================================================================
   v2 — narrative slides
   ===================================================================== */
/* Founder */
.founder { background: var(--ink-1000); }
.founder .slide-in { justify-content: stretch; }
.fd-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(20px, 4vw, 72px); align-items: end; flex: 1; }
.fd-photo { position: relative; align-self: end; height: calc(100svh - var(--header-h) - 40px); margin-bottom: -56px; display: flex; justify-content: center; }
.fd-photo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; filter: grayscale(1) contrast(1.08) brightness(.95); transition: filter 1.6s var(--ease-out); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.slide.in .fd-photo img { filter: grayscale(.15) contrast(1.05); }
.fd-photo::before { content: ""; position: absolute; inset: 10% 5% 0; background: radial-gradient(50% 45% at 50% 40%, rgba(255,255,255,.14), rgba(255,255,255,0) 70%); z-index: -1; }
.fd-text { align-self: center; padding-bottom: 6vh; }
.fd-line { margin: 18px 0 0; color: #fff; }
.fd-body { margin-top: 18px; color: var(--ink-300); }
.fd-name { margin-top: 22px; display: grid; gap: 2px; }
.fd-name b { font-family: var(--font-brand); font-weight: 400; font-size: 20px; letter-spacing: .08em; color: #fff; }
html[dir="rtl"] .fd-name b { font-family: var(--font-arabic); font-weight: 600; }
.fd-name span { font-size: 13px; color: var(--ink-400); }
.fd-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.ff { padding: 14px 12px 0 0; display: grid; gap: 4px; }
html[dir="rtl"] .ff { padding: 14px 0 0 12px; }
.ff b { font-size: clamp(36px, 3.6vw, 60px); font-weight: 200; line-height: 1; color: #fff; }
html[dir="rtl"] .ff b { font-weight: 300; }
.ff span { font-size: 12px; color: var(--ink-400); }
.fd-quote { margin-top: 26px; font-size: clamp(18px, 1.6vw, 24px); color: #fff; max-width: 30ch; border-inline-start: 2px solid #fff; padding-inline-start: 16px; }

/* Sons */
.people-row.five { grid-template-columns: repeat(5, 1fr); }
.people-row.five .person { aspect-ratio: 3/4.2; max-height: 50vh; }
.person-detail .built { color: var(--fg); font-weight: 500; font-size: var(--fs-lead); margin: 0 0 6px; }
.person-detail > div p:last-child { font-size: 15px; }

/* Complete — capability wheel */
.cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 72px); align-items: center; }
.cp-wheel svg { width: min(100%, 66vh); display: block; margin-inline: auto; overflow: visible; }
.cp-wheel .ringc { fill: none; stroke: rgba(0,0,0,.14); stroke-dasharray: 2 6; }
.cp-wheel .core { fill: var(--ink-950); }
.cp-wheel .cc { font-size: 13px; color: #fff; text-align: center; line-height: 1.2; font-family: inherit; }
.cap .spoke { stroke: var(--ink-950); stroke-width: 1; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.2s var(--ease-in-out); transition-delay: var(--d); }
.slide.in .cap .spoke { stroke-dashoffset: 0; }
.cap .cn { fill: #fff; stroke: var(--ink-950); stroke-width: 1; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .8s var(--ease-spring), fill .3s; transition-delay: var(--d); }
.slide.in .cap .cn { transform: scale(1); }
.cap .cl { height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: inherit; opacity: 0; transition: opacity .6s; transition-delay: calc(var(--d) + 300ms); color: var(--ink-950); }
.slide.in .cap .cl { opacity: 1; }
.cap .cl b { font-size: 12px; line-height: 1.15; font-weight: 600; }
.cap .cl span { font-size: 10px; color: var(--ink-500); margin-top: 2px; }
.cap { cursor: default; transition: opacity .3s; }
.cap:hover .cn { fill: var(--ink-950); } .cap:hover .cl { color: #fff; } .cap:hover .cl span { color: var(--ink-300); }
.cap.dim { opacity: .35; }
.cp-q { margin-top: 30px; border-top: 1px solid var(--line-2); padding-top: 20px; }
.cp-q p { margin: 0; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.3; color: var(--fg-2); }
.cp-q p.strong { color: var(--fg); font-weight: 600; margin-top: 6px; }

/* Outgrown */
.og { display: grid; border-top: 1px solid var(--line); }
.og-row { display: grid; grid-template-columns: 1.4fr .6fr 30px 1fr; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.og-row .k { font-size: 14px; color: var(--fg-2); }
.og-row .a { font-size: 26px; font-weight: 200; color: var(--fg-3); }
.og-row .ar { color: var(--fg-3); }
.og-row .b { font-size: clamp(30px, 3vw, 48px); font-weight: 300; line-height: 1; }
.og-row .b b { font-weight: 300; }
html[dir="rtl"] .og-row .b, html[dir="rtl"] .og-row .b b { font-weight: 500; font-size: clamp(24px, 2.4vw, 38px); }
.og-head { padding: 6px 0; }
.og-head .a, .og-head .b { font-size: 12px !important; letter-spacing: .14em; color: var(--fg-3); font-weight: 500 !important; }

/* Foundings */
.fo-line { position: relative; height: 1px; background: var(--line); margin: 6px 0 26px; }
.fo-line i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--fg); transition: width 2.4s var(--ease-in-out) .3s; }
.slide.in .fo-line i { width: 100%; }
.fo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fo { border-radius: var(--r-xl); background: var(--card); padding: clamp(20px, 2.4vw, 34px); min-height: clamp(300px, 46vh, 460px); display: flex; flex-direction: column; gap: 10px; position: relative; }
.fo::before { content: ""; position: absolute; top: -32px; inset-inline-start: 30px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--fg); }
.fo-n { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
html[dir="rtl"] .fo-n { font-size: 14px; text-transform: none; }
.fo-y { font-size: clamp(30px, 3vw, 48px); font-weight: 200; letter-spacing: -.03em; }
html[dir="rtl"] .fo-y { font-weight: 300; }
.fo-what { font-size: clamp(36px, 4.2vw, 72px); font-weight: 500; letter-spacing: -.03em; line-height: 1; margin: auto 0 0; }
.fo-on { margin: 0; font-size: var(--fs-lead); }
.fo-d { margin: 0; font-size: 14px; color: var(--fg-2); }
.fo.hl { background: var(--ink-950); color: #fff; }
.fo.hl::before { background: #fff; border-color: #fff; }
.fo.hl .fo-n, .fo.hl .fo-d { color: var(--ink-300); }

/* Pattern */
.pt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pt-tile { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; min-height: 220px; display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.02); }
.pt-tile b { font-size: clamp(56px, 6vw, 110px); font-weight: 200; letter-spacing: -.05em; line-height: .9; }
html[dir="rtl"] .pt-tile b { font-weight: 300; font-size: clamp(48px, 5vw, 92px); }
.pt-tile span { font-size: 15px; color: var(--fg); margin-top: auto; }
.pt-tile small { font-size: 11px; color: var(--fg-3); }
.pt-line { margin: 26px 0 0; font-size: clamp(22px, 2.2vw, 36px); font-weight: 400; line-height: 1.25; max-width: 32ch; }
html[dir="rtl"] .pt-line { font-weight: 500; line-height: 1.5; }

/* Reveal */
.reveal .slide-in { align-items: center; text-align: center; }
.rv-mark { width: clamp(56px, 6vw, 88px); margin-bottom: 26px; color: var(--ink-950); }
.rv-name { margin: 22px 0 0; font-weight: 300; }
html[dir="rtl"] .rv-name { font-weight: 600; }
.rv-def { font-size: clamp(19px, 1.7vw, 27px); line-height: 1.45; max-width: 38ch; margin: 28px auto 0; color: var(--fg-2); }
.rv-three { display: flex; gap: clamp(14px, 3vw, 44px); justify-content: center; margin-top: 34px; flex-wrap: wrap; font-size: clamp(18px, 1.5vw, 24px); color: var(--fg-3); }
.rv-three .strong { color: var(--fg); font-weight: 600; }

/* Stays */
.ss-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 4vw, 72px); margin-top: 26px; align-items: start; }
.ss-stay { background: var(--ink-950); color: #fff; border-radius: var(--r-xl); padding: clamp(20px, 2.4vw, 34px); }
.ss-stay .tag.solid { background: #fff; color: var(--ink-950); border-color: #fff; }
.ss-stay ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.ss-stay li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: clamp(18px, 1.5vw, 23px); display: flex; gap: 14px; align-items: baseline; }
.ss-stay li::before { content: "✓"; font-size: 14px; color: var(--ink-400); }

/* Ask */
.ak-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ak { border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; min-height: 260px; transition: background .5s, color .5s, transform .5s var(--ease-out); }
.ak-n { font-size: clamp(40px, 4vw, 64px); font-weight: 200; line-height: 1; color: var(--fg-3); }
.ak h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; margin: auto 0 0; line-height: 1.15; }
.ak p { margin: 0; font-size: 14px; color: var(--fg-2); }
.ak-btn { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 99px; padding: 8px 16px 8px 10px; width: max-content; font-size: 13px; }
.ak-btn i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.ak.ok { background: var(--ink-950); color: #fff; transform: translateY(-4px); }
.ak.ok p { color: var(--ink-300); } .ak.ok .ak-n { color: var(--ink-500); }
.ak.ok .ak-btn { background: #fff; color: var(--ink-950); border-color: #fff; }
.ak.ok .ak-btn i::after { content: "✓"; font-style: normal; font-size: 11px; }
.ak-days { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.ak-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 14px; }
.ak-strip .bar { position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--card-2); border-radius: 99px; overflow: hidden; }
.ak-strip .bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--fg); transition: width 2.6s var(--ease-in-out) .6s; }
.slide.in .ak-strip .bar i { width: 100%; }
.ak-strip .ds { display: grid; gap: 2px; padding-inline-end: 12px; }
.ak-strip .ds small { font-size: 11px; color: var(--fg-3); }
.ak-strip .ds b { font-size: 14px; font-weight: 600; }

/* Close — founder bookend */
.close-founder { position: absolute; bottom: 0; inset-inline-start: 2vw; height: 78%; width: auto; opacity: .16; filter: grayscale(1); z-index: 1; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }

@media (max-width: 1180px) { .people-row.five { grid-template-columns: repeat(3, 1fr); } .pt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px), (max-height: 620px) {
  .fd-grid, .cp-grid, .ss-grid, .fo-grid, .ak-grid { grid-template-columns: 1fr; }
  .fd-photo { height: 52svh; margin-bottom: 0; }
  .fd-text { padding-bottom: 0; }
  .fd-facts { grid-template-columns: repeat(2, 1fr); }
  .ak-days { grid-template-columns: 1fr; }
  .ak-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .close-founder { display: none; }
  .fo { min-height: 0; }
}
@media (max-width: 560px) { .people-row.five { grid-template-columns: repeat(2, 1fr); } .pt-grid { grid-template-columns: 1fr; } .og-row { grid-template-columns: 1.2fr .5fr 20px 1fr; } }
.switch { display: inline-grid; grid-template-columns: 1fr 1fr; }
.switch button { text-align: center; }
.chain .h-d2 { font-size: clamp(30px, 3.4vw, 58px); }
.chain .lead { font-size: 16px; }
.fd-line { font-size: clamp(34px, 3.7vw, 62px); }
.fd-quote { font-size: clamp(17px, 1.4vw, 22px); margin-top: 20px; }
.people-row.five .person { max-height: 44vh; }
.pt-tile { min-height: 180px; }
.pt-tile b { font-size: clamp(48px, 5vw, 92px); }
.sons .h-d2, .pattern .h-d2 { font-size: clamp(34px, 4.2vw, 72px); }
.people-row.five .person { max-height: 41vh; }

/* =====================================================================
   v3 — Arabic clipping fix: never clip text once revealed
   ===================================================================== */
.slide.in [data-a] { clip-path: none; }
[data-a="mask"] { clip-path: inset(-20% -10% 100% -10%); }
.slide.in [data-a="mask"] { clip-path: inset(-20% -10% -20% -10%); }
.line-mask { padding: .14em .12em .22em; margin: -.14em -.12em -.22em; }
html[dir="rtl"] .line-mask { overflow: visible; }
html[dir="rtl"] .line-mask > span { transform: translateY(40%); opacity: 0; transition: transform 1.2s var(--ease-out), opacity 1s var(--ease-out); transition-delay: var(--d, 0ms); }
html[dir="rtl"] .slide.in .line-mask > span { transform: none; opacity: 1; }
html[dir="rtl"] .h-mega { line-height: 1.25; }
html[dir="rtl"] .h-d1, html[dir="rtl"] .h-d2 { line-height: 1.3; }
html[dir="rtl"] .co, html[dir="rtl"] .doc { overflow: visible; }

/* Hero choice */
.hero-choose { margin: 24px 0 12px; color: var(--ink-300); font-size: 14px; }
.hero-ctas { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-ctas .btn { background: #fff; color: #0c0c0c; }
.hero-ctas .btn.ghost { background: transparent; color: #fff; }
.hero-link { color: var(--ink-300); font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); margin-inline-start: 6px; }
.hero-link:hover { color: #fff; }

/* Capability wheel: text stays inside the circles */
.cap .cl { height: 80px; padding: 0 6px; overflow: hidden; }
.cap .cl b { font-size: 11.5px; line-height: 1.2; display: block; }
.cap .cl span { font-size: 10px; display: block; margin-top: 3px; }
html[dir="rtl"] .cap .cl b { font-size: 12px; line-height: 1.35; }

/* Reveal on dark */
.reveal[data-theme="dark"] .rv-mark { color: #fff; }

/* Clear */
.cl-sentence { font-size: clamp(22px, 2.3vw, 38px); line-height: 1.3; font-weight: 400; max-width: 46ch; margin: 16px 0 24px; letter-spacing: -.01em; }
html[dir="rtl"] .cl-sentence { font-weight: 500; line-height: 1.6; }
.cl-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.cl-panel { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.cl-panel.on { background: var(--card); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.cl-h b { font-size: 18px; font-weight: 600; }
.cl-panel p { margin: 0; font-size: 14px; color: var(--fg-2); }
.cl-arrow { display: grid; place-items: center; color: var(--fg-3); } .cl-arrow svg { width: 26px; }
.cl-svg { width: 100%; height: auto; max-height: 34vh; direction: ltr; }
.cl-svg .lk { stroke: var(--fg-3); stroke-width: .8; stroke-dasharray: 3 3; }
.cl-svg .lk2 { stroke: var(--fg); stroke-width: 1.2; }
.cl-svg .ow { fill: var(--fg-3); }
.cl-svg .chip rect { fill: var(--bg); stroke: var(--fg); stroke-width: 1; }
.cl-svg .chip text { font-size: 10px; text-anchor: middle; fill: var(--fg); font-weight: 600; font-family: var(--font-latin); }
.cl-svg .node rect { fill: var(--bg-2); stroke: var(--fg); }
.cl-svg .node.dark rect { fill: var(--ink-950); }
.cl-svg .node text { font-size: 11px; text-anchor: middle; fill: var(--fg); font-weight: 600; }
.cl-svg .node.dark text { fill: #fff; }
html[dir="rtl"] .cl-svg .node text { font-family: var(--font-arabic); }

/* Roles3 */
.r3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.r3 { border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.02); }
.r3 h3 { font-size: clamp(26px, 2.6vw, 42px); font-weight: 400; margin: 6px 0 0; line-height: 1.1; }
html[dir="rtl"] .r3 h3 { font-weight: 600; line-height: 1.35; }
.r3 .who { margin: 0; font-size: 13px; color: var(--fg-3); }
.r3 ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; }
.r3 li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; display: flex; gap: 10px; }
.r3 li::before { content: "✓"; color: var(--fg-3); font-size: 12px; }
.r3 .not { margin: auto 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 13px; color: var(--fg-2); display: flex; gap: 8px; }
.r3 .not::before { content: "✕"; }
.r3-note { margin: 20px 0 0; font-size: clamp(17px, 1.5vw, 22px); }

/* Rights matrix */
.rt { display: grid; border-top: 1px solid var(--line); }
.rt-row { display: grid; grid-template-columns: 1.5fr 1fr .9fr 1.2fr; gap: 16px; padding: 10px 6px; border-bottom: 1px solid var(--line); align-items: center; transition: background .3s; }
.rt-row:not(.rt-head):hover { background: var(--card); }
.rt-head { padding-block: 8px; }
.rt-h { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
html[dir="rtl"] .rt-h { font-size: 13px; text-transform: none; }
.rt-m { font-size: 13.5px; line-height: 1.4; }
.rt-w { font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.rt-w i { width: 10px; height: 10px; border-radius: 50%; flex: none; border: 1px solid var(--fg); }
.lv-ceo .rt-w i { background: transparent; } .lv-com .rt-w i, .lv-rp .rt-w i, .lv-fam .rt-w i { background: var(--stone-300); }
.lv-ord .rt-w i { background: var(--ink-400); } .lv-str .rt-w i { background: var(--ink-700); } .lv-fnd .rt-w i { background: var(--ink-950); box-shadow: 0 0 0 3px var(--stone-200); }
.rt-th { font-size: 13px; color: var(--fg-2); }
.rt-ex { font-size: 13px; color: var(--fg-2); font-style: italic; }
html[dir="rtl"] .rt-ex { font-style: normal; }

/* Examples */
.ex-tabs { margin-bottom: 14px; }
.ex-tabs button { display: grid; gap: 1px; text-align: start; padding: 8px 16px; }
.ex-tabs button small { font-size: 11px; opacity: .7; }
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ex-card { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px; display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,.02); animation: tileIn .7s var(--ease-out) both; animation-delay: var(--d); }
.ex-card h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.ex-sec small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
html[dir="rtl"] .ex-sec small { font-size: 12px; text-transform: none; }
.ex-sec p { margin: 4px 0 0; font-size: 13px; color: var(--fg-2); line-height: 1.45; }
.ex-tally { position: relative; display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; margin-top: 8px; }
.ex-tally i { height: 16px; border-radius: 4px; animation: tileIn .5s var(--ease-out) both; animation-delay: calc(var(--k) * 50ms + 300ms); }
.ex-tally i.y { background: #fff; } .ex-tally i.n { background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(255,255,255,.35) 4px 5px); border: 1px solid rgba(255,255,255,.25); } .ex-tally i.a { border: 1px dashed rgba(255,255,255,.25); }
.ex-tally u { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--stone-300); }
.ex-count { color: var(--fg) !important; } .ex-count b { font-weight: 700; }
.ex-note { font-style: italic; } html[dir="rtl"] .ex-note { font-style: normal; }
.ex-out { margin-top: auto; border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,.06); }
.ex-out.ok { background: #fff; color: var(--ink-950); }
.ex-out p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; }
.badge2 { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
html[dir="rtl"] .badge2 { text-transform: none; font-size: 13px; }
.ex-out.no .badge2::before { content: "✕ "; } .ex-out.ok .badge2::before { content: "● "; }

/* Edge cases */
.eg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.eg { background: var(--card); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.eg-n { font-size: 24px; font-weight: 200; color: var(--fg-3); line-height: 1; }
.eg h3 { margin: 0; font-size: 16px; font-weight: 600; }
.eg p { margin: 0; font-size: 12.5px; color: var(--fg-2); line-height: 1.5; }
.eg .eg-ex { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); color: var(--fg); }

/* Journey */
.jr { position: relative; margin: 6px 0 20px; }
.jr-line { position: absolute; top: 9px; inset-inline: 8%; height: 2px; background: var(--line-2); }
.jr-line i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--fg); transition: width .8s var(--ease-out); }
.jr-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: relative; }
.jr-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 4px; }
.jr-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fg-3); transition: all .4s var(--ease-spring); }
.jr-step.done .jr-dot { background: var(--fg); border-color: var(--fg); }
.jr-step.on .jr-dot { background: var(--fg); border-color: var(--fg); transform: scale(1.35); box-shadow: 0 0 0 6px var(--bg-2); }
.jr-step small { font-size: 11px; color: var(--fg-3); }
.jr-step b { font-size: 14px; font-weight: 600; }
.jr-detail { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 3vw, 48px); align-items: center; background: var(--card); border-radius: var(--r-xl); padding: clamp(20px, 2.6vw, 36px); min-height: 200px; }
.jr-n { font-size: clamp(64px, 7vw, 120px); font-weight: 200; line-height: .9; letter-spacing: -.05em; }
.jr-n span { font-size: .3em; color: var(--fg-3); }
.jr-detail h3 { font-size: clamp(24px, 2.4vw, 38px); font-weight: 500; margin: 12px 0 8px; }
.jr-detail p { margin: 0; font-size: var(--fs-lead); color: var(--fg-2); max-width: 60ch; }

/* Offer */
.of-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 3vw, 56px); align-items: center; }
.of-stack { position: relative; display: grid; gap: 6px; padding-inline-start: 46px; }
.of-brace { position: absolute; inset-block: 0; inset-inline-start: 0; width: 30px; border: 1.5px solid var(--fg); border-inline-end: 0; border-radius: 14px 0 0 14px; }
html[dir="rtl"] .of-brace { border-radius: 0 14px 14px 0; }
.of-brace span { position: absolute; top: 50%; inset-inline-start: -10px; transform: translate(-100%, -50%) rotate(-90deg); transform-origin: center; white-space: nowrap; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
html[dir="rtl"] .of-brace span { transform: translate(100%, -50%) rotate(90deg); letter-spacing: 0; text-transform: none; font-size: 13px; }
.of-layer { background: var(--ink-950); color: #fff; border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 500; display: flex; gap: 12px; }
.of-layer span { color: var(--ink-500); font-weight: 300; }
.of-layer:nth-child(odd) { background: var(--ink-800); }
.of-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.of-card { background: var(--card); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); }
.of-card small { font-size: 11px; color: var(--fg-3); letter-spacing: .06em; }
.of-card h3 { margin: 0; font-size: 18px; font-weight: 600; }
.of-card p { margin: 0; font-size: 13.5px; color: var(--fg-2); line-height: 1.5; }

/* Plays */
.pl-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(16px, 3vw, 44px); align-items: stretch; }
.pl-list { display: grid; gap: 4px; align-content: start; }
.pl-list button { display: grid; grid-template-columns: 30px 1fr; gap: 8px; text-align: start; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); transition: background .3s, color .3s; }
.pl-list button span { color: var(--fg-3); font-size: 12px; padding-top: 2px; }
.pl-list button b { font-weight: 500; font-size: 14px; }
.pl-list button[aria-selected="true"] { background: #fff; color: var(--ink-950); border-color: #fff; }
.pl-detail { border-radius: var(--r-xl); background: var(--card); padding: clamp(20px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.pl-top { display: grid; grid-template-columns: auto 1fr; gap: 22px; }
.pl-n { font-size: clamp(60px, 6vw, 104px); font-weight: 200; line-height: .85; letter-spacing: -.05em; color: var(--fg-3); }
.pl-top h3 { font-size: clamp(24px, 2.4vw, 38px); font-weight: 500; margin: 0 0 10px; line-height: 1.15; }
html[dir="rtl"] .pl-top h3 { line-height: 1.4; }
.pl-top p { margin: 0; font-size: var(--fs-lead); color: var(--fg-2); }
.pl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.pl-facts > div { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 4px; }
.pl-facts .wide { grid-column: span 2; }
.pl-facts small { font-size: 11px; color: var(--fg-3); letter-spacing: .08em; }
.pl-facts b { font-size: 15px; font-weight: 600; }
.pl-facts .metric { background: #fff; color: var(--ink-950); border-radius: 14px; padding: 12px 14px; border: 0; }
.pl-facts .metric small { color: var(--ink-500); }

/* Flywheel */
.fw-wheel svg { width: min(100%, 66vh); display: block; margin-inline: auto; overflow: visible; }
.fw-ring { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.fw-spin { transform-origin: 300px 300px; animation: spin 14s linear infinite; }
.fw-arc { fill: none; stroke: var(--fg); stroke-width: 3; }
.fw-head { fill: var(--fg); }
.fw-node circle { fill: var(--bg); stroke: var(--fg); stroke-width: 1; }
.fw-l { height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: var(--fg); }
.fw-l small { font-size: 10px; color: var(--fg-3); }
.fw-l b { font-size: 12px; line-height: 1.25; }
.fw-core { fill: var(--ink-950); }
.fw-gains { display: grid; gap: 10px; }
.fw-gain { background: var(--card); border-radius: var(--r-lg); padding: 16px 18px; display: grid; gap: 4px; }
.fw-gain b { font-size: 20px; font-weight: 600; }
.fw-gain span { font-size: 14px; color: var(--fg-2); }

@media (max-width: 1180px) { .eg-grid { grid-template-columns: repeat(2, 1fr); } .ex-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px), (max-height: 620px) {
  .cl-grid, .r3-grid, .ex-grid, .of-grid, .of-cards, .pl-grid { grid-template-columns: 1fr; }
  .cl-arrow { transform: rotate(90deg); }
  .rt-row { grid-template-columns: 1fr 1fr; }
  .rt-head { display: none; }
  .jr-steps { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .jr-line { display: none; }
  .jr-detail { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .eg-grid { grid-template-columns: 1fr; } }
.fw-wheel .cc { font-size: 13px; color: #fff; text-align: center; line-height: 1.2; }
.hero .h-mega { font-size: clamp(56px, 8.4vw, 156px); }
html[dir="rtl"] .hero .h-mega { font-size: clamp(52px, 7.4vw, 136px); line-height: 1.2; }
.hero .slide-in { padding-bottom: calc(44px + 4vh); }
.hero-mark { width: clamp(52px, 5vw, 84px); margin-bottom: clamp(14px, 2.5vh, 28px); }
.hero .sub { margin-top: 14px; }
.hero-ctas .btn { padding: 13px 20px; }
.edge .h-d2 { font-size: clamp(32px, 3.8vw, 64px); }
.eg { padding: 14px; }
.eg p { font-size: 12px; }
.of-stack { margin-top: 26px; }
.of-brace span, html[dir="rtl"] .of-brace span { top: -26px; inset-inline-start: 0; transform: none; font-size: 11px; letter-spacing: .14em; }
html[dir="rtl"] .of-brace span { letter-spacing: 0; font-size: 13px; }

/* =====================================================================
   v4 — presentation paging: each slide "opens" as it arrives
   ===================================================================== */
.slide::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 20; transition: opacity .9s var(--ease-in-out); }
.slide > .slide-in, .slide > .foot { transition: transform 1s var(--ease-in-out), opacity 1s var(--ease-in-out), filter 1s var(--ease-in-out); }
.slide.out::after { opacity: .55; }
.slide.out > .slide-in { transform: scale(.93); opacity: .35; filter: blur(3px); }
.slide.pre.from-below { clip-path: inset(9% 5% 0 5% round 40px); }
.slide.pre.from-above { clip-path: inset(0 5% 9% 5% round 40px); }
.slide.pre > .slide-in { transform: scale(1.04); }
.slide.pre.go { clip-path: inset(0 0 0 0 round 0); transition: clip-path 1.05s var(--ease-in-out); }
.slide.pre.go > .slide-in { transform: none; }

/* Chairman seat — first and foremost */
.vseat.chair { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: start; gap: 4px; padding: 14px; border-width: 2px; }
.vseat.chair .t { position: static; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
html[dir="rtl"] .vseat.chair .t { font-size: 12px; text-transform: none; letter-spacing: 0; }
.vseat.chair b { font-size: clamp(15px, 1.3vw, 19px); font-weight: 600; line-height: 1.2; }
.vseat.chair em { font-style: normal; font-size: 11px; opacity: .7; }
.vseat.chair[data-v="yes"] { background: #fff; color: var(--ink-950); border-color: var(--ink-950); box-shadow: inset 0 0 0 4px var(--ink-950); }
.vseat .t { white-space: nowrap; }
