/* Shaikha Al Mutawa — identity v3 on a dark ground.
   Palette is the v3 dark set (brand/shaikha-al-mutawa/v3/tokens): a green-black
   ground, warm off-white type, sage for action, the brand forest for one band,
   and gold spent only on focus, selection and the quote mark. */

:root {
  --bg: #0d150f;
  --bg-alt: #111b14;
  --bg-raised: #172119;
  --forest: #1f3f28;
  --footer: #080d09;
  --ink: #f2f0ea;
  --ink-muted: #a9aca3;
  --ink-on-forest: #cfded3;
  --line: #253028;
  --line-strong: #3a473d;
  --sage: #84b28f;
  --sage-light: #a9cdb2;
  --gold: #d5a870;
  --ease-standard: cubic-bezier(.5, 0, .1, 1);
  --ease-enter: cubic-bezier(0, 0, .25, 1);
  --header-h: 88px;
  --sans: 'Inter', system-ui, sans-serif;
  --display: 'Jost', system-ui, sans-serif;
  --arabic: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --arabic-display: 'Almarai', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --tracking: .22em;
  color-scheme: dark;
}

/* ── base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html[lang=ar] body { font-family: var(--arabic); font-size: 18px; line-height: 1.85; }

/* A still film grain: it gives the flat dark ground a surface. Static on purpose;
   animated grain repaints the whole viewport every frame. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a, button { touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { max-width: 65ch; text-wrap: pretty; }
h1, h2 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.05; }
html[lang=ar] h1, html[lang=ar] h2, html[lang=ar] h3 { font-family: var(--arabic-display); letter-spacing: 0; line-height: 1.35; }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.8rem); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
::selection { background: var(--gold); color: var(--bg); }

.wrap { width: min(1400px, 90%); margin-inline: auto; }
.skip { position: fixed; top: -100px; inset-inline-start: 12px; z-index: 300; background: var(--sage); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ── header ───────────────────────────────────────────────────────────── */

.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease-standard), background-color .3s var(--ease-standard), border-color .3s var(--ease-standard);
}
.header.is-scrolled {
  background: rgba(13, 21, 15, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header:has(.navlinks.open) { background: var(--bg); transform: none; }
main { padding-top: var(--header-h); }

.nav { min-height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { margin-inline-end: auto; display: flex; align-items: center; }
.brand img { width: 196px; height: auto; }

.navlinks { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ink-muted); }
.navlinks a { position: relative; padding-block: 6px; transition: color .15s var(--ease-standard); }
.navlinks a:hover, .navlinks a:focus-visible { color: var(--ink); }
.navlinks a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-enter);
}
html[dir=rtl] .navlinks a::after { transform-origin: right; }
.navlinks a:hover::after, .navlinks a:focus-visible::after { transform: scaleX(1); }

.nav-cta {
  font-size: 14px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color .2s var(--ease-standard), border-color .2s var(--ease-standard), color .2s var(--ease-standard);
}
.nav-cta:hover { background: var(--sage); border-color: var(--sage); color: var(--bg); }

.lang {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font: 500 13px var(--display);
  letter-spacing: .08em;
  transition: background-color .2s var(--ease-standard), color .2s var(--ease-standard), border-color .2s var(--ease-standard);
}
html[lang=en] .lang { font-family: var(--arabic); font-size: 16px; letter-spacing: 0; }
.lang:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.menu-toggle { display: none; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: none; font-size: 14px; }

/* ── buttons and links ────────────────────────────────────────────────── */

.button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 16px 30px;
  background: var(--sage);
  color: var(--bg);
  border: 1px solid var(--sage);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color .2s var(--ease-standard), border-color .2s var(--ease-standard), transform .25s var(--ease-enter);
}
.button:hover { background: var(--sage-light); border-color: var(--sage-light); }
.button:active { transform: scale(.97); }
.button:disabled { opacity: .6; cursor: wait; }

.text-link { position: relative; padding-block: 6px; font-size: 15px; white-space: nowrap; }
.text-link::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; }
.text-link:hover::after { animation: swipe .7s var(--ease-standard); }
html[dir=rtl] .text-link:hover::after { animation-name: swipe-rtl; }
@keyframes swipe {
  0% { transform: scaleX(1); transform-origin: right; }
  49% { transform: scaleX(0); transform-origin: right; }
  51% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}
