/* DeenWell site, deenwell.org. Built 23 September 2026.
   House motion standard: no drawn divider lines, glass panels with a sheen,
   a gold bloom behind content, grain and vignette in front, nothing held dead still.
   Brand tokens from ai_brain/DEENWELL/visual/brand-design.md. */

:root {
  --ink: #1A1712;
  --ink-2: #221E17;
  --ink-3: #2B261D;
  --gold: #F7BD2E;
  --gold-deep: #C8931C;
  --gold-soft: rgba(247, 189, 46, 0.14);
  --paper: #E8E2D6;
  --paper-2: #F2EDE5;
  --muted: rgba(232, 226, 214, 0.80);
  --faint: rgba(232, 226, 214, 0.58);

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --arabic: "Amiri", "Traditional Arabic", "Scheherazade New", serif;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 19px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: clip; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.1; text-wrap: balance; color: var(--paper-2); }
h1 { font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.01em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
em.gold, .gold { color: var(--gold); font-style: normal; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.stack { display: grid; gap: 18px; }
.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.eyebrow {
  font: 700 13.5px/1.2 var(--body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.small { font-size: 16px; color: var(--faint); }

/* ---------- the grade: grain and vignette over everything ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* ---------- atmosphere: soft gold blooms behind content ---------- */
.bloom {
  position: absolute; pointer-events: none; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 189, 46, 0.30), rgba(247, 189, 46, 0.10) 55%, transparent);
  filter: blur(10px);
}
@media (prefers-reduced-motion: no-preference) {
  .bloom { animation: drift 38s var(--ease) both; }
  @keyframes drift { from { transform: translate3d(-4%, 3%, 0) scale(0.96); } to { transform: translate3d(4%, -3%, 0) scale(1.04); } }
}

/* ---------- glass ---------- */
.glass {
  position: relative; overflow: hidden;
  background: rgba(48, 42, 32, 0.52);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 14px rgba(247, 189, 46, 0.10);
}
.glass::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.015) 46%, rgba(255,255,255,0) 100%);
}
/* the travelling highlight, fired once as a pane arrives */
.glass::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 38%; left: -60%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 214, 0.13), transparent);
  filter: blur(6px); transform: skewX(-14deg); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .in .glass::after, .glass.in::after { animation: sheen 0.9s var(--ease) 0.25s 1 both; }
  @keyframes sheen { 0% { left: -60%; opacity: 1; } 100% { left: 130%; opacity: 0; } }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 16.5px/1 var(--body); letter-spacing: 0.01em; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn-gold {
  background: var(--gold); color: #1A1305;
  box-shadow: 0 10px 30px rgba(247, 189, 46, 0.28), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(247, 189, 46, 0.38), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-glass {
  color: var(--paper-2);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { color: var(--gold); text-decoration: none; font-weight: 600; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.solid {
  background: rgba(26, 23, 18, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: auto; height: 36px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(247, 189, 46, 0.35)); }
.brand-name { font: 600 21px/1 var(--display); color: var(--paper-2); letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15.5px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--paper-2); }
.nav-links .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(920px, 100svh);
  display: grid; align-items: end;
  padding-block: 140px 88px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: push 30s linear both; }
  @keyframes push { from { transform: scale(1); } to { transform: scale(1.05); } }
}
.hero::after { /* vignette and the scrim that seats the type */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, rgba(26,23,18,0.35) 0%, rgba(26,23,18,0) 30%, rgba(26,23,18,0.2) 55%, rgba(26,23,18,0.75) 84%, var(--ink) 100%),
    linear-gradient(90deg, rgba(26,23,18,0.62) 0%, rgba(26,23,18,0.1) 60%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: end; }
.hero-copy { display: grid; gap: 26px; max-width: 700px; }
.hero-copy.tight { max-width: 600px; }
.hero-copy.tight h1 { font-size: clamp(40px, 5.2vw, 70px); }
.hero-copy .lede { color: rgba(242, 237, 229, 0.82); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16.5px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
}

/* ---------- phone frame ---------- */
.phone {
  border-radius: 34px; padding: 8px;
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08), 0 0 60px rgba(247,189,46,0.10);
}
.phone img { border-radius: 27px; width: 100%; aspect-ratio: 582 / 1115; object-fit: cover; background: var(--ink-2); }
.hero-phone { justify-self: end; width: min(300px, 100%); }
@media (prefers-reduced-motion: no-preference) {
  .hero-phone { animation: float 9s var(--ease) 0.6s both; }
  @keyframes float { from { transform: translateY(18px) rotate(1.5deg); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(0) rotate(0deg); opacity: 1; } }
}

