/* =====================================================================
   AM OUTCOMES — Styles
   Brand colours live in :root. Change --blue to adjust the accent.
   ===================================================================== */

:root {
  --black: #050505;
  --ink: #0c0c0d;
  --white: #ffffff;
  --paper: #f4f3ef;
  --blue: #2f5bff;
  --blue-soft: rgba(47, 91, 255, .14);
  --mute: rgba(255, 255, 255, .56);
  --faint: rgba(255, 255, 255, .34);
  --line: rgba(255, 255, 255, .12);
  --mute-dark: rgba(5, 5, 5, .58);
  --line-dark: rgba(5, 5, 5, .12);

  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4.6vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 300 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-style: italic; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 1px solid var(--blue); outline-offset: 4px; }
.mono { font-family: var(--mono); font-size: .7rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--black);
  display: grid; place-items: center; transition: transform 1s var(--ease-io) .1s;
}
.loader__mark svg { width: 88px; height: 88px; overflow: visible; }
.loader__mark rect { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 1.4; }
.loader__mark path { fill: none; stroke: var(--white); stroke-width: 2.6; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1s var(--ease) .15s forwards; }
.loader__mark .l2 { stroke-opacity: .35; stroke-width: 1.4; animation-delay: .35s; }
.loader__mark circle { fill: var(--blue); transform: scale(0); transform-origin: 60px 20px; animation: pop .5s var(--ease) .9s forwards; }
.loader__count { position: absolute; right: var(--gutter); bottom: 28px; font: 400 .75rem var(--mono); letter-spacing: .2em; color: var(--mute); }
.is-loaded .loader { transform: translateY(-100%); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }

/* ---------- Texture & cursor ---------- */
.grain { position: fixed; inset: 0; z-index: 100; pointer-events: none; overflow: hidden; }
.grain::before {
  content: ""; position: absolute; inset: -50%; opacity: .05;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--white); mix-blend-mode: difference; opacity: 0;
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s, background .3s;
}
.cursor span { font: 500 .62rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--white); opacity: 0; transition: opacity .3s; }
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--blue); mix-blend-mode: normal; }
.cursor.is-label span { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Type ---------- */
.h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.025em;
}
.h2 em, .hero__title em, .book__title em, .value__big em, .footer__big em { color: var(--blue); font-weight: 400; }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 30px;
  font: 400 .7rem var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
}
.eyebrow i { font-style: normal; color: var(--blue); }
.eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .5; }
.light .eyebrow { color: var(--mute-dark); }
.intro { margin: 0; color: var(--mute); font-size: 1.04rem; max-width: 440px; }
.light .intro { color: var(--mute-dark); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 30px; border-radius: 100px; overflow: hidden; isolation: isolate;
  font: 500 .9rem/1.2 var(--sans); cursor: pointer; border: 0;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 0 0 0 rgba(47,91,255,.5); animation: glow 3.2s ease-in-out infinite; }
.btn--primary::before { background: var(--white); }
.btn--primary:hover { color: var(--black); }
@keyframes glow { 0%,100%{box-shadow:0 0 0 0 rgba(47,91,255,0)} 50%{box-shadow:0 0 40px -6px rgba(47,91,255,.55)} }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark::before { background: var(--blue); }
.btn--line { background: transparent; color: var(--white); border: 1px solid var(--line); }
.btn--line::before { background: var(--white); }
.btn--line:hover { color: var(--black); border-color: var(--white); }
.btn--sm { padding: 13px 22px; font-size: .8rem; }

.link-under { position: relative; font-size: .9rem; color: var(--mute); padding-bottom: 3px; transition: color .3s; }
.link-under::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .5s var(--ease); }
.link-under:hover { color: var(--white); }
.link-under:hover::after { transform: scaleX(1); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter); border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), background .4s, border-color .4s;
}
.nav.is-scrolled { padding-top: 13px; padding-bottom: 13px; background: rgba(5,5,5,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 34px; height: 34px; }
.logo__mark rect { fill: none; stroke: var(--white); stroke-width: 2.4; }
.logo__mark path { fill: none; stroke: var(--white); stroke-width: 4; }
.logo__mark .base { stroke-opacity: .35; stroke-width: 2.4; }
.logo__mark circle { fill: var(--blue); }
.logo__am { font: 500 1.35rem/1 var(--serif); letter-spacing: .02em; }
.logo__word { font: 500 .7rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; padding-left: 12px; border-left: 1px solid var(--line); }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: .84rem; color: var(--mute); transition: color .3s; }
.nav__links a:hover { color: var(--white); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--white); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 25px; }
.menu-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 50; background: var(--black); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 var(--gutter); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.menu a { display: flex; align-items: baseline; gap: 16px; font: 400 clamp(2.4rem, 10vw, 3.6rem)/1.15 var(--serif); }
.menu a i { font: 400 .7rem var(--mono); color: var(--blue); font-style: normal; }
.menu .menu__cta { margin-top: 30px; font: 500 1rem/1 var(--sans); color: var(--blue); }
.menu-open .menu { clip-path: inset(0 0 0 0); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px var(--gutter) 64px; }
.hero::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 80vmax; height: 80vmax; right: -36vmax; top: -40vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,91,255,.24), transparent 70%); }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: clamp(40px, 7vh, 72px); color: var(--mute); }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; font: 400 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--blue); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.hero__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(3.1rem, 10.4vw, 11rem); line-height: .9; letter-spacing: -.045em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line:nth-child(2) { padding-left: 8vw; }
.hero__title .line:nth-child(3) { text-align: right; }
.hero__title .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.4s var(--ease); }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.hero__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-top: clamp(40px, 6vh, 72px); }
.hero__lead { margin: 0; max-width: 470px; color: var(--mute); font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; justify-self: end; }
.micro { flex-basis: 100%; margin: 0; color: var(--faint); }

