/* Omar Darsh. Black, white and quiet greys. No accent colour. */

@font-face { font-family: Plex; font-weight: 300; src: url(../fonts/IBMPlexSansArabic-Light.ttf); font-display: swap; }
@font-face { font-family: Plex; font-weight: 400; src: url(../fonts/IBMPlexSansArabic-Regular.ttf); font-display: swap; }
@font-face { font-family: Plex; font-weight: 500; src: url(../fonts/IBMPlexSansArabic-Medium.ttf); font-display: swap; }
@font-face { font-family: Plex; font-weight: 600; src: url(../fonts/IBMPlexSansArabic-SemiBold.ttf); font-display: swap; }
@font-face { font-family: Almarai; font-weight: 800; src: url(../fonts/Almarai-ExtraBold.ttf); font-display: swap; }
@font-face { font-family: Inter; font-weight: 300 800; src: url(../fonts/Inter.ttf); font-display: swap; }

:root {
  color-scheme: only light;
  --white: #ffffff;
  --paper: #f5f5f7;
  --ink: #1d1d1f;
  --black: #000000;
  --tile: #161617;
  --grey: #6e6e73;
  --grey-d: #86868b;
  --rule: #d2d2d7;
  --rule-d: #2a2a2c;
  --silver: linear-gradient(180deg, #ffffff 25%, #8e8e93 115%);
  --font: Plex, Inter, sans-serif;
  --latin: Inter, sans-serif;
  --pad: clamp(20px, 6vw, 96px);
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
html[lang="en"] { --font: Inter, sans-serif; }

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white); color: var(--ink);
  font-family: var(--font); font-weight: 400; font-size: 1.125rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.5; letter-spacing: -.011em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
[lang="en"], [dir="ltr"] { font-family: var(--latin); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.skip { position: fixed; inset-inline-start: 8px; top: -80px; background: var(--ink); color: var(--white); padding: 8px 16px; border-radius: 999px; z-index: 40; }
.skip:focus { top: 8px; }

/* ---------- glass bar ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  height: 52px; padding: 0 var(--pad);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  color: var(--ink);
  transition: background .4s, color .4s, border-color .4s;
}
.top.on-dark { background: rgba(0, 0, 0, .62); color: #f5f5f7; border-bottom-color: rgba(255, 255, 255, .1); }
.mark { font-family: var(--latin); font-weight: 600; font-size: .75rem; letter-spacing: .3em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: clamp(18px, 3vw, 44px); margin-inline: auto; }
.nav a { text-decoration: none; font-size: .875rem; opacity: .78; transition: opacity .25s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.lang {
  font: 500 .75rem var(--latin); color: inherit; background: none;
  border: 1px solid currentColor; border-radius: 999px; padding: 5px 14px; cursor: pointer;
  opacity: .85; transition: opacity .25s;
}
.lang[lang="ar"] { font-family: Plex, sans-serif; }
.lang:hover { opacity: 1; }

/* ---------- shared pieces ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; }
section { padding: clamp(88px, 12vw, 180px) var(--pad); }
.dark { background: var(--black); color: #f5f5f7; }
.soft { background: var(--paper); }

h1, h2, h3 { font-weight: 600; }
h2 {
  font-size: clamp(2.125rem, 5.4vw, 4.75rem); line-height: 1.3;
  max-width: 14em; margin-bottom: clamp(36px, 5vw, 72px);
}
html[lang="en"] h2 { line-height: 1.05; letter-spacing: -.03em; }
.dark h2, .silver { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--grey); font-size: clamp(1.125rem, 1.6vw, 1.5rem); max-width: 30em; line-height: 1.6; }
.dark .sub, .dark .quiet, .dark .note { color: var(--grey-d); }
.quiet, .note { color: var(--grey); }
.note { margin-top: 24px; font-size: .875rem; }

.btn {
  display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; font-size: 1rem;
  padding: 12px 26px; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.btn.solid { background: var(--ink); color: var(--white); }
.btn:hover { transform: scale(1.03); }
.dark .btn { border-color: #f5f5f7; color: #f5f5f7; }
.dark .btn.solid { background: #f5f5f7; color: var(--black); }
.more { display: inline-block; margin-top: 28px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- hero: pinned while the page turns dark ---------- */
.hero { padding: 0; height: 230vh; position: relative; --p: 0; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--white); }
.name {
  position: absolute; inset-inline: 0; top: 50%; translate: 0 -58%;
  font-family: Almarai, Plex, sans-serif; font-weight: 800; font-size: clamp(6rem, 16vw, 19rem); line-height: 1;
  text-align: center; white-space: nowrap; user-select: none;
  opacity: calc(1 - var(--p) * 1.6);
}
.name > span { display: flex; justify-content: center; gap: 1.1em; }
.name .ar span:first-child { transform: translateX(calc(var(--p) * 22%)); }
.name .ar span:last-child { transform: translateX(calc(var(--p) * -22%)); }
.name .en { display: none; font-family: var(--latin); font-weight: 600; letter-spacing: -.045em; font-size: .92em; gap: .9em; }
.name .en span:first-child { transform: translateX(calc(var(--p) * -22%)); }
.name .en span:last-child { transform: translateX(calc(var(--p) * 22%)); }
html[lang="en"] .name .ar { display: none; }
html[lang="en"] .name .en { display: flex; }

/* the photo's light wall melts into the white; the black suit covers the name */
.figure {
  position: absolute; bottom: 0; left: 50%;
  height: 88%; width: auto; max-width: none;
  transform: translateX(-50%) scale(calc(1 + var(--p) * .55)); transform-origin: 50% 22%;
  mix-blend-mode: multiply; filter: contrast(1.22) brightness(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.stage::after {
  content: ""; position: absolute; inset: 0; background: var(--black); pointer-events: none;
  opacity: clamp(0, calc((var(--p) - .45) * 2.2), 1);
}
.hero-foot {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding: 0 var(--pad) clamp(28px, 5vh, 56px);
  opacity: calc(1 - var(--p) * 4);
}
.lede { font-weight: 600; font-size: clamp(1.375rem, 2.1vw, 2rem); line-height: 1.5; max-width: 15em; }
html[lang="en"] .lede { line-height: 1.2; letter-spacing: -.025em; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.motto { font-family: var(--latin); color: var(--grey); font-size: 1rem; letter-spacing: -.01em; }
.btns { display: flex; gap: 10px; }
.hint {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; z-index: 2;
  width: 22px; height: 36px; border: 1.5px solid var(--ink); border-radius: 12px;
  opacity: calc(.5 - var(--p) * 6);
}
.hint::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .name .ar, .name .en { animation: name-in 1.4s var(--ease) both; }
  .figure { animation: fig-in 1.5s .1s var(--ease) both; }
  .hero-foot > * { animation: up-in 1s .7s var(--ease) both; }
  @keyframes name-in { from { opacity: 0; letter-spacing: .08em; filter: blur(14px); } }
  @keyframes fig-in { from { opacity: 0; filter: contrast(1.22) brightness(1.1) blur(10px); } }
  @keyframes up-in { from { opacity: 0; transform: translateY(18px); } }
}

/* ---------- statement: words light up as you scroll ---------- */
.statement { padding: 0 var(--pad); height: 220vh; }
.statement .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.statement p {
  font-weight: 600; font-size: clamp(2.25rem, 6.6vw, 6.25rem); line-height: 1.35;
  max-width: 13em; margin-inline: auto;
}
html[lang="en"] .statement p { line-height: 1.06; letter-spacing: -.035em; }
.statement .w { opacity: .16; transition: opacity .25s linear; }
.statement .w.lit { opacity: 1; }

/* ---------- numbers ---------- */
.numbers { padding-top: 0; }
.numbers .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 64px); border-top: 1px solid var(--rule-d); padding-top: clamp(40px, 6vw, 80px); }
.num b {
  display: flex; align-items: baseline; gap: .1em; direction: ltr; justify-content: flex-end;
  font-family: var(--latin); font-weight: 600; letter-spacing: -.05em;
  font-size: clamp(3.75rem, 10.5vw, 10rem); line-height: 1; font-variant-numeric: tabular-nums;
}
html[lang="en"] .num b { justify-content: flex-start; }
.num b i { font-style: normal; background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num small { font-family: Plex, sans-serif; font-weight: 500; font-size: .17em; letter-spacing: 0; color: var(--grey-d); }
html[lang="en"] .num small { font-family: var(--latin); font-size: .42em; font-weight: 600; letter-spacing: -.03em; }
.num > span { display: block; margin-top: 14px; color: var(--grey-d); font-size: 1rem; }

/* ---------- about ---------- */
.about .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.about-photo { border-radius: 32px; overflow: hidden; background: #e8e8ed; }
.about-photo img { width: 100%; filter: grayscale(1) contrast(1.06); transform: scale(1.12); transition: transform 1.6s var(--ease); }
.about-photo.in img { transform: scale(1); }
.about-text h2 { margin-bottom: 28px; font-size: clamp(1.875rem, 3.8vw, 3.5rem); }
.about-text p { max-width: 32em; margin-bottom: 1em; color: var(--grey); font-size: 1.1875rem; }

/* ---------- tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(24px, 3vw, 40px);
  background: var(--tile); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, .06);
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .11), transparent 60%);
}
.tile:hover::before { opacity: 1; }
.bento .tile { grid-column: span 2; }
.bento .tile:nth-child(-n+2) { grid-column: span 3; min-height: 360px; }
.tile .n {
  position: absolute; top: clamp(16px, 2vw, 28px); inset-inline-end: clamp(22px, 3vw, 40px);
  font-family: var(--latin); font-weight: 600; letter-spacing: -.05em; line-height: 1;
  font-size: clamp(5rem, 9vw, 9rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .04)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tile h3 { font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.3; margin-bottom: 8px; position: relative; }
html[lang="en"] .tile h3 { letter-spacing: -.025em; line-height: 1.1; }
.tile p { color: var(--grey-d); font-size: 1.0625rem; max-width: 24em; position: relative; }

/* ---------- videos ---------- */
.vlist li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: clamp(20px, 2.6vw, 36px) 0; border-top: 1px solid var(--rule);
  transition: padding .4s var(--ease);
}
.vlist li:last-child { border-bottom: 1px solid var(--rule); }
.vlist li:hover { padding-inline: 16px; }
.vt { font-weight: 600; font-size: clamp(1.25rem, 2.5vw, 2.125rem); line-height: 1.45; }
html[lang="en"] .vt { letter-spacing: -.025em; line-height: 1.15; }
.vn { white-space: nowrap; color: var(--grey); font-size: 1rem; }
.vn b { font-family: var(--latin); font-weight: 600; letter-spacing: -.04em; font-size: clamp(2rem, 4vw, 3.5rem); color: var(--ink); line-height: 1; }

/* ---------- work ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 4vw, 56px);
  min-height: clamp(380px, 42vw, 560px); display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; transition: transform .6s var(--ease);
}
.card:hover { transform: scale(1.012); }
.card.black { background: var(--black); color: #f5f5f7; }
.card.white { background: var(--white); color: var(--ink); }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .13), transparent 60%);
}
.card.black:hover::before { opacity: 1; }
.card h3 {
  font-family: var(--latin); font-weight: 600; letter-spacing: -.045em; line-height: 1;
  font-size: clamp(3rem, 6.4vw, 6rem); display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
[dir="rtl"] .card h3 { justify-content: flex-end; }
.tag { font: 500 .8125rem Plex, Inter, sans-serif; letter-spacing: 0; padding: 4px 14px; border-radius: 999px; border: 1px solid currentColor; opacity: .8; }
.card p { max-width: 24em; font-size: 1.1875rem; position: relative; }
.card.black p { color: #a1a1a6; }
.card.white p { color: var(--grey); }
.card .go { font-family: var(--latin); font-weight: 500; margin-top: 18px; display: inline-block; position: relative; }

/* ---------- socials ---------- */
.socials li { border-top: 1px solid var(--rule-d); transition: opacity .35s; }
.socials li:last-child { border-bottom: 1px solid var(--rule-d); }
.socials:hover li:not(:hover) { opacity: .32; }
.socials li, .socials li > a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.socials li > a { width: 100%; text-decoration: none; padding: clamp(14px, 2vw, 26px) 0; }
.socials li:not(:has(a)) { padding: clamp(14px, 2vw, 26px) 0; }
.sp { font-family: var(--latin); font-weight: 600; letter-spacing: -.045em; font-size: clamp(2.5rem, 8vw, 7.5rem); line-height: 1.05; }
.sc { color: var(--grey-d); white-space: nowrap; }
.sc b { font-family: var(--latin); font-weight: 600; color: #f5f5f7; font-size: 1.375rem; letter-spacing: -.02em; }

/* ---------- footer ---------- */
.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 28px var(--pad); font-family: var(--latin); font-size: .8125rem;
  background: var(--black); color: var(--grey-d); border-top: 1px solid var(--rule-d);
}
.foot .mark { color: #f5f5f7; }

/* ---------- inner pages ---------- */
.page-head { background: var(--black); color: #f5f5f7; padding-top: clamp(170px, 22vw, 300px); padding-bottom: clamp(64px, 9vw, 130px); }
.page-head h1 {
  font-size: clamp(2.75rem, 9vw, 9rem); line-height: 1.22; max-width: 11em;
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .32em;
}
html[lang="en"] .page-head h1 { line-height: 1; letter-spacing: -.045em; }
.page-head p { margin-top: 20px; max-width: 30em; font-size: clamp(1.125rem, 1.7vw, 1.5rem); color: var(--grey-d); }
@media (prefers-reduced-motion: no-preference) {
  .page-head h1 { animation: name-in 1.3s var(--ease) both; }
  .page-head p { animation: up-in 1s .5s var(--ease) both; }
}
.block p { max-width: 34em; }
.block.mist { background: var(--paper); }

.timeline li {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(16px, 4vw, 64px);
  padding: clamp(24px, 3.2vw, 44px) 0; border-top: 1px solid var(--rule); align-items: baseline;
}
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline .when { font-weight: 600; font-size: clamp(1.625rem, 3.4vw, 3rem); line-height: 1.2; }
html[lang="en"] .timeline .when, .timeline .when[dir="ltr"] { letter-spacing: -.04em; }
[dir="rtl"] .timeline .when[dir="ltr"] { text-align: end; }
.timeline p { color: var(--grey); font-size: 1.1875rem; }

.beliefs li { padding: clamp(24px, 3.4vw, 48px) 0; border-top: 1px solid var(--rule-d); }
.beliefs li:last-child { border-bottom: 1px solid var(--rule-d); }
.beliefs li p { font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 3rem); line-height: 1.5; max-width: 22em; }
html[lang="en"] .beliefs li p { line-height: 1.15; letter-spacing: -.03em; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair > div { background: var(--paper); border-radius: 28px; padding: clamp(24px, 3vw, 44px); }
.mist .pair > div { background: var(--white); }
.pair h3 { font-size: 1.625rem; margin-bottom: 10px; line-height: 1.3; }
html[lang="en"] .pair h3 { letter-spacing: -.025em; }
.pair p { color: var(--grey); }
.pair .said { color: var(--ink); font-weight: 600; font-size: 1.375rem; margin-bottom: 12px; line-height: 1.5; }

.pillars li {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(16px, 4vw, 64px);
  padding: clamp(26px, 3.6vw, 52px) 0; border-top: 1px solid var(--rule); align-items: baseline;
}
.pillars li:last-child { border-bottom: 1px solid var(--rule); }
.pillars h3 { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.25; }
.pillars h3[lang="en"], html[lang="en"] .pillars h3 { letter-spacing: -.045em; line-height: 1.05; }
.pillars p { font-size: 1.25rem; }
.pillars .topics { margin-top: 10px; color: var(--grey); font-size: 1.0625rem; }

h2.big-name, html[lang="en"] h2.big-name {
  font-family: var(--latin); font-weight: 600; letter-spacing: -.05em; line-height: 1; max-width: none;
  font-size: clamp(3.75rem, 12vw, 11rem); margin-bottom: 28px; padding-bottom: .1em;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
[dir="rtl"] h2.big-name { justify-content: flex-end; }
h2.big-name .tag { -webkit-text-fill-color: currentColor; color: var(--grey-d); background: none; }
.block:not(.dark) h2.big-name .tag { color: var(--grey); }
.cols { columns: 2; column-gap: 16px; max-width: 46em; margin-top: 36px; }
.cols li { padding: 14px 0; border-top: 1px solid var(--rule-d); break-inside: avoid; font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; max-width: 60em; }
.facts > div { background: var(--paper); border-radius: 24px; padding: 28px; }
.facts b { display: block; font-family: var(--latin); font-weight: 600; letter-spacing: -.045em; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.1; direction: ltr; text-align: end; }
[dir="ltr"] .facts b { text-align: start; }
.facts span { color: var(--grey); font-size: 1rem; }

/* ---------- reveal on scroll (added by fx.js, so the page reads without it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .r { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .r.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .statement { height: auto; }
  .stage, .statement .pin { position: relative; }
  .statement .w { opacity: 1; }
  .about-photo img { transform: none; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .top { height: auto; padding-block: 10px; gap: 8px 12px; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .lang { margin-inline-start: auto; }

  .hero { height: 190vh; }
  .name { top: 104px; translate: none; font-size: 21vw; }
  .name > span { gap: .45em; }
  .name .en { font-size: .86em; gap: .4em; }
  .figure { height: 74%; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 90px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 46%); }
  .hero-side { align-items: stretch; }
  .motto, .hint { display: none; }
  .btns .btn { flex: 1; justify-content: center; padding-inline: 12px; }

  .statement { height: 190vh; }
  .numbers .row { grid-template-columns: 1fr; gap: 36px; }
  .about .wrap, .duo, .pair, .facts { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .tile, .bento .tile:nth-child(-n+2) { grid-column: auto; min-height: 220px; }
  .vlist li { flex-direction: column; gap: 4px; }
  .vlist li:hover { padding-inline: 0; }
  .timeline li, .pillars li { grid-template-columns: 1fr; gap: 8px; }
  [dir="rtl"] .timeline .when[dir="ltr"] { text-align: end; }
  .cols { columns: 1; }
  .page-head { padding-top: 170px; }
}

/* ---------- three ventures ---------- */
.sub.lead { margin-top: calc(clamp(36px, 5vw, 72px) * -1 + 20px); margin-bottom: clamp(36px, 5vw, 64px); }
.duo .card:first-child { grid-column: 1 / -1; min-height: clamp(300px, 30vw, 420px); }
.card.grey { background: var(--tile); color: #f5f5f7; }
.card.grey p { color: #a1a1a6; }
.card.grey:hover::before { opacity: 1; }

/* ================= display type: serif, close to the company logos ================= */
@font-face { font-family: Markazi; font-weight: 400 700; src: url(../fonts/MarkaziText.ttf); font-display: swap; }
@font-face { font-family: NotoDisplay; font-weight: 300 700; font-stretch: 62.5% 100%; src: url(../fonts/NotoSerifDisplay.ttf); font-display: swap; }
:root { --display: Markazi, NotoDisplay, serif; --dlatin: NotoDisplay, serif; }

h1, h2, h3, .lede, .statement p, .vt, .beliefs li p, .timeline .when, .pair .said {
  font-family: var(--display); font-weight: 500;
}
.name { font-family: Markazi, serif; font-weight: 700; font-size: clamp(8rem, 24vw, 28rem); translate: 0 -60%; }
.name > span { gap: .7em; }
.name .en { font-family: var(--dlatin); font-weight: 400; letter-spacing: -.02em; font-size: .62em; gap: 1.25em; }

/* Markazi is drawn small: Arabic display sizes go up, line-height comes down */
h2 { font-size: clamp(2.875rem, 7.2vw, 6.25rem); line-height: 1.12; }
.about-text h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.lede { font-size: clamp(1.875rem, 2.9vw, 2.75rem); line-height: 1.25; }
.statement p { font-size: clamp(3rem, 8.6vw, 8rem); line-height: 1.12; }
.vt { font-size: clamp(1.75rem, 3.3vw, 2.875rem); line-height: 1.25; }
.tile h3 { font-size: clamp(2.125rem, 3.2vw, 2.875rem); line-height: 1.15; }
.page-head h1 { font-size: clamp(3.75rem, 12vw, 12rem); line-height: 1.05; padding-bottom: .22em; }
.beliefs li p { font-size: clamp(2.125rem, 4.6vw, 4rem); line-height: 1.2; }
.timeline .when { font-size: clamp(2.25rem, 4.4vw, 3.875rem); line-height: 1.1; }
.pillars h3 { font-size: clamp(2.75rem, 5.8vw, 5.25rem); line-height: 1.1; }
.pair h3 { font-size: 2.25rem; line-height: 1.15; }
.pair .said { font-size: 1.875rem; line-height: 1.25; }

/* Latin display */
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] .lede, html[lang="en"] .statement p,
html[lang="en"] .vt, html[lang="en"] .beliefs li p, html[lang="en"] .timeline .when, html[lang="en"] .pair .said,
h3[lang="en"], .timeline .when[dir="ltr"], .sp, .num b, .vn b, .tile .n, .facts b {
  font-family: var(--dlatin); font-weight: 400; letter-spacing: -.012em;
}
html[lang="en"] h2 { font-size: clamp(2.5rem, 6vw, 5.25rem); line-height: 1.04; }
html[lang="en"] .about-text h2 { font-size: clamp(2.125rem, 4.2vw, 3.75rem); }
html[lang="en"] .lede { font-size: clamp(1.5rem, 2.3vw, 2.125rem); line-height: 1.18; }
html[lang="en"] .statement p { font-size: clamp(2.5rem, 7vw, 6.5rem); line-height: 1.04; }
html[lang="en"] .vt { font-size: clamp(1.375rem, 2.6vw, 2.25rem); line-height: 1.15; }
html[lang="en"] .tile h3, .tile h3[lang="en"] { font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.1; }
html[lang="en"] .page-head h1 { font-size: clamp(3rem, 9.5vw, 9.5rem); line-height: 1; letter-spacing: -.02em; }
html[lang="en"] .beliefs li p { font-size: clamp(1.75rem, 3.8vw, 3.25rem); line-height: 1.12; }
html[lang="en"] .timeline .when, .timeline .when[dir="ltr"] { font-size: clamp(1.75rem, 3.6vw, 3.125rem); letter-spacing: -.012em; }
html[lang="en"] .pillars h3, .pillars h3[lang="en"] { font-size: clamp(2.25rem, 4.8vw, 4.25rem); letter-spacing: -.012em; }
.sp { font-weight: 400; letter-spacing: -.02em; }
.num b { font-weight: 400; letter-spacing: -.03em; }
.mark { font-family: var(--dlatin); font-weight: 500; font-size: .875rem; letter-spacing: .32em; }

@media (max-width: 760px) {
  .name { top: 96px; translate: none; font-size: 27vw; }
  .name > span { gap: .35em; }
  .name .en { font-size: .6em; gap: .35em; }
}

/* ================= company cards, each in its own colours ================= */
.brand {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 32px; text-decoration: none;
  background: var(--bg); color: var(--fg); transition: transform .6s var(--ease);
}
.brand:hover { transform: scale(1.012); }
.brand.wide { --bg: #000b1e; display: block; }
.brand.wide img { width: 100%; }
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.brand .logo { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.brand .logo img { width: 100%; height: 100%; object-fit: cover; }
.brand .txt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 4px clamp(22px, 2.4vw, 36px) clamp(26px, 2.6vw, 40px); }
.brand .p { color: var(--fg2); font-size: 1.0625rem; line-height: 1.7; }
html[lang="en"] .brand .p { line-height: 1.5; }
.brand .go { font-family: var(--latin); font-weight: 500; }
.brand.ug, .bsec.ug { --bg: #02080c; --fg: #f5f5f7; --fg2: #a1a1a6; }
.brand.ug .logo img { width: min(86%, 360px); height: auto; object-fit: contain; }
.brand.ow, .bsec.ow { --bg: #f8f3e9; --fg: #14301f; --fg2: #56655a; }
.brand.ow .logo img { object-fit: contain; width: 88%; height: auto; }
.brand.rz, .bsec.rz { --bg: #150101; --fg: #f1e9dc; --fg2: #c7b3a3; }
.bsec.da { --bg: #000b1e; --fg: #f5f5f7; --fg2: #9aa3b5; }

/* work page: one section per company */
.bsec { background: var(--bg); color: var(--fg); }
.bsec.dark { background: var(--bg); }
.bsec h2, .bsec.dark h2 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--fg); margin-bottom: 24px; }
.bsec p { color: var(--fg2); max-width: 30em; margin-bottom: .8em; }
.bsec .more { color: var(--fg); margin-top: 16px; }
.bsec .tag { display: inline-block; margin-bottom: 20px; }
.bsec .banner { width: 100%; border-radius: 28px; }
.bsec.da { padding-block: clamp(40px, 6vw, 90px); text-align: center; }
.bsec.da .sub { color: var(--fg2); margin: 28px auto 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .logo { display: grid; place-items: center; }
.split .logo img { width: 100%; border-radius: 28px; }
.bsec.ug .logo img { width: min(100%, 360px); border-radius: 0; }
.bsec .cols { margin-top: 28px; }
.bsec.ow .cols li { border-top-color: rgba(20, 48, 31, .18); }

@media (max-width: 760px) {
  .brands, .split { grid-template-columns: 1fr; }
}

/* fine tuning */
.name .en { font-size: .5em; gap: 1.5em; }
.brand.ug .logo img, .bsec.ug .logo img {
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
}
@media (max-width: 760px) { .name .en { font-size: .56em; gap: .35em; } }

.brand .go { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-family: inherit; }
.bsec .btn { margin-top: 12px; border-color: var(--fg); color: var(--fg); }
.bsec .btn.solid { background: var(--fg); color: var(--bg); }
.bsec .more.side { margin-inline-start: 20px; }

/* ================= deeper, blue-tinted black ================= */
:root { --black: #01060a; --tile: #0a1118; --rule-d: #18222b; }
.top.on-dark { background: rgba(1, 6, 10, .72); }
.brand.wide, .bsec.da { --bg: #000b1e; }

/* ================= bar: becomes a floating capsule once you scroll ================= */
.top {
  left: 0; right: 0; margin-inline: auto; width: 100%;
  transition: background .4s, color .4s, border-color .4s, width .6s var(--ease), top .6s var(--ease), border-radius .6s var(--ease), padding .6s var(--ease), height .6s var(--ease);
}
.cta {
  font-size: .8125rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  padding: 7px 16px; border-radius: 999px; background: var(--ink); color: var(--white);
  transition: transform .3s var(--ease), background .4s, color .4s;
}
.cta:hover { transform: scale(1.05); }
.top.on-dark .cta { background: #f5f5f7; color: var(--black); }
@media (min-width: 761px) {
  .top.pill {
    top: 14px; width: min(760px, calc(100% - 32px)); height: 58px; border-radius: 20px;
    padding: 0 12px 0 22px; border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .12);
  }
  [dir="rtl"] .top.pill { padding: 0 22px 0 12px; }
  .top.pill.on-dark { border-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
  .top.pill .nav { gap: clamp(14px, 2vw, 28px); }
}
@media (max-width: 760px) { .lang { margin-inline-start: 0; } .cta { margin-inline-start: auto; } }

/* ================= consultation ================= */
.consult { text-align: center; }
.consult h2 { margin-inline: auto; max-width: 13em; margin-bottom: 24px; }
.consult .sub { margin: 0 auto 40px; }
.btn.big { font-size: 1.125rem; padding: 16px 36px; }

/* course sections as chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; max-width: 34em; }
.chips li { border: 1px solid rgba(20, 48, 31, .28); border-radius: 999px; padding: 6px 16px; font-size: .9375rem; }
[dir="rtl"] .chips { justify-content: flex-end; margin-inline-start: auto; }

/* ================= notice strip (acquisition.com) ================= */
.notice {
  position: fixed; inset: 0 0 auto 0; z-index: 31; height: 36px;
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 16px;
  background: var(--black); color: #f5f5f7; font-size: .8125rem; text-decoration: none; white-space: nowrap; overflow: hidden;
  transition: transform .5s var(--ease);
}
.notice span:last-child { overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.nt-tag { flex: none; font-size: .6875rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #f5f5f7; color: var(--black); }
.top { top: 36px; }
html.scrolled .notice { transform: translateY(-100%); }
html.scrolled .top:not(.pill) { top: 0; }
@media (min-width: 761px) { .top.pill { top: 14px; } }
@media (max-width: 760px) { html.scrolled .top { top: 0; } .notice { font-size: .75rem; } }

/* ================= FAQ ================= */
.faq h2 { margin-bottom: clamp(28px, 4vw, 56px); }
.qa { max-width: 920px; }
.qa details { border-top: 1px solid var(--rule); }
.qa details:last-child { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(18px, 2.2vw, 28px) 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.25;
}
html[lang="en"] .qa summary { font-family: var(--dlatin); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; position: relative; width: 18px; height: 18px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0); }
.qa details p { color: var(--grey); padding-bottom: 26px; max-width: 40em; }
.qa details p a { color: var(--ink); text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .qa details[open] p { animation: up-in .5s var(--ease) both; }
}

/* ================= hairline between sections (iman-gadzhi.com) ================= */
.consult { position: relative; }
.consult::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: clamp(56px, 7vw, 110px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), transparent);
}

/* ================= footer with every link ================= */
.foot { display: block; padding: clamp(56px, 7vw, 96px) var(--pad) 28px; font-family: var(--font); font-size: .9375rem; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--rule-d); }
.foot-name { font-family: var(--dlatin); font-size: clamp(2rem, 5vw, 4.25rem); letter-spacing: .14em; color: #f5f5f7; text-decoration: none; line-height: 1; }
.foot .btn.solid { background: #f5f5f7; color: var(--black); border-color: #f5f5f7; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: clamp(36px, 5vw, 56px) 0; }
.foot-cols h4 { font-weight: 500; color: #f5f5f7; font-size: .9375rem; margin-bottom: 14px; }
.foot-cols a { display: block; color: var(--grey-d); text-decoration: none; padding: 5px 0; transition: color .25s; }
.foot-cols a:hover { color: #f5f5f7; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--rule-d); font-family: var(--latin); font-size: .8125rem; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
[dir="rtl"] .foot-cols a { text-align: right; }
[dir="ltr"] .foot-cols a { text-align: left; }