/* ---------- sections ---------- */
.section { position: relative; isolation: isolate; overflow-x: clip; padding-block: clamp(64px, 8vw, 112px); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.center { text-align: center; margin-inline: auto; justify-items: center; }

/* value cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 30px 28px 32px; display: grid; gap: 12px; align-content: start; }
.card h3 { font-size: 24px; }
.card p { color: var(--muted); font-size: 17.5px; line-height: 1.65; }
.icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 10px rgba(247,189,46,0.18);
}
.icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* app screens */
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); align-items: start; }
.screen { display: grid; gap: 18px; }
.screen:nth-child(even) { margin-top: 56px; }
.screen figcaption { font: 500 19px/1.35 var(--display); color: var(--paper-2); text-align: center; padding-inline: 6px; }
.screen figcaption span { color: var(--gold); font-style: italic; }
.screen, figure { margin: 0; }
@media (max-width: 900px) {
  .screens { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(72vw, 280px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screen { scroll-snap-align: center; }
  .screen:nth-child(even) { margin-top: 0; }
}

/* art mosaic */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile.tall { grid-row: span 2; }
.tile .tag {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--paper-2);
}
@media (max-width: 800px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .tile.tall { grid-row: span 1; grid-column: span 2; }
}

/* split layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* narration card */
.narration { padding: clamp(28px, 4vw, 44px); display: grid; gap: 20px; }
.arabic { font-family: var(--arabic); font-weight: 700; direction: rtl; text-align: right; color: var(--gold); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.9; }
.narration blockquote { margin: 0; font: italic 400 clamp(21px, 2vw, 25px)/1.5 var(--display); color: var(--paper-2); }
.cite { font-size: 16px; color: var(--faint); }
.cite a { color: var(--muted); }

/* full-bleed picture band */
.band { position: relative; isolation: isolate; overflow: hidden; min-height: 640px; display: grid; align-items: end; padding-block: 120px 80px; }
.band-media { position: absolute; inset: 0; z-index: -2; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
@media (prefers-reduced-motion: no-preference) {
  .band.in .band-media img { animation: push 24s linear both; }
}
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(26,23,18,0.55) 12%, rgba(26,23,18,0) 34%, rgba(26,23,18,0.15) 62%, rgba(26,23,18,0.78) 86%, var(--ink) 100%),
    linear-gradient(90deg, rgba(26,23,18,0.66) 0%, rgba(26,23,18,0.1) 55%, transparent 100%);
}
.band .stack { max-width: 620px; }

/* final call */
.final { text-align: center; }
.final .stack { justify-items: center; }

/* ---------- footer ---------- */
.footer { position: relative; padding-block: 72px 48px; background: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { margin: 0 0 14px; font: 600 12.5px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.footer a { display: block; color: var(--muted); text-decoration: none; padding-block: 5px; font-size: 16px; }
.footer a:hover { color: var(--paper-2); }
.footer .mission { color: var(--muted); font-size: 16px; max-width: 34ch; margin-top: 14px; }
.footer-base { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--faint); }
.footer-base a { display: inline; padding: 0; font-size: 14px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- reveal on scroll: visible at rest, only animated once JS is live ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px) scale(1.01); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal.d1 { transition-delay: 0.08s; }
  .js .reveal.d2 { transition-delay: 0.16s; }
  .js .reveal.d3 { transition-delay: 0.24s; }
}

/* ======================================================================
   Studio page
   ====================================================================== */
