/* ============================================================================
   READING DOCUMENTARY — design system
   A cinematic, ivory-and-bronze visual language. 1920×1080 stage, scaled to fit.
   ========================================================================= */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #070808;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  cursor: default;
}
body.hide-cursor { cursor: none; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- tokens ---------- */
:root {
  --ivory: #f7f1e6;
  --paper: #fbf6ec;
  --cream: #efe3cf;
  --sand: #ddc8a7;
  --sand-deep: #c3a67c;
  --gold: #c8a155;
  --gold-lit: #e2c078;
  --gold-deep: #97762f;
  --bronze: #8b6a3f;
  --teal: #1d6f6a;
  --teal-lit: #2f8f88;
  --teal-deep: #103f3c;
  --blue: #3a5a72;
  --blue-deep: #1e3242;
  --charcoal: #191c1f;
  --ink: #22262b;
  --ink-soft: #565d66;
  --ink-faint: #8b8880;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, sans-serif;
  --arabic: 'Amiri', 'Aref Ruqaa', serif;

  --ease-out: cubic-bezier(.22, .68, .16, 1);
  --ease-cine: cubic-bezier(.3, .05, .1, 1);

  --hair: rgba(34, 38, 43, .16);
  --hair-light: rgba(247, 241, 230, .22);
}

/* ---------- stage ---------- */
#stage {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #0b0c0d;
  overflow: hidden;
  isolation: isolate;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  background: var(--ivory);
  color: var(--ink);
}
.slide.is-active { display: block; }

/* The camera layer: GSAP animates this for push-ins, dollies and tracks. */
.cam {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* generic layers */
.layer { position: absolute; inset: 0; }
.layer--fill { width: 100%; height: 100%; object-fit: cover; }

.hard-left { left: 0; }
.pad { position: absolute; inset: 0; padding: 96px 132px; }

/* ---------- atmosphere ---------- */
#grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .075;
  mix-blend-mode: multiply;
  background-repeat: repeat;
  animation: grainShift 1s steps(4) infinite;
}
@keyframes grainShift {
  0% { background-position: 0 0; }
  25% { background-position: -37px 18px; }
  50% { background-position: 21px -29px; }
  75% { background-position: -12px -12px; }
  100% { background-position: 33px 24px; }
}

#vignette {
  position: fixed;
  inset: 0;
  z-index: 89;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 42%, rgba(255, 250, 240, 0) 48%, rgba(26, 18, 8, .26) 100%),
    linear-gradient(to bottom, rgba(20, 14, 6, .10), rgba(20, 14, 6, 0) 22%, rgba(20, 14, 6, 0) 78%, rgba(20, 14, 6, .14));
}

.light-shaft {
  position: absolute;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 248, 230, .85), rgba(255, 246, 222, .18) 55%, transparent 100%);
  filter: blur(26px);
  mix-blend-mode: screen;
  transform-origin: top center;
  opacity: .5;
}

.bloom {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: screen;
}

.dust-canvas { position: absolute; inset: 0; pointer-events: none; }

/* ---------- typography ---------- */
.kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: none;
}
.kicker--light { color: var(--gold-lit); }
.kicker--bare::before { display: none; }

.h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 132px;
  line-height: .94;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--ink);
}
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 86px;
  line-height: 1.02;
  letter-spacing: -.018em;
  margin: 0;
}
.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
}
.lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 23px;
  line-height: 1.58;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: -.005em;
}
.body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0;
}
.micro {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--ink-faint);
}
.num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 76px;
  line-height: 1;
  color: var(--gold-deep);
  font-feature-settings: 'lnum' 1;
}
.serif-i { font-family: var(--serif); font-style: italic; }
.light { color: var(--ivory); }
.muted { color: var(--ink-soft); }
.ink-soft { color: var(--ink-soft); }
.gold { color: var(--gold-deep); }

.hairline { height: 1px; background: var(--hair); transform-origin: left center; }
.hairline--light { background: var(--hair-light); }

/* word-mask reveal primitive */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; }

