/* ==========================================================================
   AALSULAIMI — Desert Modern identity
   ink · sand · copper · amber  |  Fraunces / Instrument Sans / Alexandria / IBM Plex Sans Arabic
   ========================================================================== */
:root {
  --ink: #15100E;
  --night: #1F1622;
  --plum: #3A2330;
  --ember: #8E3B24;
  --copper: #C2622F;
  --amber: #E9A05B;
  --sand: #F1E4CC;
  --paper: #F7F0E3;
  --dune: #D8BF96;
  --muted: #7A6A5C;
  --line: rgba(21, 16, 14, .14);
  --line-l: rgba(241, 228, 204, .16);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 76px;
}
html[lang="ar"] {
  --f-display: "Alexandria", "IBM Plex Sans Arabic", sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--ink);
  font: 400 clamp(16px, 1.05vw, 18px)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
html[lang="ar"] em { font-style: normal; }
::selection { background: var(--copper); color: var(--sand); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; top: -100px; inset-inline-start: 16px; z-index: 200; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.4rem;
  font: 600 .78rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--copper);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__eyebrow::before { display: none; }

.h2 {
  font: 350 clamp(2.3rem, 5.4vw, 5.2rem)/1.02 var(--f-display);
  letter-spacing: -.025em; margin: 0; max-width: 16ch; font-variation-settings: "opsz" 144;
}
.h2 em, .hero__title em, .contact__title em { color: var(--copper); font-weight: 300; }
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.3; font-weight: 300; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; position: relative; display: inline-flex; align-items: center; gap: .7em;
  padding: 1.05em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1;
  background: var(--bg); overflow: hidden; isolation: isolate; transition: color .4s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sand); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn--solid { --bg: var(--copper); color: var(--sand); }
.btn--solid:hover { color: var(--ink); }
.btn--ghost { color: var(--sand); box-shadow: inset 0 0 0 1px rgba(241, 228, 204, .4); }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { padding: .8em 1.25em; font-size: .85rem; }
.arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.magnetic { will-change: transform; }

/* ---------- intro ---------- */
.intro { display: none; }
.no-intro .intro { display: none !important; }
.js .intro {
  position: fixed; inset: 0; z-index: 150; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--ink); color: var(--sand); transition: clip-path 1s var(--ease-io) .1s;
  clip-path: inset(0 0 0 0);
}
.intro__mark { width: 84px; height: 84px; }
.intro__mark .m-sun { transform: translateY(26px); animation: rise 1s var(--ease) .1s forwards; }
.intro__mark .m-bar { transform: scaleX(0); transform-origin: left; transform-box: fill-box; animation: bar .7s var(--ease) forwards; }
.intro__mark .b1 { animation-delay: .55s; } .intro__mark .b2 { animation-delay: .65s; } .intro__mark .b3 { animation-delay: .75s; }
.intro__mark .m-px { transform: scale(0); transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) forwards; }
.intro__mark .p2 { animation-delay: .9s; } .intro__mark .p1 { animation-delay: 1s; }
@keyframes bar { to { transform: none; } }
@keyframes pop { 60% { transform: scale(1.3); } to { transform: none; } }
.intro__word { font: 300 1.4rem var(--f-display); letter-spacing: .02em; opacity: 0; animation: fade .8s ease .6s forwards; }
html.is-ready .intro { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- cursor & grain ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 140; display: none; }
@media (min-width: 760px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.custom-cursor-active, html.custom-cursor-active * { cursor: none !important; }
  html.custom-cursor-active .cursor { display: block; }
}
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--amber); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(233, 160, 91, .6);
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor__label { font: 600 .7rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; font-style: normal; }
.cursor.is-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--amber); border-color: var(--amber); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hover .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--amber); }

.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-1%,3%)} 100%{transform:translate(0,0)} }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter);
  color: var(--sand); transition: background .5s, backdrop-filter .5s, transform .5s var(--ease), height .4s;
}
.nav.is-solid { background: rgba(21, 16, 14, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); height: 64px; }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; }
.brand__mark .m-px { transition: transform .5s var(--ease); transform-box: fill-box; }
.brand:hover .brand__mark .p1 { transform: translate(3px, -3px); }
.brand:hover .brand__mark .p2 { transform: translate(-2px, 2px); }
.brand__word { font: 400 1.3rem/1 var(--f-display); letter-spacing: -.01em; font-family: "Fraunces", serif; }
.brand__word i { color: var(--copper); font-style: normal; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); font-size: .9rem; }
.nav__links a { position: relative; opacity: .82; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; inset: auto 0 -6px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang { padding: .55em .9em; border-radius: 99px; font-size: .88rem; box-shadow: inset 0 0 0 1px var(--line-l); transition: background .3s; }
.lang:hover { background: rgba(241, 228, 204, .1); }
html[lang="ar"] .lang { font-family: "Instrument Sans", sans-serif; }
html[lang="en"] .lang { font-family: "IBM Plex Sans Arabic", sans-serif; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-l); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--sand); transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--night); color: var(--sand);
  display: grid; align-items: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 50px) 38px); transition: clip-path .8s var(--ease-io);
}
html[dir="rtl"] .menu { clip-path: circle(0% at 50px 38px); }
.menu.is-open { clip-path: circle(150% at calc(100% - 50px) 38px); }
html[dir="rtl"] .menu.is-open { clip-path: circle(150% at 50px 38px); }
.menu nav { display: grid; gap: 6px; }
.menu a { display: flex; align-items: baseline; gap: 16px; font: 300 clamp(2.4rem, 11vw, 4rem)/1.15 var(--f-display); border-bottom: 1px solid var(--line-l); padding-block: 8px; }
.menu small { font: 500 .8rem var(--f-body); color: var(--amber); }