.topbar {
  position: relative; z-index: 60;
  background: linear-gradient(90deg, #2A1F08, #3A2A0A 50%, #2A1F08);
  color: var(--paper-2); font-size: 14.5px;
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; min-height: 44px; padding-block: 6px; text-align: center; }
.topbar a { color: var(--gold); font-weight: 700; text-decoration: none; }
.has-topbar .nav { position: sticky; top: 0; padding-top: 0; }
.has-topbar .hero { margin-top: -72px; }

.letter { font: 400 clamp(19px, 1.5vw, 21px)/1.75 var(--body); color: rgba(242, 237, 229, 0.86); display: grid; gap: 22px; }
.letter .salutation { font: italic 500 26px/1.2 var(--display); color: var(--gold); }
.letter strong { color: var(--paper-2); font-weight: 600; }
.hook { font: 500 clamp(28px, 3.4vw, 42px)/1.25 var(--display); color: var(--paper-2); text-wrap: balance; }
.aside { padding: 22px 24px; font-size: 17px; color: var(--muted); }
.aside strong { color: var(--paper-2); }

/* film card */
.film { display: block; position: relative; overflow: hidden; border-radius: 18px; text-decoration: none; aspect-ratio: 16 / 9; background: var(--ink-2); box-shadow: 0 30px 70px rgba(0,0,0,0.55); }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.film:hover img { transform: scale(1.035); }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75)); }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(247, 189, 46, 0.92); box-shadow: 0 0 0 10px rgba(247,189,46,0.18), 0 20px 50px rgba(0,0,0,0.5);
  transition: transform 0.3s var(--ease);
}
.film:hover .play { transform: scale(1.06); }
.play svg { width: 30px; height: 30px; fill: #1A1305; margin-left: 5px; }
.film-meta { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.film-meta strong { font: 500 clamp(22px, 2.4vw, 30px)/1.1 var(--display); color: var(--paper-2); }
.film-meta span { font-size: 14.5px; color: var(--muted); }

.proof { padding: clamp(26px, 3vw, 36px); display: grid; gap: 14px; }
.proof blockquote { margin: 0; font: italic 400 clamp(20px, 1.8vw, 23px)/1.5 var(--display); color: var(--paper-2); }

/* the scripture block */
.verse { padding: clamp(30px, 4.5vw, 56px); display: grid; gap: 24px; text-align: center; justify-items: center; }
.verse .arabic { text-align: center; font-size: clamp(26px, 3vw, 38px); max-width: 30ch; }
.verse .translation { font: italic 400 clamp(20px, 2vw, 26px)/1.5 var(--display); color: var(--paper-2); max-width: 44ch; }
.verse .tafsir { color: var(--muted); max-width: 60ch; font-size: 18px; }

/* the three reasons */
.reasons { display: grid; gap: 18px; }
.reason { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 30px; }
.reason .n { font: 500 44px/1 var(--display); color: var(--gold); font-variant-numeric: lining-nums; }
.reason h3 { margin-bottom: 6px; }
.reason p { color: var(--muted); font-size: 17px; }
.reason p strong { color: var(--paper-2); font-weight: 600; }
@media (max-width: 760px) { .reason { grid-template-columns: 1fr; gap: 12px; } }

/* how we make them */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .rules { grid-template-columns: 1fr; } }

/* the credits roll */
.credits {
  position: relative; overflow: hidden; border-radius: 20px;
  background: #060605; text-align: center;
  padding: clamp(48px, 7vw, 90px) 20px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), inset 0 0 120px rgba(247,189,46,0.06);
}
.credits .roll { display: grid; gap: 34px; }
.credits .role { font: 600 11.5px/1 var(--body); letter-spacing: 0.3em; text-transform: uppercase; color: rgba(232,226,214,0.5); margin-bottom: 10px; }
.credits .name { font: 500 clamp(24px, 3vw, 34px)/1.25 var(--display); color: var(--paper-2); }
.credits .ded { font: italic 400 17px/1.4 var(--display); color: var(--gold); margin-top: 8px; }
.credits .note { font-size: 14px; color: rgba(232,226,214,0.45); max-width: 46ch; margin-inline: auto; }
@media (prefers-reduced-motion: no-preference) {
  .credits.in .roll { animation: rise 14s var(--ease) both; }
  @keyframes rise { from { transform: translateY(26px); } to { transform: translateY(-6px); } }
}

