/* Fonts are served from this site (no third-party font host). Latin for Archivo and Inter, Latin and Arabic for Cairo. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 75% 110%; font-display: swap; src: url(/assets/fonts/archivo-latin-ext-fa8397.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 75% 110%; font-display: swap; src: url(/assets/fonts/archivo-latin-4c18bb.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-latin-ext-b6db4a.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/inter-latin-6ab57b.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/cairo-arabic-0d2bad.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/cairo-latin-ext-c23228.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/cairo-latin-eb4f7c.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #200509;
  --sand: #1b0509;
  --ink: #EDE9E3;
  --ink-2: #ADA9A3;
  --ink-3: #A1968F;
  --line: rgba(237, 233, 227, 0.13);
  --serif: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --accent: #EFC66F;           /* small, thin text (the AI Ads Creator label) */
  --gold: #B58A3C;             /* deep antique gold for headings, numbers and fills; sits richly on the burgundy */
  --gold-fill: linear-gradient(135deg, #CDA24F 0%, #B58A3C 48%, #9A7130 100%);
}
html { scroll-behavior: smooth; background: #200509; }
body { margin: 0; background: #200509; color: #EDE9E3; font-family: var(--body); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--ink); }
img, video { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--accent); color: #1c0508; border-radius: 0 0 6px 0; font: 500 15px var(--body); text-decoration: none; }
.skip:focus { left: 0; }

.hh { position: relative; width: 100%; overflow-x: clip; }
.hh main { position: relative; z-index: 1; }

/* site background — burgundy velvet (texture rebuilt from the carousel slides), fixed behind every section */
.site-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #200509 url("assets/velvet.webp") center / cover no-repeat; }
.bg-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 92% 82% at 50% 44%, transparent 38%, rgba(10, 1, 3, .34) 100%); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.chap { padding: 104px 0; scroll-margin-top: 72px; }
.sand { background: rgba(12, 2, 5, .46); }

.ch { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: 13px; letter-spacing: .08em; color: var(--ink-3); }
.ch-num { color: var(--accent); font-variant-numeric: tabular-nums; }
.h2 { text-shadow: 0 2px 20px rgba(18, 3, 7, .5); margin: 0; max-width: 18ch; font-family: var(--serif); font-stretch: 104%; font-weight: 650; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.032em; color: var(--gold); text-wrap: balance; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 40px; border-bottom: 1px solid transparent; transition: background .5s var(--ease), border-color .5s, padding .5s var(--ease); }
.nav.scrolled { background: #1a0509; border-bottom-color: var(--line); padding: 12px 40px; }
.brand { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 650; font-size: 19px; line-height: 1.05; letter-spacing: -.01em; }
.brand small { font-family: var(--body); font-weight: 500; font-size: 11.5px; letter-spacing: .16em; color: var(--accent); }
.nav-links { display: flex; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 15px; transition: color .3s, background .3s; }
.nav-link:hover { color: var(--ink); background: rgba(236, 231, 224, .07); }
.nav-link.on { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 500 15px/1 var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .4s var(--ease), border-color .3s; }
.btn-solid { background: var(--gold-fill); color: #1c0508; }
.btn-solid:hover { color: #1c0508; transform: translateY(-2px); box-shadow: 0 14px 34px -14px var(--accent); }
.btn-solid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 246, 220, .6) 50%, transparent 65%); transform: translateX(-130%); pointer-events: none; }
.btn-solid:hover::after { transform: translateX(130%); transition: transform .9s var(--ease); }
.btn-line { background: transparent; color: var(--accent); border-color: rgba(239, 198, 111, .55); }

/* hero */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(620px, calc(100svh - 86px), 980px); padding: 24px 0 92px; overflow: hidden; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; width: 100%; }
.hero-copy { position: relative; z-index: 3; }
.hero-title .mask { transform: translate(round(nearest, calc(var(--px, 0) * var(--tx, 0px)), 1px), round(nearest, calc(var(--py, 0) * var(--ty, 0px)), 1px)); }   /* whole pixels keep the type sharp */
.hero-title .mask:nth-child(1) { --tx: -12px; --ty: -5px; }
.hero-title .mask:nth-child(2) { --tx: -22px; --ty: -2px; }
.hero-title .mask:nth-child(3) { --tx: -32px; --ty: 4px; }
.hero-char { position: relative; height: clamp(440px, calc(100svh - 240px), 720px); perspective: 1100px; }
.stage3d { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--px, 0) * 8deg)) rotateX(calc(var(--py, 0) * -4.5deg)); will-change: transform; }
.char3d { position: absolute; inset: 0; transform: translateZ(85px); }
.glow { position: absolute; left: 50%; top: 48%; width: min(820px, 150%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(239, 198, 111, .10) 0%, transparent 66%); animation: fadein 2s var(--ease) .2s both; }
.floor-shadow { position: absolute; left: 50%; bottom: 1px; width: min(340px, 72%); height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .6), transparent 72%); }
.sprite { position: absolute; z-index: 2; left: 50%; bottom: 14px; height: calc(100% - 14px); aspect-ratio: 520 / 1223; transform: translateX(-50%); background-image: url("assets/char-sprite.webp"); background-repeat: no-repeat; background-size: 500% 500%; background-position: 0% 0%; animation: charIn 1.4s var(--ease) .35s both; }
/* render pass — a scan sweep that briefly exposes the character's wireframe */
.rp { position: absolute; z-index: 3; left: 50%; bottom: 14px; height: calc(100% - 14px); aspect-ratio: 520 / 1223; transform: translateX(-50%); pointer-events: none; }
.rp-wire { position: absolute; inset: 0; opacity: 0; background-image: url("assets/char-wire.webp"); background-repeat: no-repeat; background-size: 500% 500%; background-position: 0% 0%; filter: drop-shadow(0 0 7px rgba(239, 198, 111, .5)); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent); -webkit-mask-size: 100% 34%; mask-size: 100% 34%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0% -45%; mask-position: 0% -45%; }
.rp-line { position: absolute; left: -16%; width: 132%; height: 2px; top: -12%; opacity: 0; background: linear-gradient(90deg, transparent, var(--accent) 24%, var(--accent) 76%, transparent); box-shadow: 0 0 20px 3px rgba(239, 198, 111, .45); }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; padding: 4px 18px; text-decoration: none; font-size: 13px; letter-spacing: .1em; color: var(--ink-2); transition: color .3s; animation: fadein 1.4s var(--ease) 1.4s both; }
.scroll-cue:hover { color: var(--ink); }
.scroll-cue svg { color: var(--accent); animation: cueBob 2.2s var(--ease) infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.hero-title { margin: 0 0 26px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.5vw, 68px); line-height: 1; letter-spacing: -.02em; color: var(--gold); }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-title, .hero-sub { text-shadow: 0 2px 18px rgba(18, 3, 7, .6); }
.hero-sub { margin: 0 0 32px; max-width: 44ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.62; color: var(--ink-2); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes charIn { from { opacity: 0; transform: translateX(-50%) translateY(26px); } to { opacity: 1; transform: translateX(-50%); } }

/* motion */
.mask { display: block; overflow: hidden; perspective: 700px; }
.mask > span { display: block; transition: transform 1.05s var(--ease); }
[data-js] .mask > span { transform: translate3d(0, 108%, 0) rotateX(-32deg); transform-origin: 50% 100%; }
[data-js] .mask.in > span, [data-js] .in .mask > span { transform: none; }
.rule { display: block; height: 1px; margin: 26px 0 0; background: var(--line); position: relative; overflow: hidden; }
.rule::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transition: transform 1.2s var(--ease); }
[data-js] .rule::after { transform: scaleX(0); }
[data-js] .rule.in::after { transform: scaleX(1); }
.progress-bar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--accent); z-index: 60; will-change: transform; }
.btn { position: relative; overflow: hidden; }
.btn-line::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn-line:hover::before { transform: none; }
.btn-line:hover { color: #1c0508; border-color: var(--accent); }
.card-loop { transition: transform 1.2s var(--ease); }
.card:hover .card-loop { transform: scale(1.05); }
.card-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; background: #14040a; transition: opacity .35s var(--ease), transform 1.2s var(--ease); }
.card-video.on { opacity: 1; }
.card:hover .card-video { transform: scale(1.05); }

.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-js] .reveal { opacity: 0; transform: translateY(32px); }
[data-js] .reveal.in { opacity: 1; transform: none; }
.grid .card:nth-child(2) { transition-delay: .09s; }
.grid .card:nth-child(3) { transition-delay: .18s; }
.grid .card:nth-child(4) { transition-delay: .27s; }
.grid .card:nth-child(5) { transition-delay: .36s; }
.grid .card:nth-child(6) { transition-delay: .45s; }
.par { will-change: transform; }