@media (max-width: 900px) {
  .nav__links, .nav__actions .btn { display: none; }
  .burger { display: block; }
}

/* ==========================================================================
   HERO — layered parallax
   ========================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
  color: var(--sand); display: grid; grid-template-rows: 1fr auto; background: var(--night);
}
.hero__stage { position: absolute; inset: 0; }
.layer {
  position: absolute; inset: -4% -4%; will-change: transform;
  transition: opacity 1.4s var(--ease), scale 2.2s var(--ease), translate 2.2s var(--ease);
}
.layer img, .layer video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.layer--sky video { background: url("../hero/poster.jpg") 62% 60% / cover; }
/* intro states: layers settle in, one after another */
html.is-loading .layer--sky { scale: 1.18; }
html.is-loading .layer--net { opacity: 0; translate: 0 8%; }
html.is-loading .layer--city { opacity: 0; translate: 0 14%; }
html.is-loading .layer--dunes { translate: 0 22%; }
.layer--net { transition-delay: .35s; }
.layer--city { transition-delay: .15s; }
.layer--dunes { transition-delay: 0s; }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 14, 17, .78) 0%, rgba(20, 14, 17, .35) 42%, rgba(20, 14, 17, 0) 65%),
    linear-gradient(0deg, rgba(21, 16, 14, .75) 0%, rgba(21, 16, 14, 0) 26%);
}
html[dir="rtl"] .hero__scrim {
  background:
    linear-gradient(270deg, rgba(20, 14, 17, .8) 0%, rgba(20, 14, 17, .4) 45%, rgba(20, 14, 17, 0) 70%),
    linear-gradient(0deg, rgba(21, 16, 14, .75) 0%, rgba(21, 16, 14, 0) 26%);
}
/* In RTL, mirror the scene so the arch and sun sit away from the Arabic headline */
html[dir="rtl"] .layer img, html[dir="rtl"] .layer video { transform: scaleX(-1); }

.hero__content { position: relative; align-self: center; padding-top: var(--nav-h); }
.hero__eyebrow { color: var(--amber); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(233, 160, 91, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(233, 160, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 160, 91, 0); } }
.hero__title {
  margin: 0; max-width: 11ch; font: 300 clamp(3.4rem, 9.6vw, 9.4rem)/.92 var(--f-display);
  letter-spacing: -.045em; font-variation-settings: "opsz" 144;
}
html[lang="ar"] .hero__title { max-width: 14ch; font-weight: 300; letter-spacing: 0; line-height: 1.15; font-size: clamp(3rem, 8vw, 7.6rem); }
.hero__title em { color: var(--amber); }
.hero__lede { max-width: 44ch; margin: 1.8rem 0 2.4rem; font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: rgba(241, 228, 204, .8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  padding-bottom: 28px; font-size: .85rem; color: rgba(241, 228, 204, .72);
}
.hero__foot p { margin: 0; }
.hero__years { justify-self: end; text-align: end; }
.hero__years strong { font: 400 1.6rem/1 var(--f-display); color: var(--amber); font-family: "Fraunces", serif; }
.scrollcue { width: 26px; height: 42px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(241, 228, 204, .5); position: relative; }
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* AI agent panel */
.agent {
  position: absolute; inset-inline-end: var(--gutter); bottom: 96px; width: 330px; z-index: 2;
  padding: 18px 20px 16px; border-radius: 18px; color: var(--sand);
  background: rgba(21, 16, 14, .55); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(233, 160, 91, .28), 0 30px 60px -30px rgba(0, 0, 0, .7);
  font-size: .84rem; transition: opacity 1s var(--ease) 1.6s, transform 1s var(--ease) 1.6s;
}
html.is-loading .agent { opacity: 0; transform: translateY(20px); }
.agent__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.agent__head b { font-weight: 600; letter-spacing: .02em; }
.agent__head small { margin-inline-start: auto; font-size: .7rem; padding: 3px 8px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-l); color: rgba(241, 228, 204, .65); }
.agent__dot { width: 8px; height: 8px; border-radius: 50%; background: #7BD88F; box-shadow: 0 0 10px #7BD88F; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.agent__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.agent__steps li { display: flex; align-items: center; gap: 10px; opacity: .28; transition: opacity .5s; }
.agent__steps li i { flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(241, 228, 204, .4); position: relative; }
.agent__steps li.run { opacity: 1; }
.agent__steps li.run i { box-shadow: inset 0 0 0 2px rgba(233, 160, 91, .25); border-top: 2px solid var(--amber); animation: spin .8s linear infinite; }
.agent__steps li.ok { opacity: .9; }
.agent__steps li.ok i { background: var(--amber); box-shadow: none; }
.agent__steps li.ok i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.agent__done { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line-l); color: var(--amber); opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s; }
.agent.is-done .agent__done { opacity: 1; transform: none; }
@media (max-width: 1100px) { .agent { display: none; } }