/* budget */
.ledger { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 8px; }
.ledger-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 14px 16px; border-radius: 10px; }
.ledger-row:nth-child(odd) { background: rgba(255,255,255,0.035); }
.ledger-row .what strong { display: block; color: var(--paper-2); font-weight: 600; }
.ledger-row .what span { font-size: 15px; color: var(--faint); }
.ledger-row .amt { font: 600 20px/1 var(--body); color: var(--paper-2); font-variant-numeric: tabular-nums; }
.ledger-row.total { background: var(--gold-soft); }
.ledger-row.total .amt { color: var(--gold); font-size: 26px; }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tier { padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.tier .amount { font: 500 48px/1 var(--display); color: var(--paper-2); font-variant-numeric: lining-nums; }
.tier .buys { font-size: 16px; color: var(--muted); min-height: 3.1em; }
.tier ul { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 9px; font-size: 16px; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: rgba(242,237,229,0.86); }
.tier li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(247,189,46,0.6); }
.tier .btn { margin-top: auto; width: 100%; }
.tier.featured { background: linear-gradient(180deg, rgba(247,189,46,0.16), rgba(20,18,14,0.6)); border-color: rgba(247,189,46,0.45); }
.tier .badge { align-self: flex-start; font: 700 11.5px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: #1A1305; background: var(--gold); padding: 7px 11px; border-radius: 999px; }
.tier .limit { font-size: 14px; color: var(--gold); font-weight: 600; }
@media (max-width: 980px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }

/* promises */
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .promises { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { padding: 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 26px; font: 500 clamp(19px, 1.6vw, 21px)/1.35 var(--display); color: var(--paper-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--body); color: var(--gold); transition: transform 0.3s var(--ease); flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 24px; color: var(--muted); font-size: 17px; display: grid; gap: 12px; max-width: 72ch; }

.signoff { display: grid; gap: 10px; }
.signoff .sig { font: italic 500 30px/1 var(--display); color: var(--gold); }

/* mirror a still so the subject sits opposite the type */
.mirror img { transform: scaleX(-1); }
@media (prefers-reduced-motion: no-preference) { .mirror.hero-media img { animation: pushm 30s linear both; } @keyframes pushm { from { transform: scaleX(-1) scale(1); } to { transform: scaleX(-1) scale(1.05); } } }

/* ---------- the film credits reel (studio page) ---------- */
.reel { margin: 0 auto; max-width: 1040px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.reel-screen {
  --k: 1;
  position: relative; width: 100%; aspect-ratio: 16 / 9; container-type: inline-size;
  background: #0B0A08 url(assets/film/hurr-walker.webp) center 70% / cover; border-radius: 16px; overflow-y: auto; overflow-x: hidden;
  background-blend-mode: luminosity;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06), 0 0 80px rgba(247,189,46,0.07);
  scrollbar-width: none;
}
.reel-screen::-webkit-scrollbar { display: none; }
.reel.rolling .reel-screen { overflow: hidden; }
/* credits fade in at the bottom and out at the top, like a projected roll */
.reel-screen::before, .reel-screen::after { content: ""; position: sticky; display: block; left: 0; right: 0; height: 18%; z-index: 2; pointer-events: none; }
.reel-screen::before { top: 0; margin-bottom: -18%; height: 18cqw; margin-bottom: -18cqw; background: linear-gradient(180deg, rgba(8,7,5,0.9) 10%, transparent); }
.reel-screen::after { bottom: 0; margin-top: -12cqw; height: 12cqw; background: linear-gradient(0deg, rgba(8,7,5,0.9) 10%, transparent); }
.reel.rolling .reel-screen::before, .reel.rolling .reel-screen::after { position: absolute; margin: 0; }
.reel.rolling .reel-screen::before { top: 0; }
.reel.rolling .reel-screen::after { bottom: 0; }
.reel-screen { box-shadow: inset 0 0 0 100vmax rgba(8,7,5,0.72), 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08), 0 0 90px rgba(247,189,46,0.12); }
.reel-crawl { position: relative; padding: 14cqw 6cqw 10cqw; display: grid; gap: calc(var(--k) * 4cqw); will-change: transform; }
.reel.rolling .reel-crawl { position: absolute; left: 0; right: 0; top: 0; }

.rc-title { display: grid; gap: calc(var(--k) * 1.2cqw); margin-bottom: calc(var(--k) * 3cqw); }
.rc-presents { font: 600 calc(var(--k) * 1.05cqw)/1 var(--body); letter-spacing: 0.34em; text-transform: uppercase; color: rgba(232,226,214,0.55); }
.rc-film { font: italic 500 calc(var(--k) * 5.4cqw)/1 var(--display); color: var(--paper-2); letter-spacing: -0.01em; text-shadow: 0 0 40px rgba(247,189,46,0.25); }
.rc-row { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--k) * 2.6cqw); align-items: start; text-align: left; }
.rc-row.rc-gap { margin-top: calc(var(--k) * 2cqw); }
.rc-role { justify-self: end; text-align: right; padding-top: calc(var(--k) * 0.55cqw); font: 600 calc(var(--k) * 1.05cqw)/1.3 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: rgba(232,226,214,0.5); }
.rc-names { display: grid; gap: calc(var(--k) * 1cqw); justify-items: start; font: 500 calc(var(--k) * 2.1cqw)/1.2 var(--display); color: var(--paper-2); }
.rc-head { margin-top: calc(var(--k) * 2cqw); font: 600 calc(var(--k) * 1.05cqw)/1 var(--body); letter-spacing: 0.3em; text-transform: uppercase; color: rgba(232,226,214,0.5); }
.rc-center { display: grid; gap: calc(var(--k) * 1.1cqw); justify-items: center; font: 500 calc(var(--k) * 2.1cqw)/1.2 var(--display); }
.rc-card { display: grid; gap: calc(var(--k) * 1cqw); padding-block: calc(var(--k) * 4cqw); font: italic 400 calc(var(--k) * 2cqw)/1.3 var(--display); color: rgba(242,237,229,0.8); }
.rc-ded { font-size: calc(var(--k) * 3cqw); }
.rc-grid { width: min(100%, 78%); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--k) * 1.6cqw) calc(var(--k) * 3cqw); align-items: center; justify-items: center; font: 500 calc(var(--k) * 1.8cqw)/1.2 var(--display); }
.rc-and { font: italic 400 calc(var(--k) * 1.9cqw)/1.3 var(--display); color: rgba(242,237,229,0.72); }
.rc-end { display: grid; justify-items: center; gap: calc(var(--k) * 1.4cqw); padding-top: calc(var(--k) * 6cqw); }
.rc-end img { width: calc(var(--k) * 5cqw); filter: drop-shadow(0 0 18px rgba(247,189,46,0.45)); }
.rc-end p { font: 600 calc(var(--k) * 1.1cqw)/1 var(--body); letter-spacing: 0.34em; text-transform: uppercase; color: rgba(232,226,214,0.6); }
.you { color: var(--gold); text-shadow: 0 0 22px rgba(247,189,46,0.45); }
.bar { display: block; width: var(--w, 60%); height: calc(var(--k) * 1.1cqw); border-radius: 99px; background: rgba(232,226,214,0.12); }
.bar.c { margin-inline: auto; }
.rc-grid .bar { width: var(--w); }
.reel-chip, .reel-replay { position: absolute; z-index: 3; font: 600 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-2); padding: 9px 13px; border-radius: 999px; }
.reel-chip { left: 16px; top: 16px; }
.reel-replay { right: 16px; bottom: 16px; cursor: pointer; }
.reel-replay:hover { color: var(--gold); }
@media (max-width: 700px) {
  .reel-screen { aspect-ratio: 4 / 5; --k: 1.9; }
  .reel-crawl { padding-inline: 5cqw; }
  .rc-grid { width: 100%; grid-template-columns: repeat(2, 1fr); }
}

