/* Eternity By AJD — site stylesheet (hand-written, no framework)
   Fonts: Bodoni Moda (OFL-1.1), Geist (OFL-1.1), IBM Plex Sans Arabic (OFL-1.1), Reem Kufi (OFL-1.1) — self-hosted. */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Reem Kufi"; src: url("../fonts/reem-kufi-arabic-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  --ink: #141413;
  --ink-2: #1e1e1c;
  --ink-3: #2a2926;
  --bone: #f3ecdf;
  --bone-2: #e7dfd0;
  --logo: #fcf6ea;
  --muted-d: #a8a196;   /* muted text on dark  (6.9:1 on --ink) */
  --muted-l: #5d564d;   /* muted text on light (6.1:1 on --bone) */
  --line-d: rgba(243, 236, 223, .14);
  --line-l: rgba(20, 20, 19, .16);
  --accent: #c33a26;    /* Eternity red — fills and large type only */
  --accent-hi: #e0553f;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Geist", "Plex Arabic", ui-sans-serif, "Segoe UI", Roboto, sans-serif;
  --ar-display: "Reem Kufi", "Plex Arabic", sans-serif;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 1px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--pad); top: -4rem; z-index: 100; background: var(--bone); color: var(--ink); padding: .75rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted-d); display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .7; }
.light .eyebrow { color: var(--muted-l); }

/* ---------- Logo (traced from the supplied PNG, recoloured with CSS) ---------- */
.logo { display: block; aspect-ratio: 1400 / 557; background: var(--logo);
  -webkit-mask: url("../media/logo.svg") center / contain no-repeat; mask: url("../media/logo.svg") center / contain no-repeat; }

/* ---------- Buttons ---------- */
.btn { --h: 3rem; display: inline-flex; align-items: center; gap: .65rem; min-height: var(--h); padding: 0 1.35rem;
  font-weight: 500; font-size: .98rem; letter-spacing: .01em; text-decoration: none; border-radius: 999px;
  border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); cursor: pointer; white-space: nowrap; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--solid { background: var(--accent); color: var(--logo); }
.btn--solid:hover { background: #a92f1d; }
.btn--ghost { border-color: var(--line-d); color: var(--bone); background: transparent; }
.btn--ghost:hover { border-color: var(--bone); }
.light .btn--ghost { border-color: var(--line-l); color: var(--ink); }
.light .btn--ghost:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(4px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] a:hover > .arrow, [dir="rtl"] button:hover > .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); border-bottom: 1px solid transparent; }
.site-head.is-solid { background: rgba(20, 20, 19, .96); border-bottom-color: var(--line-d); }
@supports (backdrop-filter: blur(8px)) { .site-head.is-solid { background: rgba(20, 20, 19, .9); backdrop-filter: blur(14px) saturate(1.1); } }
.site-head__in { display: flex; align-items: center; gap: 2rem; height: 4.5rem; }
.site-head .logo { width: 7.25rem; flex: none; }
.nav { display: flex; gap: 1.9rem; margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: .93rem; color: var(--muted-d); padding: .5rem 0; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: .2rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--bone); }
.nav a:hover::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: .9rem; }
.lang { font-size: .9rem; text-decoration: none; color: var(--muted-d); min-height: 2.75rem; display: inline-flex; align-items: center; padding-inline: .35rem; }
.lang:hover { color: var(--bone); }
.lang [lang="ar"] { font-family: "Plex Arabic", sans-serif; font-size: 1rem; }
.site-head .btn { --h: 2.75rem; padding-inline: 1.1rem; font-size: .92rem; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .head-actions { margin-inline-start: auto; }
  .site-head .btn .btn__long { display: none; }
  .site-head .btn .btn__short { display: inline; }
}
@media (max-width: 420px) { .site-head .logo { width: 6.25rem; } .site-head__in { gap: 1rem; } .head-actions { gap: .35rem; } .site-head .btn { padding-inline: .9rem; } }

/* ---------- Hero ---------- */
/* F2 (t_e778bc49): the pinned scroll length follows how much the video can actually grow (--smax, set by site.js):
   60svh of pin when there is almost nothing to expand, up to the original 130svh at +43% or more. */