/* split-word headline animation */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + .5s); }
html.is-ready .w > span { transform: none; }
.hero__eyebrow, .hero__lede, .hero__ctas, .hero__foot { transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.is-loading .hero__eyebrow, html.is-loading .hero__lede, html.is-loading .hero__ctas, html.is-loading .hero__foot { opacity: 0; transform: translateY(24px); }
.hero__lede { transition-delay: .9s; } .hero__ctas { transition-delay: 1.05s; } .hero__foot { transition-delay: 1.3s; } .hero__eyebrow { transition-delay: .35s; }

@media (max-width: 720px) {
  .hero__foot { grid-template-columns: 1fr auto; }
  .hero__foot > p:first-child { display: none; }
  .scrollcue { order: 2; }
  .hero__years { justify-self: start; text-align: start; }
  .hero__scrim { background: linear-gradient(0deg, rgba(20, 14, 17, .9) 0%, rgba(20, 14, 17, .55) 45%, rgba(20, 14, 17, .25) 100%) !important; }
  .layer img, .layer video { object-position: 64% 60%; }
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { background: var(--ink); color: var(--sand); padding: clamp(100px, 16vw, 220px) 0 0; overflow: hidden; }
.manifesto__text {
  margin: 0; max-width: 24ch; font: 300 clamp(2rem, 4.6vw, 4.6rem)/1.12 var(--f-display); letter-spacing: -.02em;
}
html[lang="ar"] .manifesto__text { letter-spacing: 0; line-height: 1.5; font-weight: 300; }
.manifesto__text .mw { color: rgba(241, 228, 204, .16); transition: color .5s ease; }
.manifesto__text .mw.on { color: var(--sand); }
.manifesto__text em .mw.on, .manifesto__text .mw.on em { color: var(--amber); }
.ticker { margin-top: clamp(80px, 12vw, 160px); border-block: 1px solid var(--line-l); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; animation: tick 38s linear infinite; }
.ticker span { padding-inline-end: 2rem; font: 300 clamp(1.4rem, 3vw, 2.4rem)/1 var(--f-display); color: var(--dune); }
html[dir="rtl"] .ticker__track { animation-name: tick-rtl; }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes tick-rtl { to { transform: translateX(50%); } }

/* ==========================================================================
   SERVICES — sticky stacking cards
   ========================================================================== */
.services { background: var(--paper); padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 10vw, 140px); border-radius: 36px 36px 0 0; margin-top: -1px; position: relative; }
.section-head { display: grid; gap: 0; margin-bottom: clamp(48px, 7vw, 96px); }
.stack { display: grid; gap: 28px; }
.card {
  position: sticky; top: calc(var(--nav-h) + 12px + var(--k) * 22px);
  display: grid; grid-template-columns: 1fr 1.25fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  min-height: min(76vh, 620px); padding: clamp(28px, 4vw, 56px); border-radius: 28px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .06) inset, 0 30px 60px -30px rgba(21, 16, 14, .5);
  transform-origin: 50% 0; transition: transform .2s linear, filter .2s linear;
}
.card--1 { --k: 0; background: radial-gradient(120% 90% at 85% 20%, #3A2330 0%, var(--night) 55%, var(--ink) 100%); color: var(--sand); }
.card--2 { --k: 1; background: var(--sand); }
.card--3 { --k: 2; background: var(--plum); color: var(--sand); }
.card--4 { --k: 3; background: var(--copper); color: var(--sand); }
.card__meta { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.card__num { font: 200 clamp(4rem, 9vw, 8rem)/.8 var(--f-display); font-family: "Fraunces", serif; opacity: .9; }
.card--1 .card__num, .card--3 .card__num { color: var(--amber); }
.card--2 .card__num { color: var(--copper); }
.card__q { font: italic 300 clamp(1.3rem, 2vw, 1.8rem)/1.25 var(--f-display); max-width: 14ch; }
html[lang="ar"] .card__q { font-style: normal; }
.card h3 { margin: 0 0 .4rem; font: 600 .82rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
html[lang="ar"] .card h3 { letter-spacing: 0; font-size: 1rem; }
.card__lead { margin: 0 0 1rem; font: 400 clamp(1.8rem, 3vw, 2.8rem)/1.05 var(--f-display); letter-spacing: -.02em; }
html[lang="ar"] .card__lead { line-height: 1.3; letter-spacing: 0; }
.card ul { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: 0; }
.card li { padding: .7em 0; border-top: 1px solid currentColor; border-color: rgba(128, 100, 80, .25); display: flex; gap: .8em; }
.card li::before { content: "✦"; color: var(--copper); font-size: .8em; line-height: 1.9; }
.card--1 li::before, .card--3 li::before { color: var(--amber); } .card--4 li::before { color: var(--sand); }
.link-arrow { font-weight: 600; display: inline-flex; gap: .5em; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .3s var(--ease); }
.link-arrow:hover { gap: .9em; }
html[dir="rtl"] .link-arrow { flex-direction: row; }
.card__art { aspect-ratio: 1; width: 100%; max-width: 340px; justify-self: center; }
.card__art svg { width: 100%; height: 100%; overflow: visible; }
.footnote { margin: 32px 0 0; font-size: .82rem; color: var(--muted); }

/* art: compass */
.art-compass circle { fill: none; stroke: var(--ink); stroke-opacity: .25; }
.art-compass .o1 { stroke-dasharray: 4 10; animation: spin 40s linear infinite; transform-origin: center; transform-box: fill-box; }
.art-compass .o2 { stroke-opacity: .45; }
.art-compass .needle { transform-origin: 150px 150px; animation: seek 6s var(--ease-io) infinite; }
.art-compass .needle path { fill: var(--copper); }
.art-compass .hub { fill: var(--ink); stroke: none; }
.art-compass .sat { fill: var(--amber); stroke: none; transform-origin: 150px 150px; animation: spin 12s linear infinite; }
.art-compass .s2 { animation-duration: 7s; animation-direction: reverse; fill: var(--copper); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes seek { 0%,100% { transform: rotate(-30deg); } 30% { transform: rotate(40deg); } 55% { transform: rotate(18deg); } 75% { transform: rotate(24deg); } }
/* art: AI chip */
.art-ai .orbit { fill: none; stroke: var(--sand); stroke-opacity: .2; stroke-dasharray: 3 9; }
.art-ai .o-in { stroke-dasharray: none; stroke-opacity: .12; }
.art-ai .spoke line { stroke: var(--amber); stroke-opacity: .35; stroke-width: 1.5; stroke-dasharray: 5 7; animation: flow 1.4s linear infinite; }
.art-ai .spin { transform-origin: 150px 150px; animation: spin 9s linear infinite; }
.art-ai .s-b { animation-duration: 14s; animation-direction: reverse; }
.art-ai .spin circle { fill: var(--amber); filter: drop-shadow(0 0 8px rgba(233, 160, 91, .8)); }
.art-ai .chip rect { fill: var(--amber); filter: drop-shadow(0 0 30px rgba(233, 160, 91, .45)); }
.art-ai .chip path { stroke: var(--amber); stroke-width: 4; stroke-linecap: round; }
.art-ai .chip text { font: 600 34px "Instrument Sans", sans-serif; fill: var(--ink); letter-spacing: .02em; }
.art-ai .chip { animation: breathe 3.2s ease-in-out infinite; transform-origin: 150px 150px; }
/* art: nodes */
.art-nodes .wire { fill: none; stroke: var(--sand); stroke-opacity: .3; stroke-width: 2; stroke-dasharray: 6 8; animation: flow 1.6s linear infinite; }
.art-nodes .node { fill: rgba(241, 228, 204, .08); stroke: var(--sand); stroke-opacity: .5; }
.art-nodes .core { fill: var(--amber); filter: drop-shadow(0 0 18px rgba(233, 160, 91, .7)); animation: breathe 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.art-nodes .pulse-dot { fill: var(--amber); offset-rotate: 0deg; }
.art-nodes .p1 { offset-path: path("M60 80 C120 80 120 150 150 150 S 200 220 240 220"); animation: travel 3.2s var(--ease-io) infinite; }
.art-nodes .p2 { offset-path: path("M60 220 C120 220 120 150 150 150 S 200 80 240 80"); animation: travel 3.2s var(--ease-io) 1.6s infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
@keyframes breathe { 50% { transform: scale(1.15); } }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
/* art: browser */
.art-browser { display: grid; place-items: center; }
.browser { width: 100%; border-radius: 14px; background: var(--sand); color: var(--ink); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(21, 16, 14, .5); transform: rotate(-4deg); transition: transform .8s var(--ease); }
.card--4:hover .browser { transform: rotate(0) scale(1.03); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: .7rem; border-bottom: 1px solid var(--line); direction: ltr; }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--dune); }
.browser__bar span { margin-inline-start: 10px; opacity: .6; }
.browser__view { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, var(--night), var(--ember) 70%, var(--amber)); overflow: hidden; }
.bl { position: absolute; border-radius: 50%; }
.b1 { width: 36%; aspect-ratio: 1; left: 50%; top: 38%; background: #FFE0AE; box-shadow: 0 0 60px 20px rgba(233, 160, 91, .5); animation: bob 5s ease-in-out infinite; }
.b2 { inset: auto -10% -30% -10%; height: 60%; background: #3A1F18; border-radius: 50% 50% 0 0; animation: bob 6s ease-in-out infinite reverse; }
.b3 { inset: auto -20% -44% 10%; height: 60%; background: var(--ink); border-radius: 60% 40% 0 0; }
.b4 { left: 10%; top: 18%; width: 38%; height: 8%; border-radius: 4px; background: rgba(241, 228, 204, .85); box-shadow: 0 22px 0 -4px rgba(241, 228, 204, .4), 0 40px 0 -4px rgba(241, 228, 204, .25); }
@keyframes bob { 50% { transform: translateY(-8%); } }

@media (max-width: 1000px) {
  .card { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; }
  .card__meta { flex-direction: row; align-items: end; }
  .card__art { max-width: 240px; grid-row: 1; justify-self: start; }
}

/* ==========================================================================
   EXPERIENCE — logo marquee
   ========================================================================== */
.experience { background: var(--paper); padding: clamp(60px, 8vw, 120px) 0 clamp(90px, 10vw, 150px); overflow: hidden; }
.exp__head { margin-bottom: clamp(40px, 6vw, 80px); }
.logos { overflow-x: auto; padding-block: 14px 30px; margin-block: -14px -30px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; gap: 20px; width: max-content; }
.logos.is-looping { overflow: hidden; }
.logos.is-looping .logos__track { animation: logo-loop 40s linear infinite; }
html[dir="rtl"] .logos.is-looping .logos__track { animation-name: logo-loop-rtl; }
@keyframes logo-loop { to { transform: translateX(calc(-1 * var(--logo-distance))); } }
@keyframes logo-loop-rtl { to { transform: translateX(var(--logo-distance)); } }
@media (hover: hover) { .logos:hover .logos__track { animation-play-state: paused; } }
.logo {
  flex: none; width: clamp(180px, 18vw, 250px); aspect-ratio: 5 / 3; display: grid; place-items: center;
  background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: 28px;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.logo img { max-height: 84px; width: auto; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .7; transition: filter .5s, opacity .5s; }
.logo:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--copper), 0 20px 40px -20px rgba(142, 59, 36, .45); }
.logo:hover img { filter: none; opacity: 1; }

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder { background: var(--ink); color: var(--sand); padding: clamp(100px, 12vw, 180px) 0; border-radius: 36px 36px 0 0; margin-top: -36px; position: relative; }
.founder__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.founder__art { display: grid; place-items: center; }
.frame { position: relative; width: min(100%, 460px); aspect-ratio: 4 / 5; }
.ring { direction: ltr; unicode-bidi: isolate; position: absolute; width: 40%; inset-inline-end: -12%; top: 6%; z-index: 2; border-radius: 50%; background: rgba(21, 16, 14, .82); backdrop-filter: blur(6px); }
.ring text { transform-origin: 200px 200px; animation: spin 30s linear infinite; font: 600 21px "Instrument Sans", "IBM Plex Sans Arabic", sans-serif; letter-spacing: .12em; fill: var(--amber); }
.ring::after { content: ""; }
.frame__inner { position: absolute; inset: 0; overflow: hidden; border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line-l); }
.frame::before, .frame::after { content: ""; position: absolute; width: 44px; height: 44px; z-index: 2; border: 2px solid var(--amber); pointer-events: none; }
.frame::before { inset: -14px auto auto -14px; border-width: 2px 0 0 2px; border-radius: 12px 0 0 0; }
.frame::after { inset: auto -14px -14px auto; border-width: 0 2px 2px 0; border-radius: 0 0 12px 0; }
.frame__inner .frame__art { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; transform: scale(1.25); transition: transform 1.6s var(--ease); }
.frame__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity .8s; }
.has-photo .frame__photo { opacity: 1; }
.has-photo .monogram { display: none; }
.founder__art.in .frame__inner .frame__art { transform: scale(1.05); }
.monogram {
  position: absolute; inset: auto 0 8% 0; text-align: center; font: 300 clamp(4rem, 9vw, 7rem)/1 "Fraunces", serif; color: var(--sand);
  text-shadow: 0 10px 40px rgba(21, 16, 14, .6); direction: ltr;
}
.monogram i { color: var(--amber); }
.founder .h2 { max-width: 14ch; margin-bottom: 2rem; }
.bigstat { display: flex; align-items: flex-start; gap: 4px; flex-wrap: wrap; margin-bottom: 1.6rem; }
.bigstat .count { font: 200 clamp(5rem, 11vw, 9rem)/.85 "Fraunces", serif; color: var(--amber); }
.bigstat sup { font: 300 3rem/1 "Fraunces", serif; color: var(--copper); }
.bigstat p { flex-basis: 100%; margin: .6rem 0 0; color: rgba(241, 228, 204, .7); }
.founder__copy > p { color: rgba(241, 228, 204, .8); max-width: 54ch; }
.founder__copy strong { color: var(--sand); }
.creds { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-l); border-radius: 18px; overflow: hidden; }
.creds li { background: var(--ink); padding: 20px 22px; display: grid; gap: 4px; transition: background .4s; }
.creds li:hover { background: #20181a; }
.creds b { font: 400 1.25rem/1.2 var(--f-display); color: var(--amber); }
.creds span { font-size: .88rem; color: rgba(241, 228, 204, .65); }
@media (max-width: 900px) { .founder__grid { grid-template-columns: 1fr; } .frame { width: min(80%, 360px); } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROCESS — pinned horizontal scroll
   ========================================================================== */
.process { position: relative; height: 260vh; background: var(--night); color: var(--sand); }
.process__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding-top: calc(var(--nav-h) + 3vh); }
.process__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 40px; }
.process__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.process .h2 { max-width: 18ch; font-size: clamp(2rem, 4.4vw, 4.2rem); }
.progress { width: min(280px, 40vw); display: grid; gap: 10px; }
.progress::before { content: ""; grid-area: 1 / 1; height: 2px; background: var(--line-l); }
.progress__bar { grid-area: 1 / 1; height: 2px; background: var(--amber); transform: scaleX(var(--p, 0)); transform-origin: left; }
html[dir="rtl"] .progress__bar { transform-origin: right; }
.progress__label { font-size: .85rem; color: rgba(241, 228, 204, .6); font-family: "Instrument Sans", sans-serif; }
.progress__n { color: var(--amber); font-weight: 600; }
.process__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-inline: var(--gutter); will-change: transform; }
.step {
  flex: none; width: clamp(300px, 38vw, 540px); min-height: 52vh; padding: clamp(28px, 3vw, 44px);
  border-radius: 28px; background: linear-gradient(160deg, rgba(241, 228, 204, .07), rgba(241, 228, 204, .02));
  box-shadow: inset 0 0 0 1px var(--line-l); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  transition: background .6s, box-shadow .6s;
}
.step.is-current { background: linear-gradient(160deg, rgba(194, 98, 47, .35), rgba(58, 35, 48, .3)); box-shadow: inset 0 0 0 1px rgba(233, 160, 91, .5); }
.step__n { font: 200 clamp(5rem, 10vw, 9rem)/.8 "Fraunces", serif; color: transparent; -webkit-text-stroke: 1px var(--amber); margin-bottom: auto; }
.step h3 { margin: 0; font: 400 clamp(1.6rem, 2.4vw, 2.3rem)/1.1 var(--f-display); letter-spacing: -.01em; }
html[lang="ar"] .step h3 { line-height: 1.35; }
.step p { margin: 0; color: rgba(241, 228, 204, .75); }
.step__get { padding-top: 14px; border-top: 1px solid var(--line-l); color: var(--amber) !important; font-weight: 500; }

@media (max-width: 800px) {
  .process { height: auto; padding-bottom: 80px; }
  .process__pin { position: relative; height: auto; overflow: visible; padding-top: 100px; }
  .process__head { grid-template-columns: 1fr; } .progress { display: none; }
  .process__track { flex-direction: column; align-items: stretch; transform: none !important; margin-top: 40px; }
  .step { width: auto; min-height: 0; }
  .step__n { font-size: 4rem; margin-bottom: 8px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper); padding: clamp(100px, 12vw, 170px) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq header { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 28px 0; font: 400 clamp(1.25rem, 1.9vw, 1.65rem)/1.25 var(--f-display); transition: color .3s;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line);
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .5s var(--ease), background-color .3s;
}
summary:hover { color: var(--copper); }
details[open] summary::after { transform: rotate(135deg); background-color: var(--amber); }
details p { margin: 0; padding: 0 60px 28px 0; color: #5B4D42; max-width: 60ch; animation: open .6s var(--ease); }
html[dir="rtl"] details p { padding: 0 0 28px 60px; }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq header { position: static; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { position: relative; min-height: 100vh; overflow: hidden; color: var(--sand); display: grid; align-items: center; padding: 140px 0 160px; background: var(--night); }
.contact__bg { position: absolute; inset: 0; }
.contact__sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 30%; opacity: .55; transform: scale(1.1); }
html[dir="rtl"] .contact__sky, html[dir="rtl"] .contact__dunes { transform: scaleX(-1) scale(1.1); }
.contact__dunes { position: absolute; inset: auto 0 -8% 0; width: 100%; height: 70%; object-fit: cover; object-position: 50% 100%; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 40%, rgba(21, 16, 14, .35), rgba(21, 16, 14, .85)); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 980px) { .contact__inner { grid-template-columns: 1fr; } }
.channels { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.channels li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--line-l); }
.channels li[hidden] { display: none; }
.channels__label { flex: 0 0 110px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
html[lang="ar"] .channels__label { letter-spacing: 0; font-size: .9rem; }
.channels__value { font-size: 1.05rem; direction: ltr; unicode-bidi: isolate; }
a.channels__value:hover { color: var(--amber); }
.copy { margin-inline-start: auto; font-size: .8rem; padding: .4em .9em; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-l); transition: background .3s; }
.copy:hover { background: rgba(241, 228, 204, .1); }
.brief {
  display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 28px;
  background: rgba(21, 16, 14, .5); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(233, 160, 91, .25);
}
.brief .chips { margin: 0; }
.brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .brief__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; font-size: .88rem; color: rgba(241, 228, 204, .75); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--sand); background: rgba(241, 228, 204, .06); border: 0; border-radius: 14px;
  padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line-l); transition: box-shadow .3s, background .3s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--amber); background: rgba(241, 228, 204, .09); }