/* ---------- reading and access ---------- */
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--gold); color: #1A1305; font-weight: 700; padding: 12px 18px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; left: 16px !important; }
.lede, .letter, .card p, .faq .answer, .tier .buys { max-width: 65ch; }
.cite a, .letter a, .faq .answer a, .aside a { text-decoration: underline; text-underline-offset: 3px; }
.footer h2 { margin: 0 0 14px; font: 700 13px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.reel-pause { left: 16px; right: auto; }
@media (prefers-reduced-motion: no-preference) { .band.in .band-media.mirror img { animation: pushm 24s linear both; } }

/* ---------- sample comic page ---------- */
.comic {
  margin: 0; justify-self: center; width: min(100%, 540px);
  background: #F4EFE4; padding: 14px 14px 10px; border-radius: 6px;
  display: grid; gap: 10px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.2), 0 0 70px rgba(247,189,46,0.12);
  transform: rotate(-1.2deg);
}
.comic-ded { font: italic 500 15px/1.3 var(--display); color: #3A3226; text-align: center; padding-block: 2px 0; }
.you-ink { color: #A06D00; font-weight: 600; }
.cp { position: relative; overflow: hidden; background: #111; border: 3px solid #14110C; aspect-ratio: 4 / 3; }
.cp.wide { aspect-ratio: 16 / 8; }
.cp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.cap {
  position: absolute; z-index: 2; margin: 0; padding: 6px 9px;
  background: #F7E7B0; color: #1A1305; border: 2px solid #14110C;
  font: 700 12.5px/1.25 "Comic Neue", "Comic Sans MS", var(--body); text-transform: uppercase; letter-spacing: 0.02em;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.25);
}
.bubble {
  position: absolute; z-index: 2; margin: 0; padding: 10px 16px;
  background: #fff; color: #111; border: 2.5px solid #111; border-radius: 50%;
  font: 700 17px/1.1 "Comic Neue", "Comic Sans MS", var(--body); text-transform: uppercase; text-align: center;
}
.bubble.shout { font-size: 26px; padding: 14px 22px; letter-spacing: 0.02em; }
/* the tail: two stacked triangles, ink outline then white fill */
.bubble::before, .bubble::after { content: ""; position: absolute; width: 0; height: 0; border-style: solid; }
.bubble.tail-l::before { left: -2px; top: 30%; border-width: 10px 28px 10px 0; border-color: transparent #111 transparent transparent; transform: translateX(-24px) rotate(-18deg); }
.bubble.tail-l::after { left: 2px; top: calc(30% + 3px); border-width: 7px 23px 7px 0; border-color: transparent #fff transparent transparent; transform: translateX(-22px) rotate(-18deg); }
.sfx {
  position: absolute; z-index: 2; margin: 0;
  font: 400 30px/1 "Bangers", "Impact", sans-serif; letter-spacing: 0.04em; color: #F7BD2E;
  -webkit-text-stroke: 1.5px #14110C; text-shadow: 3px 3px 0 #14110C; transform: rotate(-8deg);
}
.comic-folio { text-align: right; font: 700 11px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: #7A6E5C; }
@media (max-width: 520px) {
  .comic { transform: none; padding: 10px; gap: 8px; }
  .cap { font-size: 10.5px; padding: 4px 6px; }
  .bubble.shout { font-size: 20px; padding: 10px 16px; }
  .sfx { font-size: 22px; }
}

/* ---------- proof ---------- */
.proofwall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pq { margin: 0; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.pq blockquote { margin: 0; font: italic 400 19px/1.55 var(--display); color: var(--paper-2); }
.pq blockquote strong { font-style: normal; font-weight: 600; color: var(--gold); display: block; margin-bottom: 6px; }
.pq figcaption { margin-top: auto; font-size: 15px; color: var(--faint); }
.pq-feature { grid-row: span 2; background: linear-gradient(180deg, rgba(247,189,46,0.14), rgba(48,42,32,0.55)); border-color: rgba(247,189,46,0.4); }
.pq-feature blockquote { font-size: 21px; }
.stars { color: var(--gold); font-size: 20px; letter-spacing: 0.12em; text-shadow: 0 0 12px rgba(247,189,46,0.5); }
@media (max-width: 980px) { .proofwall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .proofwall { grid-template-columns: 1fr; } .pq-feature { grid-row: auto; } }
.rq { margin-top: 12px; font: italic 400 17px/1.45 var(--display); color: var(--paper-2); }
.rq span { font: 400 14px/1 var(--body); color: var(--faint); font-style: normal; margin-left: 8px; }
.facts { display: grid; gap: 14px; }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 26px; }
.fact .fig { font: 500 clamp(36px, 4vw, 48px)/1 var(--display); color: var(--gold); font-variant-numeric: lining-nums tabular-nums; min-width: 3.2ch; }
.fact .lab { color: var(--muted); font-size: 17.5px; }
.whynow { padding: clamp(28px, 4vw, 44px); display: grid; gap: 16px; text-align: center; justify-items: center; }

/* ---------- VSL hero (studio) ---------- */
.vsl { position: relative; isolation: isolate; overflow: hidden; padding-block: 104px 56px; text-align: center; }
.has-topbar .vsl { margin-top: -72px; padding-top: 124px; }
.vsl-bg { position: absolute; inset: 0; z-index: -2; }
.vsl-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: blur(14px) saturate(1.1); transform: scale(1.08); opacity: 0.55; }
.vsl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,23,18,0.55), rgba(26,23,18,0.75) 60%, var(--ink)); }
.vsl-inner { display: grid; justify-items: center; gap: 18px; }
.vsl-pre { font: 700 14px/1.3 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.vsl-h1 { font-size: clamp(34px, 5vw, 64px); max-width: 17ch; line-height: 1.08; }
.vsl-sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.vsl-video {
  position: relative; width: min(100%, 880px); aspect-ratio: 16 / 9; margin-top: 10px;
  border-radius: 16px; overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1), 0 0 90px rgba(247,189,46,0.18);
}
.vsl-video img, .vsl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vsl-video img { transition: transform 1.2s var(--ease), filter 0.4s; filter: brightness(0.82); }
.vsl-video:hover img { transform: scale(1.03); filter: brightness(0.92); }
.vsl-play { position: absolute; inset: 0; background: none; border: 0; cursor: pointer; }
.vsl-play .play { width: 104px; height: 104px; }
.vsl-play .play svg { width: 36px; height: 36px; }
@media (prefers-reduced-motion: no-preference) {
  .vsl-play .play { animation: breathe 2.8s var(--ease) 1s 3 both; }
  @keyframes breathe { 0%, 100% { box-shadow: 0 0 0 10px rgba(247,189,46,0.18), 0 20px 50px rgba(0,0,0,0.5); } 50% { box-shadow: 0 0 0 22px rgba(247,189,46,0.08), 0 20px 50px rgba(0,0,0,0.5); } }
}
.vsl-tag { position: absolute; left: 16px; bottom: 16px; padding: 9px 14px; border-radius: 999px; font: 600 14px/1 var(--body); color: var(--paper-2); }
.vsl-cta { display: grid; justify-items: center; gap: 10px; margin-top: 12px; }
.btn-xl { min-height: 62px; padding: 0 36px; font-size: 19px; }
.vsl-micro { font-size: 15.5px; color: var(--muted); }
.vsl-proof { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.vsl-proof li { display: grid; justify-items: center; gap: 2px; }
.vsl-proof strong { font: 500 clamp(26px, 2.6vw, 34px)/1 var(--display); color: var(--paper-2); font-variant-numeric: lining-nums; }
.vsl-proof span { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 600px) {
  .vsl { padding-top: 96px; }
  .vsl-play .play { width: 76px; height: 76px; }
  .vsl-proof { gap: 12px 24px; }
}

.vsl-proof strong { letter-spacing: 0.02em; }
.ps { margin-top: 8px; font-size: 17.5px; }

.app-review { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 760px; padding: clamp(26px, 3.5vw, 40px); display: grid; gap: 14px; text-align: center; justify-items: center; }
.app-review blockquote { margin: 0; font: italic 400 clamp(19px, 1.7vw, 22px)/1.55 var(--display); color: var(--paper-2); }
.app-review blockquote strong { display: block; font-style: normal; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.app-review figcaption { font-size: 15px; color: var(--faint); }

/* ---------- language switch ---------- */

/* ---------- Arabic, right to left ---------- */
html[dir="rtl"] {
  --display: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif;
  --body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
[dir="rtl"] body { font-size: 19px; line-height: 1.9; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 700; line-height: 1.4; letter-spacing: 0; }
[dir="rtl"] .vsl-h1 { line-height: 1.35; max-width: 20ch; }
/* Arabic letters join: never letter-space or upper-case them */
[dir="rtl"] .eyebrow, [dir="rtl"] .vsl-pre, [dir="rtl"] .footer h2, [dir="rtl"] .badge, [dir="rtl"] .reel-chip,
[dir="rtl"] .reel-replay, [dir="rtl"] .comic-folio, [dir="rtl"] .rc-presents, [dir="rtl"] .rc-role, [dir="rtl"] .rc-head,
[dir="rtl"] .rc-end p, [dir="rtl"] .vsl-proof span, [dir="rtl"] .cap, [dir="rtl"] .bubble, [dir="rtl"] .tile .tag {
  letter-spacing: 0 !important; text-transform: none !important;
}
[dir="rtl"] .eyebrow { font-size: 15px; }
[dir="rtl"] .rc-presents, [dir="rtl"] .rc-role, [dir="rtl"] .rc-head { font-size: calc(var(--k) * 1.35cqw); }
/* no Arabic italics */
[dir="rtl"] em, [dir="rtl"] blockquote, [dir="rtl"] .rq, [dir="rtl"] .rc-card, [dir="rtl"] .rc-film, [dir="rtl"] .rc-and,
[dir="rtl"] .comic-ded, [dir="rtl"] .sig, [dir="rtl"] .salutation, [dir="rtl"] .screen figcaption span, [dir="rtl"] .app-review blockquote { font-style: normal; }
/* scrims darken the side the text is on */
[dir="rtl"] .hero::after {
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, rgba(26,23,18,0.35) 0%, rgba(26,23,18,0) 30%, rgba(26,23,18,0.2) 55%, rgba(26,23,18,0.75) 84%, var(--ink) 100%),
    linear-gradient(270deg, rgba(26,23,18,0.62) 0%, rgba(26,23,18,0.1) 60%, transparent 100%);
}
[dir="rtl"] .band::after {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(26,23,18,0.55) 12%, rgba(26,23,18,0) 34%, rgba(26,23,18,0.15) 62%, rgba(26,23,18,0.78) 86%, var(--ink) 100%),
    linear-gradient(270deg, rgba(26,23,18,0.66) 0%, rgba(26,23,18,0.1) 55%, transparent 100%);
}
[dir="rtl"] .rc-row { text-align: right; }
[dir="rtl"] .rc-role { text-align: left; }
[dir="rtl"] .cap, [dir="rtl"] .bubble, [dir="rtl"] .sfx { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; font-weight: 700; }
[dir="rtl"] .sfx { -webkit-text-stroke: 1px #14110C; }
[dir="rtl"] .arabic { text-align: right; }
[dir="rtl"] .lang-note { margin-top: -8px; }

.reach { display: grid; justify-items: center; gap: 10px; margin-top: 26px; }
.reach-label { font-size: 15px; color: var(--muted); }
.reach-label a { color: var(--gold); text-decoration: none; font-weight: 600; }
.reach .vsl-proof { margin: 0; }

/* ---------- quotes beside the stats ---------- */
.hq-row { width: min(100%, 1040px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; text-align: start; }
.hq { margin: 0; padding: 20px 20px 18px; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 10px; align-content: start;
  background: linear-gradient(180deg, rgba(247,189,46,0.10), rgba(48,42,32,0.55)); border-color: rgba(247,189,46,0.28); }
.hq-av { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #FFD66B, var(--gold-deep)); color: #1A1305; font: 700 17px/1 var(--body); box-shadow: 0 0 18px rgba(247,189,46,0.35); }
.hq blockquote { margin: 0; font: italic 400 17px/1.5 var(--display); color: var(--paper-2); }
.hq figcaption { font-size: 14px; color: var(--faint); }
@media (prefers-reduced-motion: no-preference) {
  .hq { animation: hqIn 0.55s var(--ease) both; }
  .hq:nth-child(2) { animation-delay: 0.12s; } .hq:nth-child(3) { animation-delay: 0.24s; }
  @keyframes hqIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .hq-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(82vw, 320px); overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
  .hq-row::-webkit-scrollbar { display: none; }
  .hq { scroll-snap-align: center; }
}
[dir="rtl"] .hq blockquote { font-style: normal; }

/* ---------- language toggle ---------- */
.langtoggle { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav-links .langtoggle a { display: inline-grid; place-items: center; min-width: 38px; height: 32px; padding: 0 10px; border-radius: 999px;
  font: 700 13.5px/1 var(--body); color: var(--muted); text-decoration: none; transition: background 0.2s, color 0.2s; }
.nav-links .langtoggle a[lang="ar"] { font: 700 17px/1 "IBM Plex Sans Arabic", "Amiri", sans-serif; }
.nav-links .langtoggle a:hover { color: var(--paper-2); }
.nav-links .langtoggle a[aria-current="true"] { background: var(--gold); color: #1A1305; }
@media (max-width: 720px) { .nav-links .langtoggle a { display: inline-grid; } }

/* ---------- credits: a black screen, as at the end of a film ---------- */
.reel-screen { background: #000 !important; }
.reel-screen { box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08), 0 0 90px rgba(247,189,46,0.1) !important; }
.reel-screen::before { background: linear-gradient(180deg, #000 10%, transparent) !important; }
.reel-screen::after { background: linear-gradient(0deg, #000 10%, transparent) !important; }

/* the film is in English, so its credits stay English even on the Arabic page */
[dir="rtl"] .reel-screen[dir="ltr"] { --display: "Playfair Display", Georgia, serif; --body: "Source Sans 3", "Segoe UI", sans-serif; }
[dir="rtl"] .reel-screen[dir="ltr"] .rc-row { text-align: left; }
[dir="rtl"] .reel-screen[dir="ltr"] .rc-role { text-align: right; }
[dir="rtl"] .reel-screen[dir="ltr"] .rc-presents, [dir="rtl"] .reel-screen[dir="ltr"] .rc-role, [dir="rtl"] .reel-screen[dir="ltr"] .rc-head,
[dir="rtl"] .reel-screen[dir="ltr"] .rc-end p { letter-spacing: 0.3em !important; text-transform: uppercase !important; font-size: calc(var(--k) * 1.05cqw); }
[dir="rtl"] .reel-screen[dir="ltr"] .rc-film, [dir="rtl"] .reel-screen[dir="ltr"] .rc-card, [dir="rtl"] .reel-screen[dir="ltr"] .rc-and { font-style: italic; }
[dir="rtl"] .reel-screen[dir="ltr"] .reel-chip, [dir="rtl"] .reel-screen[dir="ltr"] .reel-replay { font-family: "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0 !important; text-transform: none !important; }

/* ---------- phone header: let the bar shrink instead of overflowing ---------- */
@media (max-width: 720px) {
  .nav-inner { gap: 10px; min-width: 0; }
  .nav-links { gap: 10px; min-width: 0; flex: 0 1 auto; }
  .brand { min-width: 0; flex: 0 1 auto; gap: 8px; }
  .brand-name { overflow: hidden; white-space: nowrap; }
}
@media (max-width: 420px) {
  .nav-links .btn { padding: 0 13px; font-size: 14px; }
  .brand-mark { height: 30px; }
  .brand-name { font-size: 18px; }
}