@keyframes swipe-rtl {
  0% { transform: scaleX(1); transform-origin: left; }
  49% { transform: scaleX(0); transform-origin: left; }
  51% { transform: scaleX(0); transform-origin: right; }
  100% { transform: scaleX(1); transform-origin: right; }
}

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; }
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 6vw, 112px);
  align-items: stretch;
  padding-top: clamp(16px, 3vw, 40px);
}
.hero-copy { align-self: center; padding-block: clamp(40px, 6vw, 96px); }
.hero h1 { font-size: clamp(3.5rem, 7.6vw, 8.4rem); line-height: 1; letter-spacing: -.03em; margin-bottom: clamp(28px, 3.4vw, 48px); }
html[lang=ar] .hero h1 { font-size: clamp(3.2rem, 7vw, 7.6rem); line-height: 1.22; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--sage-light); }
.hero-copy p { max-width: 34rem; color: var(--ink-muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.9; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: clamp(32px, 3.6vw, 48px); }

/* The portrait stands in an arch: the doorway of Gulf architecture, and the
   crown of the mark growing behind her. */
.hero-art {
  position: relative;
  align-self: stretch;
  min-height: clamp(460px, 72vh, 820px);
  background: var(--forest);
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset-inline: -14%;
  bottom: -8%;
  height: 94%;
  z-index: -1;
  background: url(mark.svg) center bottom / contain no-repeat;
  opacity: .14;
}
.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12% 4% 0;
  object-fit: contain;
  object-position: center bottom;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-muted);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; transition: color .15s var(--ease-standard); }
.scroll-cue:hover { color: var(--ink); }
.scroll-cue-line { position: relative; width: 1px; height: 28px; overflow: hidden; background: var(--line-strong); }
.scroll-cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sage);
  transform: scaleY(0);
  transform-origin: top;
  animation: cue 2.4s var(--ease-standard) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Entrance. Gated on .js (set in <head>), so a page without script is complete
   at rest; paused while the intro plays so it starts as the loader lifts. */
.js .hero h1 span { animation: rise 1.05s var(--ease-enter) both; }
.js .hero h1 span:nth-child(2) { animation-delay: .1s; }
.js .hero-copy p { animation: fade 1s var(--ease-enter) .28s both; }
.js .hero .actions { animation: fade 1s var(--ease-enter) .38s both; }
.js .hero-art { animation: plate 1.3s var(--ease-standard) .04s both; }
.is-intro .hero h1 span, .is-intro .hero-copy p, .is-intro .hero .actions, .is-intro .hero-art { animation-play-state: paused; }
@keyframes rise {
  from { opacity: 0; transform: translateY(.5em); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: none; clip-path: inset(-30% -5% -30% -5%); }
}
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes plate {
  from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
  to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
}

/* ── sections ─────────────────────────────────────────────────────────── */

.section { padding-block: clamp(96px, 12vw, 184px); }
.section-caption { margin-top: 28px; font-size: 14px; color: var(--ink-muted); }

.about-grid { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(40px, 10vw, 160px); align-items: start; }
.about-copy { padding-top: 12px; color: var(--ink-muted); }
.about-copy p + p { margin-top: 24px; }
.intro { margin-bottom: 32px; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.7; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 5vw, 72px); margin-top: clamp(64px, 8vw, 120px); }
.stats > div { padding-top: 28px; border-top: 1px solid var(--line-strong); }
.stats strong {
  display: block;
  margin-bottom: 18px;
  font: 400 clamp(3.2rem, 6.4vw, 6.6rem)/1 var(--display);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  direction: ltr;
  text-align: start;
}
.stats p { max-width: 15rem; font-size: 15px; line-height: 1.7; color: var(--ink-muted); }

.coaching { background: var(--bg-alt); }
.section-title { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 8vw, 120px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-title p { color: var(--ink-muted); }
.coaching-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: stretch; }
.light-image { position: relative; min-height: 560px; overflow: hidden; background: var(--bg-raised); border-radius: 2px; }
.light-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.service { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.service::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-enter);
}
html[dir=rtl] .service::after { transform-origin: right; }
.service:hover::after { transform: scaleX(1); }
.service:first-child { padding-top: 8px; }
.service:last-child { border-bottom-color: transparent; }
.number { font: 400 13px/2.2 var(--display); letter-spacing: .18em; color: var(--sage); font-variant-numeric: tabular-nums; }
.service h3 { margin-bottom: 10px; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.4; transition: color .2s var(--ease-standard); }
.service:hover h3 { color: var(--sage-light); }
.service p { font-size: 16px; color: var(--ink-muted); }

.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 10vw, 160px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--header-h) + 48px); }
.process-intro > p:not(.section-caption) { margin-top: 28px; color: var(--ink-muted); }
.process-list .service { padding-block: 36px; }

/* The tree drawn by assets/tree.js: four steps of the method, four levels of the crown. */
.growth-tree { width: min(100%, 420px); aspect-ratio: 1; margin-top: clamp(24px, 4vw, 56px); margin-inline: -4%; }
.growth-tree svg, .loader-tree svg { width: 100%; height: 100%; overflow: visible; }
.growth-tree path, .loader-tree path { fill: none; stroke: var(--sage); stroke-linecap: round; stroke-linejoin: round; }