.hero { position: relative; height: calc(100vh + clamp(60vh, (var(--smax) - 1) * 300vh, 130vh)); height: calc(100svh + clamp(60svh, (var(--smax) - 1) * 300svh, 130svh)); background: var(--ink); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* F1 (t_e778bc49): site.js measures the band between the fixed header and the lede/CTA row and sets --fit (scale of
   the whole composition, <= 1) and --dy (offset of its centre) so the headline never prints over the lede.
   The offset holds while the headline is visible and relaxes to the centred composition once it has faded (p .8 -> .95). */
.hero__comp { position: absolute; inset: 0; transform: translateY(calc(var(--dy) * clamp(0, (.95 - var(--p)) * 6.67, 1))); }
.hero__words { position: absolute; inset: 0; pointer-events: none; }
.btn__short { display: none; }
.hero__words--over { color: var(--ink); z-index: 3; }
.hero__words--under { color: var(--bone); z-index: 1; }
.hero h1 { position: absolute; inset: 0; margin: 0; }
.w { position: absolute; font-family: var(--serif); font-weight: 500; line-height: .86; letter-spacing: -.035em; white-space: nowrap;
  font-size: calc(clamp(4.5rem, 12.2vw, 13.5rem) * var(--fit)); will-change: transform, opacity; opacity: clamp(0, calc(1.7 - var(--p) * 2), 1); }
.w em { font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.w--a { left: 50%; top: 50%; transform: translate(calc(-50% - var(--v) * .62 - var(--p) * 22vw), calc(-50% - var(--v) * .52 - var(--p) * 8vh)); }
.w--b { left: 50%; top: 50%; transform: translate(calc(-50% + var(--v) * .66 + var(--p) * 22vw), calc(-50% - var(--v) * .02)); }
.w--c { left: 50%; top: 50%; transform: translate(calc(-50% - var(--v) * .12 - var(--p) * 26vw), calc(-50% + var(--v) * .55)); } /* F1: no downward drift into the lede row */
.w--c .dot { color: var(--accent); }
.hero__words--over .w--c .dot { color: var(--accent); }

.hero__media { --v: calc(min(34vw, 58svh) * var(--fit)); position: absolute; left: 50%; top: 50%; width: var(--v); aspect-ratio: 1; margin: 0; z-index: 2;
  transform: translate(-50%, -50%) scale(calc(1 + var(--p) * (var(--smax) - 1))); transform-origin: center; background: #b9ad99; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero { --v: calc(min(34vw, 58svh) * var(--fit)); --p: 0; --smax: 1; --fit: 1; --dy: 0px; }

.hero__foot { position: absolute; inset: auto 0 0 0; z-index: 4; padding-bottom: clamp(1.25rem, 3.2vh, 2.5rem); }
.hero__foot-in { display: grid; grid-template-columns: minmax(0, 26rem) 1fr auto; align-items: end; gap: 2rem; }
.hero__lede { font-size: clamp(1rem, 1.15vw, 1.13rem); color: var(--bone); line-height: 1.5; }
.hero__lede strong { font-weight: 500; }
.hero__ctas { display: flex; gap: .75rem; justify-self: end; grid-column: 3; }
.hero__cap { position: absolute; z-index: 4; top: 50%; width: min(15rem, 22vw); font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.25; color: var(--bone); opacity: clamp(0, calc(var(--p) * 3 - 1.8), 1); transform: translateY(calc(-50% + (1 - var(--p)) * 2rem + var(--dy) * clamp(0, (.95 - var(--p)) * 6.67, 1))); }
.hero__cap--l { right: calc(50% + var(--v) * .5 * var(--smax) + 2.5rem); text-align: end; }
.hero__cap--r { left: calc(50% + var(--v) * .5 * var(--smax) + 2.5rem); color: var(--muted-d); }
[dir="rtl"] .hero__cap { font-family: var(--ar-display); font-style: normal; }
@media (max-width: 1100px) { .hero__cap { display: none; } }
.hero__media figcaption { position: absolute; left: .6rem; top: .6rem; z-index: 5; font-size: .7rem; letter-spacing: .04em; color: var(--logo); background: rgba(20,20,19,.62); padding: .35rem .6rem; border-radius: 999px; line-height: 1.2; }
[dir="rtl"] .hero__media figcaption { left: auto; right: .6rem; }
.vid-toggle { position: absolute; z-index: 5; right: .6rem; bottom: .6rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: rgba(20,20,19,.62); color: var(--logo); display: grid; place-items: center; cursor: pointer; }
.vid-toggle:hover { background: rgba(20,20,19,.85); }
.vid-toggle svg { width: 1rem; height: 1rem; }
.hero__scroll { position: absolute; z-index: 4; left: 50%; top: calc(50% + var(--dy) - var(--v) * .5 - 2.6rem); transform: translateX(-50%); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-d); opacity: calc(1 - var(--p) * 4); }

@media (max-width: 760px) {
  .hero { height: auto; --v: min(78vw, 44svh); --p: 0 !important; --fit: 1 !important; --dy: 0px !important; }
  .hero__stage { position: relative; height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 5.5rem 0 2.25rem; overflow: hidden; }
  .hero__comp { position: relative; inset: auto; height: calc(var(--v) * 1.78); transform: none; }
  .hero__media { --v: min(78vw, 44svh); transform: translate(-50%, -50%); }
  .w { font-size: clamp(3.6rem, 19.5vw, 6.6rem); }
  .w--a { transform: translate(calc(-50% - var(--v) * .08), calc(-50% - var(--v) * .6)); }
  .w--b { transform: translate(calc(-50% - var(--v) * .2), calc(-50% + var(--v) * .44)); }
  .w--c { transform: translate(calc(-50% + var(--v) * .14), calc(-50% + var(--v) * .44 + 1.02em)); font-size: clamp(3.6rem, 19.5vw, 6.6rem); }
  .hero__comp { margin-bottom: 2.6em; }
  .hero__foot { position: relative; padding: 0; }
  .hero__foot-in { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero__ctas { justify-self: stretch; grid-column: auto; flex-direction: column; }
  .hero__ctas .btn { justify-content: center; }
  .hero__fig-note, .hero__scroll { display: none; }
}

/* ---------- Statement ---------- */
.statement { padding: clamp(6rem, 14vw, 12rem) 0 clamp(5rem, 10vw, 9rem); }
.statement__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.statement__grid .eyebrow { grid-column: 1 / span 3; align-self: start; padding-top: .9rem; }
.statement__text { grid-column: 4 / span 9; font-family: var(--serif); font-size: clamp(1.85rem, 3.7vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 400; }
.statement__text em { font-style: italic; color: var(--accent-hi); }
.statement__text .quiet { color: var(--muted-d); }
.statement__note { grid-column: 4 / span 6; color: var(--muted-d); max-width: 46ch; margin-top: 2.5rem; font-size: 1rem; }
@media (max-width: 900px) { .statement__grid > * { grid-column: 1 / -1 !important; } }

/* ---------- Light sections ---------- */
.light { background: var(--bone); color: var(--ink); color-scheme: light; }
.light ::selection { background: var(--ink); color: var(--bone); }
::selection { background: var(--accent); color: var(--logo); }

.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.sec-head h2 { grid-column: 1 / span 8; font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 7.4vw, 7.4rem); line-height: .92; letter-spacing: -.035em; }
.sec-head h2 em { font-style: italic; font-weight: 400; }
.sec-head p { grid-column: 9 / span 4; color: var(--muted-l); max-width: 36ch; }
.sec-head .eyebrow { grid-column: 1 / -1; margin-bottom: -1rem; }
.dark .sec-head p { color: var(--muted-d); }
@media (max-width: 900px) { .sec-head > * { grid-column: 1 / -1 !important; } }

/* ---------- Services ---------- */
.services { padding: clamp(5.5rem, 11vw, 10rem) 0; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); counter-reset: svc; }
.svc { border-bottom: 1px solid var(--line-l); }
.svc__row { display: grid; grid-template-columns: 4.5rem minmax(0, 1.25fr) minmax(0, 1fr) 2.75rem; gap: 2rem; align-items: baseline; padding: clamp(1.6rem, 3vw, 2.4rem) 0; width: 100%; text-align: start; background: none; border: 0; cursor: pointer; color: inherit; }
.svc__num { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted-l); }
.svc__name { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.35rem); line-height: 1; letter-spacing: -.025em; font-weight: 500; transition: color .25s; }
.svc__sum { color: var(--muted-l); font-size: 1rem; max-width: 40ch; }
.svc__plus { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; align-self: center; transition: transform .35s var(--ease), background .25s, border-color .25s; }
.svc__plus::before, .svc__plus::after { content: ""; grid-area: 1 / 1; width: .85rem; height: 1.5px; background: currentColor; }
.svc__plus::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
@media (hover: hover) { .svc__row:hover .svc__name { color: var(--accent); } .svc__row:hover .svc__plus { border-color: var(--ink); } }
.svc[data-open="true"] .svc__plus { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.svc[data-open="true"] .svc__plus::after { transform: rotate(0deg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.svc[data-open="true"] .svc__body { grid-template-rows: 1fr; }
.svc__body > div { overflow: hidden; }
.svc__detail { display: grid; grid-template-columns: 4.5rem minmax(0, 1.25fr) minmax(0, 1fr) 2.75rem; gap: 2rem; padding-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.svc__detail > :first-child { grid-column: 2; }
.svc__detail h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted-l); margin-bottom: .8rem; }
.svc__detail ul { margin: 0; padding: 0; list-style: none; }
.svc__detail li { padding: .45rem 0; border-top: 1px solid var(--line-l); font-size: .98rem; }
.svc__detail li:first-child { border-top: 0; }
.svc__scope { font-size: .98rem; }
.svc__scope p + p { margin-top: .8rem; }
.tag { display: inline-block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: .3rem .6rem; border: 1px solid currentColor; border-radius: 999px; margin-bottom: .9rem; }
.svc-also { display: grid; grid-template-columns: 4.5rem 1fr; gap: 2rem; margin-top: 2.2rem; color: var(--muted-l); font-size: .98rem; }
.svc-also p { grid-column: 2; max-width: 62ch; }
.svc-also p + p { margin-top: .6rem; }
.foot-privacy { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 70ch; font-size: .84rem; color: var(--muted-d); }
.svc-also strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .svc__row { grid-template-columns: 2.25rem minmax(0, 1fr) 2.75rem; gap: .9rem 1rem; }
  .svc__sum { grid-column: 2 / 3; grid-row: 2; }
  .svc__plus { grid-column: 3; grid-row: 1 / span 2; }
  .svc__detail { grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1.5rem 1rem; }
  .svc__detail > * { grid-column: 2 !important; }
  .svc-also { grid-template-columns: 2.25rem 1fr; gap: 1rem; }
}

/* ---------- Demonstrations ---------- */
.work { padding: clamp(5.5rem, 11vw, 10rem) 0; background: var(--ink); }
.disclaim { display: inline-flex; gap: .6rem; align-items: center; font-size: .86rem; color: var(--muted-d); border: 1px solid var(--line-d); padding: .55rem .9rem; border-radius: 999px; margin-bottom: 3rem; }
.disclaim::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent-hi); flex: none; }
.demo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: center; padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line-d); }
.demo__copy { grid-column: 1 / span 5; }
.demo__stage { grid-column: 7 / span 6; display: grid; justify-items: center; }
.demo--flip .demo__copy { grid-column: 8 / span 5; grid-row: 1; }
.demo--flip .demo__stage { grid-column: 1 / span 6; grid-row: 1; }
.demo__k { font-family: var(--serif); font-style: italic; color: var(--muted-d); font-size: 1.1rem; }
.demo h3 { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.03em; font-weight: 500; margin: .6rem 0 1.2rem; }
.demo__copy > p { color: var(--muted-d); max-width: 44ch; }
.seg { align-self: flex-start; display: inline-flex; padding: .3rem; border: 1px solid var(--line-d); border-radius: 999px; margin: 1.8rem 0 1.4rem; gap: .2rem; }
.seg button { min-height: 2.75rem; padding: 0 1.2rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted-d); cursor: pointer; font-size: .93rem; font-weight: 500; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.seg button:not([aria-pressed="true"]):hover { color: var(--bone); }
.faults { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.faults li { counter-increment: f; display: grid; grid-template-columns: 1.9rem 1fr; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line-d); font-size: .95rem; color: var(--muted-d); transition: color .3s; }
.faults li::before { content: counter(f); width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: .72rem; margin-top: .15rem; }
.faults li b { font-weight: 500; color: var(--bone); }
.faults .now { display: block; }
.faults .fix { display: none; color: #b9d3a8; }
[data-state="after"] .faults .now { display: none; }
[data-state="after"] .faults .fix { display: block; }

/* phone */
.phone { width: min(19.5rem, 82vw); aspect-ratio: 9 / 18.6; border-radius: 2.6rem; background: #0b0b0a; padding: .7rem; box-shadow: 0 0 0 1px #34322e, 0 40px 80px -30px rgba(0,0,0,.8), 0 0 120px -40px rgba(195, 58, 38, .35); position: relative; }
.phone__screen { width: 100%; height: 100%; border-radius: 2rem; overflow: hidden; background: #fff; position: relative; color: #1b1b1b; font-family: Georgia, serif; }
.phone__bar { height: 1.9rem; display: flex; align-items: center; justify-content: center; font: 600 .62rem/1 var(--sans); color: #111; background: #fff; position: relative; z-index: 2; }
.phone__bar::after { content: ""; position: absolute; top: .45rem; width: 4.5rem; height: 1rem; border-radius: 1rem; background: #0b0b0a; }
.mock { position: absolute; inset: 1.9rem 0 0 0; overflow: hidden; transition: opacity .45s var(--ease); }
.mock--before { opacity: 1; }
.mock--after { opacity: 0; pointer-events: none; }
[data-state="after"] .mock--before { opacity: 0; pointer-events: none; }
[data-state="after"] .mock--after { opacity: 1; pointer-events: auto; }
/* "before": a 960px desktop page shrunk into a phone, overflowing */
.mock--before .desk { width: 960px; transform: scale(.36); transform-origin: 0 0; font-size: 22px; background: #f4f4f4; }
.desk__nav { display: flex; justify-content: space-between; padding: 22px 34px; background: #2f5d8a; color: #fff; font: 700 26px/1 Arial, sans-serif; }
.desk__nav span { font-weight: 400; font-size: 21px; opacity: .9; }
.desk__hero { padding: 54px 34px; background: #dfe9f2; }
.desk__hero h4 { font: 700 54px/1.1 Arial, sans-serif; margin: 0 0 14px; color: #1f3a55; }
.desk__hero p { font: 24px/1.4 Arial, sans-serif; color: #444; width: 760px; }
.desk__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 30px 34px; font: 21px/1.4 Arial, sans-serif; }
.desk__cols div { background: #fff; padding: 22px; border: 1px solid #ccc; }
.desk__foot { padding: 22px 34px; font: 22px/1.5 Arial, sans-serif; color: #333; background: #e9e9e9; }
.desk .bad { color: #2f5d8a; }
.bad { outline: 3px dashed #e0553f; outline-offset: 4px; }
.pn { display: inline-block; vertical-align: middle; width: 44px; height: 44px; margin: 0 10px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 22px/44px var(--sans); text-align: center; box-shadow: 0 0 0 6px rgba(255,255,255,.9); }
.desk__nav .pn { margin: 0 14px 0 0; }
.overflow-hint { position: absolute; right: 0; top: 0; bottom: 0; width: 2.2rem; background: linear-gradient(90deg, transparent, rgba(224,85,63,.35)); z-index: 2; }
/* "after": a real phone layout */
.m { font-family: var(--sans); color: #1d2b36; height: 100%; overflow: auto; background: #f7f9fa; }
.m__nav { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: #1f3a55; color: #fff; font-weight: 600; font-size: .86rem; }
.m__nav i { font-style: normal; font-size: .72rem; opacity: .85; font-weight: 500; }
.m__hero { padding: 1.3rem 1rem 1.1rem; background: #dfe9f2; }
.m__hero b { display: block; font-size: 1.3rem; line-height: 1.15; color: #1f3a55; margin-bottom: .45rem; }
.m__hero p { font-size: .78rem; line-height: 1.45; color: #3a4a57; }
.m__cta { display: grid; gap: .45rem; padding: .9rem 1rem; }
.m__cta span { display: flex; align-items: center; justify-content: center; min-height: 2.6rem; border-radius: .5rem; font-size: .8rem; font-weight: 600; text-decoration: none; }
.m__call { background: #1f3a55; color: #fff; }
.m__book { background: #fff; color: #1f3a55; border: 1.5px solid #1f3a55; }
.m__list { padding: .2rem 1rem 1rem; display: grid; gap: .45rem; }
.m__list div { background: #fff; border: 1px solid #dde3e8; border-radius: .5rem; padding: .6rem .7rem; font-size: .74rem; line-height: 1.35; }
.m__list strong { display: block; font-size: .8rem; }
.m__foot { padding: .8rem 1rem 1.2rem; font-size: .72rem; color: #4a5865; border-top: 1px solid #dde3e8; }
.m__foot span { color: #1f3a55; font-weight: 600; }
.ok { box-shadow: 0 0 0 2px #6aa84f; }

/* bilingual demo */
.bi { width: min(32rem, 100%); background: #f5efe6; color: #2b1d14; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.bi__top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; border-bottom: 1px solid rgba(43,29,20,.14); font: 600 .8rem/1 var(--sans); }
.bi__brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.bi[dir="rtl"] .bi__brand { font-family: var(--ar-display); font-weight: 600; letter-spacing: 0; }
.bi__body { padding: 2rem 1.4rem 1.6rem; display: grid; gap: 1rem; }
.bi__body h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.02; letter-spacing: -.02em; }
.bi[dir="rtl"] .bi__body h4 { font-family: var(--ar-display); font-weight: 600; line-height: 1.35; letter-spacing: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bi__body p { font-size: .93rem; color: #5a4636; }
.bi[dir="rtl"] { font-family: "Plex Arabic", var(--sans); }
.bi[dir="rtl"] .bi__body p { font-size: 1rem; line-height: 1.75; }
.bi__row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.bi__btn { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; background: #2b1d14; color: #f5efe6; border-radius: 999px; font-size: .86rem; font-weight: 500; text-decoration: none; }
.bi__hours { font-size: .8rem; color: #6d5848; }
.bi__hours bdi { font-variant-numeric: tabular-nums; }
.bi__img { height: 8.5rem; background: radial-gradient(120% 90% at 20% 10%, #c8956a 0%, #8a5634 45%, #3d2416 100%); position: relative; }
.bi__img::after { content: attr(data-label); position: absolute; inset-inline-start: 1.4rem; bottom: .9rem; font: 500 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(245,239,230,.8); }
.bi-swap { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.bi.is-swapping .bi-swap { opacity: 0; transform: translateY(6px); }

@media (max-width: 900px) {
  .demo { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .demo__copy { display: contents; }
  .demo__copy > * { order: 1; }
  .demo__stage { order: 2; margin: .4rem 0 2rem; }
  .demo .faults { order: 3; }
}

/* ---------- Process ---------- */
.process { padding: clamp(5.5rem, 11vw, 10rem) 0 clamp(5rem, 9vw, 8rem); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; inset-inline: 0; top: 1.05rem; height: 1px; background: var(--line-l); }
.steps::after { content: ""; position: absolute; inset-inline-start: 0; top: 1.05rem; height: 1px; width: calc(var(--prog, 0) * 100%); background: var(--accent); box-shadow: 0 0 12px 1px rgba(195,58,38,.55); transition: width 1.4s var(--ease); }
.step { padding-inline-end: 2rem; position: relative; }
.step__dot { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--bone); border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: .95rem; position: relative; z-index: 1; margin-bottom: 1.8rem; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: .8rem; }
.step p { color: var(--muted-l); font-size: .98rem; max-width: 30ch; }
.terms { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; border-top: 1px solid var(--line-l); padding-top: 2rem; }
.terms div { font-size: .96rem; }
.terms b { display: block; font-weight: 500; margin-bottom: .35rem; }
.terms span { color: var(--muted-l); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 2.2rem; padding-inline-start: 3.2rem; }
  .steps::before { inset-inline-start: 1.05rem; inset-inline-end: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps::after { inset-inline-start: 1.05rem; top: 0; width: 1px; height: calc(var(--prog, 0) * 100%); transition: height 1.4s var(--ease); }
  .step__dot { position: absolute; inset-inline-start: -3.2rem; top: -.2rem; margin: 0; }
  .terms { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ---------- Contact ---------- */
.contact { padding: clamp(6rem, 12vw, 11rem) 0 clamp(4rem, 8vw, 7rem); background: var(--ink); position: relative; overflow: hidden; }
.contact__glow { position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(224,85,63,.9) 50%, transparent); box-shadow: 0 0 24px 2px rgba(224,85,63,.45); }
.contact h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 9vw, 9.5rem); line-height: .9; letter-spacing: -.04em; max-width: 12ch; }
.contact h2 em { font-style: italic; font-weight: 400; color: var(--accent-hi); }
.starter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.starter__q { grid-column: 1 / span 7; }
.starter__side { grid-column: 9 / span 4; align-self: end; }
.starter fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
.starter legend { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 1rem; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.05rem; border: 1px solid var(--line-d); border-radius: 999px; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; user-select: none; }
.chip span::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid currentColor; margin-inline-end: .6rem; transition: background .2s; }
.chip input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chip input:checked + span::before { background: var(--accent); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.chip span:hover { border-color: var(--bone); }
.starter label.field { display: block; }
.starter input[type="url"], .starter input[type="text"] { width: 100%; min-height: 3.2rem; background: transparent; border: 0; border-bottom: 1px solid rgba(243, 236, 223, .45); color: var(--bone); font: inherit; font-size: 1.1rem; padding: .4rem 0; border-radius: 0; }
/* F3 (t_e778bc49): placeholder 7.2:1, underline >= 3:1 (WCAG 1.4.11), and the site's 2 px accent ring on keyboard focus */
.starter input::placeholder { color: var(--muted-d); opacity: 1; }
.starter input:focus { outline: none; border-bottom-color: var(--bone); }
.starter input:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.preview-msg { font-size: .9rem; color: var(--muted-d); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1.2rem; white-space: pre-line; min-height: 6.5rem; }
.preview-msg b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: .5rem; color: #8d877c; }
.starter__btns { display: grid; gap: .7rem; }
.starter__btns .btn { justify-content: space-between; }
.small { font-size: .84rem; color: var(--muted-d); margin-top: 1rem; }
@media (max-width: 900px) { .starter > * { grid-column: 1 / -1 !important; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line-d); padding: clamp(3rem, 6vw, 5rem) 0 2rem; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.foot-grid .logo { grid-column: 1 / span 4; width: min(17rem, 100%); }
.foot-col { grid-column: span 2; font-size: .93rem; }
.foot-col h3 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #8d877c; font-weight: 500; margin-bottom: .9rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.foot-col a { text-decoration: none; color: var(--muted-d); display: inline-flex; min-height: 2.25rem; align-items: center; }
.foot-col a:hover { color: var(--bone); }
.foot-col--wide { grid-column: span 4; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-d); font-size: .82rem; color: #8d877c; }
@media (max-width: 900px) { .foot-grid .logo { grid-column: 1 / -1; } .foot-col, .foot-col--wide { grid-column: span 6; } }
@media (max-width: 520px) { .foot-col, .foot-col--wide { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero { height: auto; }
  .hero__stage { position: relative; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Arabic / RTL ---------- */
[dir="rtl"] body, body[dir="rtl"] { font-family: "Plex Arabic", var(--sans); line-height: 1.8; }
[dir="rtl"] .w, [dir="rtl"] .sec-head h2, [dir="rtl"] .statement__text, [dir="rtl"] .svc__name, [dir="rtl"] .demo h3, [dir="rtl"] .step h3, [dir="rtl"] .contact h2 { font-family: var(--ar-display); letter-spacing: 0; font-style: normal; }
[dir="rtl"] .w { font-weight: 600; line-height: 1.15; font-size: calc(clamp(4rem, 10.4vw, 11.5rem) * var(--fit)); }
[dir="rtl"] .w em, [dir="rtl"] .sec-head h2 em, [dir="rtl"] .contact h2 em, [dir="rtl"] .statement__text em { font-style: normal; }
[dir="rtl"] .sec-head h2 { line-height: 1.2; font-size: clamp(2.5rem, 6.2vw, 6.2rem); font-weight: 600; }
[dir="rtl"] .contact h2 { line-height: 1.2; font-size: clamp(2.6rem, 7.4vw, 7.8rem); font-weight: 600; max-width: 14ch; }
[dir="rtl"] .statement__text { line-height: 1.55; font-size: clamp(1.6rem, 3vw, 2.9rem); font-weight: 500; }
[dir="rtl"] .svc__name { line-height: 1.3; font-weight: 600; }
[dir="rtl"] .demo h3, [dir="rtl"] .step h3 { line-height: 1.3; font-weight: 600; }
[dir="rtl"] .eyebrow, [dir="rtl"] .tag, [dir="rtl"] .starter legend, [dir="rtl"] .foot-col h3, [dir="rtl"] .svc__detail h3 { letter-spacing: 0; text-transform: none; font-size: .9rem; }
[dir="rtl"] .w--a { transform: translate(calc(-50% + var(--v) * .55 + var(--p) * 22vw), calc(-50% - var(--v) * .55 - var(--p) * 8vh)); }
[dir="rtl"] .w--b { transform: translate(calc(-50% - var(--v) * .64 - var(--p) * 22vw), calc(-50% - var(--v) * .02)); }
[dir="rtl"] .w--c { transform: translate(calc(-50% + var(--v) * .1 + var(--p) * 10vw), calc(-50% + var(--v) * .58)); }
[dir="rtl"] .nav a::after { transform-origin: right; }
[dir="rtl"] .vid-toggle { right: auto; left: .6rem; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (max-width: 760px) {
  [dir="rtl"] .w { font-size: clamp(3rem, 15.5vw, 5.4rem); }
  [dir="rtl"] .w--a { transform: translate(calc(-50% + var(--v) * .08), calc(-50% - var(--v) * .62)); }
  [dir="rtl"] .w--b { transform: translate(calc(-50% + var(--v) * .2), calc(-50% + var(--v) * .5)); }
  [dir="rtl"] .w--c { transform: translate(calc(-50% - var(--v) * .12), calc(-50% + var(--v) * .5 + 1.1em)); }
}

/* RTL: the first hero caption reads first, so it sits on the right */
[dir="rtl"] .hero__cap--l { right: auto; left: calc(50% + var(--v) * .5 * var(--smax) + 2.5rem); text-align: start; }
[dir="rtl"] .hero__cap--r { left: auto; right: calc(50% + var(--v) * .5 * var(--smax) + 2.5rem); text-align: end; }
[dir="rtl"] .phone { direction: ltr; }

.svc__sub { display: block; font-family: var(--sans); font-size: .95rem; letter-spacing: 0; font-weight: 400; color: var(--muted-l); margin-top: .45rem; line-height: 1.3; }
/* caption: bottom-left on desktop (headline crosses the top edge); top on phones (headline crosses the bottom edge) */
.hero__media figcaption { top: auto; bottom: .6rem; }
@media (max-width: 760px) { .hero__media figcaption { bottom: auto; top: .6rem; } }
@media (min-width: 761px) {
  .hero__media figcaption { left: auto; right: .6rem; bottom: .6rem; }
  .vid-toggle { bottom: auto; top: .6rem; }
  [dir="rtl"] .hero__media figcaption { right: auto; left: .6rem; }
}
/* F5 (t_e778bc49): the Arabic language links on the English page use the system Arabic face, so the EN page does not
   download ~88 KB of Plex Arabic for one word. The Arabic demo in the phone still loads it when it is shown. */
html[lang="en"] a[lang="ar"], html[lang="en"] .seg button[lang="ar"] { font-family: system-ui, "Geeza Pro", "Segoe UI", "Noto Sans Arabic", sans-serif; }
/* F6 (t_e778bc49): the inline phone link reaches the 24 px target size */
.contact .small a.ltr { padding-block: .15rem; }
/* F9 (t_e778bc49): skip style/layout of the sections below the first screen until they approach the viewport.
   The Arabic page spent ~1.1 s in Style & Layout under mobile throttling. Sizes are measured placeholders; "auto"
   keeps the real size once a section has rendered. */
.statement, .services, .work, .process, .contact, .site-foot { content-visibility: auto; }
/* in-page navigation needs real sizes to land on target: site.js / the head script add .cv-off before any jump */
.cv-off .statement, .cv-off .services, .cv-off .work, .cv-off .process, .cv-off .contact, .cv-off .site-foot { content-visibility: visible; }
.statement { contain-intrinsic-size: auto 640px; }
.services { contain-intrinsic-size: auto 1500px; }
.work { contain-intrinsic-size: auto 2950px; }
.process { contain-intrinsic-size: auto 1250px; }
.contact { contain-intrinsic-size: auto 1000px; }
.site-foot { contain-intrinsic-size: auto 940px; }
@media (min-width: 901px) {
  .statement { contain-intrinsic-size: auto 750px; }
  .services { contain-intrinsic-size: auto 1400px; }
  .work { contain-intrinsic-size: auto 2150px; }
  .process { contain-intrinsic-size: auto 920px; }
  .contact { contain-intrinsic-size: auto 1000px; }
  .site-foot { contain-intrinsic-size: auto 480px; }
}
