/* Abdo Tamim — recreation 84 (andreas.vision layout, sunset sky) */
:root {
  --ink: #000;
  --paper: #fff;
  --soft: rgba(0, 0, 0, .66);
  --faint: rgba(0, 0, 0, .42);
  --rule: rgba(0, 0, 0, .1);
  --card: #fafafa;
  --card-hover: #f5f5f5;
  --chip: #f1f1f2;

  /* sunset sky */
  --sky-burnt: #b23f17;
  --sky-deep: #e8622c;
  --sky-mid: #f5a57a;
  --sky-pale: #ffffff;
  --accent: #e8622c;

  --font-site: "Geist", -apple-system, system-ui, sans-serif;
  --font-hl: "Newsreader", Georgia, serif;

  --gutter: max(clamp(20px, 6.1vw, 88px), calc((100vw - 1264px) / 2));
  --type-display: clamp(44px, 8.2vw + 18px, 132px);
  --type-title: clamp(56px, 7vw + 4px, 112px);
  --type-sub: clamp(36px, 3.6vw + 8px, 60.32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-site);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px var(--gutter) 0;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.pill {
  display: flex; align-items: center; gap: 0;
  height: 48px; padding-inline: 16px 28px;
  background: #f4f4f5; border-radius: 24px;
}
.logo { display: grid; place-items: center; width: 32px; height: 32px; margin-inline-end: 47px; }
.logo svg { width: 24px; height: 24px; }
.links { display: flex; gap: 25px; margin: 0; padding: 0; list-style: none; }
.links a { font-size: 16px; line-height: 20px; transition: color .1s ease-out; }
.links a:hover { color: var(--soft); }
.menu-btn { display: none; width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.cta { display: flex; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 24px;
  background: #000; color: #fff; font-size: 16px; font-weight: 500;
  transition: transform .2s cubic-bezier(.22,1,.36,1), background-color .1s;
}
.btn.round { width: 48px; padding: 0; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { height: 44px; padding: 0 24px; }
.btn.sm.round { width: 44px; padding: 0; }
.btn-row { display: flex; gap: 8px; align-items: center; }
.menu-panel {
  position: absolute; top: 86px; inset-inline-start: var(--gutter);
  display: none; flex-direction: column; gap: 2px;
  min-width: 220px; padding: 8px; border-radius: 20px;
  background: #f4f4f5; box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.menu-panel a { padding: 10px 14px; border-radius: 12px; font-size: 17px; }
.menu-panel a:hover { background: #ebebec; }
.menu-panel.open { display: flex; }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 1; height: calc(1.8 * 100vh); height: calc(1.8 * 100svh); }
.hero .sticky {
  --out: 0; --bio: 0;
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; pointer-events: none;
}
.hero canvas.sky { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.hero .copy {
  position: absolute; inset: 0 0 104px;
  display: grid; place-content: center; justify-items: center; gap: 32px;
  padding: 72px var(--gutter) 0; text-align: center;
}
.hero .title {
  display: grid; max-width: 12em; margin: 0;
  font-family: var(--font-hl); font-size: var(--type-display);
  font-style: italic; font-weight: 400; line-height: 1.12; letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero .before, .hero .after { grid-area: 1 / 1; align-self: center; }
.word { display: inline-block; position: relative; }
.word .text { display: inline-block; }
.word .mark { position: absolute; bottom: .08em; width: .16em; height: .16em; opacity: 0; background: var(--seed) center / 100% 100%; image-rendering: pixelated; }
.word[data-side="left"] { --dir: -1; }
.word[data-side="left"] .text { transform-origin: left bottom; }
.word[data-side="left"] .mark { right: calc(100% + .04em); }
.word[data-side="right"] { --dir: 1; }
.word[data-side="right"] .text { transform-origin: right bottom; }
.word[data-side="right"] .mark { left: calc(100% + .06em); }
.animate .word { --at: calc(var(--delay, 0ms) + var(--i) * 70ms); }
.animate .word .text { animation: word-text 500ms step-end var(--at) both, word-drift 250ms cubic-bezier(.22,1,.36,1) calc(var(--at) + 275ms) both; }
.animate .word .mark { animation: word-mark 500ms step-end var(--at) both; }
@keyframes word-mark { 0% { opacity: 0; scale: 1; } 1% { opacity: 1; scale: 1; } 15% { scale: 1.5; } 30% { scale: 2; } 55% { opacity: 0; scale: 0; } 100% { opacity: 0; } }
@keyframes word-text { 0% { opacity: 0; scale: .35; } 30% { opacity: 1; scale: .35; } 45% { scale: .65; } 55%, 100% { opacity: 1; scale: 1; } }
@keyframes word-drift { from { translate: calc(var(--dir) * .08em) 0; } to { translate: 0 0; } }
.hero .before { --delay: 120ms; }
.hero .sticky.swapped .before { visibility: hidden; }
.hero .before .word { --gone: clamp(0, calc(var(--out) * 2 - var(--i) * .14), 1); opacity: calc(1 - var(--gone)); translate: 0 calc(var(--gone) * -.25em); }
.hero .after .word { opacity: 0; }
.hero .after { visibility: hidden; }
.hero .sticky.swapped .after { visibility: visible; }
.hero .sticky.swapped .after .word { opacity: 1; }
.hero .slot { display: inline-block; width: .74em; height: .74em; vertical-align: -0.02em; }
.hero .bio { max-width: 34em; margin: 0; font-size: 20px; line-height: 1.45; text-wrap: pretty; opacity: var(--bio); }

/* ---------- work ---------- */
.peek { position: relative; z-index: 3; margin-top: -80px; will-change: transform; }
.work { position: relative; z-index: 3; padding: 140px var(--gutter) 0; }
.work-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 48px; }
.work-head h2 { grid-column: 1 / 8; margin: 0; font-size: var(--type-sub); font-weight: 500; line-height: 1; letter-spacing: -0.01em; }
.work-head p { grid-column: 9 / 13; margin: 0; color: var(--soft); font-size: 17px; line-height: 1.42; }
.work-grid { display: grid; grid-template-columns: minmax(0, 2.81fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.featured { display: grid; gap: 56px; }
.feat { display: block; position: relative; }
.feat .media {
  position: relative; aspect-ratio: 719 / 358; overflow: hidden;
  border-radius: 28px; background: #f3f3f3; isolation: isolate;
}
.feat .media canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.shots { position: absolute; inset: 0; }
.shots img { position: absolute; height: auto; max-width: none; object-fit: cover; object-position: top center; transition: transform .5s cubic-bezier(.22,1,.36,1); }
/* one composition everywhere: whole desktop shot on top, whole phone overlapping its bottom corner */
.shots { --dx: 16%; --dy: 9%; --dw: 62%; --mx: 70%; --my: 30%; --mw: 14%; }
.shots .sd { inset-inline-start: var(--dx); top: var(--dy); width: var(--dw); aspect-ratio: 16 / 10; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 40px rgba(0,0,0,.16); }
.shots .sm { inset-inline-start: var(--mx); top: var(--my); width: var(--mw); aspect-ratio: 390 / 844; border-radius: 12px; border: 3px solid #141414; background: #141414; box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.feat:hover .shots .sd, .tile-card:hover .shots .sd { transform: translateY(-4px); }
.feat:hover .shots .sm, .tile-card:hover .shots .sm { transform: translateY(-8px); }
.feat .media.dark { background: radial-gradient(120% 100% at 30% 0%, #5a2410 0%, #24100a 55%, #120806 100%); }
.feat .media.dark::before { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; z-index: -1; }
.view {
  position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  height: 40px; min-width: 40px; padding: 0 10px; border-radius: 20px;
  background: #000; color: #fff; font-size: 16px; font-weight: 500;
  overflow: hidden; white-space: nowrap;
  transition: padding .25s cubic-bezier(.22,1,.36,1);
}
.view span { max-width: 0; opacity: 0; transition: max-width .25s cubic-bezier(.22,1,.36,1), opacity .2s; }
.view svg { width: 20px; height: 20px; flex: none; }
.feat:hover .view, .feat:focus-visible .view { padding-inline: 18px 10px; }
.feat:hover .view span, .feat:focus-visible .view span { max-width: 60px; opacity: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 10px; padding: 0; list-style: none; }
.tags li { padding: 2px 6px; border-radius: 6px; background: var(--chip); font-size: 13px; line-height: 18px; color: rgba(0,0,0,.72); }
.tags li.concept { background: #fde7dc; color: #a8380f; }
.feat h3 { max-width: 18em; margin: 0; font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.feat p { margin: 6px 0 0; color: var(--faint); font-size: 16px; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tile-card { display: block; }
.tile { position: relative; display: block; aspect-ratio: 256 / 171; overflow: hidden; border-radius: 16px; background: var(--bg, #efe6df); }
.tile .shots { --dx: 12.5%; --dy: 9%; --dw: 66%; --mx: 70.5%; --my: 37%; --mw: 17%; }
.tile .shots .sd { border-radius: 4px; }
.tile .shots .sm { border-radius: 7px; border-width: 2px; }
.tile-card .tags { margin: 10px 0 6px; }
.tile-card strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.25; }
.tile-card .why { display: block; margin-top: 3px; color: var(--faint); font-size: 14px; line-height: 1.4; }
.tile .flag-concept { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 1; padding: 2px 7px; border-radius: 6px; background: #fff; color: #a8380f; font-size: 11.5px; font-weight: 500; line-height: 16px; }

/* ---------- globe ---------- */
.globe-stage { position: relative; z-index: 1; height: calc(5 * 100vh); height: calc(5 * 100svh); margin-top: calc(-100vh + 160px); margin-top: calc(-100svh + 160px); }
.globe-stage .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; background: transparent; }
.globe-stage .sticky.filled { background: var(--sky-deep); }
.globe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-stage canvas.cells { image-rendering: pixelated; }
.chip {
  position: absolute; left: 0; top: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding-inline: 5px 8px; border-radius: 7px;
  background: #fff; color: #000; font-size: 14.5px; line-height: 1; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  opacity: 0; transition: opacity .25s;
  will-change: transform;
}
.chip.on { opacity: 1; }
.chip .flag { width: 18px; height: 13px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15); }
.flag.eg { background: linear-gradient(#ce1126 0 33.4%, #fff 33.4% 66.6%, #111 66.6%); }
.flag.sa { background: #006c35; position: relative; }
.flag.sa::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; height: 1.5px; background: #fff; border-radius: 1px; }
.flag.ae { background: linear-gradient(90deg, #ef3340 0 27%, transparent 27%), linear-gradient(#00843d 0 33.4%, #fff 33.4% 66.6%, #111 66.6%); }
.flag.de { background: linear-gradient(#111 0 33.4%, #dd0000 33.4% 66.6%, #ffce00 66.6%); }
.flag.gb { background: linear-gradient(#fff, #fff) center / 100% 3.5px no-repeat, linear-gradient(#fff, #fff) center / 3.5px 100% no-repeat, #012169; position: relative; }
.flag.gb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(#c8102e, #c8102e) center / 100% 1.5px no-repeat, linear-gradient(#c8102e, #c8102e) center / 1.5px 100% no-repeat; }
.gmark { position: absolute; left: 0; top: 0; z-index: 2; width: 66px; height: 66px; will-change: transform; opacity: 0; transition: opacity .3s; }
.gmark.on { opacity: 1; }
.gmark svg { width: 100%; height: 100%; display: block; }
.globe-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start;
  padding: 0 var(--gutter) 72px; color: #fff;
  opacity: var(--copy, 0); translate: 0 calc((1 - var(--copy, 0)) * 24px);
  pointer-events: none;
}
.globe-copy.live { pointer-events: auto; }
.globe-copy h2 { grid-column: 1 / 7; margin: 0; font-size: var(--type-sub); font-weight: 500; line-height: 1; letter-spacing: -0.01em; }
.globe-copy .r { grid-column: 8 / 13; display: grid; gap: 28px; }
.globe-copy p { margin: 0; font-size: 20px; line-height: 1.3; max-width: 24em; text-wrap: pretty; }

/* ---------- seam ---------- */
.seam { position: relative; z-index: 2; display: block; width: 100%; height: 176px; margin-top: -1px; margin-bottom: -66px; image-rendering: pixelated; }

/* ---------- ring (behind the store) ---------- */
.ring { position: relative; z-index: 1; height: 100vh; min-height: 760px; overflow: hidden; touch-action: pan-y; cursor: grab; }
.ring.dragging { cursor: grabbing; }
.ring .center {
  position: absolute; inset: 0; z-index: 20;
  display: grid; place-content: center; justify-items: center; gap: 0; text-align: center;
  padding: 120px var(--gutter) 0; pointer-events: none;
}
.ring h2 { margin: 0; font-size: var(--type-title); font-weight: 500; line-height: .86; letter-spacing: -0.01em; }
.ring .dek { max-width: 22rem; margin: 40px 0 28px; color: var(--soft); font-size: 17px; line-height: 1.42; text-wrap: pretty; }
.ring .center .btn-row { pointer-events: auto; }
.ring .item {
  position: absolute; left: 50%; top: 50%;
  border-radius: 28px; overflow: hidden; background: #eee;
  will-change: transform, filter, opacity; user-select: none; -webkit-user-drag: none;
}
.ring .item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; }
.ring .item.word-card { display: grid; place-items: center; padding: 12px; background: #f4f1ee; }
.ring .item.word-card span { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; text-align: center; line-height: 1; }
.ring .item.word-card.serif span { font-family: var(--font-hl); font-style: italic; font-weight: 400; font-size: 32px; }
.ring .item.word-card.dark { background: #1b0f0a; color: #fff; }
.ring .item.word-card.orange { background: var(--sky-deep); color: #fff; }

/* ---------- stamps ---------- */
.notes { position: relative; padding: 120px 0 100px; }
.notes .head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 0 var(--gutter); align-items: start; }
.notes h2 { grid-column: 1 / 9; margin: 0; font-size: var(--type-title); font-weight: 500; line-height: .86; letter-spacing: -0.01em; }
.notes .side { grid-column: 10 / 13; display: grid; gap: 24px; padding-top: 4px; }
.notes .side p { margin: 0; color: var(--soft); font-size: 17px; line-height: 1.42; }
.stamps {
  display: flex; gap: 52px; margin: 0; padding: 92px var(--gutter) 40px; list-style: none;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.stamps::-webkit-scrollbar { display: none; }
.stamp {
  --c: var(--sky-deep);
  flex: none; position: relative; width: 300px;
  padding: 22px 22px 18px;
  background: #f6f6f8;
  rotate: var(--r, 0deg);
  -webkit-mask: radial-gradient(circle 6px at 6px 6px, transparent 98%, #000) -6px -6px / 15px 15px round, linear-gradient(#000, #000) center / calc(100% - 12px) calc(100% - 12px) no-repeat;
  mask: radial-gradient(circle 6px at 6px 6px, transparent 98%, #000) -6px -6px / 15px 15px round, linear-gradient(#000, #000) center / calc(100% - 12px) calc(100% - 12px) no-repeat;
  filter: drop-shadow(0 0 0 transparent);
  transition: rotate .4s cubic-bezier(.22,1,.36,1), translate .4s cubic-bezier(.22,1,.36,1);
}
.stamp:hover { rotate: 0deg; translate: 0 -6px; }
.stamp canvas { display: block; width: 100%; aspect-ratio: 1; image-rendering: pixelated; rotate: var(--ir, 0deg); }
.stamp .perf { display: flex; justify-content: space-between; margin: 14px -4px 30px; }
.stamp .perf i { width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.stamp .meta { display: grid; grid-template-columns: 1fr auto; align-items: end; color: var(--c); }
.stamp small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .01em; margin-bottom: 6px; }
.stamp h3 { margin: 0; font-family: var(--font-hl); font-style: italic; font-weight: 400; font-size: 25px; line-height: .86; letter-spacing: -0.02em; }
.stamp .num { font-size: 36px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }

/* ---------- faq ---------- */
.faq { padding: 120px var(--gutter); }
.faq .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.faq .side { grid-column: 1 / 7; position: sticky; top: 40px; display: flex; flex-direction: column; gap: 20px; }
.faq h2 { margin: 0; font-size: var(--type-title); font-weight: 500; line-height: .95; letter-spacing: -0.01em; }
.faq .dek { max-width: 22rem; margin: 0; color: rgba(0,0,0,.62); font-size: 17px; line-height: 1.42; }
.faq .body { grid-column: 8 / 13; }
.faq .list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.faq .list > li { border-radius: 12px; background: var(--card); transition: background-color .1s; }
.faq .list > li:has(.row:hover) { background: var(--card-hover); }
.faq .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin: 0; padding-block: 20px; padding-inline: 20px 18px; border: 0; border-radius: 12px; background: none; font-size: 17px; line-height: 1.4; text-align: start; cursor: pointer; }
.faq .sign { flex: none; width: 20px; height: 20px; color: var(--faint); transition: transform .2s ease-out; }
.faq [aria-expanded="true"] .sign { transform: rotate(45deg); }
.faq .answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.22,1,.36,1); }
.faq .answer > div { overflow: hidden; }
.faq .answer.open { grid-template-rows: 1fr; }
.faq .answer .in { max-width: 30em; padding: 0 20px 20px; color: rgba(0,0,0,.62); font-size: 14px; line-height: 1.5; }
.faq .answer p { margin: 0; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.talk { display: flex; align-items: center; gap: 16px; margin-top: 28px; min-height: 68px; padding-block: 14px; padding-inline: 16px 14px; border-radius: 16px; background: #0b0b0c; color: #fff; text-decoration: none; transition: background-color .15s, transform .15s; }
.talk:hover { background: #000; transform: translateY(-1px); }
.talk:active { transform: translateY(0) scale(.99); }
.talk canvas { width: 36px; height: 36px; flex: none; border-radius: 6px; image-rendering: pixelated; }
.talk span { flex: 1; color: #fff; font-size: 17px; font-weight: 500; line-height: 1.35; }
.talk .go { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--sky-deep, #E8622C); color: #fff; transition: background-color .15s, transform .15s; }
.talk:hover .go { transform: translateX(3px); }
[dir="rtl"] .talk:hover .go { transform: translateX(-3px); }
.talk .go svg { width: 18px; height: 18px; }

/* ---------- footer ---------- */
.site-footer { position: relative; min-height: 100vh; overflow: hidden; padding: 40px var(--gutter) 0; }
.site-footer .top { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.site-footer .who { grid-column: 1 / 8; }
.site-footer .name { margin: 0; font-family: var(--font-hl); font-style: italic; font-weight: 400; font-size: var(--type-sub); line-height: 1; letter-spacing: -0.01em; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 42px 0 0; padding: 0; list-style: none; }
.site-footer .social a, .site-footer .fnav a { font-size: 16px; }
.site-footer a:hover { color: var(--soft); }
.site-footer .fnav { grid-column: 8 / 10; display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.site-footer .clocks { grid-column: 10 / 13; display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 16px; }
.clocks li { display: grid; grid-template-columns: 18px 1fr auto 62px; align-items: center; gap: 6px; color: rgba(0,0,0,.42); white-space: nowrap; }
.clocks li.here { color: #000; }
.clocks svg { width: 14px; height: 14px; }
.clocks .tz { text-align: end; }
.site-footer canvas.hatch { position: absolute; left: 0; bottom: 0; z-index: 1; width: 100%; height: 100vh; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: 1fr; gap: 56px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .globe-copy h2 { grid-column: 1 / -1; margin-bottom: 24px; }
  .globe-copy .r { grid-column: 1 / -1; }
  .notes h2 { grid-column: 1 / -1; }
  .notes .side { grid-column: 1 / 8; margin-top: 28px; }
  .faq .side { grid-column: 1 / -1; position: static; margin-bottom: 56px; }
  .faq .body { grid-column: 1 / -1; }
  .site-footer .who { grid-column: 1 / -1; margin-bottom: 40px; }
  .site-footer .fnav { grid-column: 1 / 5; }
  .site-footer .clocks { grid-column: 5 / 13; }
}
@media (max-width: 767px) {
  .site-header { padding-top: 18px; }
  .pill { padding: 0 8px 0 16px; gap: 14px; }
  .logo { margin-inline-end: 0; }
  .links { display: none; }
  .menu-btn { display: grid; }
  .menu-panel { top: 74px; }
  .hero .copy { gap: 20px; padding-top: 64px; }
  .hero .bio { font-size: 16px; }
  .work-grid { gap: 48px; }
  .featured { gap: 48px; }
  .feat h3 { font-size: 20px; }
  .feat p { font-size: 16px; }
  .feat .media { border-radius: 24px; aspect-ratio: 342 / 300; }
  .feat .shots { --dx: 6.5%; --dy: 9%; --dw: 76%; --mx: 71.5%; --my: 38%; --mw: 22%; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .globe-copy { padding-bottom: 48px; text-align: center; }
  .globe-copy h2 { margin-bottom: 16px; }
  .globe-copy p { font-size: 16px; margin: 0 auto; }
  .globe-copy .r { gap: 24px; justify-items: center; }
  .ring { min-height: 700px; }
  .notes { padding-top: 96px; }
  .notes .side { grid-column: 1 / -1; }
  .stamps { gap: 28px; padding-top: 60px; }
  .stamp { width: 232px; padding: 16px 16px 14px; }
  .stamp h3 { font-size: 21px; }
  .stamp .num { font-size: 30px; }
  .faq { padding-block: 80px; }
  .faq .side { margin-bottom: 40px; }
  .site-footer .social { margin-top: 24px; gap: 10px 20px; }
  .site-footer .fnav { grid-column: 1 / -1; display: flex; gap: 20px; margin-top: 0; }
  .site-footer .clocks { grid-column: 1 / -1; margin-top: 36px; }
  .clocks li { grid-template-columns: 18px 1fr auto 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; height: 100svh; }
  .animate .word .text, .animate .word .mark { animation: none; }
  .globe-stage { height: auto; margin-top: 0; }
  .globe-stage .sticky { position: relative; }
  .ring { cursor: default; }
  * { transition-duration: 0s !important; }
}

/* =====================================================================
   Phase 2: copy deck blocks, language switch, Arabic (RTL)
   ===================================================================== */
@font-face { font-family: "Thmanyah Serif Display"; src: url("../assets/fonts/thmanyahserifdisplay-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../assets/fonts/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../assets/fonts/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../assets/fonts/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* header: language switch + short CTA label */
.lang { display: flex; align-items: center; gap: 6px; margin-inline-start: 28px; font-size: 14px; color: var(--faint); }
.lang a { padding: 2px; color: var(--faint); transition: color .1s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); font-weight: 500; }
.lang a[lang="ar"] { font-family: "Thmanyah Sans", sans-serif; font-size: 16px; }
.cta .short { display: none; }

/* hero lede: actions, note, platform strip */
.hero .lede { display: grid; justify-items: center; gap: 18px; opacity: var(--bio); }
.hero .lede .bio { opacity: 1; }
.hero .actions { pointer-events: auto; justify-content: center; flex-wrap: wrap; }
.btn.ghost { background: #f4f4f5; color: #000; }
.btn.ghost:hover { background: #ebebec; }
.hero .note { margin: 0; color: var(--soft); font-size: 14px; }
.hero .strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; max-width: 46em; margin: 0; padding: 0; list-style: none; color: var(--faint); font-size: 13px; }
.hero .strip li + li::before { content: "\00B7"; padding-inline: 8px; }

/* pain: the cards that peek under the hero */
.pain { padding: 0 var(--gutter); }
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pain-card { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 200px; padding: 26px 28px 28px; border-radius: 28px; background: #f4f4f5; }
.pain-card canvas { width: 28px; height: 28px; image-rendering: pixelated; border-radius: 4px; }
.pain-card p { margin: 0; font-size: 20px; line-height: 1.3; text-wrap: pretty; }
.pain-card.head { background: #000; color: #fff; justify-content: flex-end; }
.pain-card.head h2 { margin: 0; font-family: var(--font-hl); font-style: italic; font-weight: 400; font-size: clamp(40px, 3.4vw + 8px, 60px); line-height: 1; letter-spacing: -0.03em; }

/* stamps: one line of detail under the meta */
.stamp p { margin: 14px 0 0; color: rgba(0,0,0,.62); font-size: 13.5px; line-height: 1.4; }

/* what you get */
.get { padding: 40px var(--gutter) 0; }
.get h3 { margin: 0 0 24px; font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.get-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.get-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 12px; background: var(--card); }
.get-grid canvas { width: 22px; height: 22px; flex: none; margin-top: 2px; image-rendering: pixelated; border-radius: 3px; }
.get-grid p { margin: 0; font-size: 16px; line-height: 1.45; }

/* services with "from" prices (FAQ card style) */
.services { padding-bottom: 40px; }
.price-list > li { background: var(--card); }
.svc { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; }
.svc strong { display: block; font-size: 17px; font-weight: 500; line-height: 1.35; }
.svc span { display: block; margin-top: 3px; color: rgba(0,0,0,.62); font-size: 14px; line-height: 1.45; }
.svc .price { flex: none; font-size: 17px; font-weight: 500; white-space: nowrap; color: var(--accent); }

/* client quotes */
.quotes { padding: 80px var(--gutter) 40px; }
.quotes .head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 40px; }
.quotes h2 { grid-column: 1 / 9; margin: 0; font-size: var(--type-title); font-weight: 500; line-height: .86; letter-spacing: -0.01em; }
.quotes .head p { grid-column: 10 / 13; margin: 0; color: var(--soft); font-size: 17px; line-height: 1.42; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px; border-radius: 28px; background: #f6f6f8; }
.quote blockquote { margin: 0; }
.quote .ar { margin: 0; font-family: "Thmanyah Sans", sans-serif; font-size: 22px; line-height: 1.6; letter-spacing: 0; }
.quote .en { margin: 14px 0 0; color: var(--soft); font-size: 15px; line-height: 1.45; }
.quote .who { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--faint); font-size: 14px; }
.quote .who canvas { width: 24px; height: 24px; image-rendering: pixelated; border-radius: 50%; }

/* final CTA ring: phone shots get a bezel */
.ring .item { box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.ring .item.phone { border-radius: 18px; border: 3px solid #141414; background: #141414; }

.site-footer .place { margin: 10px 0 0; color: var(--soft); font-size: 16px; }
.site-footer .social a.cv { color: var(--faint); font-size: 14px; }

@media (max-width: 1024px) {
  .work-head h2, .work-head p { grid-column: 1 / -1; }
  .work-head p { margin-top: 16px; }
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .get-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes h2 { grid-column: 1 / -1; }
  .quotes .head p { grid-column: 1 / 9; margin-top: 20px; }
  .lang { margin-inline-start: 20px; }
}
@media (max-width: 767px) {
  .lang { margin-inline-start: 0; }
  .cta .round { display: none; }
  .cta .long { display: none; }
  .cta .short { display: inline; }
  .hero .copy { gap: 14px; }
  .hero .lede { gap: 12px; }
  .hero .bio { font-size: 15px; }
  .hero .note { font-size: 13px; }
  .hero .strip { font-size: 12px; }
  .hero .strip li + li::before { padding-inline: 5px; }
  .pain-grid { grid-template-columns: 1fr; gap: 10px; }
  .pain-card { min-height: 0; gap: 18px; padding: 22px; border-radius: 24px; }
  .pain-card p { font-size: 18px; }
  .work { padding-top: 96px; }
  .work-head { margin-bottom: 32px; }
  .get h3 { font-size: 24px; }
  .get-grid { grid-template-columns: 1fr; }
  .svc { flex-direction: column; align-items: flex-start; gap: 8px; }
  .quotes { padding-top: 56px; }
  .quotes .head p { grid-column: 1 / -1; }
  .quote { padding: 22px; border-radius: 24px; }
  .quote .ar { font-size: 19px; }
}

/* ---------- Arabic / RTL ---------- */
[dir="rtl"] {
  --font-site: "Thmanyah Sans", "Geist", system-ui, sans-serif;
  --font-hl: "Thmanyah Serif Display", "Thmanyah Sans", serif;
}
[dir="rtl"] body { line-height: 1.6; }
[dir="rtl"] * { letter-spacing: 0 !important; } /* letter-spacing breaks Arabic joining */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .site-footer .name {
  font-family: var(--font-hl); font-style: normal; font-weight: 900;
}
[dir="rtl"] .hero .title { line-height: 1.42; font-size: clamp(44px, 7.6vw + 14px, 124px); }
[dir="rtl"] .work-head h2, [dir="rtl"] .globe-copy h2 { line-height: 1.25; }
[dir="rtl"] .notes h2, [dir="rtl"] .quotes h2, [dir="rtl"] .faq h2, [dir="rtl"] .ring h2, [dir="rtl"] .pain-card.head h2 { line-height: 1.2; font-style: normal; }
[dir="rtl"] .feat h3, [dir="rtl"] .get h3 { font-family: var(--font-site); font-weight: 700; line-height: 1.4; }
[dir="rtl"] .stamp h3 { font-size: 24px; line-height: 1.15; }
[dir="rtl"] .site-footer .name { line-height: 1.2; }
[dir="rtl"] .hero .bio, [dir="rtl"] .pain-card p { line-height: 1.6; }
[dir="rtl"] .btn svg, [dir="rtl"] .view svg, [dir="rtl"] .talk .go svg { transform: scaleX(-1); }
[dir="rtl"] .quote .ar { font-size: 20px; }
/* Arabic words are revealed with a stepped clip-path wipe, never split into letters */
/* fill-mode backwards: the clip only exists while the wipe runs, so dots, hamza and descenders are never cropped afterwards */
[dir="rtl"] .animate .word .text { animation: word-wipe 520ms steps(5, end) var(--at) backwards; }
@keyframes word-wipe { from { clip-path: inset(-70% -20% -70% 100%); } to { clip-path: inset(-70% -20% -70% -20%); } }
[dir="rtl"] .hero .slot { width: .68em; height: .68em; vertical-align: 0.05em; }
@media (prefers-reduced-motion: reduce) {
  [dir="rtl"] .animate .word .text { animation: none; clip-path: none; }
}

/* ===================== Phase 3 ===================== */
/* WhatsApp buttons */
.btn.wa { gap: 8px; }
.btn.wa svg { width: 18px; height: 18px; }
[dir="rtl"] .btn.wa svg { transform: none; }
.links a[aria-current="page"] { color: var(--soft); }

/* Arabic headlines: Thmanyah Serif Display needs room for dots, hamza and descenders */
[dir="rtl"] .work-head h2, [dir="rtl"] .globe-copy h2,
[dir="rtl"] .notes h2, [dir="rtl"] .quotes h2, [dir="rtl"] .faq h2, [dir="rtl"] .ring h2,
[dir="rtl"] .pain-card.head h2, [dir="rtl"] .stamp h3, [dir="rtl"] .site-footer .name { line-height: 1.38; }
[dir="rtl"] .hero .title .word { padding-block: .08em; }
[dir="rtl"] .faq .answer .in { padding-top: 4px; }

/* client quotes: all visible, balanced columns, stacked on phones */
.quote-grid { display: block; columns: 3 300px; column-gap: 16px; }
.quote { break-inside: avoid; margin-bottom: 16px; gap: 24px; }
.quote .who b { color: var(--ink); font-weight: 500; }
.quotes-note { margin: 8px 0 0; color: var(--faint); font-size: 14px; }

/* footer signature with a write-on mask */
.site-footer { min-height: 100vh; min-height: 100svh; }
.sig { position: absolute; inset-inline: 0; bottom: 7vh; z-index: 1; display: grid; place-items: center; padding: 0 var(--gutter); pointer-events: none; }
.sig img {
  grid-area: 1 / 1; width: min(1080px, 100%); height: auto;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 230% 100%; mask-size: 230% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 2.4s cubic-bezier(.65,.05,.3,1) .15s, mask-position 2.4s cubic-bezier(.65,.05,.3,1) .15s;
}
.sig.in img { -webkit-mask-position: 0 0; mask-position: 0 0; }
.sig .inv { display: none; }
.on-dark .sig .ink { display: none; }
.on-dark .sig .inv { display: block; }
@media (max-width: 767px) { .sig { bottom: 10vh; } }
@media (prefers-reduced-motion: reduce) { .sig img { -webkit-mask-image: none; mask-image: none; } }

/* final CTA: copy and button always sit above the drifting shots */
.ring .center { z-index: 60; }
.ring .center h2, .ring .center .dek { text-shadow: 0 0 18px #fff, 0 0 4px #fff; }

/* EN contact fallback under the closing CTA: email is the second button, WhatsApp a small third option */
.alt-contact { margin-top: 12px; font-size: 14px; color: var(--faint); }
.alt-contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.alt-contact a:hover { color: var(--ink); }
.ring .center .alt-contact { pointer-events: auto; text-shadow: 0 0 12px #fff; }
.case-cta .alt-contact { margin-top: -6px; }
/* three quotes or fewer (EN): one row of equal cards instead of balanced columns */
.quote-grid.few { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.quote-grid.few .quote { margin-bottom: 0; }
/* closing CTA with two buttons: keep labels on one line, wrap the row instead */
.ring .btn-row, .case-cta .btn-row { flex-wrap: wrap; justify-content: center; }
.ring .btn-row .btn, .case-cta .btn-row .btn { white-space: nowrap; }
.hero .note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