.expertise { background: var(--forest); color: var(--ink); }
.expertise h2 { margin-bottom: clamp(40px, 5vw, 72px); }
.expertise .section-caption { color: var(--ink-on-forest); }
.expertise-row {
  display: grid;
  grid-template-columns: 64px 1fr 1.4fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 34px 12px;
  margin-inline: -12px;
  border-top: 1px solid rgba(169, 205, 178, .22);
  transition: background-color .3s var(--ease-standard);
}
.expertise-row:hover { background: rgba(242, 240, 234, .035); }
.expertise-row .number { color: var(--sage-light); }
.expertise-row h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.4; }
.expertise-row p { font-size: 16px; color: var(--ink-on-forest); }

.quote { max-width: 1040px; margin-inline: auto; text-align: center; }
.quote-mark { display: block; height: .45em; font: 400 clamp(90px, 10vw, 150px)/.6 var(--display); color: var(--gold); }
.quote blockquote { margin: 28px 0 36px; font: 400 clamp(2rem, 4vw, 4rem)/1.35 var(--display); letter-spacing: -.02em; color: var(--ink); }
html[lang=ar] .quote blockquote { font-family: var(--arabic-display); line-height: 1.6; letter-spacing: 0; }
.quote figcaption { font-size: 15px; }
.quote .section-caption { margin-top: 6px; font-size: 13px; }

.test-callout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 8vw, 120px);
  align-items: end;
  padding: clamp(40px, 6vw, 96px);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.test-callout h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); }
.test-callout p { color: var(--ink-muted); }
.test-callout .button { margin-top: 28px; }

/* ── contact form ─────────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 10vw, 160px); }
.contact-copy > p:not(.section-caption) { margin-top: 28px; color: var(--ink-muted); }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
form label { display: block; font-size: 14px; color: var(--ink-muted); }
input, select, textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  outline: none;
  transition: border-color .2s var(--ease-standard), box-shadow .2s var(--ease-standard);
}
input:focus, select:focus, textarea:focus { border-color: var(--sage); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
::placeholder { color: var(--ink-muted); opacity: 1; }
select {
  appearance: none;
  padding-inline-end: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23a9aca3' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 2px center;
}
html[dir=rtl] select { background-position: left 2px center; }
select option { background: var(--bg-raised); color: var(--ink); }
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  caret-color: var(--ink);
}
input[type=email], input[type=tel] { direction: ltr; text-align: start; }
.full { grid-column: 1 / -1; }
textarea { min-height: 110px; resize: vertical; }
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.8; }
.consent input { flex: 0 0 18px; width: 18px; min-height: 18px; margin: 5px 0 0; accent-color: var(--sage); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { font-size: 16px; color: var(--sage-light); }
form .button { margin-top: 8px; }

/* ── footer ───────────────────────────────────────────────────────────── */