/* ---------- generic components ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 6px;
  border: 1px solid rgba(139, 106, 63, .38);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
}
.chip--light { border-color: rgba(226, 192, 120, .45); color: var(--gold-lit); }
.chip--solid { background: rgba(200, 161, 85, .14); }

.scrim-bottom {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(to top, rgba(247, 241, 230, .96), rgba(247, 241, 230, 0));
  pointer-events: none;
}
.scrim-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 34%;
  background: linear-gradient(to bottom, rgba(247, 241, 230, .92), rgba(247, 241, 230, 0));
  pointer-events: none;
}
.scrim-dark-bottom {
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(to top, rgba(9, 12, 13, .88), rgba(9, 12, 13, 0));
  pointer-events: none;
}
.scrim-dark-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 55%;
  background: linear-gradient(to bottom, rgba(9, 12, 13, .82), rgba(9, 12, 13, 0));
  pointer-events: none;
}
.paper-grain {
  position: absolute;
  inset: 0;
  opacity: .35;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: radial-gradient(rgba(120, 90, 50, .08) .5px, transparent .6px);
  background-size: 3px 3px;
}

/* caption / citation */
.cite {
  position: absolute;
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: .03em;
  color: rgba(34, 38, 43, .48);
  max-width: 620px;
}
.cite--light { color: rgba(247, 241, 230, .5); }
.cite b { font-weight: 600; color: rgba(34, 38, 43, .62); }

/* section label (act marker) */
.act-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bronze);
}
.act-label em {
  font-family: var(--serif);
  font-style: normal;
  font-size: 26px;
  letter-spacing: 0;
  color: var(--gold-deep);
  line-height: 1;
}

/* ---------- HUD ---------- */
#hud {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 34px;
  color: rgba(247, 241, 230, .82);
  background: linear-gradient(to top, rgba(10, 11, 12, .78), rgba(10, 11, 12, .12) 70%, transparent);
  backdrop-filter: blur(6px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  font-family: var(--sans);
}
#hud.is-hidden { opacity: 0; transform: translateY(10px); pointer-events: none; }
#hud .hud-chapter {
  min-width: 290px;
  display: flex;
  align-items: center;
  gap: 14px;
}
#hud .hud-chapter .idx {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-lit);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex: none;
}
#hud .hud-chapter .sep { width: 22px; height: 1px; background: rgba(247, 241, 230, .28); }
#hud .hud-chapter .name {
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, .62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#hud .hud-progress { flex: 1; display: flex; align-items: center; gap: 14px; }
#hud .ticks { display: flex; gap: 5px; align-items: center; height: 12px; }
#hud .ticks i {
  width: 26px;
  height: 2px;
  background: rgba(247, 241, 230, .16);
  border-radius: 1px;
  transition: background .3s;
}
#hud .ticks i.done { background: rgba(226, 192, 120, .5); }
#hud .ticks i.current { background: rgba(247, 241, 230, .26); }
#hud .hud-buttons { display: flex; align-items: center; gap: 6px; }
#hud button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(247, 241, 230, .66);
  transition: background .25s, color .25s;
}
#hud button:hover { background: rgba(247, 241, 230, .1); color: var(--gold-lit); }
#hud button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#hud .vol {
  width: 84px;
  accent-color: var(--gold);
  height: 2px;
  margin-left: 2px;
  cursor: pointer;
}
#hud .hud-hint {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, .34);
  white-space: nowrap;
}

/* start overlay */
#gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: radial-gradient(86% 70% at 50% 42%, #171b1e 0%, #0b0d0e 58%, #050607 100%);
  color: var(--ivory);
  transition: opacity .8s var(--ease-out);
}
#gate.is-gone { opacity: 0; pointer-events: none; }
#gate .gate-inner { text-align: center; }
#gate .gate-kicker { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
#gate h1 { font-family: var(--serif); font-weight: 300; font-size: 58px; margin: 0 0 14px; letter-spacing: -.01em; }
#gate .gate-rule { width: 54px; height: 1px; background: var(--gold); opacity: .6; margin: 0 auto 26px; }
#gate p { font-size: 13px; letter-spacing: .05em; color: rgba(247, 241, 230, .5); margin: 0 0 34px; }
#gate button {
  border: 1px solid rgba(226, 192, 120, .5);
  padding: 15px 34px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-lit);
  transition: background .3s, color .3s;
}
#gate button:hover { background: rgba(226, 192, 120, .12); }
#gate .gate-note { margin-top: 26px; font-size: 10.5px; letter-spacing: .1em; color: rgba(247, 241, 230, .3); }