/* ---------- Reel ---------- */
.reel { padding: 0 var(--gutter) clamp(72px, 9vw, 120px); }
.reel__frame { position: relative; aspect-ratio: 16 / 9; background: #0a0a0b; overflow: hidden; cursor: pointer; clip-path: inset(6% 6% 6% 6%); transition: clip-path 1.4s var(--ease-io); }
.reel__frame.is-in { clip-path: inset(0 0 0 0); }
.reel__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.reel__frame.is-in .reel__video { transform: none; }
.reel__label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 22px 26px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; margin-right: 10px; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.reel__play { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); font-size: 1.3rem; transition: transform .5s var(--ease), background .4s; }
.reel__frame:hover .reel__play { transform: scale(1.1); background: var(--blue); border-color: var(--blue); }
.corner { position: absolute; z-index: 2; width: 22px; height: 22px; border: 0 solid var(--white); opacity: .8; }
.corner.tl { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 16px; right: 16px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 16px; left: 16px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- Proof ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__item { padding: 36px 24px; display: flex; flex-direction: column; gap: 10px; color: var(--mute); }
.proof__item + .proof__item { border-left: 1px solid var(--line); }
.proof__num { font: 400 clamp(2.6rem, 4.6vw, 4.2rem)/1 var(--serif); color: var(--white); letter-spacing: -.03em; }
.proof__num small { color: var(--blue); font-size: .55em; }

/* ---------- Clients & marquee ---------- */
.clients { padding: clamp(56px, 7vw, 96px) 0; }
.clients__label { display: block; text-align: center; color: var(--faint); margin-bottom: 30px; }
.marquee { overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: inline-flex; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; font: 400 clamp(1.6rem, 3vw, 2.6rem)/1 var(--serif); letter-spacing: -.01em; }
.marquee__item:nth-child(even) { font-style: italic; color: var(--mute); }
.marquee__item::after { content: ""; width: 7px; height: 7px; background: var(--blue); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 13vw, 180px) var(--gutter); }
.head { margin-bottom: clamp(56px, 7vw, 100px); max-width: 1100px; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.light { background: var(--paper); color: var(--black); }

/* ---------- Films ---------- */
.films__list { display: grid; gap: clamp(80px, 10vw, 150px); }
.film { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.film:nth-child(even) { grid-template-columns: 1fr 1.55fr; }
.film:nth-child(even) .film__media { order: 2; }
.film__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0a0b; cursor: pointer; }
.film__media video, .film__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.film__media:hover video { transform: scale(1.03); }
.film__media .corner { width: 16px; height: 16px; }
.film__sound { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 100px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); font: 400 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; transition: background .3s, border-color .3s; }
.film__media:hover .film__sound { background: var(--blue); border-color: var(--blue); }
.film__index { font: 400 .7rem var(--mono); letter-spacing: .2em; color: var(--blue); }
.film__title { margin: 18px 0 10px; font: 400 clamp(2rem, 3.6vw, 3.4rem)/1 var(--serif); letter-spacing: -.02em; }
.film__tag { color: var(--mute); }
.film__summary { margin: 22px 0 0; color: var(--mute); max-width: 420px; }

/* ---------- Work (horizontal scroll) ---------- */
.work { position: relative; }
.work__pin { display: grid; grid-template-columns: minmax(320px, 32vw) 1fr; gap: 0; align-items: center; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.work__intro { position: relative; z-index: 2; padding: 0 48px 0 var(--gutter); align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--black); }
.work__intro::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 80px; background: linear-gradient(90deg, var(--black), transparent); pointer-events: none; }
.work__intro .h2 { font-size: clamp(2.3rem, 4.4vw, 4.4rem); }
.work__intro .intro { margin-top: 26px; }
.work__progress { margin-top: 40px; height: 1px; background: var(--line); width: 70%; }
.work__progress span { display: block; height: 100%; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.work__track { display: flex; gap: 32px; will-change: transform; padding-right: var(--gutter); }
.card { position: relative; flex: 0 0 clamp(300px, 40vw, 620px); display: block; }
.card__link { position: absolute; inset: 0; z-index: 2; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d0e; }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card__media video { opacity: 0; }
.card.is-playing .card__media video { opacity: 1; }
.card:hover .card__media img { transform: scale(1.04); }
.card__visit { position: absolute; right: 18px; top: 18px; z-index: 3; padding: 9px 14px; border-radius: 100px; background: var(--white); color: var(--black); font: 500 .64rem var(--mono); letter-spacing: .14em; text-transform: uppercase; transform: translateY(-8px); opacity: 0; transition: all .5s var(--ease); }
.card:hover .card__visit { transform: none; opacity: 1; }
.card__visit:hover { background: var(--blue); color: var(--white); }
.card__info { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding-top: 22px; }
.card__no { font: 400 .7rem var(--mono); color: var(--blue); padding-top: 10px; grid-row: span 3; }
.card__name { margin: 0; font: 400 clamp(1.6rem, 2.4vw, 2.2rem)/1.05 var(--serif); letter-spacing: -.015em; }
.card__cat { color: var(--mute); }
.card__summary { margin: 4px 0 0; color: var(--mute); font-size: .95rem; max-width: 460px; }

/* ---------- Stores ---------- */
.stores__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.stores__grid .card { flex: none; }
.stores__grid .card__media { aspect-ratio: 4 / 3; }

/* ---------- Value ---------- */
.value { border-top: 1px solid var(--line); }
.value__big { margin: 0 0 clamp(64px, 8vw, 110px); max-width: 1100px; font: 400 clamp(2.4rem, 6vw, 5.6rem)/1 var(--serif); letter-spacing: -.035em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 32px 36px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num { display: block; font: 400 clamp(3.4rem, 6.4vw, 6rem)/1 var(--serif); letter-spacing: -.04em; margin-bottom: 18px; }
.stat__num small { font-size: .42em; color: var(--blue); }
.stat p { margin: 0 0 16px; max-width: 290px; color: var(--mute); }
.stat__src { color: var(--faint); }

/* ---------- Services ---------- */
.services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.service { position: relative; display: grid; grid-template-columns: 80px 1.1fr 1fr 50px; gap: 24px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line-dark); }
.service::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.service:hover::before { transform: scaleX(1); }
.service .mono { color: var(--mute-dark); }
.service h3 { margin: 0; font: 400 clamp(1.6rem, 2.8vw, 2.5rem)/1.1 var(--serif); letter-spacing: -.015em; transition: transform .6s var(--ease); }
.service:hover h3 { transform: translateX(14px); }
.service p { margin: 0; color: var(--mute-dark); max-width: 420px; }
.service__arrow { justify-self: end; font-size: 1.4rem; color: var(--mute-dark); transition: transform .6s var(--ease), color .4s; }
.service:hover .service__arrow { color: var(--blue); transform: rotate(45deg); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 40px 32px 0 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__num { display: block; font: 400 3.2rem/1 var(--serif); color: var(--blue); margin-bottom: 60px; }
.step h3 { margin: 0 0 12px; font: 400 1.6rem/1.15 var(--serif); }
.step p { margin: 0; color: var(--mute); font-size: .95rem; }

/* ---------- Reviews ---------- */
.reviews__grid { columns: 3 320px; column-gap: 28px; }
.review { break-inside: avoid; margin: 0 0 28px; padding: 34px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(47,91,255,.07), transparent 50%); }
.review__stars { color: var(--blue); letter-spacing: .2em; font-size: .9rem; }
.review blockquote { margin: 18px 0 28px; font: 400 1.35rem/1.35 var(--serif); }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--black); font: 500 1rem var(--serif); }
.review__name { font-size: .9rem; font-weight: 500; }
.review__role { display: block; color: var(--mute); font-size: .8rem; }