.float { position: fixed; z-index: 2; left: 0; top: 0; width: 64px; height: 150px; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.float .char-base { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .45)); }
.float-glow { position: absolute; left: 50%; top: 46%; width: 320%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, var(--accent), transparent 62%); opacity: .13; }

/* fx: golden sphere field behind the page, and a few passing in front */
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-front { position: fixed; inset: 0; z-index: 45; width: 100%; height: 100%; pointer-events: none; }

/* numbers strip */
.numbers { scroll-margin-top: 68px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(12, 2, 5, .5); }
.numbers-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.numbers .stat { padding: 34px 0 34px 36px; }
.numbers .stat:first-child { padding-left: 0; }
.numbers .stat + .stat { border-left: 1px solid var(--line); }

/* before → after: the product on its own, then the film built around it.
   Desktop pins the stage while the shots slide out from behind the product (--k per shot, --e overall).
   Mobile and reduced motion skip the pin and show the finished grid. */
.ba { position: relative; }
.ba-track { position: relative; height: 250vh; }
.ba-stage { position: sticky; top: 68px; display: flex; align-items: center; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); padding: 24px 0; }
.ba-stage > .wrap { width: 100%; }
.ba-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 44px; }
.ba-head .ch { margin-bottom: 18px; }
.ba-head .h2 { max-width: 20ch; font-size: clamp(34px, 4.2vw, 58px); }
.ba-board { --e: 1; perspective: 1400px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; align-items: center; width: 100%; max-width: min(1100px, max(620px, calc((100vh - 430px) * 2.7))); margin: 0 auto; }
[data-js] .ba-board { --e: 0; }
.ba-before, .ba-shot { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; border: 1px solid var(--line); background: #14040a; }
.ba-before img, .ba-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba-before { z-index: 2; box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .85); transform: scale(calc(1.07 - .07 * var(--e))); }
.ba-shot { z-index: 1; --k: 0; will-change: transform, opacity; transform: translate3d(calc(var(--dx, 0) * var(--k) * 100%), 0, 0) rotateY(calc(var(--dx, 0) * var(--k) * -16deg)) scale(calc(1 - .4 * var(--k))); opacity: calc(1 - var(--k)); }
[data-js] .ba-shot { --k: 1; }
.ba-lab { margin: 0; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--ink-3); }
.ba-lab::before { content: ""; display: block; height: 1px; margin-bottom: 12px; background: var(--line); }
.ba-lab-after { color: var(--accent); opacity: var(--e); }
.ba-lab-after::before { background: var(--accent); }
.ba-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; text-align: center; }
.ba-cap { margin: 0; max-width: 52ch; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.ba-cap strong { font-weight: 600; color: var(--ink); }
.ba-after { display: contents; }
@media (min-width: 901px) {
  .ba-before { grid-column: 3; grid-row: 1; }
  .ba-lab-before { grid-column: 3; grid-row: 2; }
  .ba-lab-after.l { grid-column: 1 / 3; grid-row: 2; }
  .ba-lab-after.r { grid-column: 4 / 6; grid-row: 2; }
  .ba-shot.s1 { grid-column: 1; grid-row: 1; --dx: 2.5; }
  .ba-shot.s2 { grid-column: 2; grid-row: 1; --dx: 1.4; }
  .ba-shot.s3 { grid-column: 4; grid-row: 1; --dx: -1.4; }
  .ba-shot.s4 { grid-column: 5; grid-row: 1; --dx: -2.5; }
}

/* who it's for — one toggle, three audiences; each panel carries its own copy and an example film */
.seg { display: inline-flex; gap: 4px; margin: 34px 0 44px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 2, 5, .5); }
.seg-btn { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 15px var(--body); cursor: pointer; transition: background .35s var(--ease), color .3s; }
.seg-btn:hover { color: var(--ink); }
.seg-btn[aria-selected="true"] { background: var(--gold-fill); color: #1c0508; }
.aud-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; animation: panelIn .55s var(--ease) both; }
.aud-title { margin: 0 0 16px; max-width: 16ch; font-family: var(--serif); font-stretch: 102%; font-weight: 600; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -.028em; color: var(--gold); text-wrap: balance; }
.aud-lead { margin: 0 0 30px; max-width: 40ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); }
.aud-label { margin: 0 0 10px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.aud-problem { margin: 0 0 30px; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--ink); }
.aud-list { margin: 0 0 34px; padding: 0; list-style: none; max-width: 52ch; border-bottom: 1px solid var(--line); }
.aud-list li { position: relative; padding: 15px 0 15px 30px; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.aud-list li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.aud-example { max-width: 360px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.portrait { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--sand); border: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: center; }
.portrait-char { height: 100%; width: auto; object-fit: contain; }
.lead { margin: 0 0 22px; max-width: 34ch; font-family: var(--serif); font-stretch: 102%; font-weight: 500; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.22; letter-spacing: -.02em; color: var(--ink); }
.body { margin: 0 0 16px; max-width: 58ch; font-size: 17px; line-height: 1.68; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; margin: 34px 0 0; border-top: 1px solid var(--line); }
.fact { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact dt { margin: 0 0 6px; font-size: 13px; letter-spacing: .04em; color: var(--ink-2); }
.fact dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.fact dd a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(239, 198, 111, .45); }

/* toolkit */
.tools { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.tools-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.tools-head h3 { margin: 0; font-family: var(--serif); font-weight: 650; font-size: 22px; letter-spacing: -.02em; color: var(--gold); }
.tools-head p { margin: 0; max-width: 42ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.tool-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tool-list li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; color: var(--ink-2); transition: border-color .3s, color .3s, background .3s; }
.tool-list li:hover { color: var(--ink); border-color: var(--accent); background: rgba(239, 198, 111, .06); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0 28px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1; color: var(--gold); }
.stat span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* work */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font: 500 14px var(--body); cursor: pointer; transition: background .35s var(--ease), color .3s, border-color .3s; }
.chip:hover { color: var(--ink); border-color: rgba(236, 231, 224, .4); }
.chip.on { background: var(--gold-fill); border-color: var(--accent); color: #1c0508; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; margin: 0; animation: cardIn .6s var(--ease) both; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: #14040a; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transform: perspective(900px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), border-color .4s; }
.card-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-open { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.card-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(21, 12, 16, .45)); opacity: 0; transition: opacity .4s; }
.card:hover .card-open::after { opacity: 1; }
.play-tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(14, 3, 6, .92); font: 500 13px var(--body); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.card:hover .play-tag, .card-open:focus-visible ~ .play-tag { opacity: 1; transform: none; }
.card-meta { margin: 0 0 8px; font-size: 13px; letter-spacing: .02em; color: var(--ink-3); }
.card-stat { margin: 10px 0 0; font-size: 13px; font-weight: 500; color: var(--accent); }
.card:hover .card-media { --lift: -4px; }
.card-media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 236, 180, .26), transparent 58%); }
.card:hover .card-media::after { opacity: 1; }
.card-tag { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: var(--gold-fill); font-size: 12px; color: #1c0508; }
.card-cat { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(14, 3, 6, .88); font-size: 12px; color: var(--ink-2); }
.card-body { padding: 18px 2px 0; }
.card-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.card-sum { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 2, 4, .95); animation: fadein .3s var(--ease) both; }
.lightbox video { max-height: min(80vh, 820px); max-width: min(440px, 92vw); border-radius: 8px; background: #000; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); }
.lightbox.wide video { max-width: min(980px, 92vw); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(247, 237, 226, .35); background: rgba(16,16,16,.5); color: #F7EDE2; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { border-color: var(--accent); }
.lightbox-cap { position: absolute; left: 24px; right: 24px; bottom: 22px; margin: 0; text-align: center; font-size: 14px; color: rgba(247, 237, 226, .8); }

/* process */

/* process: four numbered steps (a real sequence), the second one is the approval point */
.proc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: none; }
.proc-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 26px; border: 1px solid var(--line); border-radius: 6px; background: rgba(12, 2, 5, .42); overflow: hidden; }
.proc-step.gate { border-color: rgba(181, 138, 60, .7); background: rgba(40, 8, 14, .55); }
.proc-n { font-family: var(--serif); font-weight: 700; font-size: 56px; line-height: .9; letter-spacing: -.03em; color: var(--gold); font-variant-numeric: tabular-nums; }
.proc-step h3 { margin: 6px 0 0; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.proc-step p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.proc-get { margin-top: auto !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px !important; color: var(--ink-3) !important; }
.proc-get strong { font-weight: 600; color: var(--accent); }
.proc-pill { position: absolute; top: 22px; right: 20px; padding: 6px 12px; border-radius: 999px; background: var(--gold-fill); color: #1c0508; font-size: 12.5px; font-weight: 500; }
.proc-note { margin: 26px 0 0; font-size: 16px; color: var(--ink-2); }
.proc-step:nth-child(2) { transition-delay: 0s, .08s; }
.proc-step:nth-child(3) { transition-delay: 0s, .16s; }
.proc-step:nth-child(4) { transition-delay: 0s, .24s; }

/* the difference: a tool on its own versus the direction around it */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 40px; max-width: 980px; }
.vs-card { position: relative; padding: 32px 30px; border: 1px solid var(--line); border-radius: 6px; background: rgba(12, 2, 5, .42); overflow: hidden; }
.vs-card h3 { margin: 0 0 18px; font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.vs-card ul { margin: 0; padding: 0; list-style: none; }
.vs-card li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.vs-card li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 1.5px; background: var(--ink-3); }
.vs-me { border-color: rgba(181, 138, 60, .7); background: rgba(40, 8, 14, .55); }
.vs-me h3 { color: var(--gold); }
.vs-me li { color: var(--ink); }
.vs-me li::before { left: 3px; top: 17px; width: 11px; height: 6px; background: none; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* shared: anything marked .tilt leans toward the cursor with a gold glare (fx.js sets the variables) */
.tilt { transform: perspective(900px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), opacity .9s var(--ease); }
.tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 236, 180, .16), transparent 58%); }
[data-js] .tilt.reveal.in { transform: perspective(900px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }   /* beats the reveal's own transform once the card is in */
.tilt:hover { --lift: -3px; }
.tilt:hover::after { opacity: 1; }

/* ways to work: three shapes of project, no prices (quoted per project, in USD) */
.pack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.pack-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: 6px; background: rgba(12, 2, 5, .42); overflow: hidden; }
.pack-card h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: -.02em; color: var(--gold); }
.pack-card > p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.pack-card ul { margin: 6px 0 0; padding: 0; list-style: none; }
.pack-card li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.pack-card li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pack-note { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin: 30px 0 0; }
.pack-note p { margin: 0; font-size: 16px; color: var(--ink-2); }