/* ---------- the book ---------- */
.book {
  position: relative;
  width: var(--w, 340px);
  height: var(--h, 470px);
  perspective: 2200px;
  transform-style: preserve-3d;
  --cover: #1f3b46;
  --cover-2: #16232a;
  --foil: #d9b877;
}
.book__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt, 9deg)) rotateY(var(--yaw, -17deg)) rotateZ(var(--roll, 0deg));
  transform-origin: 50% 55%;
}
.book__shadow {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -8%;
  height: 26%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(30, 20, 10, .5), rgba(30, 20, 10, 0) 72%);
  filter: blur(14px);
  transform: translateZ(-30px) rotateX(72deg);
  transform-origin: 50% 50%;
  opacity: .8;
}
.book__back {
  position: absolute;
  inset: 0;
  border-radius: 4px 9px 9px 4px;
  background: linear-gradient(120deg, var(--cover-2), #0e1214 60%, var(--cover-2));
  transform: translateZ(-16px);
  box-shadow: 0 26px 60px -18px rgba(20, 14, 6, .55);
}
.book__block {
  position: absolute;
  inset: 0;
  border-radius: 3px 8px 8px 3px;
  background: linear-gradient(105deg, #e9dfca 0%, #fbf6ec 8%, #f3e9d6 60%, #e2d3b8 100%);
  transform: translateZ(0);
  overflow: hidden;
}
.book__block::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, rgba(120, 92, 52, .2) 0 1px, rgba(255, 252, 244, .6) 1px 3.4px);
  opacity: .5;
  border-radius: inherit;
  -webkit-mask-image: linear-gradient(to right, transparent 90%, #000 100%);
  mask-image: linear-gradient(to right, transparent 90%, #000 100%);
}
.book__block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(120, 92, 52, .16) 0 1px, rgba(255, 252, 244, .5) 1px 3.4px);
  opacity: .35;
  -webkit-mask-image: linear-gradient(to bottom, transparent 96%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 96%, #000 100%);
}
/* page gutter shading */
.book__block i.gutter {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16%;
  background: linear-gradient(to right, rgba(90, 66, 34, .34), rgba(90, 66, 34, 0));
  filter: blur(1px);
}
.book__spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 100%;
  transform: rotateY(-90deg) translateZ(0);
  transform-origin: left center;
  background: linear-gradient(to right, #120c07, var(--cover) 55%, #0b0704);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, .6);
  border-radius: 3px 0 0 3px;
}

.book__leaves { position: absolute; inset: 0; transform-style: preserve-3d; }
.leaf {
  position: absolute;
  inset: 6px 6px 6px 10px;
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: visible;
}
.leaf > .face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 1px 4px 4px 1px;
  background: linear-gradient(115deg, #fffdf6, #f4ead6 70%, #e9dcc2);
  box-shadow: inset 0 0 30px rgba(120, 92, 52, .12);
  overflow: hidden;
}
.leaf > .face--back { transform: rotateY(180deg); }

.book__cover {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  border-radius: 4px 9px 9px 4px;
  background: linear-gradient(122deg, var(--cover) 0%, var(--cover-2) 58%, var(--cover) 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .16) inset,
    -1px 0 0 rgba(255, 255, 255, .1) inset,
    0 30px 60px -22px rgba(18, 12, 6, .6);
  will-change: transform;
}
.book__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 9%, rgba(0, 0, 0, .16) 13%, rgba(0, 0, 0, 0) 30%),
    radial-gradient(90% 70% at 78% 8%, rgba(255, 255, 255, .12), transparent 60%);
  pointer-events: none;
  backface-visibility: hidden;
}
.book__cover .cover-inner {
  position: absolute;
  inset: 0;
  padding: 9% 8% 8%;
  display: flex;
  flex-direction: column;
  color: var(--foil);
  text-align: center;
  backface-visibility: hidden;
  border-radius: inherit;
  overflow: hidden;
}
.book__cover .cover-frame {
  position: absolute;
  inset: 5.2%;
  border: 1px solid color-mix(in srgb, var(--foil) 46%, transparent);
  pointer-events: none;
}
.book__cover .cover-kicker {
  font-family: var(--sans);
  font-size: 7.6px;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: 7%;
}
.book__cover .cover-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.06;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--foil);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}
.book__cover .cover-author {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  opacity: .8;
}
.book__cover .cover-mono {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  opacity: .55;
  margin: 6% 0;
}
.book__cover .cover-rule {
  width: 26%;
  height: 1px;
  background: currentColor;
  opacity: .5;
  margin: 8% auto;
}
.book__cover .cover-ar {
  font-family: var(--arabic);
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: normal;
  direction: rtl;
}
/* inside of the front cover */
.book__cover .cover-inside {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  border-radius: inherit;
  background:
    radial-gradient(70% 55% at 26% 18%, rgba(240, 222, 194, .55), rgba(0, 0, 0, 0) 70%),
    radial-gradient(80% 70% at 78% 88%, rgba(96, 68, 40, .35), rgba(0, 0, 0, 0) 70%),
    linear-gradient(135deg, #b99a72 0%, #a98a63 46%, #8f7351 100%);
  box-shadow: inset 0 0 90px rgba(60, 40, 18, .55), inset 0 0 0 1px rgba(255, 246, 228, .1);
  overflow: hidden;
}
.book__cover .cover-inside::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(70, 48, 24, .16) .6px, transparent .7px);
  background-size: 3px 3px;
  opacity: .6;
  mix-blend-mode: multiply;
}
.book__cover .cover-inside::after {
  content: '';
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255, 246, 228, .16);
  box-shadow: inset 0 0 0 4px rgba(60, 40, 18, .06);
}
.cover-exlibris {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: rgba(255, 244, 222, .38);
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: .34em;
  line-height: 2.4;
  text-transform: uppercase;
}
.cover-exlibris b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: .1em;
  font-weight: 400;
  margin-bottom: 6px;
  color: rgba(255, 246, 226, .5);
}