/* ---------- Guide ---------- */
.guide__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 8vw, 130px); align-items: center; }
.guide__cover { perspective: 1400px; display: flex; justify-content: center; }
.cover { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.414; padding: 36px; display: flex; flex-direction: column; color: var(--white); background: var(--black); box-shadow: 40px 50px 80px -30px rgba(0,0,0,.45); transform: rotateY(-14deg) rotateX(4deg); transition: transform 1.2s var(--ease); overflow: hidden; }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(255,255,255,.12), transparent); }
.cover::after { content: ""; position: absolute; width: 120%; height: 60%; right: -40%; top: -20%; background: radial-gradient(closest-side, rgba(47,91,255,.35), transparent); }
.cover:hover { transform: rotateY(-4deg) rotateX(1deg); }
.cover__brand { color: var(--mute); font-size: .58rem; }
.cover__big { margin-top: auto; font: 400 clamp(7rem, 15vw, 11rem)/.8 var(--serif); letter-spacing: -.06em; }
.cover__big em { color: var(--blue); font-size: .45em; }
.cover__title { margin-top: 22px; font: 400 clamp(1.6rem, 2.5vw, 2.1rem)/1 var(--serif); }
.cover__sub { margin-top: 12px; font-size: .76rem; color: var(--mute); }
.cover__line { display: block; margin-top: 26px; height: 2px; width: 64px; background: var(--blue); }
.guide__copy p { color: var(--mute-dark); font-size: 1.04rem; max-width: 520px; margin: 28px 0 24px; }
.guide__copy strong { color: var(--black); font-weight: 600; }
.ticks { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: .95rem; font-weight: 400; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 16px; height: 1px; background: var(--blue); }
.guide__form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; max-width: 560px; }
.field--wide, .guide__form .btn, .form__msg { grid-column: 1 / -1; }
.guide__form .btn { justify-self: start; margin-top: 6px; }
.field { position: relative; }
.field input { width: 100%; padding: 22px 0 10px; border: 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; background: transparent; font: 400 1rem/1.4 var(--sans); color: var(--black); outline: none; transition: border-color .4s; }
.field input:focus { border-color: var(--blue); }
.field label { position: absolute; left: 0; top: 22px; pointer-events: none; font-size: .95rem; color: var(--mute-dark); transform-origin: left; transition: transform .35s var(--ease), color .35s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.78); color: var(--black); }
.field.is-error input { border-color: #d0342c; }
.hp { position: absolute; left: -9999px; }
.form__msg { margin: 0; min-height: 1.4em; font-size: .9rem; }
.form__msg a { color: var(--blue); border-bottom: 1px solid currentColor; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 28px 56px 28px 0; font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 300 1.1rem/1 var(--sans); transition: transform .5s var(--ease), background .3s, border-color .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq details p { margin: 0; padding: 0 56px 30px 0; color: var(--mute); max-width: 640px; }

/* ---------- Book ---------- */
.book { text-align: center; border-top: 1px solid var(--line); overflow: hidden; }
.book::before { content: ""; position: absolute; left: 50%; top: 0; width: 90vmax; height: 60vmax; transform: translate(-50%, -55%); background: radial-gradient(closest-side, rgba(47,91,255,.22), transparent 70%); pointer-events: none; }
.book__head { position: relative; display: flex; flex-direction: column; align-items: center; }
.book__head .eyebrow { justify-content: center; }
.book__title { margin: 0 0 28px; font: 400 clamp(2.6rem, 7.6vw, 7.4rem)/.95 var(--serif); letter-spacing: -.04em; }
.book__head .intro { text-align: center; }
.book__embed { position: relative; margin: clamp(56px, 7vw, 88px) auto 0; max-width: 1040px; min-height: 140px; border: 1px solid var(--line); background: rgba(255,255,255,.015); display: grid; place-items: center; }
.book__embed.has-cal { min-height: 640px; display: block; overflow: auto; }
.book__embed iframe { display: block; width: 100%; min-height: 700px; border: 0; }
.book__fallback { padding: 48px 20px; }
.book__alt { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 40px; color: var(--mute); font-size: .9rem; }
.contact-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 100px; color: var(--white); font-size: .86rem; transition: border-color .3s, background .3s; }
.contact-pill:hover { border-color: var(--blue); background: var(--blue-soft); }
.contact-pill svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Footer ---------- */
.footer { padding: 60px var(--gutter) 34px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { font: 400 clamp(3.6rem, 15.5vw, 16rem)/.85 var(--serif); letter-spacing: -.05em; white-space: nowrap; margin-bottom: 40px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--mute); padding-right: 76px; }
.footer__links { display: flex; gap: 26px; }
.footer__links a:hover { color: var(--white); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 4vw; background: rgba(0,0,0,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__video { width: min(100%, 1400px); max-height: 86vh; background: #000; transform: scale(.96); transition: transform .6s var(--ease); }
.modal.is-open .modal__video { transform: none; }
.modal__close { position: absolute; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); font-size: 1rem; transition: background .3s; }
.modal__close:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- Floating & mobile CTA ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--black); box-shadow: 0 14px 40px -10px rgba(0,0,0,.6); transition: transform .4s var(--ease), background .3s, color .3s; }
.wa-float:hover { transform: scale(1.08); background: var(--blue); color: var(--white); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.mobile-cta { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav > .btn { display: none; }
  .nav__toggle { display: block; }
  .hero__bottom, .head--split, .guide__inner, .faq__inner, .film, .film:nth-child(even) { grid-template-columns: 1fr; }
  .film:nth-child(even) .film__media { order: 0; }
  .hero__actions { justify-self: start; }
  .work__pin { grid-template-columns: 1fr; padding-left: var(--gutter); padding-right: var(--gutter); }
  .work__intro { padding: 0; margin-bottom: 48px; }
  .work__intro::after { display: none; }
  .work__progress { display: none; }
  .work__track { flex-direction: column; gap: 64px; padding-right: 0; transform: none !important; }
  .card { flex: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step { padding-bottom: 40px; }
  .step__num { margin-bottom: 26px; }
  .service { grid-template-columns: 50px 1fr 40px; }
  .service p { grid-column: 2 / 3; }
  .service__arrow { grid-row: 1; grid-column: 3; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof__item:nth-child(3) { border-left: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .hide-sm { display: none; }
  .hero { padding-top: 120px; padding-bottom: 48px; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__title .line:nth-child(3) { text-align: left; }
  .hero__actions .btn { width: 100%; justify-content: center; text-align: center; }
  .reel__frame { clip-path: none; }
  .reel__play { width: 72px; height: 72px; margin: -36px; }
  .reel__label { padding: 14px 16px; font-size: .58rem; }
  .corner { display: none; }
  .proof__item { padding: 26px 14px; }
  .stores__grid { grid-template-columns: 1fr; }
  .stores__grid .card__media { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 34px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .service { grid-template-columns: 1fr 30px; gap: 10px 16px; padding: 28px 0; }
  .service h3, .service .mono { grid-column: 1; }
  .service p { grid-column: 1 / -1; }
  .service__arrow { grid-row: 2; grid-column: 2; }
  .guide__form { grid-template-columns: 1fr; }
  .guide__form .btn { width: 100%; justify-content: center; }
  .faq summary, .faq details p { padding-right: 48px; }
  .card__visit { opacity: 1; transform: none; }
  .wa-float { bottom: 90px; right: 16px; width: 52px; height: 52px; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(5,5,5,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { width: 100%; justify-content: center; padding: 17px 20px; }
  .footer { padding-bottom: 100px; }
  .footer__row { padding-right: 0; }
  .book__embed .btn { width: 100%; justify-content: center; }
  .logo__word { letter-spacing: .26em; }
}

/* =====================================================================
   ARABIC + RIGHT-TO-LEFT (used by /ar/ pages)
   ===================================================================== */
html[lang="ar"] {
  --serif: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  --sans: "IBM Plex Sans Arabic", "Geist", system-ui, sans-serif;
}
html[lang="ar"] body { font-weight: 400; line-height: 1.85; }
/* Arabic letters must never be spaced apart or upper-cased */
html[lang="ar"] .mono, html[lang="ar"] .eyebrow, html[lang="ar"] .badge, html[lang="ar"] .film__index,
html[lang="ar"] .card__no, html[lang="ar"] .card__visit, html[lang="ar"] .film__sound, html[lang="ar"] .cover__brand {
  font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: .8rem;
}
html[lang="ar"] .h2, html[lang="ar"] .hero__title, html[lang="ar"] .book__title, html[lang="ar"] .value__big,
html[lang="ar"] .film__title, html[lang="ar"] .card__name, html[lang="ar"] .service h3, html[lang="ar"] .step h3,
html[lang="ar"] .faq summary, html[lang="ar"] .menu a, html[lang="ar"] .cover__title, html[lang="ar"] .review blockquote,
html[lang="ar"] .case__title, html[lang="ar"] .case h2 { letter-spacing: 0; }
html[lang="ar"] .h2 { line-height: 1.3; font-weight: 700; }
html[lang="ar"] .hero__title { line-height: 1.25; font-weight: 700; font-size: clamp(2.8rem, 8.4vw, 8.6rem); }
html[lang="ar"] .book__title { line-height: 1.3; font-weight: 700; }
html[lang="ar"] .value__big { line-height: 1.3; font-weight: 700; }
html[lang="ar"] .film__title, html[lang="ar"] .card__name, html[lang="ar"] .service h3, html[lang="ar"] .step h3 { font-weight: 700; line-height: 1.35; }
html[lang="ar"] .h2 em, html[lang="ar"] .hero__title em, html[lang="ar"] .book__title em, html[lang="ar"] .value__big em { font-style: normal; }
html[lang="ar"] .faq summary { font-weight: 700; }

[dir="rtl"] .logo, [dir="rtl"] .marquee, [dir="rtl"] .proof__num, [dir="rtl"] .footer__big, [dir="rtl"] .cover__big { direction: ltr; }
[dir="rtl"] .footer__big { text-align: right; }
[dir="rtl"] .hero__title .line:nth-child(2) { padding-left: 0; padding-right: 8vw; }
[dir="rtl"] .hero__title .line:nth-child(3) { text-align: left; }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px); }
[dir="rtl"] .link-under::after, [dir="rtl"] .work__progress span, [dir="rtl"] .service::before { transform-origin: right; }
[dir="rtl"] .proof__item + .proof__item, [dir="rtl"] .stat + .stat, [dir="rtl"] .step + .step { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .stat { padding: 40px 0 36px 32px; }
[dir="rtl"] .stat + .stat { padding-left: 32px; padding-right: 32px; }
[dir="rtl"] .step { padding: 40px 0 0 32px; }
[dir="rtl"] .step + .step { padding-right: 32px; }
[dir="rtl"] .service:hover h3 { transform: translateX(-14px); }
[dir="rtl"] .service:hover .service__arrow { transform: rotate(-45deg) scaleX(-1); }
[dir="rtl"] .work__intro { padding: 0 var(--gutter) 0 48px; }
[dir="rtl"] .work__intro::after { left: auto; right: 100%; background: linear-gradient(270deg, var(--black), transparent); }
[dir="rtl"] .work__track { padding-right: 0; padding-left: var(--gutter); }
[dir="rtl"] .field label { left: auto; right: 0; transform-origin: right; }
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .ticks li::before { left: auto; right: 0; }
[dir="rtl"] .faq summary { padding: 28px 0 28px 56px; }
[dir="rtl"] .faq summary::after { right: auto; left: 0; }
[dir="rtl"] .faq details p { padding: 0 0 30px 56px; }
[dir="rtl"] .guide__form .btn { justify-self: start; }
[dir="rtl"] .card__visit { right: auto; left: 18px; }
[dir="rtl"] .cover { transform: rotateY(14deg) rotateX(4deg); }
[dir="rtl"] .cover:hover { transform: rotateY(4deg) rotateX(1deg); }

@media (max-width: 1100px) {
  [dir="rtl"] .work__intro { padding: 0; }
  [dir="rtl"] .work__track { padding-left: 0; }
  [dir="rtl"] .step:nth-child(3) { border-right: 0; padding-right: 0; }
  [dir="rtl"] .proof__item:nth-child(3) { border-right: 0; }
}
@media (max-width: 720px) {
  [dir="rtl"] .hero__title .line:nth-child(2) { padding-right: 0; }
  [dir="rtl"] .hero__title .line:nth-child(3) { text-align: right; }
  [dir="rtl"] .stat, [dir="rtl"] .stat + .stat { padding: 34px 0; border-right: 0; }
  [dir="rtl"] .step + .step { border-right: 0; padding-right: 0; }
  [dir="rtl"] .faq summary { padding-left: 48px; }
  [dir="rtl"] .faq details p { padding-left: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero__title .line > span { opacity: 1; transform: none; }
  .loader { display: none; }
  .reel__frame { clip-path: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Language switch ---------- */
.lang-switch { padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; color: var(--white) !important; }
.lang-switch:hover { border-color: var(--blue); }
.lang-link { color: var(--white); border-bottom: 1px solid var(--blue); }

/* =====================================================================
   CASE-STUDY PAGES  (site/work/*.html, site/ar/work/*.html)
   ===================================================================== */
.case-page .nav__links { display: flex; }
.case-hero { padding: 150px var(--gutter) clamp(48px, 6vw, 80px); max-width: 1400px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; color: var(--faint); }
.crumbs a:hover { color: var(--white); }
.case__title { margin: 0; font: 400 clamp(3.2rem, 9vw, 9rem)/.95 var(--serif); letter-spacing: -.045em; }
.case__kw { margin: 22px 0 0; font: 400 clamp(1.3rem, 2.4vw, 2rem)/1.25 var(--serif); font-style: italic; color: var(--blue); max-width: 900px; }
.case__intro { margin: 26px 0 0; max-width: 680px; color: var(--mute); font-size: 1.1rem; }
.case__facts { display: grid; grid-template-columns: repeat(5, 1fr); margin: clamp(48px, 6vw, 72px) 0 0; border-top: 1px solid var(--line); }
.case__facts div { padding: 22px 18px 0 0; }
.case__facts dt { color: var(--faint); margin-bottom: 8px; }
.case__facts dd { margin: 0; font-size: .98rem; }
.case__facts a { border-bottom: 1px solid var(--blue); }
.case-media { padding: 0 var(--gutter); }
.case-media__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d0e; }
.case-media__frame img, .case-media__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-media__frame video { opacity: 0; transition: opacity .8s var(--ease); }
.case-media__frame video.is-playing { opacity: 1; }
.case-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(80px, 10vw, 140px) var(--gutter); }
.case-block p { margin: 0 0 28px; color: var(--mute); font-size: 1.05rem; }
.case-block .ticks li { color: var(--white); font-weight: 300; padding-bottom: 6px; }
.case-cta { margin: 0 var(--gutter); padding: clamp(56px, 7vw, 96px); border: 1px solid var(--line); text-align: center; background: linear-gradient(160deg, rgba(47,91,255,.12), transparent 55%); }
.case-cta .intro { margin: 24px auto 36px; text-align: center; }
.case-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.case-next { display: grid; gap: 10px; padding: clamp(80px, 10vw, 140px) var(--gutter); color: var(--mute); }
.case-next__name { font: 400 clamp(2.6rem, 7vw, 6.4rem)/1 var(--serif); letter-spacing: -.04em; color: var(--white); transition: color .4s; }
.case-next:hover .case-next__name { color: var(--blue); }
.case-next .arrow { display: inline-block; transition: transform .5s var(--ease); }
.case-next:hover .arrow { transform: translateX(10px); }
[dir="rtl"] .case-next:hover .arrow { transform: translateX(-10px); }
[dir="rtl"] .case__facts div { padding: 22px 0 0 18px; }
html[lang="ar"] .case__title, html[lang="ar"] .case-next__name { letter-spacing: 0; font-weight: 700; line-height: 1.2; }
html[lang="ar"] .case__kw { font-style: normal; }
@media (max-width: 1100px) {
  .case-page .nav__links { display: flex; }
  .case-page .nav__links a:first-child { display: none; }
  .case__facts { grid-template-columns: repeat(2, 1fr); }
  .case-body { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .case-hero { padding-top: 120px; }
  .case-page .nav > .btn { display: none; }
  .case__facts { grid-template-columns: 1fr 1fr; }
  .case-cta { padding: 40px 22px; }
  .case-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Value block (4+ years) — replaces the old stats strip ---------- */
.proof { grid-template-columns: 1.35fr 1fr 1fr 1.15fr; align-items: stretch; }
.proof__lead, .proof__item, .proof__cta { padding: 40px 30px; display: flex; flex-direction: column; gap: 14px; }
.proof__lead { padding-inline-start: 0; }
.proof__lead .proof__num { font-size: clamp(4.6rem, 8vw, 7.4rem); line-height: .9; }
.proof__lead p, .proof__item p { margin: 0; color: var(--mute); font-size: .98rem; max-width: 340px; }
.proof__lead strong { color: var(--white); font-weight: 500; }
.proof__item h3 { margin: 0; font: 400 1.6rem/1.15 var(--serif); color: var(--white); }
.proof__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font-size: 1.05rem; }
.proof__item + .proof__item, .proof__item, .proof__cta { border-left: 1px solid var(--line); }
.proof__cta { justify-content: center; background: linear-gradient(160deg, rgba(47,91,255,.16), rgba(47,91,255,.02) 70%); }
.proof__cta p { margin: 0; font: 400 1.45rem/1.2 var(--serif); color: var(--white); }
.proof__cta .btn { align-self: flex-start; padding: 16px 24px; font-size: .86rem; }
.proof__cta .mono { color: var(--faint); }
html[lang="ar"] .proof__item h3, html[lang="ar"] .proof__cta p { font-weight: 700; letter-spacing: 0; line-height: 1.4; }
[dir="rtl"] .proof__item, [dir="rtl"] .proof__item + .proof__item, [dir="rtl"] .proof__cta { border-left: 0; border-right: 1px solid var(--line); }
@media (max-width: 1100px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof__lead { grid-column: 1 / -1; padding-inline-end: 0; border-bottom: 1px solid var(--line); }
  .proof__item:nth-child(2), [dir="rtl"] .proof__item:nth-child(2) { border-left: 0; border-right: 0; padding-inline-start: 0; border-top: 0; }
  .proof__item:nth-child(3) { border-top: 0; }
  .proof__cta { grid-column: 1 / -1; border-left: 0; border-right: 0 !important; border-top: 1px solid var(--line); padding: 36px 24px; }
}
@media (max-width: 720px) {
  .proof { grid-template-columns: 1fr; }
  .proof__lead, .proof__item, .proof__cta { padding: 30px 0; border-left: 0 !important; border-right: 0 !important; }
  .proof__item + .proof__item, .proof__item:nth-child(3) { border-top: 1px solid var(--line); }
  .proof__cta { padding: 32px 20px; }
  .proof__cta .btn { align-self: stretch; justify-content: center; }
}
@media (max-width: 1100px) and (min-width: 721px) { [dir="rtl"] .proof__item:nth-child(3) { border-right: 1px solid var(--line); } }
[dir="rtl"] .proof__lead .proof__num { text-align: right; }

/* =====================================================================
   REFINEMENT PASS — clearer type, honest details, less "AI template"
   ===================================================================== */
/* Display serif: lower optical size = sturdier hairlines, easier to read */
.h2, .hero__title, .book__title, .value__big, .film__title, .card__name, .service h3, .step h3,
.faq summary, .stat__num, .proof__num, .case__title, .case-next__name, .footer__big, .menu a, .cover__title, .proof__item h3, .proof__cta p, .edge__big, .edge__col h3 {
  font-variation-settings: "opsz" 18; font-weight: 500;
}
.hero__title { letter-spacing: -.035em; }
.h2 { letter-spacing: -.02em; line-height: 1.04; }
/* Body copy: brighter and regular weight */
body { font-weight: 400; }
:root { --mute: rgba(255,255,255,.72); --faint: rgba(255,255,255,.46); --mute-dark: rgba(5,5,5,.68); }
/* Labels: calmer tracking, slightly larger */
.mono { letter-spacing: .08em; font-size: .74rem; }
.eyebrow { letter-spacing: .1em; font-size: .74rem; }
/* Units (%, s, +) in a clean sans so they read instantly */
.stat__num small, .proof__num small, .st b small {
  font-family: var(--sans); font-weight: 500; font-size: .3em; letter-spacing: 0;
  vertical-align: 1.05em; margin-left: .1em; color: var(--blue);
}
[dir="rtl"] .stat__num small, [dir="rtl"] .proof__num small { margin-left: 0; margin-right: .1em; }
/* No pulsing / glowing decoration */
.btn--primary { animation: none; box-shadow: none; }
.dot::after { display: none; }
.dot { width: 8px; height: 8px; border-radius: 0; }
.rec { animation: none; }
.badge { border: 0; padding: 0; gap: 12px; }
.hero::before { opacity: .55; }
.book::before { opacity: .5; }
/* Nav: every item on one line, vertically centred */
.nav__links { align-items: center; }
.nav__links a { line-height: 1; padding: 10px 0; }
.lang-switch { padding: 10px 16px !important; line-height: 1; }
/* Footer wordmark centred in both languages */
.footer__big { text-align: center !important; font-size: clamp(3rem, 12.5vw, 13rem); white-space: nowrap; }
/* Arabic hero: room for marks above and below letters, no stagger */
html[lang="ar"] .hero__title { line-height: 1.18; }
html[lang="ar"] .hero__title .line { padding: .14em 0 .32em; margin-bottom: -.2em; }
[dir="rtl"] .hero__title .line:nth-child(2) { padding-right: 0; }
[dir="rtl"] .hero__title .line:nth-child(3) { text-align: right; }
html[lang="ar"] .h2, html[lang="ar"] .book__title, html[lang="ar"] .value__big, html[lang="ar"] .edge__big { padding-bottom: .12em; }
/* Value block: plain, no gradient box */
.proof__cta { background: none; }
.proof__cta p { font-size: 1.5rem; }

/* ---------- Selected Work: slider with arrow buttons (replaces scroll-pinning) ---------- */
.work { padding: clamp(96px, 12vw, 160px) 0; height: auto !important; }
.work__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding: 0 var(--gutter); margin-bottom: clamp(44px, 5vw, 72px); }
.work__side { display: flex; flex-direction: column; gap: 28px; }
.work__nav { display: flex; gap: 12px; }
.work__btn { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); color: var(--white); font-size: 1.3rem; display: grid; place-items: center; transition: background .35s, border-color .35s, opacity .35s, transform .35s var(--ease); }
.work__btn:hover:not(:disabled) { background: var(--white); color: var(--black); border-color: var(--white); }
.work__btn:active:not(:disabled) { transform: scale(.94); }
.work__btn:disabled { opacity: .3; cursor: default; }
.work__track { display: flex; gap: clamp(20px, 2.6vw, 36px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 var(--gutter) 8px; scrollbar-width: none; transform: none !important; cursor: grab; }
.work__track::-webkit-scrollbar { display: none; }
.work__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.work__track.is-dragging .card { pointer-events: none; }
.work__track .card { flex: 0 0 clamp(290px, 42vw, 660px); scroll-snap-align: start; scroll-margin-inline: var(--gutter); }
.work__progress { margin: 36px var(--gutter) 0; width: auto; height: 1px; background: var(--line); display: block !important; }
.work__progress span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(.1); transition: transform .4s var(--ease); }
[dir="rtl"] .work__progress span { transform-origin: right; }
@media (max-width: 1100px) {
  .work__head { grid-template-columns: 1fr; gap: 28px; }
  .work__track { flex-direction: row; gap: 18px; }
  .work__track .card { flex: 0 0 82vw; }
}
@media (max-width: 720px) { .work__btn { width: 54px; height: 54px; } }

/* ---------- Edge: business + technology ---------- */
.edge { border-top: 1px solid var(--line); }
.edge__top { max-width: 1180px; }
.edge__big { margin: 0; font: 500 clamp(2.4rem, 6vw, 5.6rem)/1.02 var(--serif); letter-spacing: -.03em; }
.edge__big em { color: var(--blue); }
.edge__intro { margin: 34px 0 0; max-width: 760px; color: var(--mute); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.7; }
.edge__cols { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.edge__col { padding: 36px 32px 0 0; }
.edge__col + .edge__col { padding-left: 32px; border-left: 1px solid var(--line); }
.edge__col .mono { color: var(--blue); }
.edge__col h3 { margin: 18px 0 12px; font: 500 clamp(1.4rem, 2vw, 1.8rem)/1.2 var(--serif); }
.edge__col p { margin: 0; color: var(--mute); }
.edge__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(48px, 6vw, 72px); }
.edge__cta .mono { color: var(--faint); }
html[lang="ar"] .edge__big { line-height: 1.35; font-weight: 700; letter-spacing: 0; }
html[lang="ar"] .edge__big em { font-style: normal; }
html[lang="ar"] .edge__col h3 { font-weight: 700; line-height: 1.45; letter-spacing: 0; }
[dir="rtl"] .edge__col { padding: 36px 0 0 32px; }
[dir="rtl"] .edge__col + .edge__col { padding-left: 32px; padding-right: 32px; border-left: 0; border-right: 1px solid var(--line); }
@media (max-width: 900px) {
  .edge__cols { grid-template-columns: 1fr; }
  .edge__col, .edge__col + .edge__col, [dir="rtl"] .edge__col, [dir="rtl"] .edge__col + .edge__col { padding: 30px 0; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .edge__cta .btn { width: 100%; justify-content: center; }
}
[dir="rtl"] .work__track { padding: 0 var(--gutter) 8px; }
@media (max-width: 1100px) { [dir="rtl"] .work__track { padding: 0 var(--gutter) 8px; } }
/* loader fully hidden once it has slid away */
.is-loaded .loader { visibility: hidden; transition: transform 1s var(--ease-io) .1s, visibility 0s linear 1.2s; }
@media (max-width: 720px) { .proof__cta { padding: 32px 0 !important; } .proof__lead .proof__num { font-size: 4.6rem; } }

/* ---------- No custom cursor: the system pointer is clearer ---------- */
.cursor { display: none !important; }
/* Arabic headings in Noto Kufi: balanced weight and spacing */
html[lang="ar"] .h2, html[lang="ar"] .hero__title, html[lang="ar"] .book__title, html[lang="ar"] .value__big, html[lang="ar"] .edge__big,
html[lang="ar"] .film__title, html[lang="ar"] .card__name, html[lang="ar"] .service h3, html[lang="ar"] .step h3, html[lang="ar"] .edge__col h3,
html[lang="ar"] .proof__item h3, html[lang="ar"] .proof__cta p, html[lang="ar"] .faq summary, html[lang="ar"] .case__title, html[lang="ar"] .case-next__name { font-weight: 600; font-variation-settings: normal; }
html[lang="ar"] .hero__title { font-size: clamp(2.4rem, 7vw, 7.2rem); line-height: 1.3; }
html[lang="ar"] .h2 { line-height: 1.45; }
html[lang="ar"] .edge__big { font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.45; }
html[lang="ar"] .book__title { font-size: clamp(2.2rem, 6vw, 6rem); line-height: 1.4; }
html[lang="ar"] .value__big { font-size: clamp(2rem, 5vw, 4.6rem); line-height: 1.45; }

/* ---------- Edge section on light background (stands out right after the hero) ---------- */
.edge.light { border-top: 0; }
.edge.light .edge__big { color: var(--black); }
.edge.light .edge__intro, .edge.light .edge__col p { color: var(--mute-dark); }
.edge.light .edge__cols, .edge.light .edge__col + .edge__col, [dir="rtl"] .edge.light .edge__col + .edge__col { border-color: var(--line-dark); }
.edge.light .edge__col h3 { color: var(--black); }
.edge.light .edge__cta .mono { color: rgba(5,5,5,.5); }
.edge.light .eyebrow { color: var(--mute-dark); }
@media (max-width: 900px) { .edge.light .edge__col { border-bottom-color: var(--line-dark); } }

/* ---------- Secure payments band (eCommerce) ---------- */
.pay { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 96px); margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.pay__eyebrow i { font-style: normal; }
.pay__title { margin: 0; font: 500 clamp(2rem, 4vw, 3.6rem)/1.05 var(--serif); font-variation-settings: "opsz" 18; letter-spacing: -.02em; }
.pay__title em { color: var(--blue); }
.pay__copy p { margin: 26px 0 0; max-width: 520px; color: var(--mute); font-size: 1.05rem; }
.pay__points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pay__points li { padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.pay__points b { font-weight: 500; position: relative; padding-inline-start: 22px; }
.pay__points b::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 10px; height: 10px; border: 1.5px solid var(--blue); transform: rotate(45deg); }
.pay__points span { color: var(--mute); font-size: .92rem; padding-inline-start: 22px; }
.pay__list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay__list li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; font: 500 .82rem var(--sans); color: var(--white); }
html[lang="ar"] .pay__title { font-weight: 600; line-height: 1.45; letter-spacing: 0; font-variation-settings: normal; }
html[lang="ar"] .pay__title em { font-style: normal; }
[dir="rtl"] .pay__points li { padding: 22px 0 22px 18px; }
[dir="rtl"] .pay__list { justify-content: flex-end; }
@media (max-width: 900px) { .pay { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pay__points { grid-template-columns: 1fr; } }
/* the footer wordmark keeps the brand serif in every language */
.footer__big { font-family: "Bodoni Moda", "Didot", serif !important; font-variation-settings: "opsz" 18; font-weight: 500 !important; }

.edge__tag { margin: 22px 0 0; color: var(--blue) !important; }

/* =====================================================================
   TYPOGRAPHY SYSTEM v2 (research-backed)
   Headlines: Geist (neo-grotesk, like the Swiss sans fonts premium studios use)
   Accent:    Bodoni Moda Italic — ONLY for the blue emphasis words and the "AM" wordmark
   Labels:    Geist Mono
   Arabic:    Noto Kufi Arabic (headlines) + IBM Plex Sans Arabic (text)
   ===================================================================== */
:root { --display: "Geist", system-ui, sans-serif; --accent: "Bodoni Moda", "Didot", serif; }
html[lang="ar"] { --display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif; }
.h2, .hero__title, .book__title, .value__big, .edge__big, .film__title, .card__name, .service h3, .step h3,
.faq summary, .stat__num, .proof__num, .case__title, .case-next__name, .menu a, .edge__col h3, .proof__item h3,
.proof__cta p, .pay__title, .case__kw, .step__num {
  font-family: var(--display) !important; font-weight: 600; font-variation-settings: normal; font-style: normal;
}
.hero__title { letter-spacing: -.055em; line-height: .92; font-weight: 600; }
.h2, .edge__big, .book__title, .value__big, .pay__title, .case__title { letter-spacing: -.045em; line-height: 1; }
.film__title, .card__name, .case-next__name { letter-spacing: -.035em; }
.service h3, .step h3, .edge__col h3, .proof__item h3, .faq summary, .proof__cta p { letter-spacing: -.02em; font-weight: 500; line-height: 1.2; }
.stat__num, .proof__num { letter-spacing: -.06em; font-weight: 500; }
.step__num { font-weight: 400; letter-spacing: -.02em; }
.case__kw { font-weight: 500; letter-spacing: -.02em; }
/* the accent: elegant serif italic for emphasis words only */
.h2 em, .hero__title em, .book__title em, .value__big em, .edge__big em, .pay__title em, .case__kw em {
  font-family: var(--accent); font-style: italic; font-weight: 500; letter-spacing: -.02em; font-variation-settings: "opsz" 24;
}
.hero__title em { letter-spacing: -.03em; }
/* Arabic keeps one family; no Latin serif inside Arabic text */
html[lang="ar"] .h2 em, html[lang="ar"] .hero__title em, html[lang="ar"] .book__title em, html[lang="ar"] .value__big em,
html[lang="ar"] .edge__big em, html[lang="ar"] .pay__title em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: 0; }
html[lang="ar"] .hero__title, html[lang="ar"] .h2, html[lang="ar"] .edge__big, html[lang="ar"] .book__title, html[lang="ar"] .value__big,
html[lang="ar"] .pay__title, html[lang="ar"] .service h3, html[lang="ar"] .step h3, html[lang="ar"] .edge__col h3, html[lang="ar"] .card__name,
html[lang="ar"] .film__title, html[lang="ar"] .faq summary, html[lang="ar"] .proof__item h3, html[lang="ar"] .proof__cta p { letter-spacing: 0; }
/* the wordmark stays in the brand serif */
.logo__am, .footer__big { font-family: var(--accent) !important; }

/* ---------- Comparison: AM Outcomes vs freelancer vs large agency ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare { border-top: 1px solid var(--line); }
.cmp__wrap { width: 100%; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .98rem; }
.cmp th, .cmp td { padding: 22px 24px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { padding-top: 0; padding-bottom: 20px; font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid rgba(255,255,255,.28); }
.cmp thead th.cmp__us { color: var(--white); font: 600 1.05rem var(--display); letter-spacing: -.01em; text-transform: none; border-top: 2px solid var(--blue); padding-top: 20px; }
.cmp tbody th { width: 26%; font: 500 1rem/1.4 var(--sans); color: var(--white); padding-inline-start: 0; }
.cmp td { color: var(--mute); }
.cmp .cmp__us { background: rgba(47, 91, 255, .07); color: var(--white); font-weight: 500; }
.cmp td.cmp__us { display: table-cell; }
.cmp__tick { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-inline-end: 10px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .7rem; vertical-align: 1px; }
.cmp__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(40px, 5vw, 64px); }
.cmp__cta .mono { color: var(--faint); }
html[lang="ar"] .cmp thead th { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: .85rem; }
html[lang="ar"] .cmp thead th.cmp__us { font-family: var(--accent); }
@media (max-width: 760px) {
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp thead { display: none; }
  .cmp tr { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .cmp tbody th { width: 100%; padding: 0 0 12px; border: 0; font-size: 1.05rem; }
  .cmp td, .cmp td.cmp__us { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 10px 14px; border: 0; font-size: .92rem; }
  .cmp td::before { content: attr(data-label); font: 500 .68rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  html[lang="ar"] .cmp td::before { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: .78rem; }
  .cmp td.cmp__us::before { color: var(--white); }
  .cmp__tick { display: none; }
  .cmp__cta .btn { width: 100%; justify-content: center; }
}
.cmp thead th:first-child { width: 26%; }