/* questions: native details, so it works without script and with a keyboard */
.faq { max-width: 820px; margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 4px; list-style: none; cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -.015em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--gold); }
.faq details p { margin: 0 0 22px; max-width: 62ch; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.contact-alt { margin: 0 0 56px; font-size: 16px; color: var(--ink-2); }
.contact-alt a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(239, 198, 111, .45); }
.contact-alt span { margin: 0 10px; color: var(--ink-3); }

/* contact */
.contact { padding: 104px 0 0; scroll-margin-top: 72px; }
.contact-title { font-size: clamp(42px, 6vw, 92px); max-width: 16ch; }
.contact-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 56px; }
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding: 30px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* modal */
.scrim { position: fixed; inset: 0; z-index: 80; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: rgba(12, 2, 5, .68); animation: fadein .35s var(--ease) both; }
.modal { position: fixed; z-index: 90; left: 50%; top: 50%; width: min(640px, calc(100vw - 32px)); max-height: min(740px, calc(100vh - 40px)); overflow: auto; padding: 34px; border-radius: 8px; background: var(--sand); border: 1px solid var(--line); box-shadow: 0 40px 110px -30px rgba(0, 0, 0, .7); transform: translate(-50%, -50%); animation: modalIn .45s var(--ease) both; outline: none; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 6px; }
.modal-title { margin: 0; color: var(--gold); font-family: var(--serif); font-weight: 650; font-size: 30px; letter-spacing: -.03em; }
.modal-sub { margin: 0 0 26px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .3s; }
.close:hover { border-color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 18px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-size: 14px; color: var(--ink-2); }
.opt { margin-left: 6px; font-size: 12px; color: var(--ink-3); }
.field legend { margin-bottom: 8px; }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line); background: #130307; color: var(--ink); font: 16px/1.4 var(--body); transition: border-color .3s, box-shadow .3s; }
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239, 198, 111, .18); }
textarea.input { min-height: 110px; resize: vertical; }
.error { margin: 0; font-size: 14px; color: #FF9B8C; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.summary { margin: 0 0 22px; padding: 18px; white-space: pre-wrap; word-break: break-word; border-radius: 4px; background: #130307; border: 1px solid var(--line); font: 15px/1.6 var(--body); color: var(--ink-2); }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(239, 198, 111, .38); border-radius: 999px; color: var(--accent); font-size: 14px; text-decoration: none; transition: background .3s, border-color .3s; }
.lang:hover { background: rgba(239, 198, 111, .1); border-color: rgba(239, 198, 111, .7); }
@media (max-width: 1100px) { .nav-links { display: none; } }
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .nav, .nav.scrolled { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: 0; align-items: flex-start; padding: 28px 0 76px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-char { height: min(390px, 48svh); margin-top: 34px; }
  .char3d { transform: translateZ(36px); }
  .numbers .stat { padding: 24px 0 24px 16px; }
  .numbers .stat strong { font-size: clamp(26px, 8vw, 36px); }
  .numbers .stat span { font-size: 12.5px; }
  /* phones: the product card sits on top and the four shots fly out of it into a 2x2 grid as you scroll (like the reference) */
  .ba-track { height: auto; }
  .ba-stage { position: static; min-height: 0; padding: 56px 0 0; }
  .ba-head { margin-bottom: 20px; }
  .ba-board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; width: 100%; max-width: 420px; margin: 0 auto; perspective: none; }
  .ba-before { grid-row: 1; justify-self: center; width: 40%; transform: none; }
  .ba-lab { display: none; }
  .ba-lab-before { display: block; position: absolute; top: -10px; left: 50%; z-index: 3; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(14, 3, 6, .92); color: var(--accent); font-size: 12.5px; letter-spacing: .04em; text-transform: none; white-space: nowrap; }
  .ba-lab-before::before { display: none; }
  .ba-after { grid-row: 2; align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ba-shot { border-radius: 6px; transform: translate3d(calc(var(--fx, 0px) * var(--k)), calc(var(--fy, 0px) * var(--k)), 0) rotate(calc(var(--fr, 0deg) * var(--k))) scale(calc(1 - .5 * var(--k))); opacity: clamp(0, calc(1.6 - 1.6 * var(--k)), 1); }
  .ba-board.measuring .ba-shot { transform: none !important; }
  .ba-foot { margin-top: 18px; gap: 12px; }
  .ba-cap { font-size: 14px; line-height: 1.5; }
  /* with scripting the stage is pinned for a while and the grid fills what is left of the screen */
  [data-js] .ba-track { height: 230vh; height: 230svh; }
  [data-js] .ba-stage { position: sticky; top: 68px; height: calc(100vh - 68px); height: calc(100svh - 68px); padding: 14px 0 16px; align-items: stretch; }
  [data-js] .ba-stage > .wrap { display: flex; flex-direction: column; min-height: 0; }
  [data-js] .ba-head { margin-bottom: 14px; }
  [data-js] .ba-head .ch { display: none; }
  [data-js] .ba-head .h2 { font-size: clamp(26px, 7.4vw, 34px); }
  [data-js] .ba-board { flex: 1 1 auto; min-height: 0; grid-template-rows: auto minmax(0, 1fr); gap: 16px; }
  [data-js] .ba-before { width: auto; height: clamp(96px, 17svh, 150px); }
  [data-js] .ba-lab-before { top: calc(clamp(96px, 17svh, 150px) - 11px); }
  [data-js] .ba-after { grid-template-rows: 1fr 1fr; min-height: 0; }
  [data-js] .ba-shot { aspect-ratio: auto; height: 100%; min-height: 0; }
  [data-js] .ba-shot img { position: absolute; inset: 0; }   /* the picture fills its cell, it does not size it */
  .chap { padding: 72px 0; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .aud-panel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .aud-example { max-width: 420px; }
  .seg { margin: 28px 0 36px; }
  .portrait { aspect-ratio: 4 / 3; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact { padding-top: 72px; }
}
@media (max-width: 1100px) { .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pack { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
@media (max-width: 900px) { .float { display: none; } }   /* the small following character covers the content on a phone */
@media (max-width: 600px) {
  .proc { grid-template-columns: minmax(0, 1fr); }
  .vs { grid-template-columns: minmax(0, 1fr); }
  .grid, .row2 { grid-template-columns: minmax(0, 1fr); }
  .seg { display: grid; width: 100%; border-radius: 26px; }
  .seg-btn { padding: 0 16px; }
  .modal { padding: 24px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .brand { font-size: 17px; }
  .nav-end { gap: 8px; }
  .nav-end .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .lang { padding: 0 12px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-js] .reveal { opacity: 1; transform: none; }
  [data-js] .mask > span { transform: none; }
  [data-js] .rule::after { transform: scaleX(1); }
  .float, .rp { display: none; }
  .scroll-cue svg { animation: none; }
  .ba-track, [data-js] .ba-track { height: auto; }
  .ba-stage, [data-js] .ba-stage { position: static; height: auto; min-height: 0; padding: 72px 0 0; }
  [data-js] .ba-shot { --k: 0; aspect-ratio: 4 / 5; height: auto; }
  [data-js] .ba-board { --e: 1; }
  .fx-front { display: none; }
  .stage3d { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* ---------- Arabic / right-to-left (the /ar page sets lang="ar" dir="rtl" on <html>) ---------- */
[dir="rtl"] {
  --serif: 'Cairo', 'Segoe UI', Tahoma, ui-sans-serif, system-ui, sans-serif;
  --body: 'Cairo', 'Segoe UI', Tahoma, ui-sans-serif, system-ui, sans-serif;
}
/* Arabic letters join, so tracking must be zero everywhere; Arabic also needs more line height than Latin */
[dir="rtl"] *, [dir="rtl"] *::before, [dir="rtl"] *::after { letter-spacing: 0 !important; text-transform: none !important; }
[dir="rtl"] body { line-height: 1.7; }
[dir="rtl"] .hero-title { line-height: 1.22; font-weight: 600; font-size: clamp(38px, 4.2vw, 62px); }
[dir="rtl"] .h2 { line-height: 1.3; font-stretch: 100%; font-weight: 700; max-width: 20ch; }
[dir="rtl"] .aud-title, [dir="rtl"] .lead, [dir="rtl"] .card-title, [dir="rtl"] .proc-step h3, [dir="rtl"] .vs-card h3, [dir="rtl"] .pack-card h3, [dir="rtl"] .faq summary, [dir="rtl"] .modal-title, [dir="rtl"] .tools-head h3 { line-height: 1.4; font-stretch: 100%; }
[dir="rtl"] .brand { line-height: 1.3; }
[dir="rtl"] .hero-sub, [dir="rtl"] .body, [dir="rtl"] .aud-problem { line-height: 1.85; }
[dir="rtl"] .stat strong, [dir="rtl"] .card-stat { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .stat { text-align: start; }
/* geometry that is positioned in physical pixels (the before / after board, the 3D character) keeps its own left-to-right frame */
[dir="rtl"] .ba-board, [dir="rtl"] .hero-char { direction: ltr; }
[dir="rtl"] .ba-lab { direction: rtl; }
/* mirrored positions */
[dir="rtl"] .skip { left: auto; right: -9999px; border-radius: 0 0 0 6px; }
[dir="rtl"] .skip:focus { right: 0; }
[dir="rtl"] .rule::after, [dir="rtl"] .progress-bar { transform-origin: right; }
[dir="rtl"] .progress-bar { left: auto; right: 0; }
[dir="rtl"] .numbers .stat { padding: 34px 36px 34px 0; }
[dir="rtl"] .numbers .stat:first-child { padding-right: 0; }
[dir="rtl"] .numbers .stat + .stat { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .aud-list li, [dir="rtl"] .vs-card li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .pack-card li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .aud-list li::before, [dir="rtl"] .vs-card li::before { left: auto; right: 4px; }
[dir="rtl"] .vs-me li::before, [dir="rtl"] .pack-card li::before { left: auto; right: 3px; }
[dir="rtl"] .play-tag { left: auto; right: 14px; }
[dir="rtl"] .card-cat { left: auto; right: 14px; }
[dir="rtl"] .card-tag { right: auto; left: 14px; }
[dir="rtl"] .lightbox-close { right: auto; left: 20px; }
[dir="rtl"] .proc-pill { right: auto; left: 20px; }
[dir="rtl"] .opt { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .summary { unicode-bidi: plaintext; text-align: start; }
@media (max-width: 900px) {
  [dir="rtl"] .numbers .stat { padding: 24px 16px 24px 0; }
}
[dir="rtl"] .h2 + .lead, [dir="rtl"] .h2 + .body { margin-top: 18px; }
@media (max-width: 900px) and (max-height: 740px) { [data-js] .ba-cap { display: none; } }