.footer { padding-block: clamp(64px, 8vw, 112px) 28px; background: var(--footer); color: var(--ink); border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 56px; }
.footer img { width: clamp(180px, 16vw, 232px); height: auto; margin-bottom: 28px; }
.footer p { max-width: 26rem; font-size: 15px; color: var(--ink-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 15px; }
.footer-links a { color: var(--ink-muted); transition: color .15s var(--ease-standard); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }

/* ── privacy ──────────────────────────────────────────────────────────── */

.privacy { max-width: 860px; padding-block: clamp(56px, 7vw, 96px) clamp(80px, 10vw, 140px); }
.privacy h1 { margin: 24px 0 56px; font-size: clamp(3rem, 6vw, 6rem); }
.privacy h2 { margin: 40px 0 14px; font: 500 24px/1.5 var(--sans); letter-spacing: 0; }
html[lang=ar] .privacy h2 { font-family: var(--arabic-display); }
.privacy p { color: var(--ink-muted); }

/* ── quiz ─────────────────────────────────────────────────────────────── */

.quiz-shell { min-height: 76vh; max-width: 980px; padding-block: clamp(48px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.quiz-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; font-size: 14px; color: var(--ink-muted); }
.progress { height: 2px; margin-bottom: 56px; overflow: hidden; background: var(--line); border-radius: 2px; }
.progress span { display: block; height: 100%; background: var(--sage); transition: width .4s var(--ease-standard); }
.quiz-shell h1 { margin-bottom: 40px; font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.choices { display: grid; gap: 12px; }
.choice {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  color: var(--ink);
  font-size: 18px;
  text-align: start;
  transition: background-color .2s var(--ease-standard), border-color .2s var(--ease-standard), transform .2s var(--ease-enter);
}
.choice:hover, .choice.selected { background: var(--bg-raised); border-color: var(--sage); }
.choice:active { transform: scale(.99); }
.choice-key {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font: 400 14px var(--display);
  color: var(--sage);
  font-variant-numeric: tabular-nums;
}
.quiz-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; color: var(--ink-muted); }
.plain-button { padding: 8px 0; background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--ink-muted); }
.plain-button:hover { color: var(--ink); }
.quiz-result p { margin-block: 22px; color: var(--ink-muted); }
.quiz-result .intro { color: var(--ink); }
.quiz-result h2 { font-size: 2.4rem; }
.quiz-capture > p { margin-block: 20px; color: var(--ink-muted); }
.quiz-capture ul { padding-inline-start: 24px; margin-block: 24px 36px; }
.quiz-capture form { margin-top: 32px; }
.quiz-capture .review { margin-top: 24px; }

/* ── intro: the mark grows from its trunk (assets/tree.js) ────────────── */

html.is-intro { overflow: hidden; }
html.is-intro body { visibility: hidden; }
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg);
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-standard);
}
.loader.is-leaving { clip-path: inset(0 0 100% 0); }
.loader-inner { display: grid; justify-items: center; gap: 32px; transition: transform 1s var(--ease-standard), opacity .6s var(--ease-standard); }
.loader.is-leaving .loader-inner { transform: translateY(-8vh); opacity: 0; }
.loader-tree { position: relative; width: min(58vmin, 400px); aspect-ratio: 1; }
.loader-tree svg { transition: opacity .7s var(--ease-enter); }
.loader-mark { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s var(--ease-enter); }
.loader.is-formed .loader-mark { opacity: 1; }
.loader.is-formed svg { opacity: 0; }
.loader-name { display: grid; justify-items: center; gap: 10px; opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease-enter), transform .8s var(--ease-enter); }
.loader.is-named .loader-name { opacity: 1; transform: none; }
.loader-name-ar { font: 400 clamp(22px, 2.4vw, 30px)/1.3 var(--arabic-display); color: var(--ink); }
.loader-name-en { padding-inline-start: .34em; font: 400 12px/1 var(--display); letter-spacing: .34em; text-transform: uppercase; color: var(--ink-muted); }

/* ── cursor ring (fine pointers only, created by app.js) ──────────────── */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid rgba(242, 240, 234, .45);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease-standard), border-color .25s var(--ease-standard), background-color .25s var(--ease-standard);
  will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-active { border-color: var(--sage); background: rgba(132, 178, 143, .12); }
.cursor.is-pressed { background: rgba(132, 178, 143, .28); }

/* ── scroll-linked reveals, where supported ───────────────────────────── */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .process-list .service { animation: process-in linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
    .process-list .service:nth-child(2) { animation-range: entry 12% cover 34%; }
    .process-list .service:nth-child(3) { animation-range: entry 19% cover 38%; }
    .process-list .service:nth-child(4) { animation-range: entry 26% cover 42%; }
    .light-image img { animation: image-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
}
@keyframes process-in { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes image-reveal { from { clip-path: inset(16% 10% 16% 10%); transform: scale(1.18); } to { clip-path: inset(0); transform: scale(1); } }

/* ── responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  :root { --header-h: 80px; }
  .nav { gap: 20px; }
  .navlinks { gap: 20px; }
  .nav-cta { display: none; }
  .expertise-row { grid-template-columns: 44px 1fr 1.3fr auto; gap: 20px; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .wrap { width: calc(100% - 40px); }
  .brand img { width: 156px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .navlinks {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    color: var(--ink);
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding-block: 10px; }

  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-block: 32px 40px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  html[lang=ar] .hero h1 { font-size: clamp(2.8rem, 12.5vw, 4.2rem); }
  .hero-art { min-height: 440px; }
  .hero-bottom { font-size: 12px; }

  .section { padding-block: clamp(72px, 18vw, 104px); }
  .about-grid, .section-title, .coaching-grid, .process, .contact-grid, .test-callout { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr; gap: 0; margin-top: 56px; }
  .stats > div { padding-block: 24px; }
  .stats strong { margin-bottom: 8px; font-size: 3.4rem; }
  .light-image { min-height: 360px; }
  .process-intro { position: static; }
  .growth-tree { width: min(76%, 320px); margin-inline: auto; }
  .expertise-row { grid-template-columns: 36px 1fr auto; gap: 8px 14px; }
  .expertise-row p { grid-column: 2 / -1; grid-row: 2; }
  .expertise-row .text-link { grid-column: 3; grid-row: 1; }
  .test-callout { padding: 32px 24px; border-radius: 20px; }
  form { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .choice { padding: 16px 18px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