.brief__error { margin: 0; color: #FFB08A; font-size: .9rem; }
.brief__actions { display: grid; gap: 12px; }
button.mega { width: 100%; max-width: none; text-align: start; cursor: pointer; font: inherit; border: 0; }
.btn--wa { justify-content: center; --bg: #1F9E57; color: #fff; }
.btn--wa:hover { color: var(--ink); }
.btn--wa[hidden] { display: none; }
.contact__title { margin: 0; font: 300 clamp(2.8rem, 6.4vw, 6.4rem)/.95 var(--f-display); letter-spacing: -.04em; max-width: 12ch; }
html[lang="ar"] .contact__title { letter-spacing: 0; line-height: 1.25; font-weight: 300; }
.contact__title em { color: var(--amber); }
.contact__lede { font-size: 1.15rem; color: rgba(241, 228, 204, .8); margin: 1.6rem 0 2.4rem; }
.chips { border: 0; padding: 0; margin: 0 0 2.4rem; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; margin-bottom: 14px; font-size: .9rem; color: rgba(241, 228, 204, .7); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: .75em 1.25em; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(241, 228, 204, .35); transition: background .35s, color .35s, box-shadow .35s; cursor: pointer; }
.chips label:hover span { box-shadow: inset 0 0 0 1px var(--amber); }
.chips input:checked + span { background: var(--amber); color: var(--ink); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 3px; }
.mega {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 28px; max-width: 760px;
  padding: clamp(24px, 3vw, 36px) clamp(28px, 3.4vw, 44px); border-radius: 28px;
  background: var(--sand); color: var(--ink); position: relative; overflow: hidden; isolation: isolate;
}
.mega::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--copper); clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .7s var(--ease); }
.mega:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.mega:hover { color: var(--sand); }
.mega__label { font: 400 clamp(1.5rem, 2.6vw, 2.3rem)/1.05 var(--f-display); }
.mega__mail { grid-row: 2; font-size: .95rem; opacity: .7; direction: ltr; text-align: start; }
html[dir="rtl"] .mega__mail { text-align: end; }
.mega__arrow { grid-row: 1 / 3; grid-column: 2; width: clamp(56px, 6vw, 80px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--sand); font-size: 1.6rem; transition: transform .6s var(--ease); }
.mega:hover .mega__arrow { transform: rotate(45deg); }
html[dir="rtl"] .mega__arrow { transform: scaleX(-1); }
html[dir="rtl"] .mega:hover .mega__arrow { transform: scaleX(-1) rotate(45deg); }
.contact__note { margin-top: 18px; font-size: .82rem; color: rgba(241, 228, 204, .6); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: rgba(241, 228, 204, .7); padding-top: 40px; overflow: hidden; font-size: .88rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-l); margin-bottom: 20px; }
.footer__grid p { margin: 0 0 6px; }
.footer__grid [hidden] { display: none; }
.footer__brand { font: 400 1.3rem var(--f-display); color: var(--sand); }
.footer__h { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px !important; }
html[lang="ar"] .footer__h { letter-spacing: 0; font-size: .9rem; }
.footer a:hover { color: var(--amber); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer__row p { margin: 0; }
.footer__row a:hover { color: var(--amber); }
.footer__word {
  font: 300 clamp(4rem, 19vw, 20rem)/.8 "Fraunces", serif; letter-spacing: -.05em; text-align: center; margin-top: 30px;
  color: transparent; -webkit-text-stroke: 1px rgba(233, 160, 91, .35); white-space: nowrap; direction: ltr;
  background: linear-gradient(180deg, rgba(233, 160, 91, .22), transparent 80%); -webkit-background-clip: text; background-clip: text;
  translate: 0 12%;
}

/* ==========================================================================
   SELECTED WORK
   ========================================================================== */
.work { background: var(--paper); padding: 0 0 clamp(80px, 10vw, 140px); }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .work__grid { grid-template-columns: 1fr; } }
.story { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 26px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.story:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--copper), 0 30px 50px -30px rgba(142, 59, 36, .45); }
.story > :not(.story__visual) { margin-inline: 8px; }
.story__visual { height: 190px; border-radius: 18px; background: var(--night); position: relative; overflow: hidden; margin-bottom: 8px; }
.story__sector { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); font-weight: 600; }
html[lang="ar"] .story__sector { letter-spacing: 0; font-size: .88rem; }
.story h3 { margin: 0; font: 400 clamp(1.35rem, 1.8vw, 1.6rem)/1.2 var(--f-display); text-wrap: balance; }
.story dl { margin: 6px 0 0; display: grid; gap: 4px; font-size: .92rem; }
.story dt { font-weight: 600; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
html[lang="ar"] .story dt { letter-spacing: 0; font-size: .85rem; }
.story dd { margin: 0; color: #4A3E35; }
.tags { margin: auto 0 0 !important; padding-top: 16px; font-size: .8rem; color: var(--muted); }
/* story visuals */
.vis-dash { padding: 18px; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpis span { height: 30px; border-radius: 8px; background: rgba(241, 228, 204, .08); box-shadow: inset 0 0 0 1px var(--line-l); position: relative; }
.kpis span::after { content: ""; position: absolute; left: 8px; right: 30%; top: 12px; height: 5px; border-radius: 3px; background: var(--amber); opacity: .7; }
.bars { display: flex; align-items: flex-end; gap: 8px; padding-inline-end: 40px; }
.bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 5px 5px 0 0; background: linear-gradient(var(--amber), var(--copper)); transform: scaleY(.1); transform-origin: bottom; transition: transform 1.2s var(--ease); }
.story.in .bars i { transform: none; }
.bars i:nth-child(2n) { transition-delay: .1s; } .bars i:nth-child(3n) { transition-delay: .2s; }
.lock { position: absolute; right: 16px; bottom: 16px; width: 26px; height: 26px; color: var(--amber); }
.vis-road { padding: 26px 22px; display: grid; align-content: center; gap: 26px; }
.road { display: flex; justify-content: space-between; position: relative; }
.road::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: linear-gradient(90deg, var(--amber), rgba(241, 228, 204, .15)); }
html[dir="rtl"] .road::before { background: linear-gradient(270deg, var(--amber), rgba(241, 228, 204, .15)); }
.road span { width: 14px; height: 14px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2px rgba(241, 228, 204, .4); position: relative; }
.road span.on { background: var(--amber); box-shadow: 0 0 0 6px rgba(233, 160, 91, .2); }
.lanes { display: grid; gap: 10px; }
.lanes i { display: block; height: 14px; border-radius: 7px; width: calc(var(--w) * 100%); margin-inline-start: calc(var(--x) * 100%); background: rgba(241, 228, 204, .12); }
.lanes i:first-child { background: var(--copper); }
.vis-site { display: grid; place-items: center; background: linear-gradient(160deg, var(--plum), var(--night)); }
.mini { width: 78%; border-radius: 10px; overflow: hidden; position: relative; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); transform: rotate(-3deg); transition: transform .8s var(--ease); }
.story:hover .mini { transform: none; }
.mini img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mini b { position: absolute; top: 8px; inset-inline-end: 8px; font-size: .7rem; padding: 3px 8px; border-radius: 99px; background: rgba(21, 16, 14, .7); color: var(--sand); font-weight: 600; }