/* opened spread content placed on the block */
.book__spread {
  position: absolute;
  inset: 8% 7% 8% 13%;
  display: flex;
  gap: 4%;
  opacity: 0;
}
.book__spread .pg { flex: 1; position: relative; }
.book__spread .pg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(120, 92, 52, .1), rgba(255, 252, 244, 0) 22%);
  pointer-events: none;
}
/* page texture for flipping leaves */
.leaf .face::after {
  content: '';
  position: absolute;
  inset: 9%;
  background-image: repeating-linear-gradient(to bottom, rgba(96, 74, 44, .13) 0 1px, transparent 1px 11px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 55%, transparent 92%);
  opacity: .55;
}

/* ---------- arch frames (world windows) ---------- */
.arch {
  position: absolute;
  border-radius: 999px 999px 3px 3px;
  overflow: hidden;
  border: 1px solid rgba(200, 161, 85, .5);
  background: #0d1416;
  box-shadow: 0 30px 60px -30px rgba(20, 12, 4, .6);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(20, 14, 6, .46);
}

/* ---------- pills / tags ---------- */
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bronze);
  border-bottom: 1px solid rgba(139, 106, 63, .35);
  padding-bottom: 3px;
}
.tag--light { color: rgba(247, 241, 230, .62); border-color: rgba(247, 241, 230, .25); }

/* strength meter */
.meter { display: flex; align-items: center; gap: 9px; }
.meter .dots { display: flex; gap: 4px; }
.meter .dots i { width: 20px; height: 3px; background: rgba(34, 38, 43, .16); }
.meter .dots i.on { background: var(--gold); }
.meter span {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- narrower viewports ---------- */
@media (max-width: 1500px) {
  #hud { height: 62px; padding: 0 20px; gap: 18px; }
  #hud .hud-chapter { min-width: 0; }
  #hud .hud-chapter .idx { font-size: 18px; }
  #hud .hud-hint { display: none; }
  #hud .ticks i { width: 17px; }
  #hud .vol { width: 64px; }
}
@media (max-width: 1100px) {
  #hud .hud-chapter .name { display: none; }
  #hud .vol { display: none; }
}

/* ---------- misc utility ---------- */.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.gap-28 { gap: 28px; } .gap-40 { gap: 40px; } .gap-56 { gap: 56px; }
.abs { position: absolute; }
.center { display: grid; place-items: center; }
.nowrap { white-space: nowrap; }
.small { font-size: 15px; }
.tnum { font-variant-numeric: tabular-nums; }

.arabic { font-family: var(--arabic); direction: rtl; letter-spacing: normal; unicode-bidi: isolate; line-height: 1.6; }
.arabic-display { font-family: var(--arabic); direction: rtl; letter-spacing: normal; unicode-bidi: isolate; line-height: 1.42; }
.ltr { display: inline-block; direction: ltr; unicode-bidi: isolate; }