/* ==========================================================================
   WAYS TO START
   ========================================================================== */
.start { background: var(--paper); padding: clamp(100px, 12vw, 170px) 0 0; }
.offers { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 1000px) { .offers { grid-template-columns: 1fr; } }
.offer { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.offer h3 { margin: 0; font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--f-display); }
.offer p { margin: 0; color: #4A3E35; }
.offer__time { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper) !important; }
html[lang="ar"] .offer__time { letter-spacing: 0; font-size: .9rem; }
.offer__get { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 500; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer--lead { background: var(--ink); color: var(--sand); box-shadow: 0 30px 60px -30px rgba(21, 16, 14, .6); }
.offer--lead p { color: rgba(241, 228, 204, .78); }
.offer--lead .offer__time { color: var(--amber) !important; }
.offer--lead .offer__get { border-color: var(--line-l); color: var(--sand); }
.offer__badge { align-self: flex-start; font-size: .75rem; font-weight: 600; padding: .45em 1em; border-radius: 99px; background: var(--amber); color: var(--ink) !important; }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line::after { background: var(--ink); }
.btn--line:hover { color: var(--sand); }

/* ==========================================================================
   MOBILE CONTACT BAR
   ========================================================================== */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar {
    position: fixed; z-index: 95; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex; gap: 10px; transform: translateY(160%); transition: transform .5s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar__main { flex: 1; display: grid; place-items: center; height: 54px; border-radius: 99px; background: var(--copper); color: var(--sand); font-weight: 600; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); }
  .mbar__wa { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1F9E57; color: #fff; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); }
  .mbar__wa[hidden] { display: none; }
  .mbar__wa svg { width: 26px; height: 26px; }
}

/* ---------- scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .grain, .intro { display: none; }
.no-intro .intro { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .w > span { transform: none; }
  .ticker__track, .logos.is-looping .logos__track { animation: none; }
  .logos, .logos.is-looping { overflow-x: auto; }
  .logos [data-logo-copy] { display: none; }
}
